aws-sdk 2.1616.0 → 2.1618.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.
@@ -20,11 +20,11 @@ declare class SSOOIDC extends Service {
20
20
  */
21
21
  createToken(callback?: (err: AWSError, data: SSOOIDC.Types.CreateTokenResponse) => void): Request<SSOOIDC.Types.CreateTokenResponse, AWSError>;
22
22
  /**
23
- * Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs using bearer authentication.
23
+ * Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned Amazon Web Services accounts or to access application APIs using bearer authentication.
24
24
  */
25
25
  createTokenWithIAM(params: SSOOIDC.Types.CreateTokenWithIAMRequest, callback?: (err: AWSError, data: SSOOIDC.Types.CreateTokenWithIAMResponse) => void): Request<SSOOIDC.Types.CreateTokenWithIAMResponse, AWSError>;
26
26
  /**
27
- * Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned AWS accounts or to access application APIs using bearer authentication.
27
+ * Creates and returns access and refresh tokens for clients and applications that are authenticated using IAM entities. The access token can be used to fetch short-term credentials for the assigned Amazon Web Services accounts or to access application APIs using bearer authentication.
28
28
  */
29
29
  createTokenWithIAM(callback?: (err: AWSError, data: SSOOIDC.Types.CreateTokenWithIAMResponse) => void): Request<SSOOIDC.Types.CreateTokenWithIAMResponse, AWSError>;
30
30
  /**
@@ -46,12 +46,14 @@ declare class SSOOIDC extends Service {
46
46
  }
47
47
  declare namespace SSOOIDC {
48
48
  export type AccessToken = string;
49
+ export type ArnType = string;
49
50
  export type Assertion = string;
50
51
  export type AuthCode = string;
51
52
  export type ClientId = string;
52
53
  export type ClientName = string;
53
54
  export type ClientSecret = string;
54
55
  export type ClientType = string;
56
+ export type CodeVerifier = string;
55
57
  export interface CreateTokenRequest {
56
58
  /**
57
59
  * The unique identifier string for the client or application. This value comes from the result of the RegisterClient API.
@@ -85,10 +87,14 @@ declare namespace SSOOIDC {
85
87
  * Used only when calling this API for the Authorization Code grant type. This value specifies the location of the client or application that has registered to receive the authorization code.
86
88
  */
87
89
  redirectUri?: URI;
90
+ /**
91
+ * Used only when calling this API for the Authorization Code grant type. This value is generated by the client and presented to validate the original code challenge value the client passed at authorization time.
92
+ */
93
+ codeVerifier?: CodeVerifier;
88
94
  }
89
95
  export interface CreateTokenResponse {
90
96
  /**
91
- * A bearer token to access AWS accounts and applications assigned to a user.
97
+ * A bearer token to access Amazon Web Services accounts and applications assigned to a user.
92
98
  */
93
99
  accessToken?: AccessToken;
94
100
  /**
@@ -149,10 +155,14 @@ declare namespace SSOOIDC {
149
155
  * Used only when calling this API for the Token Exchange grant type. This value specifies the type of token that the requester can receive. The following values are supported: * Access Token - urn:ietf:params:oauth:token-type:access_token * Refresh Token - urn:ietf:params:oauth:token-type:refresh_token
150
156
  */
151
157
  requestedTokenType?: TokenTypeURI;
158
+ /**
159
+ * Used only when calling this API for the Authorization Code grant type. This value is generated by the client and presented to validate the original code challenge value the client passed at authorization time.
160
+ */
161
+ codeVerifier?: CodeVerifier;
152
162
  }
