@aws-sdk/client-sso-admin 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/SSOAdmin.js +1 -12
- package/dist-cjs/SSOAdminClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AttachManagedPolicyToPermissionSetCommand.js +2 -35
- package/dist-cjs/commands/CreateAccountAssignmentCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/CreateInstanceAccessControlAttributeConfigurationCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/CreatePermissionSetCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/DeleteAccountAssignmentCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteInlinePolicyFromPermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DeletePermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeAccountAssignmentCreationStatusCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeAccountAssignmentDeletionStatusCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/DescribePermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribePermissionSetProvisioningStatusCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DetachManagedPolicyFromPermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetInlinePolicyForPermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListAccountAssignmentCreationStatusCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAccountAssignmentDeletionStatusCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAccountAssignmentsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListAccountsForProvisionedPermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListInstancesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListManagedPoliciesInPermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPermissionSetProvisioningStatusCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListPermissionSetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPermissionSetsProvisionedToAccountCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ProvisionPermissionSetCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutInlinePolicyToPermissionSetCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/UpdatePermissionSetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -247
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListAccountAssignmentCreationStatusPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListAccountAssignmentDeletionStatusPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListAccountAssignmentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListAccountsForProvisionedPermissionSetPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListInstancesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListManagedPoliciesInPermissionSetPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionSetProvisioningStatusPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionSetsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListPermissionSetsProvisionedToAccountPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/SSOAdmin.js +1 -2
- package/{dist/es → dist-es}/SSOAdminClient.js +1 -2
- package/{dist/es → dist-es}/commands/AttachManagedPolicyToPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateAccountAssignmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateInstanceAccessControlAttributeConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreatePermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteAccountAssignmentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteInlinePolicyFromPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeletePermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAccountAssignmentCreationStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeAccountAssignmentDeletionStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribePermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribePermissionSetProvisioningStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DetachManagedPolicyFromPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetInlinePolicyForPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAccountAssignmentCreationStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAccountAssignmentDeletionStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAccountAssignmentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListAccountsForProvisionedPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListInstancesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListManagedPoliciesInPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPermissionSetProvisioningStatusCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPermissionSetsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPermissionSetsProvisionedToAccountCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ProvisionPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutInlinePolicyToPermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdatePermissionSetCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListAccountAssignmentCreationStatusPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListAccountAssignmentDeletionStatusPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListAccountAssignmentsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListAccountsForProvisionedPermissionSetPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListInstancesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListManagedPoliciesInPermissionSetPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPermissionSetProvisioningStatusPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPermissionSetsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListPermissionSetsProvisionedToAccountPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/SSOAdmin.d.ts +2 -2
- package/{dist/types → dist-types}/SSOAdminClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AttachManagedPolicyToPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateAccountAssignmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateInstanceAccessControlAttributeConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreatePermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteAccountAssignmentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteInlinePolicyFromPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeletePermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeAccountAssignmentCreationStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeAccountAssignmentDeletionStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribePermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribePermissionSetProvisioningStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DetachManagedPolicyFromPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetInlinePolicyForPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAccountAssignmentCreationStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAccountAssignmentDeletionStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAccountAssignmentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListAccountsForProvisionedPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListInstancesCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListManagedPoliciesInPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPermissionSetProvisioningStatusCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPermissionSetsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListPermissionSetsProvisionedToAccountCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ProvisionPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutInlinePolicyToPermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdatePermissionSetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccountAssignmentCreationStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccountAssignmentDeletionStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccountAssignmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListAccountsForProvisionedPermissionSetPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListManagedPoliciesInPermissionSetPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionSetProvisioningStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionSetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPermissionSetsProvisionedToAccountPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/SSOAdmin.d.ts +34 -158
- package/{dist/types → dist-types}/ts3.4/SSOAdminClient.d.ts +32 -104
- package/dist-types/ts3.4/commands/AttachManagedPolicyToPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAccountAssignmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateInstanceAccessControlAttributeConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAccountAssignmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteInlinePolicyFromPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountAssignmentCreationStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAccountAssignmentDeletionStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePermissionSetProvisioningStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DetachManagedPolicyFromPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInlinePolicyForPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountAssignmentCreationStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountAssignmentDeletionStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountAssignmentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountsForProvisionedPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListManagedPoliciesInPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPermissionSetProvisioningStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPermissionSetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPermissionSetsProvisionedToAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ProvisionPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutInlinePolicyToPermissionSetCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePermissionSetCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +909 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccountAssignmentCreationStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccountAssignmentDeletionStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccountAssignmentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListAccountsForProvisionedPermissionSetPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListManagedPoliciesInPermissionSetPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionSetProvisioningStatusPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionSetsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPermissionSetsProvisionedToAccountPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/SSOAdmin.ts +0 -1222
- package/SSOAdminClient.ts +0 -416
- package/commands/AttachManagedPolicyToPermissionSetCommand.ts +0 -113
- package/commands/CreateAccountAssignmentCommand.ts +0 -108
- package/commands/CreateInstanceAccessControlAttributeConfigurationCommand.ts +0 -111
- package/commands/CreatePermissionSetCommand.ts +0 -99
- package/commands/DeleteAccountAssignmentCommand.ts +0 -95
- package/commands/DeleteInlinePolicyFromPermissionSetCommand.ts +0 -105
- package/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.ts +0 -112
- package/commands/DeletePermissionSetCommand.ts +0 -94
- package/commands/DescribeAccountAssignmentCreationStatusCommand.ts +0 -109
- package/commands/DescribeAccountAssignmentDeletionStatusCommand.ts +0 -109
- package/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.ts +0 -112
- package/commands/DescribePermissionSetCommand.ts +0 -94
- package/commands/DescribePermissionSetProvisioningStatusCommand.ts +0 -109
- package/commands/DetachManagedPolicyFromPermissionSetCommand.ts +0 -105
- package/commands/GetInlinePolicyForPermissionSetCommand.ts +0 -102
- package/commands/ListAccountAssignmentCreationStatusCommand.ts +0 -106
- package/commands/ListAccountAssignmentDeletionStatusCommand.ts +0 -106
- package/commands/ListAccountAssignmentsCommand.ts +0 -95
- package/commands/ListAccountsForProvisionedPermissionSetCommand.ts +0 -109
- package/commands/ListInstancesCommand.ts +0 -94
- package/commands/ListManagedPoliciesInPermissionSetCommand.ts +0 -105
- package/commands/ListPermissionSetProvisioningStatusCommand.ts +0 -106
- package/commands/ListPermissionSetsCommand.ts +0 -94
- package/commands/ListPermissionSetsProvisionedToAccountCommand.ts +0 -106
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ProvisionPermissionSetCommand.ts +0 -95
- package/commands/PutInlinePolicyToPermissionSetCommand.ts +0 -109
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.ts +0 -114
- package/commands/UpdatePermissionSetCommand.ts +0 -94
- package/dist/cjs/SSOAdmin.js.map +0 -1
- package/dist/cjs/SSOAdminClient.js +0 -51
- package/dist/cjs/SSOAdminClient.js.map +0 -1
- package/dist/cjs/commands/AttachManagedPolicyToPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/CreateAccountAssignmentCommand.js +0 -75
- package/dist/cjs/commands/CreateAccountAssignmentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteAccountAssignmentCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteInlinePolicyFromPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAccountAssignmentCreationStatusCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeAccountAssignmentDeletionStatusCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePermissionSetProvisioningStatusCommand.js.map +0 -1
- package/dist/cjs/commands/DetachManagedPolicyFromPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/GetInlinePolicyForPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccountAssignmentCreationStatusCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccountAssignmentDeletionStatusCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccountAssignmentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListAccountsForProvisionedPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/ListInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/ListManagedPoliciesInPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/ListPermissionSetProvisioningStatusCommand.js.map +0 -1
- package/dist/cjs/commands/ListPermissionSetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPermissionSetsProvisionedToAccountCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ProvisionPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/PutInlinePolicyToPermissionSetCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePermissionSetCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListAccountAssignmentCreationStatusPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAccountAssignmentDeletionStatusPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAccountAssignmentsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListAccountsForProvisionedPermissionSetPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListInstancesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListManagedPoliciesInPermissionSetPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPermissionSetProvisioningStatusPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPermissionSetsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPermissionSetsProvisionedToAccountPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SSOAdmin.js.map +0 -1
- package/dist/es/SSOAdminClient.js.map +0 -1
- package/dist/es/commands/AttachManagedPolicyToPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/CreateAccountAssignmentCommand.js.map +0 -1
- package/dist/es/commands/CreateInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/es/commands/CreatePermissionSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteAccountAssignmentCommand.js.map +0 -1
- package/dist/es/commands/DeleteInlinePolicyFromPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeletePermissionSetCommand.js.map +0 -1
- package/dist/es/commands/DescribeAccountAssignmentCreationStatusCommand.js.map +0 -1
- package/dist/es/commands/DescribeAccountAssignmentDeletionStatusCommand.js.map +0 -1
- package/dist/es/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DescribePermissionSetCommand.js.map +0 -1
- package/dist/es/commands/DescribePermissionSetProvisioningStatusCommand.js.map +0 -1
- package/dist/es/commands/DetachManagedPolicyFromPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/GetInlinePolicyForPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/ListAccountAssignmentCreationStatusCommand.js.map +0 -1
- package/dist/es/commands/ListAccountAssignmentDeletionStatusCommand.js.map +0 -1
- package/dist/es/commands/ListAccountAssignmentsCommand.js.map +0 -1
- package/dist/es/commands/ListAccountsForProvisionedPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/ListInstancesCommand.js.map +0 -1
- package/dist/es/commands/ListManagedPoliciesInPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/ListPermissionSetProvisioningStatusCommand.js.map +0 -1
- package/dist/es/commands/ListPermissionSetsCommand.js.map +0 -1
- package/dist/es/commands/ListPermissionSetsProvisionedToAccountCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ProvisionPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/PutInlinePolicyToPermissionSetCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdatePermissionSetCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -46
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListAccountAssignmentCreationStatusPaginator.js.map +0 -1
- package/dist/es/pagination/ListAccountAssignmentDeletionStatusPaginator.js.map +0 -1
- package/dist/es/pagination/ListAccountAssignmentsPaginator.js.map +0 -1
- package/dist/es/pagination/ListAccountsForProvisionedPermissionSetPaginator.js.map +0 -1
- package/dist/es/pagination/ListInstancesPaginator.js.map +0 -1
- package/dist/es/pagination/ListManagedPoliciesInPermissionSetPaginator.js.map +0 -1
- package/dist/es/pagination/ListPermissionSetProvisioningStatusPaginator.js.map +0 -1
- package/dist/es/pagination/ListPermissionSetsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPermissionSetsProvisionedToAccountPaginator.js.map +0 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/AttachManagedPolicyToPermissionSetCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/CreateAccountAssignmentCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/CreateInstanceAccessControlAttributeConfigurationCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreatePermissionSetCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/DeleteAccountAssignmentCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteInlinePolicyFromPermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DeletePermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeAccountAssignmentCreationStatusCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeAccountAssignmentDeletionStatusCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/DescribePermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribePermissionSetProvisioningStatusCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DetachManagedPolicyFromPermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetInlinePolicyForPermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListAccountAssignmentCreationStatusCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAccountAssignmentDeletionStatusCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAccountAssignmentsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListAccountsForProvisionedPermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListInstancesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListManagedPoliciesInPermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListPermissionSetProvisioningStatusCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListPermissionSetsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListPermissionSetsProvisionedToAccountCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ProvisionPermissionSetCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutInlinePolicyToPermissionSetCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/UpdatePermissionSetCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1541
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1978
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListAccountAssignmentCreationStatusPaginator.ts +0 -58
- package/pagination/ListAccountAssignmentDeletionStatusPaginator.ts +0 -58
- package/pagination/ListAccountAssignmentsPaginator.ts +0 -58
- package/pagination/ListAccountsForProvisionedPermissionSetPaginator.ts +0 -58
- package/pagination/ListInstancesPaginator.ts +0 -58
- package/pagination/ListManagedPoliciesInPermissionSetPaginator.ts +0 -58
- package/pagination/ListPermissionSetProvisioningStatusPaginator.ts +0 -58
- package/pagination/ListPermissionSetsPaginator.ts +0 -58
- package/pagination/ListPermissionSetsProvisionedToAccountPaginator.ts +0 -58
- package/pagination/ListTagsForResourcePaginator.ts +0 -57
- package/protocols/Aws_json1_1.ts +0 -4739
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { SSOAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOAdminClient";
|
|
2
|
-
import { GetInlinePolicyForPermissionSetRequest, GetInlinePolicyForPermissionSetResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetInlinePolicyForPermissionSetCommand,
|
|
5
|
-
serializeAws_json1_1GetInlinePolicyForPermissionSetCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetInlinePolicyForPermissionSetCommandInput extends GetInlinePolicyForPermissionSetRequest {}
|
|
21
|
-
export interface GetInlinePolicyForPermissionSetCommandOutput
|
|
22
|
-
extends GetInlinePolicyForPermissionSetResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Obtains the inline policy assigned to the permission set.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { SSOAdminClient, GetInlinePolicyForPermissionSetCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
31
|
-
* // const { SSOAdminClient, GetInlinePolicyForPermissionSetCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
|
-
* const client = new SSOAdminClient(config);
|
|
33
|
-
* const command = new GetInlinePolicyForPermissionSetCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link GetInlinePolicyForPermissionSetCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link GetInlinePolicyForPermissionSetCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link SSOAdminClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class GetInlinePolicyForPermissionSetCommand extends $Command<
|
|
43
|
-
GetInlinePolicyForPermissionSetCommandInput,
|
|
44
|
-
GetInlinePolicyForPermissionSetCommandOutput,
|
|
45
|
-
SSOAdminClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: GetInlinePolicyForPermissionSetCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: SSOAdminClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<GetInlinePolicyForPermissionSetCommandInput, GetInlinePolicyForPermissionSetCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "SSOAdminClient";
|
|
70
|
-
const commandName = "GetInlinePolicyForPermissionSetCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: GetInlinePolicyForPermissionSetRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: GetInlinePolicyForPermissionSetResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(
|
|
87
|
-
input: GetInlinePolicyForPermissionSetCommandInput,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1GetInlinePolicyForPermissionSetCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<GetInlinePolicyForPermissionSetCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1GetInlinePolicyForPermissionSetCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { SSOAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOAdminClient";
|
|
2
|
-
import {
|
|
3
|
-
ListAccountAssignmentCreationStatusRequest,
|
|
4
|
-
ListAccountAssignmentCreationStatusResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1ListAccountAssignmentCreationStatusCommand,
|
|
8
|
-
serializeAws_json1_1ListAccountAssignmentCreationStatusCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface ListAccountAssignmentCreationStatusCommandInput extends ListAccountAssignmentCreationStatusRequest {}
|
|
24
|
-
export interface ListAccountAssignmentCreationStatusCommandOutput
|
|
25
|
-
extends ListAccountAssignmentCreationStatusResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Lists the status of the Amazon Web Services account assignment creation requests for a specified SSO
|
|
30
|
-
* instance.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { SSOAdminClient, ListAccountAssignmentCreationStatusCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
35
|
-
* // const { SSOAdminClient, ListAccountAssignmentCreationStatusCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
36
|
-
* const client = new SSOAdminClient(config);
|
|
37
|
-
* const command = new ListAccountAssignmentCreationStatusCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListAccountAssignmentCreationStatusCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListAccountAssignmentCreationStatusCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link SSOAdminClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListAccountAssignmentCreationStatusCommand extends $Command<
|
|
47
|
-
ListAccountAssignmentCreationStatusCommandInput,
|
|
48
|
-
ListAccountAssignmentCreationStatusCommandOutput,
|
|
49
|
-
SSOAdminClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListAccountAssignmentCreationStatusCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: SSOAdminClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListAccountAssignmentCreationStatusCommandInput, ListAccountAssignmentCreationStatusCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "SSOAdminClient";
|
|
74
|
-
const commandName = "ListAccountAssignmentCreationStatusCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListAccountAssignmentCreationStatusRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListAccountAssignmentCreationStatusResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: ListAccountAssignmentCreationStatusCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1ListAccountAssignmentCreationStatusCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<ListAccountAssignmentCreationStatusCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1ListAccountAssignmentCreationStatusCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { SSOAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOAdminClient";
|
|
2
|
-
import {
|
|
3
|
-
ListAccountAssignmentDeletionStatusRequest,
|
|
4
|
-
ListAccountAssignmentDeletionStatusResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1ListAccountAssignmentDeletionStatusCommand,
|
|
8
|
-
serializeAws_json1_1ListAccountAssignmentDeletionStatusCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface ListAccountAssignmentDeletionStatusCommandInput extends ListAccountAssignmentDeletionStatusRequest {}
|
|
24
|
-
export interface ListAccountAssignmentDeletionStatusCommandOutput
|
|
25
|
-
extends ListAccountAssignmentDeletionStatusResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Lists the status of the Amazon Web Services account assignment deletion requests for a specified SSO
|
|
30
|
-
* instance.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { SSOAdminClient, ListAccountAssignmentDeletionStatusCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
35
|
-
* // const { SSOAdminClient, ListAccountAssignmentDeletionStatusCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
36
|
-
* const client = new SSOAdminClient(config);
|
|
37
|
-
* const command = new ListAccountAssignmentDeletionStatusCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListAccountAssignmentDeletionStatusCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListAccountAssignmentDeletionStatusCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link SSOAdminClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListAccountAssignmentDeletionStatusCommand extends $Command<
|
|
47
|
-
ListAccountAssignmentDeletionStatusCommandInput,
|
|
48
|
-
ListAccountAssignmentDeletionStatusCommandOutput,
|
|
49
|
-
SSOAdminClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListAccountAssignmentDeletionStatusCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: SSOAdminClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListAccountAssignmentDeletionStatusCommandInput, ListAccountAssignmentDeletionStatusCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "SSOAdminClient";
|
|
74
|
-
const commandName = "ListAccountAssignmentDeletionStatusCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListAccountAssignmentDeletionStatusRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListAccountAssignmentDeletionStatusResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: ListAccountAssignmentDeletionStatusCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1ListAccountAssignmentDeletionStatusCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<ListAccountAssignmentDeletionStatusCommandOutput> {
|
|
101
|
-
return deserializeAws_json1_1ListAccountAssignmentDeletionStatusCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { SSOAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOAdminClient";
|
|
2
|
-
import { ListAccountAssignmentsRequest, ListAccountAssignmentsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListAccountAssignmentsCommand,
|
|
5
|
-
serializeAws_json1_1ListAccountAssignmentsCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListAccountAssignmentsCommandInput extends ListAccountAssignmentsRequest {}
|
|
21
|
-
export interface ListAccountAssignmentsCommandOutput extends ListAccountAssignmentsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the assignee of the specified Amazon Web Services account with the specified permission
|
|
25
|
-
* set.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { SSOAdminClient, ListAccountAssignmentsCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
30
|
-
* // const { SSOAdminClient, ListAccountAssignmentsCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
31
|
-
* const client = new SSOAdminClient(config);
|
|
32
|
-
* const command = new ListAccountAssignmentsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListAccountAssignmentsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListAccountAssignmentsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link SSOAdminClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListAccountAssignmentsCommand extends $Command<
|
|
42
|
-
ListAccountAssignmentsCommandInput,
|
|
43
|
-
ListAccountAssignmentsCommandOutput,
|
|
44
|
-
SSOAdminClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListAccountAssignmentsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: SSOAdminClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListAccountAssignmentsCommandInput, ListAccountAssignmentsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "SSOAdminClient";
|
|
69
|
-
const commandName = "ListAccountAssignmentsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListAccountAssignmentsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListAccountAssignmentsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListAccountAssignmentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1ListAccountAssignmentsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAccountAssignmentsCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1ListAccountAssignmentsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { SSOAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOAdminClient";
|
|
2
|
-
import {
|
|
3
|
-
ListAccountsForProvisionedPermissionSetRequest,
|
|
4
|
-
ListAccountsForProvisionedPermissionSetResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_json1_1ListAccountsForProvisionedPermissionSetCommand,
|
|
8
|
-
serializeAws_json1_1ListAccountsForProvisionedPermissionSetCommand,
|
|
9
|
-
} from "../protocols/Aws_json1_1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface ListAccountsForProvisionedPermissionSetCommandInput
|
|
24
|
-
extends ListAccountsForProvisionedPermissionSetRequest {}
|
|
25
|
-
export interface ListAccountsForProvisionedPermissionSetCommandOutput
|
|
26
|
-
extends ListAccountsForProvisionedPermissionSetResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Lists all the Amazon Web Services accounts where the specified permission set is provisioned.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { SSOAdminClient, ListAccountsForProvisionedPermissionSetCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
35
|
-
* // const { SSOAdminClient, ListAccountsForProvisionedPermissionSetCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
36
|
-
* const client = new SSOAdminClient(config);
|
|
37
|
-
* const command = new ListAccountsForProvisionedPermissionSetCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListAccountsForProvisionedPermissionSetCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListAccountsForProvisionedPermissionSetCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link SSOAdminClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListAccountsForProvisionedPermissionSetCommand extends $Command<
|
|
47
|
-
ListAccountsForProvisionedPermissionSetCommandInput,
|
|
48
|
-
ListAccountsForProvisionedPermissionSetCommandOutput,
|
|
49
|
-
SSOAdminClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListAccountsForProvisionedPermissionSetCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: SSOAdminClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<
|
|
68
|
-
ListAccountsForProvisionedPermissionSetCommandInput,
|
|
69
|
-
ListAccountsForProvisionedPermissionSetCommandOutput
|
|
70
|
-
> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "SSOAdminClient";
|
|
77
|
-
const commandName = "ListAccountsForProvisionedPermissionSetCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: ListAccountsForProvisionedPermissionSetRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: ListAccountsForProvisionedPermissionSetResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(
|
|
94
|
-
input: ListAccountsForProvisionedPermissionSetCommandInput,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_json1_1ListAccountsForProvisionedPermissionSetCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(
|
|
101
|
-
output: __HttpResponse,
|
|
102
|
-
context: __SerdeContext
|
|
103
|
-
): Promise<ListAccountsForProvisionedPermissionSetCommandOutput> {
|
|
104
|
-
return deserializeAws_json1_1ListAccountsForProvisionedPermissionSetCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { SSOAdminClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SSOAdminClient";
|
|
2
|
-
import { ListInstancesRequest, ListInstancesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListInstancesCommand,
|
|
5
|
-
serializeAws_json1_1ListInstancesCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListInstancesCommandInput extends ListInstancesRequest {}
|
|
21
|
-
export interface ListInstancesCommandOutput extends ListInstancesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the SSO instances that the caller has access to.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { SSOAdminClient, ListInstancesCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
29
|
-
* // const { SSOAdminClient, ListInstancesCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
30
|
-
* const client = new SSOAdminClient(config);
|
|
31
|
-
* const command = new ListInstancesCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListInstancesCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListInstancesCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link SSOAdminClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListInstancesCommand extends $Command<
|
|
41
|
-
ListInstancesCommandInput,
|
|
42
|
-
ListInstancesCommandOutput,
|
|
43
|
-
SSOAdminClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListInstancesCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: SSOAdminClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListInstancesCommandInput, ListInstancesCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "SSOAdminClient";
|
|
68
|
-
const commandName = "ListInstancesCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListInstancesRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListInstancesResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListInstancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListInstancesCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListInstancesCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListInstancesCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|