{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-identity-center/json-schema/amazon-iam-identity-center-put-application-authentication-method-request-schema.json",
  "title": "PutApplicationAuthenticationMethodRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-identity-center-application-authentication-method-api-openapi.yml#/components/schemas/PutApplicationAuthenticationMethodRequest",
  "type": "object",
  "properties": {
    "ApplicationArn": {
      "type": "string",
      "description": "Specifies the ARN of the application with the authentication method to add or update."
    },
    "AuthenticationMethodType": {
      "type": "string",
      "enum": [
        "IAM"
      ],
      "description": "Specifies the type of the authentication method that you want to add or update."
    },
    "AuthenticationMethod": {
      "$ref": "#/$defs/AuthenticationMethod"
    }
  },
  "required": [
    "ApplicationArn",
    "AuthenticationMethodType",
    "AuthenticationMethod"
  ],
  "$defs": {
    "AuthenticationMethod": {
      "type": "object",
      "properties": {
        "Iam": {
          "$ref": "#/$defs/IamAuthenticationMethod"
        }
      },
      "description": "Exactly one member is set."
    },
    "IamAuthenticationMethod": {
      "type": "object",
      "properties": {
        "ActorPolicy": {
          "type": "object",
          "description": "An IAM policy document in JSON."
        }
      },
      "required": [
        "ActorPolicy"
      ]
    }
  }
}