{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-update-payment-manager-response-schema.json",
  "title": "UpdatePaymentManagerResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-payments-api-openapi.yml#/components/schemas/UpdatePaymentManagerResponse",
  "type": "object",
  "properties": {
    "paymentManagerArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the updated payment manager."
    },
    "paymentManagerId": {
      "type": "string",
      "description": "The unique identifier of the updated payment manager."
    },
    "name": {
      "type": "string",
      "description": "The name of the updated payment manager."
    },
    "authorizerType": {
      "type": "string",
      "enum": [
        "CUSTOM_JWT",
        "AWS_IAM"
      ],
      "description": "The type of authorizer for the updated payment manager."
    },
    "roleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role associated with the updated payment manager."
    },
    "workloadIdentityDetails": {
      "$ref": "#/$defs/WorkloadIdentityDetails"
    },
    "lastUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the payment manager was last updated."
    },
    "status": {
      "type": "string",
      "enum": [
        "CREATING",
        "UPDATING",
        "DELETING",
        "READY",
        "CREATE_FAILED",
        "UPDATE_FAILED",
        "DELETE_FAILED"
      ],
      "description": "The current status of the updated payment manager. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED."
    },
    "kmsKeyArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive payment manager data at rest, if configured."
    }
  },
  "required": [
    "paymentManagerArn",
    "paymentManagerId",
    "name",
    "authorizerType",
    "roleArn",
    "lastUpdatedAt",
    "status"
  ],
  "$defs": {
    "WorkloadIdentityDetails": {
      "type": "object",
      "properties": {
        "workloadIdentityArn": {
          "type": "string",
          "description": "The ARN associated with the workload identity."
        }
      },
      "required": [
        "workloadIdentityArn"
      ]
    }
  }
}