153
163
  export interface CreateTokenWithIAMResponse {
154
164
  /**
155
- * A bearer token to access AWS accounts and applications assigned to a user.
165
+ * A bearer token to access Amazon Web Services accounts and applications assigned to a user.
156
166
  */
157
167
  accessToken?: AccessToken;
158
168
  /**
@@ -183,9 +193,11 @@ declare namespace SSOOIDC {
183
193
  export type DeviceCode = string;
184
194
  export type ExpirationInSeconds = number;
185
195
  export type GrantType = string;
196
+ export type GrantTypes = GrantType[];
186
197
  export type IdToken = string;
187
198
  export type IntervalInSeconds = number;
188
199
  export type LongTimeStampType = number;
200
+ export type RedirectUris = URI[];
189
201
  export type RefreshToken = string;
190
202
  export interface RegisterClientRequest {
191
203
  /**
@@ -200,6 +212,22 @@ declare namespace SSOOIDC {
200
212
  * The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
201
213
  */
202
214
  scopes?: Scopes;
215
+ /**
216
+ * The list of redirect URI that are defined by the client. At completion of authorization, this list is used to restrict what locations the user agent can be redirected back to.
217
+ */
218
+ redirectUris?: RedirectUris;
219
+ /**
220
+ * The list of OAuth 2.0 grant types that are defined by the client. This list is used to restrict the token granting flows available to the client.
221
+ */
222
+ grantTypes?: GrantTypes;
223
+ /**
224
+ * The IAM Identity Center Issuer URL associated with an instance of IAM Identity Center. This value is needed for user access to resources through the client.
225
+ */
226
+ issuerUrl?: URI;
227
+ /**
228
+ * This IAM Identity Center application ARN is used to define administrator-managed configuration for public client access to resources. At authorization, the scopes, grants, and redirect URI available to this client will be restricted by this application resource.
229
+ */
230
+ entitledApplicationArn?: ArnType;
203
231
  }
204
232
  export interface RegisterClientResponse {
205
233
  /**
@@ -232,6 +232,7 @@ declare namespace VerifiedPermissions {
232
232
  */
233
233
  actionId: ActionId;
234
234
  }
235
+ export type ActionIdentifierList = ActionIdentifier[];
235
236
  export type ActionType = string;
236
237
  export interface AttributeValue {
237
238
  /**
@@ -415,7 +416,7 @@ declare namespace VerifiedPermissions {
415
416
  */
416
417
  clientIds?: ClientIds;
417
418
  /**
418
- * The configuration of the user groups from an Amazon Cognito user pool identity source.
419
+ * The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
419
420
  */
420
421
  groupConfiguration?: CognitoGroupConfiguration;
421
422
  }
@@ -433,7 +434,7 @@ declare namespace VerifiedPermissions {
433
434
  */
434
435
  issuer: Issuer;
435
436
  /**
436
- * The configuration of the user groups from an Amazon Cognito user pool identity source.
437
+ * The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
437
438
  */
438
439
  groupConfiguration?: CognitoGroupConfigurationDetail;
439
440
  }
@@ -451,7 +452,7 @@ declare namespace VerifiedPermissions {
451
452
  */
452
453
  issuer: Issuer;
453
454
  /**
454
- * The configuration of the user groups from an Amazon Cognito user pool identity source.
455
+ * The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.
455
456
  */
456
457
  groupConfiguration?: CognitoGroupConfigurationItem;
457
458
  }
@@ -463,13 +464,13 @@ declare namespace VerifiedPermissions {
463
464
  }
464
465
  export interface ConfigurationDetail {
465
466
  /**
466
- * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
467
+ * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
467
468
  */
468
469
  cognitoUserPoolConfiguration?: CognitoUserPoolConfigurationDetail;
469
470
  }
470
471
  export interface ConfigurationItem {
471
472
  /**
472
- * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
473
+ * Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs. Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": "MyCorp::Group"}}}
473
474
  */
474
475
  cognitoUserPoolConfiguration?: CognitoUserPoolConfigurationItem;
475
476
  }
