{
  "version": "1.0",
  "examples": {
    "DeleteAttributeMapping": [
      {
        "input": {
          "certificateField": "x509Subject",
          "profileId": "00000000-0000-0000-0000-000000000000",
          "specifiers": [
            "OU"
          ]
        },
        "output": {
          "profile": {
            "name": "Dummy Profile",
            "acceptRoleSessionName": false,
            "attributeMappings": [
              {
                "certificateField": "x509Subject",
                "mappingRules": [
                  {
                    "specifier": "CN"
                  }
                ]
              }
            ],
            "createdAt": "2021-07-19T15:55:25.986591Z",
            "createdBy": "arn:aws:sts::123456789012:assumed-role/Admin/DummyRole",
            "durationSeconds": 3600,
            "enabled": true,
            "managedPolicyArns": [],
            "profileArn": "arn:aws:rolesanywhere:us-east-1:123456789012:profile/00000000-0000-0000-0000-000000000000",
            "profileId": "00000000-0000-0000-0000-000000000000",
            "requireInstanceProperties": false,
            "roleArns": [
              "arn:aws:iam::123456789012:role/DummyRole"
            ],
            "sessionPolicy": "",
            "updatedAt": "2021-07-19T15:55:25.986591Z"
          }
        },
        "id": "example-1",
        "title": "DeleteAttributeMapping - Deletes a custom attribute mapping rule"
      }
    ],
    "PutAttributeMapping": [
      {
        "input": {
          "certificateField": "x509Subject",
          "mappingRules": [
            {
              "specifier": "CN"
            }
          ],
          "profileId": "00000000-0000-0000-0000-000000000000"
        },
        "output": {
          "profile": {
            "name": "Dummy Profile",
            "acceptRoleSessionName": false,
            "attributeMappings": [
              {
                "certificateField": "x509Subject",
                "mappingRules": [
                  {
                    "specifier": "CN"
                  }
                ]
              }
            ],
            "createdAt": "2021-07-19T15:55:25.986591Z",
            "createdBy": "arn:aws:sts::123456789012:assumed-role/Admin/DummyRole",
            "durationSeconds": 3600,
            "enabled": true,
            "managedPolicyArns": [],
            "profileArn": "arn:aws:rolesanywhere:us-east-1:123456789012:profile/00000000-0000-0000-0000-000000000000",
            "profileId": "00000000-0000-0000-0000-000000000000",
            "requireInstanceProperties": false,
            "roleArns": [
              "arn:aws:iam::123456789012:role/DummyRole"
            ],
            "sessionPolicy": "",
            "updatedAt": "2021-07-19T15:55:25.986591Z"
          }
        },
        "id": "example-1",
        "title": "PutAttributeMapping - Adds a custom attribute mapping rule"
      }
    ],
    "PutNotificationSettings": [
      {
        "input": {
          "notificationSettings": [
            {
              "enabled": true,
              "event": "END_ENTITY_CERTIFICATE_EXPIRY",
              "threshold": 10
            }
          ],
          "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b"
        },
        "output": {
          "trustAnchor": {
            "name": "PutNotificationSettings - TA with PCA - example",
            "createdAt": "2021-07-19T15:55:25.986591Z",
            "enabled": true,
            "notificationSettings": [
              {
                "channel": "ALL",
                "configuredBy": "rolesanywhere.amazonaws.com",
                "enabled": true,
                "event": "CA_CERTIFICATE_EXPIRY",
                "threshold": 45
              },
              {
                "channel": "ALL",
                "configuredBy": "123456789012",
                "enabled": true,
                "event": "END_ENTITY_CERTIFICATE_EXPIRY",
                "threshold": 10
              }
            ],
            "source": {
              "sourceData": {
                "acmPcaArn": "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/123abc00-1233-12b3-1a33-54cb9c1ce2f3"
              },
              "sourceType": "AWS_ACM_PCA"
            },
            "trustAnchorArn": "arn:aws:rolesanywhere:us-west-2:123456789012:trust-anchor/c2505e61-2fc1-4a18-9fcf-94e18a22928b",
            "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b",
            "updatedAt": "2021-07-19T15:55:25.986591Z"
          }
        },
        "id": "example-1",
        "title": "PutNotificationSettings - Adds custom notification settings"
      }
    ],
    "ResetNotificationSettings": [
      {
        "input": {
          "notificationSettingKeys": [
            {
              "event": "END_ENTITY_CERTIFICATE_EXPIRY"
            }
          ],
          "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b"
        },
        "output": {
          "trustAnchor": {
            "name": "ResetNotificationSettings - TA with PCA - example",
            "createdAt": "2021-07-19T15:55:25.986591Z",
            "enabled": true,
            "notificationSettings": [
              {
                "channel": "ALL",
                "configuredBy": "rolesanywhere.amazonaws.com",
                "enabled": true,
                "event": "CA_CERTIFICATE_EXPIRY",
                "threshold": 45
              },
              {
                "channel": "ALL",
                "configuredBy": "123456789012",
                "enabled": true,
                "event": "END_ENTITY_CERTIFICATE_EXPIRY",
                "threshold": 45
              }
            ],
            "source": {
              "sourceData": {
                "acmPcaArn": "arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/123abc00-1233-12b3-1a33-54cb9c1ce2f3"
              },
              "sourceType": "AWS_ACM_PCA"
            },
            "trustAnchorArn": "arn:aws:rolesanywhere:us-west-2:123456789012:trust-anchor/c2505e61-2fc1-4a18-9fcf-94e18a22928b",
            "trustAnchorId": "c2505e61-2fc1-4a18-9fcf-94e18a22928b",
            "updatedAt": "2021-07-19T15:55:25.986591Z"
          }
        },
        "id": "example-1",
        "title": "ResetNotificationSettings - Resets to IAM Roles Anywhere defined default notification settings"
      }
    ]
  }
}
