diff options
author | appilon <apilon@hashicorp.com> | 2019-02-27 16:43:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-27 16:43:31 -0500 |
commit | 844b5a68d8af4791755b8f0ad293cc99f5959183 (patch) | |
tree | 255c250a5c9d4801c74092d33b7337d8c14438ff /vendor/github.com/aws/aws-sdk-go/service/sts/api.go | |
parent | 303b299eeb6b06e939e35905e4b34cb410dd9dc3 (diff) | |
parent | 15c0b25d011f37e7c20aeca9eaf461f78285b8d9 (diff) | |
download | terraform-provider-statuscake-844b5a68d8af4791755b8f0ad293cc99f5959183.tar.gz terraform-provider-statuscake-844b5a68d8af4791755b8f0ad293cc99f5959183.tar.zst terraform-provider-statuscake-844b5a68d8af4791755b8f0ad293cc99f5959183.zip |
Merge pull request #27 from terraform-providers/go-modules-2019-02-22
[MODULES] Switch to Go Modules
Diffstat (limited to 'vendor/github.com/aws/aws-sdk-go/service/sts/api.go')
-rw-r--r-- | vendor/github.com/aws/aws-sdk-go/service/sts/api.go | 317 |
1 files changed, 175 insertions, 142 deletions
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go index e5c105f..6f89a79 100644 --- a/vendor/github.com/aws/aws-sdk-go/service/sts/api.go +++ b/vendor/github.com/aws/aws-sdk-go/service/sts/api.go | |||
@@ -14,19 +14,18 @@ const opAssumeRole = "AssumeRole" | |||
14 | 14 | ||
15 | // AssumeRoleRequest generates a "aws/request.Request" representing the | 15 | // AssumeRoleRequest generates a "aws/request.Request" representing the |
16 | // client's request for the AssumeRole operation. The "output" return | 16 | // client's request for the AssumeRole operation. The "output" return |
17 | // value can be used to capture response data after the request's "Send" method | 17 | // value will be populated with the request's response once the request completes |
18 | // is called. | 18 | // successfuly. |
19 | // | 19 | // |
20 | // See AssumeRole for usage and error information. | 20 | // Use "Send" method on the returned Request to send the API call to the service. |
21 | // the "output" return value is not valid until after Send returns without error. | ||
21 | // | 22 | // |
22 | // Creating a request object using this method should be used when you want to inject | 23 | // See AssumeRole for more information on using the AssumeRole |
23 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 24 | // API call, and error handling. |
24 | // access properties on the request object before or after sending the request. If | 25 | // |
25 | // you just want the service response, call the AssumeRole method directly | 26 | // This method is useful when you want to inject custom logic or configuration |
26 | // instead. | 27 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
27 | // | 28 | // |
28 | // Note: You must call the "Send" method on the returned request object in order | ||
29 | // to execute the request. | ||
30 | // | 29 | // |
31 | // // Example sending a request using the AssumeRoleRequest method. | 30 | // // Example sending a request using the AssumeRoleRequest method. |
32 | // req, resp := client.AssumeRoleRequest(params) | 31 | // req, resp := client.AssumeRoleRequest(params) |
@@ -36,7 +35,7 @@ const opAssumeRole = "AssumeRole" | |||
36 | // fmt.Println(resp) | 35 | // fmt.Println(resp) |
37 | // } | 36 | // } |
38 | // | 37 | // |
39 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole | 38 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole |
40 | func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, output *AssumeRoleOutput) { | 39 | func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, output *AssumeRoleOutput) { |
41 | op := &request.Operation{ | 40 | op := &request.Operation{ |
42 | Name: opAssumeRole, | 41 | Name: opAssumeRole, |
@@ -89,9 +88,18 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o | |||
89 | // Scenarios for Temporary Credentials (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html#sts-introduction) | 88 | // Scenarios for Temporary Credentials (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html#sts-introduction) |
90 | // in the IAM User Guide. | 89 | // in the IAM User Guide. |
91 | // | 90 | // |
92 | // The temporary security credentials are valid for the duration that you specified | 91 | // By default, the temporary security credentials created by AssumeRole last |
93 | // when calling AssumeRole, which can be from 900 seconds (15 minutes) to a | 92 | // for one hour. However, you can use the optional DurationSeconds parameter |
94 | // maximum of 3600 seconds (1 hour). The default is 1 hour. | 93 | // to specify the duration of your session. You can provide a value from 900 |
94 | // seconds (15 minutes) up to the maximum session duration setting for the role. | ||
95 | // This setting can have a value from 1 hour to 12 hours. To learn how to view | ||
96 | // the maximum value for your role, see View the Maximum Session Duration Setting | ||
97 | // for a Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session) | ||
98 | // in the IAM User Guide. The maximum session duration limit applies when you | ||
99 | // use the AssumeRole* API operations or the assume-role* CLI operations but | ||
100 | // does not apply when you use those operations to create a console URL. For | ||
101 | // more information, see Using IAM Roles (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) | ||
102 | // in the IAM User Guide. | ||
95 | // | 103 | // |
96 | // The temporary security credentials created by AssumeRole can be used to make | 104 | // The temporary security credentials created by AssumeRole can be used to make |
97 | // API calls to any AWS service with the following exception: you cannot call | 105 | // API calls to any AWS service with the following exception: you cannot call |
@@ -122,7 +130,12 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o | |||
122 | // the user to call AssumeRole on the ARN of the role in the other account. | 130 | // the user to call AssumeRole on the ARN of the role in the other account. |
123 | // If the user is in the same account as the role, then you can either attach | 131 | // If the user is in the same account as the role, then you can either attach |
124 | // a policy to the user (identical to the previous different account user), | 132 | // a policy to the user (identical to the previous different account user), |
125 | // or you can add the user as a principal directly in the role's trust policy | 133 | // or you can add the user as a principal directly in the role's trust policy. |
134 | // In this case, the trust policy acts as the only resource-based policy in | ||
135 | // IAM, and users in the same account as the role do not need explicit permission | ||
136 | // to assume the role. For more information about trust policies and resource-based | ||
137 | // policies, see IAM Policies (http://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html) | ||
138 | // in the IAM User Guide. | ||
126 | // | 139 | // |
127 | // Using MFA with AssumeRole | 140 | // Using MFA with AssumeRole |
128 | // | 141 | // |
@@ -169,7 +182,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o | |||
169 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) | 182 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) |
170 | // in the IAM User Guide. | 183 | // in the IAM User Guide. |
171 | // | 184 | // |
172 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole | 185 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole |
173 | func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) { | 186 | func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) { |
174 | req, out := c.AssumeRoleRequest(input) | 187 | req, out := c.AssumeRoleRequest(input) |
175 | return out, req.Send() | 188 | return out, req.Send() |
@@ -195,19 +208,18 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML" | |||
195 | 208 | ||
196 | // AssumeRoleWithSAMLRequest generates a "aws/request.Request" representing the | 209 | // AssumeRoleWithSAMLRequest generates a "aws/request.Request" representing the |
197 | // client's request for the AssumeRoleWithSAML operation. The "output" return | 210 | // client's request for the AssumeRoleWithSAML operation. The "output" return |
198 | // value can be used to capture response data after the request's "Send" method | 211 | // value will be populated with the request's response once the request completes |
199 | // is called. | 212 | // successfuly. |
200 | // | 213 | // |
201 | // See AssumeRoleWithSAML for usage and error information. | 214 | // Use "Send" method on the returned Request to send the API call to the service. |
215 | // the "output" return value is not valid until after Send returns without error. | ||
202 | // | 216 | // |
203 | // Creating a request object using this method should be used when you want to inject | 217 | // See AssumeRoleWithSAML for more information on using the AssumeRoleWithSAML |
204 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 218 | // API call, and error handling. |
205 | // access properties on the request object before or after sending the request. If | 219 | // |
206 | // you just want the service response, call the AssumeRoleWithSAML method directly | 220 | // This method is useful when you want to inject custom logic or configuration |
207 | // instead. | 221 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
208 | // | 222 | // |
209 | // Note: You must call the "Send" method on the returned request object in order | ||
210 | // to execute the request. | ||
211 | // | 223 | // |
212 | // // Example sending a request using the AssumeRoleWithSAMLRequest method. | 224 | // // Example sending a request using the AssumeRoleWithSAMLRequest method. |
213 | // req, resp := client.AssumeRoleWithSAMLRequest(params) | 225 | // req, resp := client.AssumeRoleWithSAMLRequest(params) |
@@ -217,7 +229,7 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML" | |||
217 | // fmt.Println(resp) | 229 | // fmt.Println(resp) |
218 | // } | 230 | // } |
219 | // | 231 | // |
220 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML | 232 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML |
221 | func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *request.Request, output *AssumeRoleWithSAMLOutput) { | 233 | func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *request.Request, output *AssumeRoleWithSAMLOutput) { |
222 | op := &request.Operation{ | 234 | op := &request.Operation{ |
223 | Name: opAssumeRoleWithSAML, | 235 | Name: opAssumeRoleWithSAML, |
@@ -249,11 +261,20 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re | |||
249 | // an access key ID, a secret access key, and a security token. Applications | 261 | // an access key ID, a secret access key, and a security token. Applications |
250 | // can use these temporary security credentials to sign calls to AWS services. | 262 | // can use these temporary security credentials to sign calls to AWS services. |
251 | // | 263 | // |
252 | // The temporary security credentials are valid for the duration that you specified | 264 | // By default, the temporary security credentials created by AssumeRoleWithSAML |
253 | // when calling AssumeRole, or until the time specified in the SAML authentication | 265 | // last for one hour. However, you can use the optional DurationSeconds parameter |
254 | // response's SessionNotOnOrAfter value, whichever is shorter. The duration | 266 | // to specify the duration of your session. Your role session lasts for the |
255 | // can be from 900 seconds (15 minutes) to a maximum of 3600 seconds (1 hour). | 267 | // duration that you specify, or until the time specified in the SAML authentication |
256 | // The default is 1 hour. | 268 | // response's SessionNotOnOrAfter value, whichever is shorter. You can provide |
269 | // a DurationSeconds value from 900 seconds (15 minutes) up to the maximum session | ||
270 | // duration setting for the role. This setting can have a value from 1 hour | ||
271 | // to 12 hours. To learn how to view the maximum value for your role, see View | ||
272 | // the Maximum Session Duration Setting for a Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session) | ||
273 | // in the IAM User Guide. The maximum session duration limit applies when you | ||
274 | // use the AssumeRole* API operations or the assume-role* CLI operations but | ||
275 | // does not apply when you use those operations to create a console URL. For | ||
276 | // more information, see Using IAM Roles (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) | ||
277 | // in the IAM User Guide. | ||
257 | // | 278 | // |
258 | // The temporary security credentials created by AssumeRoleWithSAML can be used | 279 | // The temporary security credentials created by AssumeRoleWithSAML can be used |
259 | // to make API calls to any AWS service with the following exception: you cannot | 280 | // to make API calls to any AWS service with the following exception: you cannot |
@@ -343,7 +364,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re | |||
343 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) | 364 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) |
344 | // in the IAM User Guide. | 365 | // in the IAM User Guide. |
345 | // | 366 | // |
346 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML | 367 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML |
347 | func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) { | 368 | func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) { |
348 | req, out := c.AssumeRoleWithSAMLRequest(input) | 369 | req, out := c.AssumeRoleWithSAMLRequest(input) |
349 | return out, req.Send() | 370 | return out, req.Send() |
@@ -369,19 +390,18 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity" | |||
369 | 390 | ||
370 | // AssumeRoleWithWebIdentityRequest generates a "aws/request.Request" representing the | 391 | // AssumeRoleWithWebIdentityRequest generates a "aws/request.Request" representing the |
371 | // client's request for the AssumeRoleWithWebIdentity operation. The "output" return | 392 | // client's request for the AssumeRoleWithWebIdentity operation. The "output" return |
372 | // value can be used to capture response data after the request's "Send" method | 393 | // value will be populated with the request's response once the request completes |
373 | // is called. | 394 | // successfuly. |
374 | // | 395 | // |
375 | // See AssumeRoleWithWebIdentity for usage and error information. | 396 | // Use "Send" method on the returned Request to send the API call to the service. |
397 | // the "output" return value is not valid until after Send returns without error. | ||
376 | // | 398 | // |
377 | // Creating a request object using this method should be used when you want to inject | 399 | // See AssumeRoleWithWebIdentity for more information on using the AssumeRoleWithWebIdentity |
378 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 400 | // API call, and error handling. |
379 | // access properties on the request object before or after sending the request. If | 401 | // |
380 | // you just want the service response, call the AssumeRoleWithWebIdentity method directly | 402 | // This method is useful when you want to inject custom logic or configuration |
381 | // instead. | 403 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
382 | // | 404 | // |
383 | // Note: You must call the "Send" method on the returned request object in order | ||
384 | // to execute the request. | ||
385 | // | 405 | // |
386 | // // Example sending a request using the AssumeRoleWithWebIdentityRequest method. | 406 | // // Example sending a request using the AssumeRoleWithWebIdentityRequest method. |
387 | // req, resp := client.AssumeRoleWithWebIdentityRequest(params) | 407 | // req, resp := client.AssumeRoleWithWebIdentityRequest(params) |
@@ -391,7 +411,7 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity" | |||
391 | // fmt.Println(resp) | 411 | // fmt.Println(resp) |
392 | // } | 412 | // } |
393 | // | 413 | // |
394 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity | 414 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity |
395 | func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityInput) (req *request.Request, output *AssumeRoleWithWebIdentityOutput) { | 415 | func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityInput) (req *request.Request, output *AssumeRoleWithWebIdentityOutput) { |
396 | op := &request.Operation{ | 416 | op := &request.Operation{ |
397 | Name: opAssumeRoleWithWebIdentity, | 417 | Name: opAssumeRoleWithWebIdentity, |
@@ -441,9 +461,18 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI | |||
441 | // key ID, a secret access key, and a security token. Applications can use these | 461 | // key ID, a secret access key, and a security token. Applications can use these |
442 | // temporary security credentials to sign calls to AWS service APIs. | 462 | // temporary security credentials to sign calls to AWS service APIs. |
443 | // | 463 | // |
444 | // The credentials are valid for the duration that you specified when calling | 464 | // By default, the temporary security credentials created by AssumeRoleWithWebIdentity |
445 | // AssumeRoleWithWebIdentity, which can be from 900 seconds (15 minutes) to | 465 | // last for one hour. However, you can use the optional DurationSeconds parameter |
446 | // a maximum of 3600 seconds (1 hour). The default is 1 hour. | 466 | // to specify the duration of your session. You can provide a value from 900 |
467 | // seconds (15 minutes) up to the maximum session duration setting for the role. | ||
468 | // This setting can have a value from 1 hour to 12 hours. To learn how to view | ||
469 | // the maximum value for your role, see View the Maximum Session Duration Setting | ||
470 | // for a Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session) | ||
471 | // in the IAM User Guide. The maximum session duration limit applies when you | ||
472 | // use the AssumeRole* API operations or the assume-role* CLI operations but | ||
473 | // does not apply when you use those operations to create a console URL. For | ||
474 | // more information, see Using IAM Roles (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) | ||
475 | // in the IAM User Guide. | ||
447 | // | 476 | // |
448 | // The temporary security credentials created by AssumeRoleWithWebIdentity can | 477 | // The temporary security credentials created by AssumeRoleWithWebIdentity can |
449 | // be used to make API calls to any AWS service with the following exception: | 478 | // be used to make API calls to any AWS service with the following exception: |
@@ -495,7 +524,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI | |||
495 | // the information from these providers to get and use temporary security | 524 | // the information from these providers to get and use temporary security |
496 | // credentials. | 525 | // credentials. |
497 | // | 526 | // |
498 | // * Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/4617974389850313). | 527 | // * Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/web-identity-federation-with-mobile-applications). |
499 | // This article discusses web identity federation and shows an example of | 528 | // This article discusses web identity federation and shows an example of |
500 | // how to use web identity federation to get access to content in Amazon | 529 | // how to use web identity federation to get access to content in Amazon |
501 | // S3. | 530 | // S3. |
@@ -546,7 +575,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI | |||
546 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) | 575 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) |
547 | // in the IAM User Guide. | 576 | // in the IAM User Guide. |
548 | // | 577 | // |
549 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity | 578 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity |
550 | func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) { | 579 | func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) { |
551 | req, out := c.AssumeRoleWithWebIdentityRequest(input) | 580 | req, out := c.AssumeRoleWithWebIdentityRequest(input) |
552 | return out, req.Send() | 581 | return out, req.Send() |
@@ -572,19 +601,18 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage" | |||
572 | 601 | ||
573 | // DecodeAuthorizationMessageRequest generates a "aws/request.Request" representing the | 602 | // DecodeAuthorizationMessageRequest generates a "aws/request.Request" representing the |
574 | // client's request for the DecodeAuthorizationMessage operation. The "output" return | 603 | // client's request for the DecodeAuthorizationMessage operation. The "output" return |
575 | // value can be used to capture response data after the request's "Send" method | 604 | // value will be populated with the request's response once the request completes |
576 | // is called. | 605 | // successfuly. |
577 | // | 606 | // |
578 | // See DecodeAuthorizationMessage for usage and error information. | 607 | // Use "Send" method on the returned Request to send the API call to the service. |
608 | // the "output" return value is not valid until after Send returns without error. | ||
579 | // | 609 | // |
580 | // Creating a request object using this method should be used when you want to inject | 610 | // See DecodeAuthorizationMessage for more information on using the DecodeAuthorizationMessage |
581 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 611 | // API call, and error handling. |
582 | // access properties on the request object before or after sending the request. If | 612 | // |
583 | // you just want the service response, call the DecodeAuthorizationMessage method directly | 613 | // This method is useful when you want to inject custom logic or configuration |
584 | // instead. | 614 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
585 | // | 615 | // |
586 | // Note: You must call the "Send" method on the returned request object in order | ||
587 | // to execute the request. | ||
588 | // | 616 | // |
589 | // // Example sending a request using the DecodeAuthorizationMessageRequest method. | 617 | // // Example sending a request using the DecodeAuthorizationMessageRequest method. |
590 | // req, resp := client.DecodeAuthorizationMessageRequest(params) | 618 | // req, resp := client.DecodeAuthorizationMessageRequest(params) |
@@ -594,7 +622,7 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage" | |||
594 | // fmt.Println(resp) | 622 | // fmt.Println(resp) |
595 | // } | 623 | // } |
596 | // | 624 | // |
597 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage | 625 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage |
598 | func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessageInput) (req *request.Request, output *DecodeAuthorizationMessageOutput) { | 626 | func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessageInput) (req *request.Request, output *DecodeAuthorizationMessageOutput) { |
599 | op := &request.Operation{ | 627 | op := &request.Operation{ |
600 | Name: opDecodeAuthorizationMessage, | 628 | Name: opDecodeAuthorizationMessage, |
@@ -659,7 +687,7 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag | |||
659 | // invalid. This can happen if the token contains invalid characters, such as | 687 | // invalid. This can happen if the token contains invalid characters, such as |
660 | // linebreaks. | 688 | // linebreaks. |
661 | // | 689 | // |
662 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage | 690 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage |
663 | func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) { | 691 | func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) { |
664 | req, out := c.DecodeAuthorizationMessageRequest(input) | 692 | req, out := c.DecodeAuthorizationMessageRequest(input) |
665 | return out, req.Send() | 693 | return out, req.Send() |
@@ -685,19 +713,18 @@ const opGetCallerIdentity = "GetCallerIdentity" | |||
685 | 713 | ||
686 | // GetCallerIdentityRequest generates a "aws/request.Request" representing the | 714 | // GetCallerIdentityRequest generates a "aws/request.Request" representing the |
687 | // client's request for the GetCallerIdentity operation. The "output" return | 715 | // client's request for the GetCallerIdentity operation. The "output" return |
688 | // value can be used to capture response data after the request's "Send" method | 716 | // value will be populated with the request's response once the request completes |
689 | // is called. | 717 | // successfuly. |
718 | // | ||
719 | // Use "Send" method on the returned Request to send the API call to the service. | ||
720 | // the "output" return value is not valid until after Send returns without error. | ||
690 | // | 721 | // |
691 | // See GetCallerIdentity for usage and error information. | 722 | // See GetCallerIdentity for more information on using the GetCallerIdentity |
723 | // API call, and error handling. | ||
692 | // | 724 | // |
693 | // Creating a request object using this method should be used when you want to inject | 725 | // This method is useful when you want to inject custom logic or configuration |
694 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 726 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
695 | // access properties on the request object before or after sending the request. If | ||
696 | // you just want the service response, call the GetCallerIdentity method directly | ||
697 | // instead. | ||
698 | // | 727 | // |
699 | // Note: You must call the "Send" method on the returned request object in order | ||
700 | // to execute the request. | ||
701 | // | 728 | // |
702 | // // Example sending a request using the GetCallerIdentityRequest method. | 729 | // // Example sending a request using the GetCallerIdentityRequest method. |
703 | // req, resp := client.GetCallerIdentityRequest(params) | 730 | // req, resp := client.GetCallerIdentityRequest(params) |
@@ -707,7 +734,7 @@ const opGetCallerIdentity = "GetCallerIdentity" | |||
707 | // fmt.Println(resp) | 734 | // fmt.Println(resp) |
708 | // } | 735 | // } |
709 | // | 736 | // |
710 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity | 737 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity |
711 | func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *request.Request, output *GetCallerIdentityOutput) { | 738 | func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *request.Request, output *GetCallerIdentityOutput) { |
712 | op := &request.Operation{ | 739 | op := &request.Operation{ |
713 | Name: opGetCallerIdentity, | 740 | Name: opGetCallerIdentity, |
@@ -735,7 +762,7 @@ func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *requ | |||
735 | // | 762 | // |
736 | // See the AWS API reference guide for AWS Security Token Service's | 763 | // See the AWS API reference guide for AWS Security Token Service's |
737 | // API operation GetCallerIdentity for usage and error information. | 764 | // API operation GetCallerIdentity for usage and error information. |
738 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity | 765 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity |
739 | func (c *STS) GetCallerIdentity(input *GetCallerIdentityInput) (*GetCallerIdentityOutput, error) { | 766 | func (c *STS) GetCallerIdentity(input *GetCallerIdentityInput) (*GetCallerIdentityOutput, error) { |
740 | req, out := c.GetCallerIdentityRequest(input) | 767 | req, out := c.GetCallerIdentityRequest(input) |
741 | return out, req.Send() | 768 | return out, req.Send() |
@@ -761,19 +788,18 @@ const opGetFederationToken = "GetFederationToken" | |||
761 | 788 | ||
762 | // GetFederationTokenRequest generates a "aws/request.Request" representing the | 789 | // GetFederationTokenRequest generates a "aws/request.Request" representing the |
763 | // client's request for the GetFederationToken operation. The "output" return | 790 | // client's request for the GetFederationToken operation. The "output" return |
764 | // value can be used to capture response data after the request's "Send" method | 791 | // value will be populated with the request's response once the request completes |
765 | // is called. | 792 | // successfuly. |
766 | // | 793 | // |
767 | // See GetFederationToken for usage and error information. | 794 | // Use "Send" method on the returned Request to send the API call to the service. |
795 | // the "output" return value is not valid until after Send returns without error. | ||
768 | // | 796 | // |
769 | // Creating a request object using this method should be used when you want to inject | 797 | // See GetFederationToken for more information on using the GetFederationToken |
770 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 798 | // API call, and error handling. |
771 | // access properties on the request object before or after sending the request. If | 799 | // |
772 | // you just want the service response, call the GetFederationToken method directly | 800 | // This method is useful when you want to inject custom logic or configuration |
773 | // instead. | 801 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
774 | // | 802 | // |
775 | // Note: You must call the "Send" method on the returned request object in order | ||
776 | // to execute the request. | ||
777 | // | 803 | // |
778 | // // Example sending a request using the GetFederationTokenRequest method. | 804 | // // Example sending a request using the GetFederationTokenRequest method. |
779 | // req, resp := client.GetFederationTokenRequest(params) | 805 | // req, resp := client.GetFederationTokenRequest(params) |
@@ -783,7 +809,7 @@ const opGetFederationToken = "GetFederationToken" | |||
783 | // fmt.Println(resp) | 809 | // fmt.Println(resp) |
784 | // } | 810 | // } |
785 | // | 811 | // |
786 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken | 812 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken |
787 | func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *request.Request, output *GetFederationTokenOutput) { | 813 | func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *request.Request, output *GetFederationTokenOutput) { |
788 | op := &request.Operation{ | 814 | op := &request.Operation{ |
789 | Name: opGetFederationToken, | 815 | Name: opGetFederationToken, |
@@ -905,7 +931,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re | |||
905 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) | 931 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) |
906 | // in the IAM User Guide. | 932 | // in the IAM User Guide. |
907 | // | 933 | // |
908 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken | 934 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken |
909 | func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) { | 935 | func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) { |
910 | req, out := c.GetFederationTokenRequest(input) | 936 | req, out := c.GetFederationTokenRequest(input) |
911 | return out, req.Send() | 937 | return out, req.Send() |
@@ -931,19 +957,18 @@ const opGetSessionToken = "GetSessionToken" | |||
931 | 957 | ||
932 | // GetSessionTokenRequest generates a "aws/request.Request" representing the | 958 | // GetSessionTokenRequest generates a "aws/request.Request" representing the |
933 | // client's request for the GetSessionToken operation. The "output" return | 959 | // client's request for the GetSessionToken operation. The "output" return |
934 | // value can be used to capture response data after the request's "Send" method | 960 | // value will be populated with the request's response once the request completes |
935 | // is called. | 961 | // successfuly. |
962 | // | ||
963 | // Use "Send" method on the returned Request to send the API call to the service. | ||
964 | // the "output" return value is not valid until after Send returns without error. | ||
936 | // | 965 | // |
937 | // See GetSessionToken for usage and error information. | 966 | // See GetSessionToken for more information on using the GetSessionToken |
967 | // API call, and error handling. | ||
938 | // | 968 | // |
939 | // Creating a request object using this method should be used when you want to inject | 969 | // This method is useful when you want to inject custom logic or configuration |
940 | // custom logic into the request's lifecycle using a custom handler, or if you want to | 970 | // into the SDK's request lifecycle. Such as custom headers, or retry logic. |
941 | // access properties on the request object before or after sending the request. If | ||
942 | // you just want the service response, call the GetSessionToken method directly | ||
943 | // instead. | ||
944 | // | 971 | // |
945 | // Note: You must call the "Send" method on the returned request object in order | ||
946 | // to execute the request. | ||
947 | // | 972 | // |
948 | // // Example sending a request using the GetSessionTokenRequest method. | 973 | // // Example sending a request using the GetSessionTokenRequest method. |
949 | // req, resp := client.GetSessionTokenRequest(params) | 974 | // req, resp := client.GetSessionTokenRequest(params) |
@@ -953,7 +978,7 @@ const opGetSessionToken = "GetSessionToken" | |||
953 | // fmt.Println(resp) | 978 | // fmt.Println(resp) |
954 | // } | 979 | // } |
955 | // | 980 | // |
956 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken | 981 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken |
957 | func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.Request, output *GetSessionTokenOutput) { | 982 | func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.Request, output *GetSessionTokenOutput) { |
958 | op := &request.Operation{ | 983 | op := &request.Operation{ |
959 | Name: opGetSessionToken, | 984 | Name: opGetSessionToken, |
@@ -1034,7 +1059,7 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request. | |||
1034 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) | 1059 | // and Deactivating AWS STS in an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) |
1035 | // in the IAM User Guide. | 1060 | // in the IAM User Guide. |
1036 | // | 1061 | // |
1037 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken | 1062 | // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken |
1038 | func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) { | 1063 | func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) { |
1039 | req, out := c.GetSessionTokenRequest(input) | 1064 | req, out := c.GetSessionTokenRequest(input) |
1040 | return out, req.Send() | 1065 | return out, req.Send() |
@@ -1056,20 +1081,27 @@ func (c *STS) GetSessionTokenWithContext(ctx aws.Context, input *GetSessionToken | |||
1056 | return out, req.Send() | 1081 | return out, req.Send() |
1057 | } | 1082 | } |
1058 | 1083 | ||
1059 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleRequest | ||
1060 | type AssumeRoleInput struct { | 1084 | type AssumeRoleInput struct { |
1061 | _ struct{} `type:"structure"` | 1085 | _ struct{} `type:"structure"` |
1062 | 1086 | ||
1063 | // The duration, in seconds, of the role session. The value can range from 900 | 1087 | // The duration, in seconds, of the role session. The value can range from 900 |
1064 | // seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set | 1088 | // seconds (15 minutes) up to the maximum session duration setting for the role. |
1065 | // to 3600 seconds. | 1089 | // This setting can have a value from 1 hour to 12 hours. If you specify a value |
1090 | // higher than this setting, the operation fails. For example, if you specify | ||
1091 | // a session duration of 12 hours, but your administrator set the maximum session | ||
1092 | // duration to 6 hours, your operation fails. To learn how to view the maximum | ||
1093 | // value for your role, see View the Maximum Session Duration Setting for a | ||
1094 | // Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session) | ||
1095 | // in the IAM User Guide. | ||
1066 | // | 1096 | // |
1067 | // This is separate from the duration of a console session that you might request | 1097 | // By default, the value is set to 3600 seconds. |
1068 | // using the returned credentials. The request to the federation endpoint for | 1098 | // |
1069 | // a console sign-in token takes a SessionDuration parameter that specifies | 1099 | // The DurationSeconds parameter is separate from the duration of a console |
1070 | // the maximum length of the console session, separately from the DurationSeconds | 1100 | // session that you might request using the returned credentials. The request |
1071 | // parameter on this API. For more information, see Creating a URL that Enables | 1101 | // to the federation endpoint for a console sign-in token takes a SessionDuration |
1072 | // Federated Users to Access the AWS Management Console (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html) | 1102 | // parameter that specifies the maximum length of the console session. For more |
1103 | // information, see Creating a URL that Enables Federated Users to Access the | ||
1104 | // AWS Management Console (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html) | ||
1073 | // in the IAM User Guide. | 1105 | // in the IAM User Guide. |
1074 | DurationSeconds *int64 `min:"900" type:"integer"` | 1106 | DurationSeconds *int64 `min:"900" type:"integer"` |
1075 | 1107 | ||
@@ -1248,7 +1280,6 @@ func (s *AssumeRoleInput) SetTokenCode(v string) *AssumeRoleInput { | |||
1248 | 1280 | ||
1249 | // Contains the response to a successful AssumeRole request, including temporary | 1281 | // Contains the response to a successful AssumeRole request, including temporary |
1250 | // AWS credentials that can be used to make AWS requests. | 1282 | // AWS credentials that can be used to make AWS requests. |
1251 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleResponse | ||
1252 | type AssumeRoleOutput struct { | 1283 | type AssumeRoleOutput struct { |
1253 | _ struct{} `type:"structure"` | 1284 | _ struct{} `type:"structure"` |
1254 | 1285 | ||
@@ -1302,22 +1333,30 @@ func (s *AssumeRoleOutput) SetPackedPolicySize(v int64) *AssumeRoleOutput { | |||
1302 | return s | 1333 | return s |
1303 | } | 1334 | } |
1304 | 1335 | ||
1305 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLRequest | ||
1306 | type AssumeRoleWithSAMLInput struct { | 1336 | type AssumeRoleWithSAMLInput struct { |
1307 | _ struct{} `type:"structure"` | 1337 | _ struct{} `type:"structure"` |
1308 | 1338 | ||
1309 | // The duration, in seconds, of the role session. The value can range from 900 | 1339 | // The duration, in seconds, of the role session. Your role session lasts for |
1310 | // seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set | 1340 | // the duration that you specify for the DurationSeconds parameter, or until |
1311 | // to 3600 seconds. An expiration can also be specified in the SAML authentication | 1341 | // the time specified in the SAML authentication response's SessionNotOnOrAfter |
1312 | // response's SessionNotOnOrAfter value. The actual expiration time is whichever | 1342 | // value, whichever is shorter. You can provide a DurationSeconds value from |
1313 | // value is shorter. | 1343 | // 900 seconds (15 minutes) up to the maximum session duration setting for the |
1344 | // role. This setting can have a value from 1 hour to 12 hours. If you specify | ||
1345 | // a value higher than this setting, the operation fails. For example, if you | ||
1346 | // specify a session duration of 12 hours, but your administrator set the maximum | ||
1347 | // session duration to 6 hours, your operation fails. To learn how to view the | ||
1348 | // maximum value for your role, see View the Maximum Session Duration Setting | ||
1349 | // for a Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session) | ||
1350 | // in the IAM User Guide. | ||
1351 | // | ||
1352 | // By default, the value is set to 3600 seconds. | ||
1314 | // | 1353 | // |
1315 | // This is separate from the duration of a console session that you might request | 1354 | // The DurationSeconds parameter is separate from the duration of a console |
1316 | // using the returned credentials. The request to the federation endpoint for | 1355 | // session that you might request using the returned credentials. The request |
1317 | // a console sign-in token takes a SessionDuration parameter that specifies | 1356 | // to the federation endpoint for a console sign-in token takes a SessionDuration |
1318 | // the maximum length of the console session, separately from the DurationSeconds | 1357 | // parameter that specifies the maximum length of the console session. For more |
1319 | // parameter on this API. For more information, see Enabling SAML 2.0 Federated | 1358 | // information, see Creating a URL that Enables Federated Users to Access the |
1320 | // Users to Access the AWS Management Console (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-saml.html) | 1359 | // AWS Management Console (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html) |
1321 | // in the IAM User Guide. | 1360 | // in the IAM User Guide. |
1322 | DurationSeconds *int64 `min:"900" type:"integer"` | 1361 | DurationSeconds *int64 `min:"900" type:"integer"` |
1323 | 1362 | ||
@@ -1443,7 +1482,6 @@ func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAML | |||
1443 | 1482 | ||
1444 | // Contains the response to a successful AssumeRoleWithSAML request, including | 1483 | // Contains the response to a successful AssumeRoleWithSAML request, including |
1445 | // temporary AWS credentials that can be used to make AWS requests. | 1484 | // temporary AWS credentials that can be used to make AWS requests. |
1446 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAMLResponse | ||
1447 | type AssumeRoleWithSAMLOutput struct { | 1485 | type AssumeRoleWithSAMLOutput struct { |
1448 | _ struct{} `type:"structure"` | 1486 | _ struct{} `type:"structure"` |
1449 | 1487 | ||
@@ -1555,20 +1593,27 @@ func (s *AssumeRoleWithSAMLOutput) SetSubjectType(v string) *AssumeRoleWithSAMLO | |||
1555 | return s | 1593 | return s |
1556 | } | 1594 | } |
1557 | 1595 | ||
1558 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityRequest | ||
1559 | type AssumeRoleWithWebIdentityInput struct { | 1596 | type AssumeRoleWithWebIdentityInput struct { |
1560 | _ struct{} `type:"structure"` | 1597 | _ struct{} `type:"structure"` |
1561 | 1598 | ||
1562 | // The duration, in seconds, of the role session. The value can range from 900 | 1599 | // The duration, in seconds, of the role session. The value can range from 900 |
1563 | // seconds (15 minutes) to 3600 seconds (1 hour). By default, the value is set | 1600 | // seconds (15 minutes) up to the maximum session duration setting for the role. |
1564 | // to 3600 seconds. | 1601 | // This setting can have a value from 1 hour to 12 hours. If you specify a value |
1602 | // higher than this setting, the operation fails. For example, if you specify | ||
1603 | // a session duration of 12 hours, but your administrator set the maximum session | ||
1604 | // duration to 6 hours, your operation fails. To learn how to view the maximum | ||
1605 | // value for your role, see View the Maximum Session Duration Setting for a | ||
1606 | // Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session) | ||
1607 | // in the IAM User Guide. | ||
1608 | // | ||
1609 | // By default, the value is set to 3600 seconds. | ||
1565 | // | 1610 | // |
1566 | // This is separate from the duration of a console session that you might request | 1611 | // The DurationSeconds parameter is separate from the duration of a console |
1567 | // using the returned credentials. The request to the federation endpoint for | 1612 | // session that you might request using the returned credentials. The request |
1568 | // a console sign-in token takes a SessionDuration parameter that specifies | 1613 | // to the federation endpoint for a console sign-in token takes a SessionDuration |
1569 | // the maximum length of the console session, separately from the DurationSeconds | 1614 | // parameter that specifies the maximum length of the console session. For more |
1570 | // parameter on this API. For more information, see Creating a URL that Enables | 1615 | // information, see Creating a URL that Enables Federated Users to Access the |
1571 | // Federated Users to Access the AWS Management Console (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html) | 1616 | // AWS Management Console (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html) |
1572 | // in the IAM User Guide. | 1617 | // in the IAM User Guide. |
1573 | DurationSeconds *int64 `min:"900" type:"integer"` | 1618 | DurationSeconds *int64 `min:"900" type:"integer"` |
1574 | 1619 | ||
@@ -1718,7 +1763,6 @@ func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRo | |||
1718 | 1763 | ||
1719 | // Contains the response to a successful AssumeRoleWithWebIdentity request, | 1764 | // Contains the response to a successful AssumeRoleWithWebIdentity request, |
1720 | // including temporary AWS credentials that can be used to make AWS requests. | 1765 | // including temporary AWS credentials that can be used to make AWS requests. |
1721 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentityResponse | ||
1722 | type AssumeRoleWithWebIdentityOutput struct { | 1766 | type AssumeRoleWithWebIdentityOutput struct { |
1723 | _ struct{} `type:"structure"` | 1767 | _ struct{} `type:"structure"` |
1724 | 1768 | ||
@@ -1811,7 +1855,6 @@ func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v strin | |||
1811 | 1855 | ||
1812 | // The identifiers for the temporary security credentials that the operation | 1856 | // The identifiers for the temporary security credentials that the operation |
1813 | // returns. | 1857 | // returns. |
1814 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser | ||
1815 | type AssumedRoleUser struct { | 1858 | type AssumedRoleUser struct { |
1816 | _ struct{} `type:"structure"` | 1859 | _ struct{} `type:"structure"` |
1817 | 1860 | ||
@@ -1854,7 +1897,6 @@ func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser { | |||
1854 | } | 1897 | } |
1855 | 1898 | ||
1856 | // AWS credentials for API authentication. | 1899 | // AWS credentials for API authentication. |
1857 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/Credentials | ||
1858 | type Credentials struct { | 1900 | type Credentials struct { |
1859 | _ struct{} `type:"structure"` | 1901 | _ struct{} `type:"structure"` |
1860 | 1902 | ||
@@ -1866,7 +1908,7 @@ type Credentials struct { | |||
1866 | // The date on which the current credentials expire. | 1908 | // The date on which the current credentials expire. |
1867 | // | 1909 | // |
1868 | // Expiration is a required field | 1910 | // Expiration is a required field |
1869 | Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` | 1911 | Expiration *time.Time `type:"timestamp" required:"true"` |
1870 | 1912 | ||
1871 | // The secret access key that can be used to sign requests. | 1913 | // The secret access key that can be used to sign requests. |
1872 | // | 1914 | // |
@@ -1913,7 +1955,6 @@ func (s *Credentials) SetSessionToken(v string) *Credentials { | |||
1913 | return s | 1955 | return s |
1914 | } | 1956 | } |
1915 | 1957 | ||
1916 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageRequest | ||
1917 | type DecodeAuthorizationMessageInput struct { | 1958 | type DecodeAuthorizationMessageInput struct { |
1918 | _ struct{} `type:"structure"` | 1959 | _ struct{} `type:"structure"` |
1919 | 1960 | ||
@@ -1958,7 +1999,6 @@ func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAut | |||
1958 | // A document that contains additional information about the authorization status | 1999 | // A document that contains additional information about the authorization status |
1959 | // of a request from an encoded message that is returned in response to an AWS | 2000 | // of a request from an encoded message that is returned in response to an AWS |
1960 | // request. | 2001 | // request. |
1961 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessageResponse | ||
1962 | type DecodeAuthorizationMessageOutput struct { | 2002 | type DecodeAuthorizationMessageOutput struct { |
1963 | _ struct{} `type:"structure"` | 2003 | _ struct{} `type:"structure"` |
1964 | 2004 | ||
@@ -1983,7 +2023,6 @@ func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAu | |||
1983 | } | 2023 | } |
1984 | 2024 | ||
1985 | // Identifiers for the federated user that is associated with the credentials. | 2025 | // Identifiers for the federated user that is associated with the credentials. |
1986 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/FederatedUser | ||
1987 | type FederatedUser struct { | 2026 | type FederatedUser struct { |
1988 | _ struct{} `type:"structure"` | 2027 | _ struct{} `type:"structure"` |
1989 | 2028 | ||
@@ -2024,7 +2063,6 @@ func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser { | |||
2024 | return s | 2063 | return s |
2025 | } | 2064 | } |
2026 | 2065 | ||
2027 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityRequest | ||
2028 | type GetCallerIdentityInput struct { | 2066 | type GetCallerIdentityInput struct { |
2029 | _ struct{} `type:"structure"` | 2067 | _ struct{} `type:"structure"` |
2030 | } | 2068 | } |
@@ -2041,7 +2079,6 @@ func (s GetCallerIdentityInput) GoString() string { | |||
2041 | 2079 | ||
2042 | // Contains the response to a successful GetCallerIdentity request, including | 2080 | // Contains the response to a successful GetCallerIdentity request, including |
2043 | // information about the entity making the request. | 2081 | // information about the entity making the request. |
2044 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentityResponse | ||
2045 | type GetCallerIdentityOutput struct { | 2082 | type GetCallerIdentityOutput struct { |
2046 | _ struct{} `type:"structure"` | 2083 | _ struct{} `type:"structure"` |
2047 | 2084 | ||
@@ -2087,7 +2124,6 @@ func (s *GetCallerIdentityOutput) SetUserId(v string) *GetCallerIdentityOutput { | |||
2087 | return s | 2124 | return s |
2088 | } | 2125 | } |
2089 | 2126 | ||
2090 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenRequest | ||
2091 | type GetFederationTokenInput struct { | 2127 | type GetFederationTokenInput struct { |
2092 | _ struct{} `type:"structure"` | 2128 | _ struct{} `type:"structure"` |
2093 | 2129 | ||
@@ -2196,7 +2232,6 @@ func (s *GetFederationTokenInput) SetPolicy(v string) *GetFederationTokenInput { | |||
2196 | 2232 | ||
2197 | // Contains the response to a successful GetFederationToken request, including | 2233 | // Contains the response to a successful GetFederationToken request, including |
2198 | // temporary AWS credentials that can be used to make AWS requests. | 2234 | // temporary AWS credentials that can be used to make AWS requests. |
2199 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationTokenResponse | ||
2200 | type GetFederationTokenOutput struct { | 2235 | type GetFederationTokenOutput struct { |
2201 | _ struct{} `type:"structure"` | 2236 | _ struct{} `type:"structure"` |
2202 | 2237 | ||
@@ -2249,7 +2284,6 @@ func (s *GetFederationTokenOutput) SetPackedPolicySize(v int64) *GetFederationTo | |||
2249 | return s | 2284 | return s |
2250 | } | 2285 | } |
2251 | 2286 | ||
2252 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenRequest | ||
2253 | type GetSessionTokenInput struct { | 2287 | type GetSessionTokenInput struct { |
2254 | _ struct{} `type:"structure"` | 2288 | _ struct{} `type:"structure"` |
2255 | 2289 | ||
@@ -2334,7 +2368,6 @@ func (s *GetSessionTokenInput) SetTokenCode(v string) *GetSessionTokenInput { | |||
2334 | 2368 | ||
2335 | // Contains the response to a successful GetSessionToken request, including | 2369 | // Contains the response to a successful GetSessionToken request, including |
2336 | // temporary AWS credentials that can be used to make AWS requests. | 2370 | // temporary AWS credentials that can be used to make AWS requests. |
2337 | // Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionTokenResponse | ||
2338 | type GetSessionTokenOutput struct { | 2371 | type GetSessionTokenOutput struct { |
2339 | _ struct{} `type:"structure"` | 2372 | _ struct{} `type:"structure"` |
2340 | 2373 | ||