aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/aws/aws-sdk-go/service/sts/api.go
diff options
context:
space:
mode:
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.go36
1 files changed, 36 insertions, 0 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 f11e867..d183fab 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
@@ -797,6 +797,8 @@ type AssumeRoleInput struct {
Policy *string `min:"1" type:"string"`
// The Amazon Resource Name (ARN) of the role to assume.
+ //
+ // RoleArn is a required field
RoleArn *string `min:"20" type:"string" required:"true"`
// An identifier for the assumed role session.
@@ -813,6 +815,8 @@ type AssumeRoleInput struct {
// of characters consisting of upper- and lower-case alphanumeric characters
// with no spaces. You can also include underscores or any of the following
// characters: =,.@-
+ //
+ // RoleSessionName is a required field
RoleSessionName *string `min:"2" type:"string" required:"true"`
// The identification number of the MFA device that is associated with the user
@@ -967,9 +971,13 @@ type AssumeRoleWithSAMLInput struct {
// The Amazon Resource Name (ARN) of the SAML provider in IAM that describes
// the IdP.
+ //
+ // PrincipalArn is a required field
PrincipalArn *string `min:"20" type:"string" required:"true"`
// The Amazon Resource Name (ARN) of the role that the caller is assuming.
+ //
+ // RoleArn is a required field
RoleArn *string `min:"20" type:"string" required:"true"`
// The base-64 encoded SAML authentication response provided by the IdP.
@@ -977,6 +985,8 @@ type AssumeRoleWithSAMLInput struct {
// For more information, see Configuring a Relying Party and Adding Claims
// (http://docs.aws.amazon.com/IAM/latest/UserGuide/create-role-saml-IdP-tasks.html)
// in the Using IAM guide.
+ //
+ // SAMLAssertion is a required field
SAMLAssertion *string `min:"4" type:"string" required:"true"`
}
@@ -1140,6 +1150,8 @@ type AssumeRoleWithWebIdentityInput struct {
ProviderId *string `min:"4" type:"string"`
// The Amazon Resource Name (ARN) of the role that the caller is assuming.
+ //
+ // RoleArn is a required field
RoleArn *string `min:"20" type:"string" required:"true"`
// An identifier for the assumed role session. Typically, you pass the name
@@ -1152,12 +1164,16 @@ type AssumeRoleWithWebIdentityInput struct {
// of characters consisting of upper- and lower-case alphanumeric characters
// with no spaces. You can also include underscores or any of the following
// characters: =,.@-
+ //
+ // RoleSessionName is a required field
RoleSessionName *string `min:"2" type:"string" required:"true"`
// The OAuth 2.0 access token or OpenID Connect ID token that is provided by
// the identity provider. Your application must get this token by authenticating
// the user who is using your application with a web identity provider before
// the application makes an AssumeRoleWithWebIdentity call.
+ //
+ // WebIdentityToken is a required field
WebIdentityToken *string `min:"4" type:"string" required:"true"`
}
@@ -1273,11 +1289,15 @@ type AssumedRoleUser struct {
// AssumeRole action. For more information about ARNs and how to use them in
// policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
// in Using IAM.
+ //
+ // Arn is a required field
Arn *string `min:"20" type:"string" required:"true"`
// A unique identifier that contains the role ID and the role session name of
// the role that is being assumed. The role ID is generated by AWS when the
// role is created.
+ //
+ // AssumedRoleId is a required field
AssumedRoleId *string `min:"2" type:"string" required:"true"`
}
@@ -1296,15 +1316,23 @@ type Credentials struct {
_ struct{} `type:"structure"`
// The access key ID that identifies the temporary security credentials.
+ //
+ // AccessKeyId is a required field
AccessKeyId *string `min:"16" type:"string" required:"true"`
// The date on which the current credentials expire.
+ //
+ // Expiration is a required field
Expiration *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
// The secret access key that can be used to sign requests.
+ //
+ // SecretAccessKey is a required field
SecretAccessKey *string `type:"string" required:"true"`
// The token that users must pass to the service API to use the temporary credentials.
+ //
+ // SessionToken is a required field
SessionToken *string `type:"string" required:"true"`
}
@@ -1322,6 +1350,8 @@ type DecodeAuthorizationMessageInput struct {
_ struct{} `type:"structure"`
// The encoded message that was returned with the response.
+ //
+ // EncodedMessage is a required field
EncodedMessage *string `min:"1" type:"string" required:"true"`
}
@@ -1379,10 +1409,14 @@ type FederatedUser struct {
// For more information about ARNs and how to use them in policies, see IAM
// Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
// in Using IAM.
+ //
+ // Arn is a required field
Arn *string `min:"20" type:"string" required:"true"`
// The string that identifies the federated user associated with the credentials,
// similar to the unique ID of an IAM user.
+ //
+ // FederatedUserId is a required field
FederatedUserId *string `min:"2" type:"string" required:"true"`
}
@@ -1460,6 +1494,8 @@ type GetFederationTokenInput struct {
// of characters consisting of upper- and lower-case alphanumeric characters
// with no spaces. You can also include underscores or any of the following
// characters: =,.@-
+ //
+ // Name is a required field
Name *string `min:"2" type:"string" required:"true"`
// An IAM policy in JSON format that is passed with the GetFederationToken call