{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-get-payment-manager-response-schema.json",
  "title": "GetPaymentManagerResponse",
  "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/GetPaymentManagerResponse",
  "type": "object",
  "properties": {
    "paymentManagerArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the payment manager."
    },
    "paymentManagerId": {
      "type": "string",
      "description": "The unique identifier of the payment manager."
    },
    "name": {
      "type": "string",
      "description": "The name of the payment manager."
    },
    "description": {
      "type": "string",
      "description": "The description of the payment manager."
    },
    "authorizerType": {
      "type": "string",
      "enum": [
        "CUSTOM_JWT",
        "AWS_IAM"
      ],
      "description": "The type of authorizer used by the payment manager. CUSTOM_JWT - Authorize with a bearer token. AWS_IAM - Authorize with your Amazon Web Services IAM credentials."
    },
    "authorizerConfiguration": {
      "$ref": "#/$defs/AuthorizerConfiguration"
    },
    "roleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the IAM role associated with the payment manager."
    },
    "workloadIdentityDetails": {
      "$ref": "#/$defs/WorkloadIdentityDetails"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the payment manager was created."
    },
    "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 payment manager. Possible values include CREATING, READY, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, and DELETE_FAILED."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags associated with the payment manager."
    },
    "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",
    "createdAt",
    "lastUpdatedAt",
    "status"
  ],
  "$defs": {
    "AllowedWorkloadConfiguration": {
      "type": "object",
      "properties": {
        "hostingEnvironments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HostingEnvironment"
          },
          "description": "The list of hosting environments whose workloads are allowed to invoke the target. At launch, the only supported hosting environment is AgentCore Gateway."
        },
        "workloadIdentities": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of workload identities that are allowed to invoke the target."
        }
      }
    },
    "AuthorizerConfiguration": {
      "type": "object",
      "properties": {
        "customJWTAuthorizer": {
          "$ref": "#/$defs/CustomJWTAuthorizerConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "AuthorizingClaimMatchValueType": {
      "type": "object",
      "properties": {
        "claimMatchValue": {
          "$ref": "#/$defs/ClaimMatchValueType"
        },
        "claimMatchOperator": {
          "type": "string",
          "enum": [
            "EQUALS",
            "CONTAINS",
            "CONTAINS_ANY"
          ],
          "description": "Defines the relationship between the claim field value and the value or values you're matching for."
        }
      },
      "required": [
        "claimMatchValue",
        "claimMatchOperator"
      ]
    },
    "CertificateConfiguration": {
      "type": "object",
      "properties": {
        "s3": {
          "$ref": "#/$defs/S3CertificateConfiguration"
        },
        "secretsManager": {
          "$ref": "#/$defs/SecretsManagerCertificateConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "ClaimMatchValueType": {
      "type": "object",
      "properties": {
        "matchValueString": {
          "type": "string",
          "description": "The string value to match for."
        },
        "matchValueStringList": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of strings to check for a match."
        }
      },
      "description": "Exactly one member is set."
    },
    "CustomClaimValidationType": {
      "type": "object",
      "properties": {
        "inboundTokenClaimName": {
          "type": "string",
          "description": "The name of the custom claim field to check."
        },
        "inboundTokenClaimValueType": {
          "type": "string",
          "enum": [
            "STRING",
            "STRING_ARRAY"
          ],
          "description": "The data type of the claim value to check for. Use STRING if you want to find an exact match to a string you define. Use STRING_ARRAY if you want to fnd a match to at least one value in an array you define."
        },
        "authorizingClaimMatchValue": {
          "$ref": "#/$defs/AuthorizingClaimMatchValueType"
        }
      },
      "required": [
        "inboundTokenClaimName",
        "inboundTokenClaimValueType",
        "authorizingClaimMatchValue"
      ]
    },
    "CustomJWTAuthorizerConfiguration": {
      "type": "object",
      "properties": {
        "discoveryUrl": {
          "type": "string",
          "description": "This URL is used to fetch OpenID Connect configuration or authorization server metadata for validating incoming tokens."
        },
        "allowedAudience": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents individual audience values that are validated in the incoming JWT token validation process."
        },
        "allowedClients": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents individual client IDs that are validated in the incoming JWT token validation process."
        },
        "allowedScopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of scopes that are allowed to access the token."
        },
        "advertisedScopeMapping": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "A map that associates each scope in allowedScopes with a corresponding advertised scope value. The advertised scope appears in OAuth protected resource metadata and WWW-Authenticate response headers. Use this parameter when the scope that clients request from your identity provider differs from the scope in the validated token. Each key is a scope from allowedScopes that the service uses for token validation. Each value is the corresponding scope that the service advertises to clients. Scopes without a mapping entry appear unchanged to clients."
        },
        "customClaims": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CustomClaimValidationType"
          },
          "description": "An array of objects that define a custom claim validation name, value, and operation"
        },
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpoint"
        },
        "privateEndpointOverrides": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PrivateEndpointOverride"
          },
          "description": "The private endpoint overrides for the custom JWT authorizer configuration."
        },
        "certificateConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CertificateConfiguration"
          },
          "description": "The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with privateEndpoint."
        },
        "allowedWorkloadConfiguration": {
          "$ref": "#/$defs/AllowedWorkloadConfiguration"
        }
      },
      "required": [
        "discoveryUrl"
      ]
    },
    "HostingEnvironment": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the hosting environment."
        }
      },
      "required": [
        "arn"
      ]
    },
    "ManagedVpcResource": {
      "type": "object",
      "properties": {
        "vpcIdentifier": {
          "type": "string",
          "description": "The ID of the VPC that contains your private resource."
        },
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The subnet IDs within the VPC where the VPC Lattice resource gateway is placed."
        },
        "endpointIpAddressType": {
          "type": "string",
          "enum": [
            "IPV4",
            "IPV6"
          ],
          "description": "The IP address type for the resource configuration endpoint."
        },
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security group IDs to associate with the VPC Lattice resource gateway. If not specified, the default security group for the VPC is used."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Tags to apply to the managed VPC Lattice resource gateway."
        },
        "routingDomain": {
          "type": "string",
          "description": "An intermediate domain to use as the resource configuration endpoint instead of the actual target domain. Use this when you want to route traffic through an intermediate component such as a VPC endpoint or internal load balancer. For more information, see xref:lattice-vpc-egress-routing-domain[Route traffic through an intermediate domain]."
        }
      },
      "required": [
        "vpcIdentifier",
        "subnetIds",
        "endpointIpAddressType"
      ]
    },
    "PrivateEndpoint": {
      "type": "object",
      "properties": {
        "selfManagedLatticeResource": {
          "$ref": "#/$defs/SelfManagedLatticeResource"
        },
        "managedVpcResource": {
          "$ref": "#/$defs/ManagedVpcResource"
        }
      },
      "description": "Exactly one member is set."
    },
    "PrivateEndpointOverride": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "The domain to override with a private endpoint."
        },
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpoint"
        }
      },
      "required": [
        "domain",
        "privateEndpoint"
      ]
    },
    "S3CertificateConfiguration": {
      "type": "object",
      "properties": {
        "uri": {
          "type": "string",
          "description": "The URI of the Amazon S3 object that contains the PEM-encoded certificate."
        },
        "bucketOwnerAccountId": {
          "type": "string",
          "description": "The account ID of the Amazon S3 bucket owner. This ID is used for cross-account access to the bucket."
        }
      },
      "required": [
        "uri"
      ]
    },
    "SecretsManagerCertificateConfiguration": {
      "type": "object",
      "properties": {
        "secretArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the PEM-encoded certificate."
        }
      },
      "required": [
        "secretArn"
      ]
    },
    "SelfManagedLatticeResource": {
      "type": "object",
      "properties": {
        "resourceConfigurationIdentifier": {
          "type": "string",
          "description": "The ARN or ID of the VPC Lattice resource configuration."
        }
      },
      "description": "Exactly one member is set."
    },
    "WorkloadIdentityDetails": {
      "type": "object",
      "properties": {
        "workloadIdentityArn": {
          "type": "string",
          "description": "The ARN associated with the workload identity."
        }
      },
      "required": [
        "workloadIdentityArn"
      ]
    }
  }
}