@@ -551,6 +552,10 @@ declare namespace VerifiedPermissions {
551
552
  * The resource specified in the new policy's scope. This response element isn't present when the resource isn't specified in the policy content.
552
553
  */
553
554
  resource?: EntityIdentifier;
555
+ /**
556
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
557
+ */
558
+ actions?: ActionIdentifierList;
554
559
  /**
555
560
  * The date and time the policy was originally created.
556
561
  */
@@ -559,6 +564,10 @@ declare namespace VerifiedPermissions {
559
564
  * The date and time the policy was last updated.
560
565
  */
561
566
  lastUpdatedDate: TimestampFormat;
567
+ /**
568
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
569
+ */
570
+ effect?: PolicyEffect;
562
571
  }
563
572
  export interface CreatePolicyStoreInput {
564
573
  /**
@@ -803,6 +812,10 @@ declare namespace VerifiedPermissions {
803
812
  * The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
804
813
  */
805
814
  resource?: EntityIdentifier;
815
+ /**
816
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
817
+ */
818
+ actions?: ActionIdentifierList;
806
819
  /**
807
820
  * The definition of the requested policy.
808
821
  */
@@ -815,6 +828,10 @@ declare namespace VerifiedPermissions {
815
828
  * The date and time that the policy was last updated.
816
829
  */
817
830
  lastUpdatedDate: TimestampFormat;
831
+ /**
832
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
833
+ */
834
+ effect?: PolicyEffect;
818
835
  }
819
836
  export interface GetPolicyStoreInput {
820
837
  /**
@@ -1088,7 +1105,7 @@ declare namespace VerifiedPermissions {
1088
1105
  */
1089
1106
  nextToken?: NextToken;
1090
1107
  /**
1091
- * Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 200 identity sources per response.
1108
+ * Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results. If you do not specify this parameter, the operation defaults to 10 identity sources per response. You can specify a maximum of 50 identity sources per response.
1092
1109
  */
1093
1110
  maxResults?: ListIdentitySourcesMaxResults;
1094
1111
  /**
@@ -1216,6 +1233,7 @@ declare namespace VerifiedPermissions {
1216
1233
  */
1217
1234
  templateLinked?: TemplateLinkedPolicyDefinitionItem;
1218
1235
  }
1236
+ export type PolicyEffect = "Permit"|"Forbid"|string;
1219
1237
  export interface PolicyFilter {
1220
1238
  /**
1221
1239
  * Filters the output to only policies that reference the specified principal.
@@ -1256,6 +1274,10 @@ declare namespace VerifiedPermissions {
1256
1274
  * The resource associated with the policy.
1257
1275
  */
1258
1276
  resource?: EntityIdentifier;
1277
+ /**
1278
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
1279
+ */
1280
+ actions?: ActionIdentifierList;
1259
1281
  /**
1260
1282
  * The policy definition of an item in the list of policies returned.
1261
1283
  */
@@ -1268,6 +1290,10 @@ declare namespace VerifiedPermissions {
1268
1290
  * The date and time the policy was most recently updated.
1269
1291
  */
1270
1292
  lastUpdatedDate: TimestampFormat;
1293
+ /**
1294
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
1295
+ */
1296
+ effect?: PolicyEffect;
1271
1297
  }
1272
1298
  export type PolicyList = PolicyItem[];
1273
1299
  export type PolicyStatement = string;
@@ -1537,6 +1563,10 @@ declare namespace VerifiedPermissions {
1537
1563
  * The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
1538
1564
  */
1539
1565
  resource?: EntityIdentifier;
1566
+ /**
1567
+ * The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
1568
+ */
1569
+ actions?: ActionIdentifierList;
1540
1570
  /**
1541
1571
  * The date and time that the policy was originally created.
1542
1572
  */
@@ -1545,6 +1575,10 @@ declare namespace VerifiedPermissions {
1545
1575
  * The date and time that the policy was most recently updated.
1546
1576
  */
1547
1577
  lastUpdatedDate: TimestampFormat;
1578
+ /**
1579
+ * The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
1580
+ */
1581
+ effect?: PolicyEffect;
1548
1582
  }
1549
1583
  export interface UpdatePolicyStoreInput {
1550
1584
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1616.0',
86
+ VERSION: '2.1618.0',
87
87
 
88
88
  /**
89
89
  * @api private