@aws-sdk/client-sso-admin 3.1155.0 → 3.1157.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1154.0";
72
+ var version = "3.1156.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -604,6 +604,7 @@ const _RS = "RelayState";
604
604
  const _RSC = "ResourceServerConfig";
605
605
  const _RSS = "ResourceServerScopes";
606
606
  const _RSSD = "ResourceServerScopeDetails";
607
+ const _RSe = "RegionScope";
607
608
  const _RT = "RefreshToken";
608
609
  const _RTG = "RefreshTokenGrant";
609
610
  const _RU = "RedirectUris";
@@ -1382,8 +1383,8 @@ var ListCustomerManagedPolicyReferencesInPermissionSetResponse$ = [3, n0, _LCMPR
1382
1383
  ];
1383
1384
  var ListInstancesRequest$ = [3, n0, _LIR,
1384
1385
  0,
1385
- [_MR, _NT],
1386
- [1, 0]
1386
+ [_MR, _NT, _RSe],
1387
+ [1, 0, 0]
1387
1388
  ];
1388
1389
  var ListInstancesResponse$ = [3, n0, _LIRi,
1389
1390
  0,
@@ -2641,6 +2642,10 @@ const ProvisioningStatus = {
2641
2642
  LATEST_PERMISSION_SET_NOT_PROVISIONED: "LATEST_PERMISSION_SET_NOT_PROVISIONED",
2642
2643
  LATEST_PERMISSION_SET_PROVISIONED: "LATEST_PERMISSION_SET_PROVISIONED",
2643
2644
  };
2645
+ const RegionScope = {
2646
+ ALL_REGIONS: "ALL_REGIONS",
2647
+ CURRENT_REGION: "CURRENT_REGION",
2648
+ };
2644
2649
  const ProvisionTargetType = {
2645
2650
  ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS",
2646
2651
  AWS_ACCOUNT: "AWS_ACCOUNT",
@@ -2982,6 +2987,7 @@ exports.PutPermissionsBoundaryToPermissionSetRequest$ = PutPermissionsBoundaryTo
2982
2987
  exports.PutPermissionsBoundaryToPermissionSetResponse$ = PutPermissionsBoundaryToPermissionSetResponse$;
2983
2988
  exports.RefreshTokenGrant$ = RefreshTokenGrant$;
2984
2989
  exports.RegionMetadata$ = RegionMetadata$;
2990
+ exports.RegionScope = RegionScope;
2985
2991
  exports.RegionStatus = RegionStatus;
2986
2992
  exports.RemoveRegion$ = RemoveRegion$;
2987
2993
  exports.RemoveRegionCommand = RemoveRegionCommand;
@@ -88,6 +88,10 @@ export const ProvisioningStatus = {
88
88
  LATEST_PERMISSION_SET_NOT_PROVISIONED: "LATEST_PERMISSION_SET_NOT_PROVISIONED",
89
89
  LATEST_PERMISSION_SET_PROVISIONED: "LATEST_PERMISSION_SET_PROVISIONED",
90
90
  };
91
+ export const RegionScope = {
92
+ ALL_REGIONS: "ALL_REGIONS",
93
+ CURRENT_REGION: "CURRENT_REGION",
94
+ };
91
95
  export const ProvisionTargetType = {
92
96
  ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS",
93
97
  AWS_ACCOUNT: "AWS_ACCOUNT",
@@ -346,6 +346,7 @@ const _RS = "RelayState";
346
346
  const _RSC = "ResourceServerConfig";
347
347
  const _RSS = "ResourceServerScopes";
348
348
  const _RSSD = "ResourceServerScopeDetails";
349
+ const _RSe = "RegionScope";
349
350
  const _RT = "RefreshToken";
350
351
  const _RTG = "RefreshTokenGrant";
351
352
  const _RU = "RedirectUris";
@@ -1127,8 +1128,8 @@ export var ListCustomerManagedPolicyReferencesInPermissionSetResponse$ = [3, n0,
1127
1128
  ];
1128
1129
  export var ListInstancesRequest$ = [3, n0, _LIR,
1129
1130
  0,
1130
- [_MR, _NT],
1131
- [1, 0]
1131
+ [_MR, _NT, _RSe],
1132
+ [1, 0, 0]
1132
1133
  ];
1133
1134
  export var ListInstancesResponse$ = [3, n0, _LIRi,
1134
1135
  0,
@@ -36,6 +36,7 @@ declare const ListInstancesCommand_base: {
36
36
  * const input = { // ListInstancesRequest
37
37
  * MaxResults: Number("int"),
38
38
  * NextToken: "STRING_VALUE",
39
+ * RegionScope: "CURRENT_REGION" || "ALL_REGIONS",
39
40
  * };
40
41
  * const command = new ListInstancesCommand(input);
41
42
  * const response = await client.send(command);
@@ -24,7 +24,7 @@ declare const UpdateInstanceCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Update the details for the instance of IAM Identity Center that is owned by the Amazon Web Services account.</p> <p>In a single <code>UpdateInstance</code> request, you can perform only one of the following operations:</p> <ul> <li> <p>Update the encryption configuration of the instance by specifying <code>EncryptionConfiguration</code>.</p> </li> <li> <p>Enable permission sets for the instance by specifying <code>PermissionSetsEnabled</code>.</p> </li> </ul> <p>A request that specifies both <code>EncryptionConfiguration</code> and <code>PermissionSetsEnabled</code> returns a <code>ValidationException</code>. To perform both operations, call <code>UpdateInstance</code> separately for each. The two calls can be made in parallel.</p>
27
+ * <p>Update the details for the instance of IAM Identity Center that is owned by the Amazon Web Services account.</p> <p>In a single <code>UpdateInstance</code> request, you can perform only one of the following operations:</p> <ul> <li> <p>Update the encryption configuration of the instance by specifying <code>EncryptionConfiguration</code>.</p> </li> <li> <p>Enable permission sets for the instance by specifying <code>PermissionSetsEnabled</code>.</p> </li> </ul> <p>If you specify both <code>EncryptionConfiguration</code> and <code>PermissionSetsEnabled</code> in a request, the request returns a <code>ValidationException</code>. To perform both operations, call <code>UpdateInstance</code> separately for each. You can make the two calls in parallel.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -264,6 +264,18 @@ export declare const ProvisioningStatus: {
264
264
  * @public
265
265
  */
266
266
  export type ProvisioningStatus = (typeof ProvisioningStatus)[keyof typeof ProvisioningStatus];
267
+ /**
268
+ * @public
269
+ * @enum
270
+ */
271
+ export declare const RegionScope: {
272
+ readonly ALL_REGIONS: "ALL_REGIONS";
273
+ readonly CURRENT_REGION: "CURRENT_REGION";
274
+ };
275
+ /**
276
+ * @public
277
+ */
278
+ export type RegionScope = (typeof RegionScope)[keyof typeof RegionScope];
267
279
  /**
268
280
  * @public
269
281
  * @enum
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { ApplicationStatus, ApplicationVisibility, AuthenticationMethodType, FederationProtocol, GrantType, InstanceAccessControlAttributeConfigurationStatus, InstanceStatus, JwksRetrievalOption, KmsKeyStatus, KmsKeyType, PrincipalType, ProvisioningStatus, ProvisionTargetType, RegionStatus, SignInOrigin, StatusValues, TargetType, TrustedTokenIssuerType, UserBackgroundSessionApplicationStatus } from "./enums";
2
+ import type { ApplicationStatus, ApplicationVisibility, AuthenticationMethodType, FederationProtocol, GrantType, InstanceAccessControlAttributeConfigurationStatus, InstanceStatus, JwksRetrievalOption, KmsKeyStatus, KmsKeyType, PrincipalType, ProvisioningStatus, ProvisionTargetType, RegionScope, RegionStatus, SignInOrigin, StatusValues, TargetType, TrustedTokenIssuerType, UserBackgroundSessionApplicationStatus } from "./enums";
3
3
  /**
4
4
  * <p>The value used for mapping a specified attribute to an identity source. For more information, see <a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/attributemappingsconcept.html">Attribute mappings</a> in the <i>IAM Identity Center User Guide</i>.</p>
5
5
  * @public
@@ -2770,6 +2770,11 @@ export interface ListInstancesRequest {
2770
2770
  * @public
2771
2771
  */
2772
2772
  NextToken?: string | undefined;
2773
+ /**
2774
+ * <p>Specifies which Amazon Web Services Regions to list IAM Identity Center instances from. Valid values:</p> <ul> <li> <p> <code>CURRENT_REGION</code> - Lists only the instances in the Region that you call this API from.</p> </li> <li> <p> <code>ALL_REGIONS</code> - Lists the instances that the caller owns or that are shared with the caller across all Regions.</p> </li> </ul> <p>If you don't specify a value, the default is <code>CURRENT_REGION</code>.</p>
2775
+ * @public
2776
+ */
2777
+ RegionScope?: RegionScope | undefined;
2773
2778
  }
2774
2779
  /**
2775
2780
  * @public
@@ -3380,7 +3385,7 @@ export interface UpdateInstanceRequest {
3380
3385
  */
3381
3386
  EncryptionConfiguration?: EncryptionConfiguration | undefined;
3382
3387
  /**
3383
- * <p>Enables permission sets for this Identity Center instance. The only accepted value is <code>true </code>. After permission sets are enabled, they cannot be disabled.</p> <note> <p>You can't set <code>EncryptionConfiguration</code> and <code>PermissionSetsEnabled</code> in the same request. To configure both, make two separate <code>UpdateInstance</code> calls. These calls can be made in parallel.</p> </note>
3388
+ * <p>Enables permission sets for this Identity Center instance. The only accepted value is <code>true </code>. After permission sets are enabled, they cannot be disabled.</p> <note> <p>You can't set <code>EncryptionConfiguration</code> and <code>PermissionSetsEnabled</code> in the same request. To configure both, make two separate <code>UpdateInstance</code> calls. You can make these calls in parallel.</p> </note>
3384
3389
  * @public
3385
3390
  */
3386
3391
  PermissionSetsEnabled?: boolean | undefined;
@@ -119,6 +119,11 @@ export declare const ProvisioningStatus: {
119
119
  readonly LATEST_PERMISSION_SET_PROVISIONED: "LATEST_PERMISSION_SET_PROVISIONED";
120
120
  };
121
121
  export type ProvisioningStatus = (typeof ProvisioningStatus)[keyof typeof ProvisioningStatus];
122
+ export declare const RegionScope: {
123
+ readonly ALL_REGIONS: "ALL_REGIONS";
124
+ readonly CURRENT_REGION: "CURRENT_REGION";
125
+ };
126
+ export type RegionScope = (typeof RegionScope)[keyof typeof RegionScope];
122
127
  export declare const ProvisionTargetType: {
123
128
  readonly ALL_PROVISIONED_ACCOUNTS: "ALL_PROVISIONED_ACCOUNTS";
124
129
  readonly AWS_ACCOUNT: "AWS_ACCOUNT";
@@ -13,6 +13,7 @@ import {
13
13
  PrincipalType,
14
14
  ProvisioningStatus,
15
15
  ProvisionTargetType,
16
+ RegionScope,
16
17
  RegionStatus,
17
18
  SignInOrigin,
18
19
  StatusValues,
@@ -760,6 +761,7 @@ export interface ListCustomerManagedPolicyReferencesInPermissionSetResponse {
760
761
  export interface ListInstancesRequest {
761
762
  MaxResults?: number | undefined;
762
763
  NextToken?: string | undefined;
764
+ RegionScope?: RegionScope | undefined;
763
765
  }
764
766
  export interface ListInstancesResponse {
765
767
  Instances?: InstanceMetadata[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-admin",
3
- "version": "3.1155.0",
3
+ "version": "3.1157.0",
4
4
  "description": "AWS SDK for JavaScript Sso Admin Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-admin",
6
6
  "license": "Apache-2.0",
@@ -46,12 +46,12 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.5",
50
- "@aws-sdk/credential-provider-node": "^3.972.88",
49
+ "@aws-sdk/core": "^3.978.6",
50
+ "@aws-sdk/credential-provider-node": "^3.972.89",
51
51
  "@aws-sdk/types": "^3.975.0",
52
- "@smithy/core": "^3.36.1",
52
+ "@smithy/core": "^3.37.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
- "@smithy/node-http-handler": "^4.12.1",
54
+ "@smithy/node-http-handler": "^4.13.0",
55
55
  "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },