get:
  security:
  - oauth2: [ sp:notification-dkim-attributes:read ]
  operationId: getDkimAttributes
  tags:
    - Notifications
  summary: Get DKIM Attributes
  description: >-
    Retrieve DKIM (DomainKeys Identified Mail) attributes for all your tenants' AWS SES identities. Limits retrieval to 100 identities per call.
  responses:
    '200':
      description: List of DKIM Attributes
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '../schemas/DkimAttributes.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'

post:
  security:
  - oauth2: [ sp:notification-verify-domain-dkim:write ]
  operationId: createDomainDkim
  tags:
  - Notifications
  summary: Verify domain address via DKIM
  description: >-
    Create a domain to be verified via DKIM (DomainKeys Identified Mail)
  requestBody:
    required: true
    content:
      application/json:
        schema:
          $ref: '../schemas/DomainAddress.yaml'
  responses:
    '200':
      description: List of DKIM tokens required for the verification process.
      content:
        application/json:
          schema:
            $ref: '../schemas/DomainStatusDto.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '405':
      $ref: '../../v3/responses/405.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'