@aws-sdk/client-sso-admin 3.451.0 → 3.454.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/README.md +306 -14
- package/dist-cjs/SSOAdmin.js +72 -0
- package/dist-cjs/commands/CreateApplicationAssignmentCommand.js +51 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
- package/dist-cjs/commands/CreateInstanceCommand.js +51 -0
- package/dist-cjs/commands/CreateTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationAccessScopeCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationAssignmentCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationAuthenticationMethodCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +51 -0
- package/dist-cjs/commands/DeleteApplicationGrantCommand.js +51 -0
- package/dist-cjs/commands/DeleteInstanceCommand.js +51 -0
- package/dist-cjs/commands/DeleteTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationAssignmentCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationCommand.js +51 -0
- package/dist-cjs/commands/DescribeApplicationProviderCommand.js +51 -0
- package/dist-cjs/commands/DescribeInstanceCommand.js +51 -0
- package/dist-cjs/commands/DescribeTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationAccessScopeCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationAssignmentConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationAuthenticationMethodCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationGrantCommand.js +51 -0
- package/dist-cjs/commands/ListAccountAssignmentsForPrincipalCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAccessScopesCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAssignmentsCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAssignmentsForPrincipalCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAuthenticationMethodsCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationGrantsCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationProvidersCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +51 -0
- package/dist-cjs/commands/ListTrustedTokenIssuersCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationAccessScopeCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationAssignmentConfigurationCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationAuthenticationMethodCommand.js +51 -0
- package/dist-cjs/commands/PutApplicationGrantCommand.js +51 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +51 -0
- package/dist-cjs/commands/UpdateInstanceCommand.js +51 -0
- package/dist-cjs/commands/UpdateTrustedTokenIssuerCommand.js +51 -0
- package/dist-cjs/commands/index.js +36 -0
- package/dist-cjs/models/models_0.js +89 -15
- package/dist-cjs/pagination/ListAccountAssignmentsForPrincipalPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAccessScopesPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAssignmentsForPrincipalPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAssignmentsPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationAuthenticationMethodsPaginator.js +28 -0
- package/dist-cjs/pagination/ListApplicationGrantsPaginator.js +28 -0
- package/dist-cjs/pagination/ListApplicationProvidersPaginator.js +29 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListTrustedTokenIssuersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2257 -190
- package/dist-es/SSOAdmin.js +72 -0
- package/dist-es/commands/CreateApplicationAssignmentCommand.js +47 -0
- package/dist-es/commands/CreateApplicationCommand.js +47 -0
- package/dist-es/commands/CreateInstanceCommand.js +47 -0
- package/dist-es/commands/CreateTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationAccessScopeCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationAssignmentCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationAuthenticationMethodCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationCommand.js +47 -0
- package/dist-es/commands/DeleteApplicationGrantCommand.js +47 -0
- package/dist-es/commands/DeleteInstanceCommand.js +47 -0
- package/dist-es/commands/DeleteTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationAssignmentCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationCommand.js +47 -0
- package/dist-es/commands/DescribeApplicationProviderCommand.js +47 -0
- package/dist-es/commands/DescribeInstanceCommand.js +47 -0
- package/dist-es/commands/DescribeTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/GetApplicationAccessScopeCommand.js +47 -0
- package/dist-es/commands/GetApplicationAssignmentConfigurationCommand.js +47 -0
- package/dist-es/commands/GetApplicationAuthenticationMethodCommand.js +47 -0
- package/dist-es/commands/GetApplicationGrantCommand.js +47 -0
- package/dist-es/commands/ListAccountAssignmentsForPrincipalCommand.js +47 -0
- package/dist-es/commands/ListApplicationAccessScopesCommand.js +47 -0
- package/dist-es/commands/ListApplicationAssignmentsCommand.js +47 -0
- package/dist-es/commands/ListApplicationAssignmentsForPrincipalCommand.js +47 -0
- package/dist-es/commands/ListApplicationAuthenticationMethodsCommand.js +47 -0
- package/dist-es/commands/ListApplicationGrantsCommand.js +47 -0
- package/dist-es/commands/ListApplicationProvidersCommand.js +47 -0
- package/dist-es/commands/ListApplicationsCommand.js +47 -0
- package/dist-es/commands/ListTrustedTokenIssuersCommand.js +47 -0
- package/dist-es/commands/PutApplicationAccessScopeCommand.js +47 -0
- package/dist-es/commands/PutApplicationAssignmentConfigurationCommand.js +47 -0
- package/dist-es/commands/PutApplicationAuthenticationMethodCommand.js +47 -0
- package/dist-es/commands/PutApplicationGrantCommand.js +47 -0
- package/dist-es/commands/UpdateApplicationCommand.js +47 -0
- package/dist-es/commands/UpdateInstanceCommand.js +47 -0
- package/dist-es/commands/UpdateTrustedTokenIssuerCommand.js +47 -0
- package/dist-es/commands/index.js +36 -0
- package/dist-es/models/models_0.js +86 -12
- package/dist-es/pagination/ListAccountAssignmentsForPrincipalPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAccessScopesPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAssignmentsForPrincipalPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAssignmentsPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationAuthenticationMethodsPaginator.js +24 -0
- package/dist-es/pagination/ListApplicationGrantsPaginator.js +24 -0
- package/dist-es/pagination/ListApplicationProvidersPaginator.js +25 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
- package/dist-es/pagination/ListTrustedTokenIssuersPaginator.js +25 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +2156 -162
- package/dist-types/SSOAdmin.d.ts +271 -15
- package/dist-types/SSOAdminClient.d.ts +57 -17
- package/dist-types/commands/AttachCustomerManagedPolicyReferenceToPermissionSetCommand.d.ts +8 -8
- package/dist-types/commands/AttachManagedPolicyToPermissionSetCommand.d.ts +13 -13
- package/dist-types/commands/CreateAccountAssignmentCommand.d.ts +21 -19
- package/dist-types/commands/CreateApplicationAssignmentCommand.d.ts +100 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +118 -0
- package/dist-types/commands/CreateInstanceAccessControlAttributeConfigurationCommand.d.ts +12 -11
- package/dist-types/commands/CreateInstanceCommand.d.ts +115 -0
- package/dist-types/commands/CreatePermissionSetCommand.d.ts +8 -8
- package/dist-types/commands/CreateTrustedTokenIssuerCommand.d.ts +117 -0
- package/dist-types/commands/DeleteAccountAssignmentCommand.d.ts +12 -11
- package/dist-types/commands/DeleteApplicationAccessScopeCommand.d.ts +95 -0
- package/dist-types/commands/DeleteApplicationAssignmentCommand.d.ts +97 -0
- package/dist-types/commands/DeleteApplicationAuthenticationMethodCommand.d.ts +95 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +95 -0
- package/dist-types/commands/DeleteApplicationGrantCommand.d.ts +95 -0
- package/dist-types/commands/DeleteInlinePolicyFromPermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/DeleteInstanceAccessControlAttributeConfigurationCommand.d.ts +10 -10
- package/dist-types/commands/DeleteInstanceCommand.d.ts +93 -0
- package/dist-types/commands/DeletePermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/DeletePermissionsBoundaryFromPermissionSetCommand.d.ts +9 -3
- package/dist-types/commands/DeleteTrustedTokenIssuerCommand.d.ts +97 -0
- package/dist-types/commands/DescribeAccountAssignmentCreationStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeAccountAssignmentDeletionStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeApplicationAssignmentCommand.d.ts +96 -0
- package/dist-types/commands/DescribeApplicationCommand.d.ts +104 -0
- package/dist-types/commands/DescribeApplicationProviderCommand.d.ts +104 -0
- package/dist-types/commands/DescribeInstanceAccessControlAttributeConfigurationCommand.d.ts +6 -5
- package/dist-types/commands/DescribeInstanceCommand.d.ts +110 -0
- package/dist-types/commands/DescribePermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/DescribePermissionSetProvisioningStatusCommand.d.ts +3 -3
- package/dist-types/commands/DescribeTrustedTokenIssuerCommand.d.ts +101 -0
- package/dist-types/commands/DetachCustomerManagedPolicyReferenceFromPermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/DetachManagedPolicyFromPermissionSetCommand.d.ts +9 -8
- package/dist-types/commands/GetApplicationAccessScopeCommand.d.ts +94 -0
- package/dist-types/commands/GetApplicationAssignmentConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetApplicationAuthenticationMethodCommand.d.ts +95 -0
- package/dist-types/commands/GetApplicationGrantCommand.d.ts +109 -0
- package/dist-types/commands/GetInlinePolicyForPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/GetPermissionsBoundaryForPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListAccountAssignmentCreationStatusCommand.d.ts +5 -5
- package/dist-types/commands/ListAccountAssignmentDeletionStatusCommand.d.ts +5 -5
- package/dist-types/commands/ListAccountAssignmentsCommand.d.ts +5 -4
- package/dist-types/commands/ListAccountAssignmentsForPrincipalCommand.d.ts +106 -0
- package/dist-types/commands/ListAccountsForProvisionedPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListApplicationAccessScopesCommand.d.ts +100 -0
- package/dist-types/commands/ListApplicationAssignmentsCommand.d.ts +99 -0
- package/dist-types/commands/ListApplicationAssignmentsForPrincipalCommand.d.ts +104 -0
- package/dist-types/commands/ListApplicationAuthenticationMethodsCommand.d.ts +101 -0
- package/dist-types/commands/ListApplicationGrantsCommand.d.ts +115 -0
- package/dist-types/commands/ListApplicationProvidersCommand.d.ts +107 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +114 -0
- package/dist-types/commands/ListCustomerManagedPolicyReferencesInPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListInstancesCommand.d.ts +9 -4
- package/dist-types/commands/ListManagedPoliciesInPermissionSetCommand.d.ts +3 -3
- package/dist-types/commands/ListPermissionSetProvisioningStatusCommand.d.ts +4 -4
- package/dist-types/commands/ListPermissionSetsCommand.d.ts +3 -3
- package/dist-types/commands/ListPermissionSetsProvisionedToAccountCommand.d.ts +5 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
- package/dist-types/commands/ListTrustedTokenIssuersCommand.d.ts +96 -0
- package/dist-types/commands/ProvisionPermissionSetCommand.d.ts +8 -8
- package/dist-types/commands/PutApplicationAccessScopeCommand.d.ts +99 -0
- package/dist-types/commands/PutApplicationAssignmentConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/PutApplicationAuthenticationMethodCommand.d.ts +100 -0
- package/dist-types/commands/PutApplicationGrantCommand.d.ts +114 -0
- package/dist-types/commands/PutInlinePolicyToPermissionSetCommand.d.ts +13 -12
- package/dist-types/commands/PutPermissionsBoundaryToPermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/TagResourceCommand.d.ts +9 -9
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -8
- package/dist-types/commands/UpdateApplicationCommand.d.ts +103 -0
- package/dist-types/commands/UpdateInstanceAccessControlAttributeConfigurationCommand.d.ts +12 -12
- package/dist-types/commands/UpdateInstanceCommand.d.ts +93 -0
- package/dist-types/commands/UpdatePermissionSetCommand.d.ts +7 -7
- package/dist-types/commands/UpdateTrustedTokenIssuerCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +36 -0
- package/dist-types/index.d.ts +19 -15
- package/dist-types/models/models_0.d.ts +2369 -276
- package/dist-types/pagination/ListAccountAssignmentsForPrincipalPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAccessScopesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAssignmentsForPrincipalPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAssignmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationAuthenticationMethodsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationGrantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustedTokenIssuersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +324 -0
- package/dist-types/ts3.4/SSOAdmin.d.ts +660 -0
- package/dist-types/ts3.4/SSOAdminClient.d.ts +218 -2
- package/dist-types/ts3.4/commands/CreateApplicationAssignmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteApplicationAccessScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteApplicationAssignmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteApplicationAuthenticationMethodCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteApplicationGrantCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeApplicationAssignmentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeApplicationProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationAccessScopeCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationAssignmentConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationAuthenticationMethodCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetApplicationGrantCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAccountAssignmentsForPrincipalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAccessScopesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAssignmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAssignmentsForPrincipalCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationAuthenticationMethodsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationGrantsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationProvidersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListTrustedTokenIssuersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutApplicationAccessScopeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutApplicationAssignmentConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutApplicationAuthenticationMethodCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutApplicationGrantCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateInstanceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateTrustedTokenIssuerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +573 -23
- package/dist-types/ts3.4/pagination/ListAccountAssignmentsForPrincipalPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAccessScopesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAssignmentsForPrincipalPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAssignmentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationAuthenticationMethodsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationGrantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustedTokenIssuersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +432 -0
- package/package.json +5 -3
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateInstanceRequest, CreateInstanceResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateInstanceCommandInput extends CreateInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an instance of IAM Identity Center for a standalone Amazon Web Services account that is not
|
|
27
|
+
* managed by Organizations or a member Amazon Web Services account in an organization. You can
|
|
28
|
+
* create only one instance per account and across all Amazon Web Services Regions.</p>
|
|
29
|
+
* <p>The CreateInstance request is rejected if the following apply: </p>
|
|
30
|
+
* <ul>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>The instance is created within the organization management account.</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>An instance already exists in the same account.</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* </ul>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { SSOAdminClient, CreateInstanceCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
42
|
+
* // const { SSOAdminClient, CreateInstanceCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
43
|
+
* const client = new SSOAdminClient(config);
|
|
44
|
+
* const input = { // CreateInstanceRequest
|
|
45
|
+
* Name: "STRING_VALUE",
|
|
46
|
+
* ClientToken: "STRING_VALUE",
|
|
47
|
+
* Tags: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* Value: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateInstanceCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateInstanceResponse
|
|
57
|
+
* // InstanceArn: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param CreateInstanceCommandInput - {@link CreateInstanceCommandInput}
|
|
63
|
+
* @returns {@link CreateInstanceCommandOutput}
|
|
64
|
+
* @see {@link CreateInstanceCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link CreateInstanceCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
73
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
74
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
75
|
+
* this exception.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
79
|
+
* with an internal server.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
82
|
+
* <p>Indicates that the principal has crossed the permitted number of resources that can be
|
|
83
|
+
* created.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
87
|
+
* operations.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link SSOAdminServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
export declare class CreateInstanceCommand extends $Command<CreateInstanceCommandInput, CreateInstanceCommandOutput, SSOAdminClientResolvedConfig> {
|
|
97
|
+
readonly input: CreateInstanceCommandInput;
|
|
98
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
constructor(input: CreateInstanceCommandInput);
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInstanceCommandInput, CreateInstanceCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
private serialize;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
private deserialize;
|
|
115
|
+
}
|
|
@@ -73,25 +73,25 @@ export interface CreatePermissionSetCommandOutput extends CreatePermissionSetRes
|
|
|
73
73
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ConflictException} (client fault)
|
|
76
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
76
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
77
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
78
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
79
|
+
* this exception.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link InternalServerException} (server fault)
|
|
82
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
83
|
-
*
|
|
82
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
83
|
+
* with an internal server.</p>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
86
|
* <p>Indicates that a requested resource is not found.</p>
|
|
87
87
|
*
|
|
88
88
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
89
89
|
* <p>Indicates that the principal has crossed the permitted number of resources that can be
|
|
90
|
-
*
|
|
90
|
+
* created.</p>
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link ThrottlingException} (client fault)
|
|
93
93
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
94
|
-
*
|
|
94
|
+
* operations.</p>
|
|
95
95
|
*
|
|
96
96
|
* @throws {@link ValidationException} (client fault)
|
|
97
97
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CreateTrustedTokenIssuerRequest, CreateTrustedTokenIssuerResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateTrustedTokenIssuerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateTrustedTokenIssuerCommandInput extends CreateTrustedTokenIssuerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateTrustedTokenIssuerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateTrustedTokenIssuerCommandOutput extends CreateTrustedTokenIssuerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a connection to a trusted token issuer in an instance of IAM Identity Center. A trusted token issuer enables trusted identity propagation to be used with applications that authenticate outside of Amazon Web Services.</p>
|
|
27
|
+
* <p>This trusted token issuer describes an external identity
|
|
28
|
+
* provider (IdP) that can generate claims or assertions in the form of access tokens for a
|
|
29
|
+
* user. Applications enabled for IAM Identity Center can use these tokens for authentication. </p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { SSOAdminClient, CreateTrustedTokenIssuerCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
34
|
+
* // const { SSOAdminClient, CreateTrustedTokenIssuerCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
35
|
+
* const client = new SSOAdminClient(config);
|
|
36
|
+
* const input = { // CreateTrustedTokenIssuerRequest
|
|
37
|
+
* InstanceArn: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE", // required
|
|
39
|
+
* TrustedTokenIssuerType: "OIDC_JWT", // required
|
|
40
|
+
* TrustedTokenIssuerConfiguration: { // TrustedTokenIssuerConfiguration Union: only one key present
|
|
41
|
+
* OidcJwtConfiguration: { // OidcJwtConfiguration
|
|
42
|
+
* IssuerUrl: "STRING_VALUE", // required
|
|
43
|
+
* ClaimAttributePath: "STRING_VALUE", // required
|
|
44
|
+
* IdentityStoreAttributePath: "STRING_VALUE", // required
|
|
45
|
+
* JwksRetrievalOption: "OPEN_ID_DISCOVERY", // required
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* ClientToken: "STRING_VALUE",
|
|
49
|
+
* Tags: [ // TagList
|
|
50
|
+
* { // Tag
|
|
51
|
+
* Key: "STRING_VALUE", // required
|
|
52
|
+
* Value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* };
|
|
56
|
+
* const command = new CreateTrustedTokenIssuerCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // { // CreateTrustedTokenIssuerResponse
|
|
59
|
+
* // TrustedTokenIssuerArn: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param CreateTrustedTokenIssuerCommandInput - {@link CreateTrustedTokenIssuerCommandInput}
|
|
65
|
+
* @returns {@link CreateTrustedTokenIssuerCommandOutput}
|
|
66
|
+
* @see {@link CreateTrustedTokenIssuerCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link CreateTrustedTokenIssuerCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
75
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
76
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
77
|
+
* this exception.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
81
|
+
* with an internal server.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
84
|
+
* <p>Indicates that the principal has crossed the permitted number of resources that can be
|
|
85
|
+
* created.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
88
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
89
|
+
* operations.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ValidationException} (client fault)
|
|
92
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link SSOAdminServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
export declare class CreateTrustedTokenIssuerCommand extends $Command<CreateTrustedTokenIssuerCommandInput, CreateTrustedTokenIssuerCommandOutput, SSOAdminClientResolvedConfig> {
|
|
99
|
+
readonly input: CreateTrustedTokenIssuerCommandInput;
|
|
100
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
constructor(input: CreateTrustedTokenIssuerCommandInput);
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrustedTokenIssuerCommandInput, CreateTrustedTokenIssuerCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private serialize;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private deserialize;
|
|
117
|
+
}
|
|
@@ -23,11 +23,12 @@ export interface DeleteAccountAssignmentCommandOutput extends DeleteAccountAssig
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes a principal's access from a specified Amazon Web Services account using a specified
|
|
27
|
-
*
|
|
26
|
+
* <p>Deletes a principal's access from a specified Amazon Web Services account using a specified
|
|
27
|
+
* permission set.</p>
|
|
28
28
|
* <note>
|
|
29
|
-
* <p>After a successful response, call
|
|
30
|
-
*
|
|
29
|
+
* <p>After a successful response, call
|
|
30
|
+
* <code>DescribeAccountAssignmentDeletionStatus</code> to describe the status of
|
|
31
|
+
* an assignment deletion request.</p>
|
|
31
32
|
* </note>
|
|
32
33
|
* @example
|
|
33
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -71,21 +72,21 @@ export interface DeleteAccountAssignmentCommandOutput extends DeleteAccountAssig
|
|
|
71
72
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link ConflictException} (client fault)
|
|
74
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
75
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
76
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
77
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
78
|
+
* this exception.</p>
|
|
78
79
|
*
|
|
79
80
|
* @throws {@link InternalServerException} (server fault)
|
|
80
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
81
|
-
*
|
|
81
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
82
|
+
* with an internal server.</p>
|
|
82
83
|
*
|
|
83
84
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
85
|
* <p>Indicates that a requested resource is not found.</p>
|
|
85
86
|
*
|
|
86
87
|
* @throws {@link ThrottlingException} (client fault)
|
|
87
88
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
88
|
-
*
|
|
89
|
+
* operations.</p>
|
|
89
90
|
*
|
|
90
91
|
* @throws {@link ValidationException} (client fault)
|
|
91
92
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteApplicationAccessScopeRequest } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteApplicationAccessScopeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteApplicationAccessScopeCommandInput extends DeleteApplicationAccessScopeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteApplicationAccessScopeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteApplicationAccessScopeCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes an IAM Identity Center access scope from an application.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SSOAdminClient, DeleteApplicationAccessScopeCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
31
|
+
* // const { SSOAdminClient, DeleteApplicationAccessScopeCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
|
+
* const client = new SSOAdminClient(config);
|
|
33
|
+
* const input = { // DeleteApplicationAccessScopeRequest
|
|
34
|
+
* ApplicationArn: "STRING_VALUE", // required
|
|
35
|
+
* Scope: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteApplicationAccessScopeCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param DeleteApplicationAccessScopeCommandInput - {@link DeleteApplicationAccessScopeCommandInput}
|
|
44
|
+
* @returns {@link DeleteApplicationAccessScopeCommandOutput}
|
|
45
|
+
* @see {@link DeleteApplicationAccessScopeCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link DeleteApplicationAccessScopeCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ConflictException} (client fault)
|
|
53
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
54
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
55
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
56
|
+
* this exception.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
60
|
+
* with an internal server.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
67
|
+
* operations.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link SSOAdminServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteApplicationAccessScopeCommand extends $Command<DeleteApplicationAccessScopeCommandInput, DeleteApplicationAccessScopeCommandOutput, SSOAdminClientResolvedConfig> {
|
|
77
|
+
readonly input: DeleteApplicationAccessScopeCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: DeleteApplicationAccessScopeCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationAccessScopeCommandInput, DeleteApplicationAccessScopeCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteApplicationAssignmentRequest, DeleteApplicationAssignmentResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteApplicationAssignmentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteApplicationAssignmentCommandInput extends DeleteApplicationAssignmentRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteApplicationAssignmentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteApplicationAssignmentCommandOutput extends DeleteApplicationAssignmentResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Revoke application access to an application by deleting application assignments for a
|
|
27
|
+
* user or group.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SSOAdminClient, DeleteApplicationAssignmentCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
32
|
+
* // const { SSOAdminClient, DeleteApplicationAssignmentCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
33
|
+
* const client = new SSOAdminClient(config);
|
|
34
|
+
* const input = { // DeleteApplicationAssignmentRequest
|
|
35
|
+
* ApplicationArn: "STRING_VALUE", // required
|
|
36
|
+
* PrincipalId: "STRING_VALUE", // required
|
|
37
|
+
* PrincipalType: "USER" || "GROUP", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteApplicationAssignmentCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteApplicationAssignmentCommandInput - {@link DeleteApplicationAssignmentCommandInput}
|
|
46
|
+
* @returns {@link DeleteApplicationAssignmentCommandOutput}
|
|
47
|
+
* @see {@link DeleteApplicationAssignmentCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteApplicationAssignmentCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
56
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
57
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
58
|
+
* this exception.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
62
|
+
* with an internal server.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
69
|
+
* operations.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SSOAdminServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class DeleteApplicationAssignmentCommand extends $Command<DeleteApplicationAssignmentCommandInput, DeleteApplicationAssignmentCommandOutput, SSOAdminClientResolvedConfig> {
|
|
79
|
+
readonly input: DeleteApplicationAssignmentCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: DeleteApplicationAssignmentCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationAssignmentCommandInput, DeleteApplicationAssignmentCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteApplicationAuthenticationMethodRequest } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteApplicationAuthenticationMethodCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteApplicationAuthenticationMethodCommandInput extends DeleteApplicationAuthenticationMethodRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteApplicationAuthenticationMethodCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteApplicationAuthenticationMethodCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes an authentication method from an application.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SSOAdminClient, DeleteApplicationAuthenticationMethodCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
31
|
+
* // const { SSOAdminClient, DeleteApplicationAuthenticationMethodCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
|
+
* const client = new SSOAdminClient(config);
|
|
33
|
+
* const input = { // DeleteApplicationAuthenticationMethodRequest
|
|
34
|
+
* ApplicationArn: "STRING_VALUE", // required
|
|
35
|
+
* AuthenticationMethodType: "IAM", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteApplicationAuthenticationMethodCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param DeleteApplicationAuthenticationMethodCommandInput - {@link DeleteApplicationAuthenticationMethodCommandInput}
|
|
44
|
+
* @returns {@link DeleteApplicationAuthenticationMethodCommandOutput}
|
|
45
|
+
* @see {@link DeleteApplicationAuthenticationMethodCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link DeleteApplicationAuthenticationMethodCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ConflictException} (client fault)
|
|
53
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
54
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
55
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
56
|
+
* this exception.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
60
|
+
* with an internal server.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
67
|
+
* operations.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link SSOAdminServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteApplicationAuthenticationMethodCommand extends $Command<DeleteApplicationAuthenticationMethodCommandInput, DeleteApplicationAuthenticationMethodCommandOutput, SSOAdminClientResolvedConfig> {
|
|
77
|
+
readonly input: DeleteApplicationAuthenticationMethodCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: DeleteApplicationAuthenticationMethodCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationAuthenticationMethodCommandInput, DeleteApplicationAuthenticationMethodCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|