@aws-sdk/client-sso-admin 3.451.0 → 3.453.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 +85 -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 +82 -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 +107 -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 +113 -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 +112 -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 +2327 -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 +547 -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 +4 -2
|
@@ -0,0 +1,112 @@
|
|
|
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 { PutApplicationGrantRequest } 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 PutApplicationGrantCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutApplicationGrantCommandInput extends PutApplicationGrantRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutApplicationGrantCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutApplicationGrantCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Adds a grant to 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, PutApplicationGrantCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
31
|
+
* // const { SSOAdminClient, PutApplicationGrantCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
|
+
* const client = new SSOAdminClient(config);
|
|
33
|
+
* const input = { // PutApplicationGrantRequest
|
|
34
|
+
* ApplicationArn: "STRING_VALUE", // required
|
|
35
|
+
* GrantType: "authorization_code" || "refresh_token" || "urn:ietf:params:oauth:grant-type:jwt-bearer" || "urn:ietf:params:oauth:grant-type:token-exchange", // required
|
|
36
|
+
* Grant: { // Grant Union: only one key present
|
|
37
|
+
* AuthorizationCode: { // AuthorizationCodeGrant
|
|
38
|
+
* RedirectUris: [ // RedirectUris
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* JwtBearer: { // JwtBearerGrant
|
|
43
|
+
* AuthorizedTokenIssuers: [ // AuthorizedTokenIssuers
|
|
44
|
+
* { // AuthorizedTokenIssuer
|
|
45
|
+
* TrustedTokenIssuerArn: "STRING_VALUE",
|
|
46
|
+
* AuthorizedAudiences: [ // TokenIssuerAudiences
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* };
|
|
54
|
+
* const command = new PutApplicationGrantCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // {};
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param PutApplicationGrantCommandInput - {@link PutApplicationGrantCommandInput}
|
|
61
|
+
* @returns {@link PutApplicationGrantCommandOutput}
|
|
62
|
+
* @see {@link PutApplicationGrantCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link PutApplicationGrantCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
71
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
72
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
73
|
+
* this exception.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
77
|
+
* with an internal server.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
80
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
83
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
84
|
+
* operations.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link SSOAdminServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
91
|
+
*
|
|
92
|
+
*/
|
|
93
|
+
export declare class PutApplicationGrantCommand extends $Command<PutApplicationGrantCommandInput, PutApplicationGrantCommandOutput, SSOAdminClientResolvedConfig> {
|
|
94
|
+
readonly input: PutApplicationGrantCommandInput;
|
|
95
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
constructor(input: PutApplicationGrantCommandInput);
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutApplicationGrantCommandInput, PutApplicationGrantCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
private deserialize;
|
|
112
|
+
}
|
|
@@ -25,11 +25,12 @@ export interface PutInlinePolicyToPermissionSetCommandOutput extends PutInlinePo
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Attaches an inline policy to a permission set.</p>
|
|
27
27
|
* <note>
|
|
28
|
-
* <p>If the permission set is already referenced by one or more account assignments,
|
|
29
|
-
*
|
|
28
|
+
* <p>If the permission set is already referenced by one or more account assignments,
|
|
29
|
+
* you will need to call <code>
|
|
30
30
|
* <a>ProvisionPermissionSet</a>
|
|
31
|
-
* </code> after
|
|
32
|
-
*
|
|
31
|
+
* </code> after
|
|
32
|
+
* this action to apply the corresponding IAM policy updates to all assigned
|
|
33
|
+
* accounts.</p>
|
|
33
34
|
* </note>
|
|
34
35
|
* @example
|
|
35
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -58,25 +59,25 @@ export interface PutInlinePolicyToPermissionSetCommandOutput extends PutInlinePo
|
|
|
58
59
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
60
|
*
|
|
60
61
|
* @throws {@link ConflictException} (client fault)
|
|
61
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
62
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
63
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
64
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
65
|
+
* this exception.</p>
|
|
65
66
|
*
|
|
66
67
|
* @throws {@link InternalServerException} (server fault)
|
|
67
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
68
|
-
*
|
|
68
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
69
|
+
* with an internal server.</p>
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
72
|
* <p>Indicates that a requested resource is not found.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
74
75
|
* <p>Indicates that the principal has crossed the permitted number of resources that can be
|
|
75
|
-
*
|
|
76
|
+
* created.</p>
|
|
76
77
|
*
|
|
77
78
|
* @throws {@link ThrottlingException} (client fault)
|
|
78
79
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
79
|
-
*
|
|
80
|
+
* operations.</p>
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link ValidationException} (client fault)
|
|
82
83
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -57,21 +57,21 @@ export interface PutPermissionsBoundaryToPermissionSetCommandOutput extends PutP
|
|
|
57
57
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ConflictException} (client fault)
|
|
60
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
60
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
61
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
62
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
63
|
+
* this exception.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InternalServerException} (server fault)
|
|
66
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
67
|
-
*
|
|
66
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
67
|
+
* with an internal server.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
70
|
* <p>Indicates that a requested resource is not found.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ThrottlingException} (client fault)
|
|
73
73
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
74
|
-
*
|
|
74
|
+
* operations.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ValidationException} (client fault)
|
|
77
77
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -31,7 +31,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
31
31
|
* // const { SSOAdminClient, TagResourceCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
32
|
* const client = new SSOAdminClient(config);
|
|
33
33
|
* const input = { // TagResourceRequest
|
|
34
|
-
* InstanceArn: "STRING_VALUE",
|
|
34
|
+
* InstanceArn: "STRING_VALUE",
|
|
35
35
|
* ResourceArn: "STRING_VALUE", // required
|
|
36
36
|
* Tags: [ // TagList // required
|
|
37
37
|
* { // Tag
|
|
@@ -56,25 +56,25 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
56
56
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ConflictException} (client fault)
|
|
59
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
59
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
60
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
61
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
62
|
+
* this exception.</p>
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link InternalServerException} (server fault)
|
|
65
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
66
|
-
*
|
|
65
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
66
|
+
* with an internal server.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
69
|
* <p>Indicates that a requested resource is not found.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
72
72
|
* <p>Indicates that the principal has crossed the permitted number of resources that can be
|
|
73
|
-
*
|
|
73
|
+
* created.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ThrottlingException} (client fault)
|
|
76
76
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
77
|
-
*
|
|
77
|
+
* operations.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ValidationException} (client fault)
|
|
80
80
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -31,7 +31,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
31
31
|
* // const { SSOAdminClient, UntagResourceCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
32
|
* const client = new SSOAdminClient(config);
|
|
33
33
|
* const input = { // UntagResourceRequest
|
|
34
|
-
* InstanceArn: "STRING_VALUE",
|
|
34
|
+
* InstanceArn: "STRING_VALUE",
|
|
35
35
|
* ResourceArn: "STRING_VALUE", // required
|
|
36
36
|
* TagKeys: [ // TagKeyList // required
|
|
37
37
|
* "STRING_VALUE",
|
|
@@ -53,21 +53,21 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
53
53
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
56
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
57
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
58
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
59
|
+
* this exception.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
62
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
63
|
-
*
|
|
62
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
63
|
+
* with an internal server.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
66
|
* <p>Indicates that a requested resource is not found.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
69
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
70
|
-
*
|
|
70
|
+
* operations.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
73
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { UpdateApplicationRequest, UpdateApplicationResponse } 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 UpdateApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateApplicationCommandInput extends UpdateApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates application properties. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SSOAdminClient, UpdateApplicationCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
31
|
+
* // const { SSOAdminClient, UpdateApplicationCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
32
|
+
* const client = new SSOAdminClient(config);
|
|
33
|
+
* const input = { // UpdateApplicationRequest
|
|
34
|
+
* ApplicationArn: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE",
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* Status: "ENABLED" || "DISABLED",
|
|
38
|
+
* PortalOptions: { // UpdateApplicationPortalOptions
|
|
39
|
+
* SignInOptions: { // SignInOptions
|
|
40
|
+
* Origin: "IDENTITY_CENTER" || "APPLICATION", // required
|
|
41
|
+
* ApplicationUrl: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* };
|
|
45
|
+
* const command = new UpdateApplicationCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput}
|
|
52
|
+
* @returns {@link UpdateApplicationCommandOutput}
|
|
53
|
+
* @see {@link UpdateApplicationCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
62
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
63
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
64
|
+
* this exception.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
68
|
+
* with an internal server.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
71
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
74
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
75
|
+
* operations.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link SSOAdminServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, SSOAdminClientResolvedConfig> {
|
|
85
|
+
readonly input: UpdateApplicationCommandInput;
|
|
86
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
constructor(input: UpdateApplicationCommandInput);
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateApplicationCommandInput, UpdateApplicationCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
private serialize;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
private deserialize;
|
|
103
|
+
}
|
|
@@ -24,11 +24,11 @@ export interface UpdateInstanceAccessControlAttributeConfigurationCommandOutput
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Updates the IAM Identity Center identity store attributes that you can use with the IAM Identity Center instance
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
27
|
+
* for attributes-based access control (ABAC). When using an external identity provider as
|
|
28
|
+
* an identity source, you can pass attributes through the SAML assertion as an alternative
|
|
29
|
+
* to configuring attributes from the IAM Identity Center identity store. If a SAML assertion passes any
|
|
30
|
+
* of these attributes, IAM Identity Center replaces the attribute value with the value from the IAM Identity Center
|
|
31
|
+
* identity store. For more information about ABAC, see <a href="/singlesignon/latest/userguide/abac.html">Attribute-Based Access Control</a> in the <i>IAM Identity Center User Guide</i>.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
34
34
|
* ```javascript
|
|
@@ -66,21 +66,21 @@ export interface UpdateInstanceAccessControlAttributeConfigurationCommandOutput
|
|
|
66
66
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
69
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
70
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
71
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
72
|
+
* this exception.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link InternalServerException} (server fault)
|
|
75
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
76
|
-
*
|
|
75
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
76
|
+
* with an internal server.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
79
|
* <p>Indicates that a requested resource is not found.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link ThrottlingException} (client fault)
|
|
82
82
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
83
|
-
*
|
|
83
|
+
* operations.</p>
|
|
84
84
|
*
|
|
85
85
|
* @throws {@link ValidationException} (client fault)
|
|
86
86
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { UpdateInstanceRequest, UpdateInstanceResponse } 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 UpdateInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateInstanceCommandInput extends UpdateInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateInstanceCommandOutput extends UpdateInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Update the details for the instance of IAM Identity Center that is owned by the
|
|
27
|
+
* Amazon Web Services account.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SSOAdminClient, UpdateInstanceCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
32
|
+
* // const { SSOAdminClient, UpdateInstanceCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
33
|
+
* const client = new SSOAdminClient(config);
|
|
34
|
+
* const input = { // UpdateInstanceRequest
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* InstanceArn: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new UpdateInstanceCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param UpdateInstanceCommandInput - {@link UpdateInstanceCommandInput}
|
|
45
|
+
* @returns {@link UpdateInstanceCommandOutput}
|
|
46
|
+
* @see {@link UpdateInstanceCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link UpdateInstanceCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
55
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
56
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
57
|
+
* this exception.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
61
|
+
* with an internal server.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
65
|
+
* operations.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link SSOAdminServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class UpdateInstanceCommand extends $Command<UpdateInstanceCommandInput, UpdateInstanceCommandOutput, SSOAdminClientResolvedConfig> {
|
|
75
|
+
readonly input: UpdateInstanceCommandInput;
|
|
76
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
constructor(input: UpdateInstanceCommandInput);
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateInstanceCommandInput, UpdateInstanceCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private deserialize;
|
|
93
|
+
}
|
|
@@ -53,21 +53,21 @@ export interface UpdatePermissionSetCommandOutput extends UpdatePermissionSetRes
|
|
|
53
53
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ConflictException} (client fault)
|
|
56
|
-
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
56
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
57
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
58
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
59
|
+
* this exception.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link InternalServerException} (server fault)
|
|
62
|
-
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
63
|
-
*
|
|
62
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
63
|
+
* with an internal server.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
66
|
* <p>Indicates that a requested resource is not found.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ThrottlingException} (client fault)
|
|
69
69
|
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
70
|
-
*
|
|
70
|
+
* operations.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ValidationException} (client fault)
|
|
73
73
|
* <p>The request failed because it contains a syntax error.</p>
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { UpdateTrustedTokenIssuerRequest, UpdateTrustedTokenIssuerResponse } 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 UpdateTrustedTokenIssuerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateTrustedTokenIssuerCommandInput extends UpdateTrustedTokenIssuerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateTrustedTokenIssuerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateTrustedTokenIssuerCommandOutput extends UpdateTrustedTokenIssuerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the name of the trusted token issuer, or the path of a source attribute or destination attribute for a trusted token issuer configuration.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>Updating this trusted token issuer configuration might cause users to lose access to any applications that are configured to use the trusted token issuer.</p>
|
|
29
|
+
* </note>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { SSOAdminClient, UpdateTrustedTokenIssuerCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import
|
|
34
|
+
* // const { SSOAdminClient, UpdateTrustedTokenIssuerCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import
|
|
35
|
+
* const client = new SSOAdminClient(config);
|
|
36
|
+
* const input = { // UpdateTrustedTokenIssuerRequest
|
|
37
|
+
* TrustedTokenIssuerArn: "STRING_VALUE", // required
|
|
38
|
+
* Name: "STRING_VALUE",
|
|
39
|
+
* TrustedTokenIssuerConfiguration: { // TrustedTokenIssuerUpdateConfiguration Union: only one key present
|
|
40
|
+
* OidcJwtConfiguration: { // OidcJwtUpdateConfiguration
|
|
41
|
+
* ClaimAttributePath: "STRING_VALUE",
|
|
42
|
+
* IdentityStoreAttributePath: "STRING_VALUE",
|
|
43
|
+
* JwksRetrievalOption: "OPEN_ID_DISCOVERY",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new UpdateTrustedTokenIssuerCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpdateTrustedTokenIssuerCommandInput - {@link UpdateTrustedTokenIssuerCommandInput}
|
|
54
|
+
* @returns {@link UpdateTrustedTokenIssuerCommandOutput}
|
|
55
|
+
* @see {@link UpdateTrustedTokenIssuerCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpdateTrustedTokenIssuerCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>Occurs when a conflict with a previous successful write is detected. This generally
|
|
64
|
+
* occurs when the previous write did not have time to propagate to the host serving the
|
|
65
|
+
* current request. A retry (with appropriate backoff logic) is the recommended response to
|
|
66
|
+
* this exception.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalServerException} (server fault)
|
|
69
|
+
* <p>The request processing has failed because of an unknown error, exception, or failure
|
|
70
|
+
* with an internal server.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>Indicates that a requested resource is not found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>Indicates that the principal has crossed the throttling limits of the API
|
|
77
|
+
* operations.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The request failed because it contains a syntax error.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link SSOAdminServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from SSOAdmin service.</p>
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
export declare class UpdateTrustedTokenIssuerCommand extends $Command<UpdateTrustedTokenIssuerCommandInput, UpdateTrustedTokenIssuerCommandOutput, SSOAdminClientResolvedConfig> {
|
|
87
|
+
readonly input: UpdateTrustedTokenIssuerCommandInput;
|
|
88
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
constructor(input: UpdateTrustedTokenIssuerCommandInput);
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SSOAdminClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTrustedTokenIssuerCommandInput, UpdateTrustedTokenIssuerCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private serialize;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private deserialize;
|
|
105
|
+
}
|