mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-18 04:10:22 +00:00
rebase: bump github.com/aws/aws-sdk-go from 1.44.67 to 1.44.82
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.67 to 1.44.82. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.67...v1.44.82) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
b697b9b0d9
commit
3d05ef0585
2
go.mod
2
go.mod
@ -4,7 +4,7 @@ go 1.17
|
|||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/IBM/keyprotect-go-client v0.8.0
|
github.com/IBM/keyprotect-go-client v0.8.0
|
||||||
github.com/aws/aws-sdk-go v1.44.67
|
github.com/aws/aws-sdk-go v1.44.82
|
||||||
github.com/aws/aws-sdk-go-v2/service/sts v1.16.13
|
github.com/aws/aws-sdk-go-v2/service/sts v1.16.13
|
||||||
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
|
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
|
||||||
// TODO: API for managing subvolume metadata and snapshot metadata requires `ceph_ci_untested` build-tag
|
// TODO: API for managing subvolume metadata and snapshot metadata requires `ceph_ci_untested` build-tag
|
||||||
|
3
go.sum
3
go.sum
@ -150,8 +150,9 @@ github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpi
|
|||||||
github.com/aws/aws-sdk-go v1.25.41/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
|
github.com/aws/aws-sdk-go v1.25.41/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
|
||||||
github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
|
github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
|
||||||
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
||||||
github.com/aws/aws-sdk-go v1.44.67 h1:+nxfXbMe8QUB6svLsuLYsp+WhZBKM26w62Zidir739A=
|
|
||||||
github.com/aws/aws-sdk-go v1.44.67/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
|
github.com/aws/aws-sdk-go v1.44.67/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
|
||||||
|
github.com/aws/aws-sdk-go v1.44.82 h1:Miji7nHIMxTWfa831nZf8XAcMWGLaT+PvsS6CdbMG7M=
|
||||||
|
github.com/aws/aws-sdk-go v1.44.82/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
|
||||||
github.com/aws/aws-sdk-go-v2 v1.16.11 h1:xM1ZPSvty3xVmdxiGr7ay/wlqv+MWhH0rMlyLdbC0YQ=
|
github.com/aws/aws-sdk-go-v2 v1.16.11 h1:xM1ZPSvty3xVmdxiGr7ay/wlqv+MWhH0rMlyLdbC0YQ=
|
||||||
github.com/aws/aws-sdk-go-v2 v1.16.11/go.mod h1:WTACcleLz6VZTp7fak4EO5b9Q4foxbn+8PIz3PmyKlo=
|
github.com/aws/aws-sdk-go-v2 v1.16.11/go.mod h1:WTACcleLz6VZTp7fak4EO5b9Q4foxbn+8PIz3PmyKlo=
|
||||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.18 h1:OmiwoVyLKEqqD5GvB683dbSqxiOfvx4U2lDZhG2Esc4=
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.18 h1:OmiwoVyLKEqqD5GvB683dbSqxiOfvx4U2lDZhG2Esc4=
|
||||||
|
321
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
321
vendor/github.com/aws/aws-sdk-go/aws/endpoints/defaults.go
generated
vendored
@ -1677,6 +1677,9 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -2389,6 +2392,15 @@ var awsPartition = partition{
|
|||||||
}: endpoint{
|
}: endpoint{
|
||||||
Hostname: "appmesh.ap-northeast-2.api.aws",
|
Hostname: "appmesh.ap-northeast-2.api.aws",
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
Variant: dualStackVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "appmesh.ap-northeast-3.api.aws",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-south-1",
|
Region: "ap-south-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -2416,6 +2428,15 @@ var awsPartition = partition{
|
|||||||
}: endpoint{
|
}: endpoint{
|
||||||
Hostname: "appmesh.ap-southeast-2.api.aws",
|
Hostname: "appmesh.ap-southeast-2.api.aws",
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
Variant: dualStackVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "appmesh.ap-southeast-3.api.aws",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -3243,6 +3264,22 @@ var awsPartition = partition{
|
|||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"backupstorage": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"batch": service{
|
"batch": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{},
|
defaultKey{}: endpoint{},
|
||||||
@ -3894,6 +3931,9 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -5229,6 +5269,22 @@ var awsPartition = partition{
|
|||||||
},
|
},
|
||||||
"compute-optimizer": service{
|
"compute-optimizer": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "af-south-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "compute-optimizer.af-south-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "af-south-1",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-east-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "compute-optimizer.ap-east-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "ap-east-1",
|
||||||
|
},
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-northeast-1",
|
Region: "ap-northeast-1",
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
@ -5245,6 +5301,14 @@ var awsPartition = partition{
|
|||||||
Region: "ap-northeast-2",
|
Region: "ap-northeast-2",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "compute-optimizer.ap-northeast-3.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
},
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-south-1",
|
Region: "ap-south-1",
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
@ -5293,6 +5357,14 @@ var awsPartition = partition{
|
|||||||
Region: "eu-north-1",
|
Region: "eu-north-1",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-south-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "compute-optimizer.eu-south-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "eu-south-1",
|
||||||
|
},
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-west-1",
|
Region: "eu-west-1",
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
@ -5317,6 +5389,14 @@ var awsPartition = partition{
|
|||||||
Region: "eu-west-3",
|
Region: "eu-west-3",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-south-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "compute-optimizer.me-south-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "me-south-1",
|
||||||
|
},
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "sa-east-1",
|
Region: "sa-east-1",
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
@ -10405,6 +10485,37 @@ var awsPartition = partition{
|
|||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"geo": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"glacier": service{
|
"glacier": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
@ -12433,6 +12544,9 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -12816,6 +12930,15 @@ var awsPartition = partition{
|
|||||||
},
|
},
|
||||||
Deprecated: boxedTrue,
|
Deprecated: boxedTrue,
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-central-1-fips",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "kms-fips.me-central-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "me-central-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "me-south-1",
|
Region: "me-south-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -13445,6 +13568,133 @@ var awsPartition = partition{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"license-manager-user-subscriptions": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "af-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-east-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-east-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-east-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-east-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-east-2.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-east-2",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-west-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-west-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-west-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-west-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-west-2.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-west-2",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "sa-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-east-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-east-2.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-west-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "license-manager-user-subscriptions-fips.us-west-2.amazonaws.com",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"lightsail": service{
|
"lightsail": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
@ -18034,6 +18284,9 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -21776,6 +22029,19 @@ var awsPartition = partition{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"supportapp": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"swf": service{
|
"swf": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
@ -24230,9 +24496,18 @@ var awsPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-west-1",
|
Region: "eu-west-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-2",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-east-1",
|
Region: "us-east-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -28850,6 +29125,12 @@ var awsusgovPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-east-1",
|
Region: "us-gov-east-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
Variant: dualStackVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "lambda.us-gov-east-1.api.aws",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-east-1",
|
Region: "us-gov-east-1",
|
||||||
Variant: fipsVariant,
|
Variant: fipsVariant,
|
||||||
@ -28859,6 +29140,12 @@ var awsusgovPartition = partition{
|
|||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-west-1",
|
Region: "us-gov-west-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
Variant: dualStackVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "lambda.us-gov-west-1.api.aws",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-west-1",
|
Region: "us-gov-west-1",
|
||||||
Variant: fipsVariant,
|
Variant: fipsVariant,
|
||||||
@ -31023,6 +31310,16 @@ var awsusgovPartition = partition{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"wellarchitected": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"workspaces": service{
|
"workspaces": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
@ -31173,6 +31470,9 @@ var awsisoPartition = partition{
|
|||||||
},
|
},
|
||||||
"appconfigdata": service{
|
"appconfigdata": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-iso-east-1",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-iso-west-1",
|
Region: "us-iso-west-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
@ -31928,6 +32228,13 @@ var awsisobPartition = partition{
|
|||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"appconfigdata": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-isob-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"application-autoscaling": service{
|
"application-autoscaling": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
@ -32247,6 +32554,20 @@ var awsisobPartition = partition{
|
|||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"metering.marketplace": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Service: "aws-marketplace",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-isob-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"monitoring": service{
|
"monitoring": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
5
vendor/github.com/aws/aws-sdk-go/aws/endpoints/doc.go
generated
vendored
5
vendor/github.com/aws/aws-sdk-go/aws/endpoints/doc.go
generated
vendored
@ -9,7 +9,7 @@
|
|||||||
// AWS GovCloud (US) (aws-us-gov).
|
// AWS GovCloud (US) (aws-us-gov).
|
||||||
// .
|
// .
|
||||||
//
|
//
|
||||||
// Enumerating Regions and Endpoint Metadata
|
// # Enumerating Regions and Endpoint Metadata
|
||||||
//
|
//
|
||||||
// Casting the Resolver returned by DefaultResolver to a EnumPartitions interface
|
// Casting the Resolver returned by DefaultResolver to a EnumPartitions interface
|
||||||
// will allow you to get access to the list of underlying Partitions with the
|
// will allow you to get access to the list of underlying Partitions with the
|
||||||
@ -32,7 +32,7 @@
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// Using Custom Endpoints
|
// # Using Custom Endpoints
|
||||||
//
|
//
|
||||||
// The endpoints package also gives you the ability to use your own logic how
|
// The endpoints package also gives you the ability to use your own logic how
|
||||||
// endpoints are resolved. This is a great way to define a custom endpoint
|
// endpoints are resolved. This is a great way to define a custom endpoint
|
||||||
@ -47,7 +47,6 @@
|
|||||||
// of Resolver.EndpointFor, converting it to a type that satisfies the
|
// of Resolver.EndpointFor, converting it to a type that satisfies the
|
||||||
// Resolver interface.
|
// Resolver interface.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// myCustomResolver := func(service, region string, optFns ...func(*endpoints.Options)) (endpoints.ResolvedEndpoint, error) {
|
// myCustomResolver := func(service, region string, optFns ...func(*endpoints.Options)) (endpoints.ResolvedEndpoint, error) {
|
||||||
// if service == endpoints.S3ServiceID {
|
// if service == endpoints.S3ServiceID {
|
||||||
// return endpoints.ResolvedEndpoint{
|
// return endpoints.ResolvedEndpoint{
|
||||||
|
6
vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go
generated
vendored
6
vendor/github.com/aws/aws-sdk-go/aws/endpoints/endpoints.go
generated
vendored
@ -353,9 +353,11 @@ type EnumPartitions interface {
|
|||||||
// as the second parameter.
|
// as the second parameter.
|
||||||
//
|
//
|
||||||
// This example shows how to get the regions for DynamoDB in the AWS partition.
|
// This example shows how to get the regions for DynamoDB in the AWS partition.
|
||||||
|
//
|
||||||
// rs, exists := endpoints.RegionsForService(endpoints.DefaultPartitions(), endpoints.AwsPartitionID, endpoints.DynamodbServiceID)
|
// rs, exists := endpoints.RegionsForService(endpoints.DefaultPartitions(), endpoints.AwsPartitionID, endpoints.DynamodbServiceID)
|
||||||
//
|
//
|
||||||
// This is equivalent to using the partition directly.
|
// This is equivalent to using the partition directly.
|
||||||
|
//
|
||||||
// rs := endpoints.AwsPartition().Services()[endpoints.DynamodbServiceID].Regions()
|
// rs := endpoints.AwsPartition().Services()[endpoints.DynamodbServiceID].Regions()
|
||||||
func RegionsForService(ps []Partition, partitionID, serviceID string) (map[string]Region, bool) {
|
func RegionsForService(ps []Partition, partitionID, serviceID string) (map[string]Region, bool) {
|
||||||
for _, p := range ps {
|
for _, p := range ps {
|
||||||
@ -423,8 +425,8 @@ func (p Partition) ID() string { return p.id }
|
|||||||
// of new regions and services expansions.
|
// of new regions and services expansions.
|
||||||
//
|
//
|
||||||
// Errors that can be returned.
|
// Errors that can be returned.
|
||||||
// * UnknownServiceError
|
// - UnknownServiceError
|
||||||
// * UnknownEndpointError
|
// - UnknownEndpointError
|
||||||
func (p Partition) EndpointFor(service, region string, opts ...func(*Options)) (ResolvedEndpoint, error) {
|
func (p Partition) EndpointFor(service, region string, opts ...func(*Options)) (ResolvedEndpoint, error) {
|
||||||
return p.p.EndpointFor(service, region, opts...)
|
return p.p.EndpointFor(service, region, opts...)
|
||||||
}
|
}
|
||||||
|
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/aws/version.go
generated
vendored
@ -5,4 +5,4 @@ package aws
|
|||||||
const SDKName = "aws-sdk-go"
|
const SDKName = "aws-sdk-go"
|
||||||
|
|
||||||
// SDKVersion is the version of this SDK
|
// SDKVersion is the version of this SDK
|
||||||
const SDKVersion = "1.44.67"
|
const SDKVersion = "1.44.82"
|
||||||
|
3
vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/unmarshal.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/private/protocol/ec2query/unmarshal.go
generated
vendored
@ -4,6 +4,7 @@ package ec2query
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||||
"github.com/aws/aws-sdk-go/aws/request"
|
"github.com/aws/aws-sdk-go/aws/request"
|
||||||
@ -70,7 +71,7 @@ func UnmarshalError(r *request.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
r.Error = awserr.NewRequestFailure(
|
r.Error = awserr.NewRequestFailure(
|
||||||
awserr.New(respErr.Code, respErr.Message, nil),
|
awserr.New(strings.TrimSpace(respErr.Code), strings.TrimSpace(respErr.Message), nil),
|
||||||
r.HTTPResponse.StatusCode,
|
r.HTTPResponse.StatusCode,
|
||||||
respErr.RequestID,
|
respErr.RequestID,
|
||||||
)
|
)
|
||||||
|
3
vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal_error.go
generated
vendored
3
vendor/github.com/aws/aws-sdk-go/private/protocol/query/unmarshal_error.go
generated
vendored
@ -3,6 +3,7 @@ package query
|
|||||||
import (
|
import (
|
||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||||
"github.com/aws/aws-sdk-go/aws/request"
|
"github.com/aws/aws-sdk-go/aws/request"
|
||||||
@ -62,7 +63,7 @@ func UnmarshalError(r *request.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
r.Error = awserr.NewRequestFailure(
|
r.Error = awserr.NewRequestFailure(
|
||||||
awserr.New(respErr.Code, respErr.Message, nil),
|
awserr.New(strings.TrimSpace(respErr.Code), strings.TrimSpace(respErr.Message), nil),
|
||||||
r.HTTPResponse.StatusCode,
|
r.HTTPResponse.StatusCode,
|
||||||
reqID,
|
reqID,
|
||||||
)
|
)
|
||||||
|
1222
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
1222
vendor/github.com/aws/aws-sdk-go/service/ec2/api.go
generated
vendored
File diff suppressed because it is too large
Load Diff
10
vendor/github.com/aws/aws-sdk-go/service/ec2/doc.go
generated
vendored
10
vendor/github.com/aws/aws-sdk-go/service/ec2/doc.go
generated
vendored
@ -16,16 +16,16 @@
|
|||||||
//
|
//
|
||||||
// To learn more, see the following resources:
|
// To learn more, see the following resources:
|
||||||
//
|
//
|
||||||
// * Amazon EC2: AmazonEC2 product page (http://aws.amazon.com/ec2), Amazon
|
// - Amazon EC2: AmazonEC2 product page (http://aws.amazon.com/ec2), Amazon
|
||||||
// EC2 documentation (http://aws.amazon.com/documentation/ec2)
|
// EC2 documentation (http://aws.amazon.com/documentation/ec2)
|
||||||
//
|
//
|
||||||
// * Amazon EBS: Amazon EBS product page (http://aws.amazon.com/ebs), Amazon
|
// - Amazon EBS: Amazon EBS product page (http://aws.amazon.com/ebs), Amazon
|
||||||
// EBS documentation (http://aws.amazon.com/documentation/ebs)
|
// EBS documentation (http://aws.amazon.com/documentation/ebs)
|
||||||
//
|
//
|
||||||
// * Amazon VPC: Amazon VPC product page (http://aws.amazon.com/vpc), Amazon
|
// - Amazon VPC: Amazon VPC product page (http://aws.amazon.com/vpc), Amazon
|
||||||
// VPC documentation (http://aws.amazon.com/documentation/vpc)
|
// VPC documentation (http://aws.amazon.com/documentation/vpc)
|
||||||
//
|
//
|
||||||
// * Amazon Web Services VPN: Amazon Web Services VPN product page (http://aws.amazon.com/vpn),
|
// - Amazon Web Services VPN: Amazon Web Services VPN product page (http://aws.amazon.com/vpn),
|
||||||
// Amazon Web Services VPN documentation (http://aws.amazon.com/documentation/vpn)
|
// Amazon Web Services VPN documentation (http://aws.amazon.com/documentation/vpn)
|
||||||
//
|
//
|
||||||
// See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service.
|
// See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service.
|
||||||
@ -33,7 +33,7 @@
|
|||||||
// See ec2 package documentation for more information.
|
// See ec2 package documentation for more information.
|
||||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/
|
||||||
//
|
//
|
||||||
// Using the Client
|
// # Using the Client
|
||||||
//
|
//
|
||||||
// To contact Amazon Elastic Compute Cloud with the SDK use the New function to create
|
// To contact Amazon Elastic Compute Cloud with the SDK use the New function to create
|
||||||
// a new service client. With that client you can make API requests to the service.
|
// a new service client. With that client you can make API requests to the service.
|
||||||
|
1
vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/service/ec2/service.go
generated
vendored
@ -39,6 +39,7 @@ const (
|
|||||||
// aws.Config parameter to add your extra config.
|
// aws.Config parameter to add your extra config.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
|
//
|
||||||
// mySession := session.Must(session.NewSession())
|
// mySession := session.Must(session.NewSession())
|
||||||
//
|
//
|
||||||
// // Create a EC2 client from just a session.
|
// // Create a EC2 client from just a session.
|
||||||
|
1275
vendor/github.com/aws/aws-sdk-go/service/kms/api.go
generated
vendored
1275
vendor/github.com/aws/aws-sdk-go/service/kms/api.go
generated
vendored
File diff suppressed because it is too large
Load Diff
27
vendor/github.com/aws/aws-sdk-go/service/kms/doc.go
generated
vendored
27
vendor/github.com/aws/aws-sdk-go/service/kms/doc.go
generated
vendored
@ -36,7 +36,7 @@
|
|||||||
// such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman
|
// such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman
|
||||||
// (ECDHE). Most modern systems such as Java 7 and later support these modes.
|
// (ECDHE). Most modern systems such as Java 7 and later support these modes.
|
||||||
//
|
//
|
||||||
// Signing Requests
|
// # Signing Requests
|
||||||
//
|
//
|
||||||
// Requests must be signed by using an access key ID and a secret access key.
|
// Requests must be signed by using an access key ID and a secret access key.
|
||||||
// We strongly recommend that you do not use your Amazon Web Services account
|
// We strongly recommend that you do not use your Amazon Web Services account
|
||||||
@ -47,7 +47,7 @@
|
|||||||
//
|
//
|
||||||
// All KMS operations require Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).
|
// All KMS operations require Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html).
|
||||||
//
|
//
|
||||||
// Logging API Requests
|
// # Logging API Requests
|
||||||
//
|
//
|
||||||
// KMS supports CloudTrail, a service that logs Amazon Web Services API calls
|
// KMS supports CloudTrail, a service that logs Amazon Web Services API calls
|
||||||
// and related events for your Amazon Web Services account and delivers them
|
// and related events for your Amazon Web Services account and delivers them
|
||||||
@ -57,42 +57,45 @@
|
|||||||
// including how to turn it on and find your log files, see the CloudTrail User
|
// including how to turn it on and find your log files, see the CloudTrail User
|
||||||
// Guide (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/).
|
// Guide (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/).
|
||||||
//
|
//
|
||||||
// Additional Resources
|
// # Additional Resources
|
||||||
//
|
//
|
||||||
// For more information about credentials and request signing, see the following:
|
// For more information about credentials and request signing, see the following:
|
||||||
//
|
//
|
||||||
// * Amazon Web Services Security Credentials (https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)
|
// - Amazon Web Services Security Credentials (https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html)
|
||||||
|
//
|
||||||
// - This topic provides general information about the types of credentials
|
// - This topic provides general information about the types of credentials
|
||||||
// used to access Amazon Web Services.
|
// used to access Amazon Web Services.
|
||||||
//
|
//
|
||||||
// * Temporary Security Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html)
|
// - Temporary Security Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html)
|
||||||
|
//
|
||||||
// - This section of the IAM User Guide describes how to create and use temporary
|
// - This section of the IAM User Guide describes how to create and use temporary
|
||||||
// security credentials.
|
// security credentials.
|
||||||
//
|
//
|
||||||
// * Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)
|
// - Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html)
|
||||||
|
//
|
||||||
// - This set of topics walks you through the process of signing a request
|
// - This set of topics walks you through the process of signing a request
|
||||||
// using an access key ID and a secret access key.
|
// using an access key ID and a secret access key.
|
||||||
//
|
//
|
||||||
// Commonly Used API Operations
|
// # Commonly Used API Operations
|
||||||
//
|
//
|
||||||
// Of the API operations discussed in this guide, the following will prove the
|
// Of the API operations discussed in this guide, the following will prove the
|
||||||
// most useful for most applications. You will likely perform operations other
|
// most useful for most applications. You will likely perform operations other
|
||||||
// than these, such as creating keys and assigning policies, by using the console.
|
// than these, such as creating keys and assigning policies, by using the console.
|
||||||
//
|
//
|
||||||
// * Encrypt
|
// - Encrypt
|
||||||
//
|
//
|
||||||
// * Decrypt
|
// - Decrypt
|
||||||
//
|
//
|
||||||
// * GenerateDataKey
|
// - GenerateDataKey
|
||||||
//
|
//
|
||||||
// * GenerateDataKeyWithoutPlaintext
|
// - GenerateDataKeyWithoutPlaintext
|
||||||
//
|
//
|
||||||
// See https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01 for more information on this service.
|
// See https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01 for more information on this service.
|
||||||
//
|
//
|
||||||
// See kms package documentation for more information.
|
// See kms package documentation for more information.
|
||||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/kms/
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/kms/
|
||||||
//
|
//
|
||||||
// Using the Client
|
// # Using the Client
|
||||||
//
|
//
|
||||||
// To contact AWS Key Management Service with the SDK use the New function to create
|
// To contact AWS Key Management Service with the SDK use the New function to create
|
||||||
// a new service client. With that client you can make API requests to the service.
|
// a new service client. With that client you can make API requests to the service.
|
||||||
|
1
vendor/github.com/aws/aws-sdk-go/service/kms/service.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/service/kms/service.go
generated
vendored
@ -40,6 +40,7 @@ const (
|
|||||||
// aws.Config parameter to add your extra config.
|
// aws.Config parameter to add your extra config.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
|
//
|
||||||
// mySession := session.Must(session.NewSession())
|
// mySession := session.Must(session.NewSession())
|
||||||
//
|
//
|
||||||
// // Create a KMS client from just a session.
|
// // Create a KMS client from just a session.
|
||||||
|
111
vendor/github.com/aws/aws-sdk-go/service/sso/api.go
generated
vendored
111
vendor/github.com/aws/aws-sdk-go/service/sso/api.go
generated
vendored
@ -29,7 +29,6 @@ const opGetRoleCredentials = "GetRoleCredentials"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the GetRoleCredentialsRequest method.
|
// // Example sending a request using the GetRoleCredentialsRequest method.
|
||||||
// req, resp := client.GetRoleCredentialsRequest(params)
|
// req, resp := client.GetRoleCredentialsRequest(params)
|
||||||
//
|
//
|
||||||
@ -69,19 +68,20 @@ func (c *SSO) GetRoleCredentialsRequest(input *GetRoleCredentialsInput) (req *re
|
|||||||
// API operation GetRoleCredentials for usage and error information.
|
// API operation GetRoleCredentials for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Types:
|
// Returned Error Types:
|
||||||
// * InvalidRequestException
|
//
|
||||||
|
// - InvalidRequestException
|
||||||
// Indicates that a problem occurred with the input to the request. For example,
|
// Indicates that a problem occurred with the input to the request. For example,
|
||||||
// a required parameter might be missing or out of range.
|
// a required parameter might be missing or out of range.
|
||||||
//
|
//
|
||||||
// * UnauthorizedException
|
// - UnauthorizedException
|
||||||
// Indicates that the request is not authorized. This can happen due to an invalid
|
// Indicates that the request is not authorized. This can happen due to an invalid
|
||||||
// access token in the request.
|
// access token in the request.
|
||||||
//
|
//
|
||||||
// * TooManyRequestsException
|
// - TooManyRequestsException
|
||||||
// Indicates that the request is being made too frequently and is more than
|
// Indicates that the request is being made too frequently and is more than
|
||||||
// what the server can handle.
|
// what the server can handle.
|
||||||
//
|
//
|
||||||
// * ResourceNotFoundException
|
// - ResourceNotFoundException
|
||||||
// The specified resource doesn't exist.
|
// The specified resource doesn't exist.
|
||||||
//
|
//
|
||||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/GetRoleCredentials
|
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/GetRoleCredentials
|
||||||
@ -122,7 +122,6 @@ const opListAccountRoles = "ListAccountRoles"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the ListAccountRolesRequest method.
|
// // Example sending a request using the ListAccountRolesRequest method.
|
||||||
// req, resp := client.ListAccountRolesRequest(params)
|
// req, resp := client.ListAccountRolesRequest(params)
|
||||||
//
|
//
|
||||||
@ -157,7 +156,8 @@ func (c *SSO) ListAccountRolesRequest(input *ListAccountRolesInput) (req *reques
|
|||||||
|
|
||||||
// ListAccountRoles API operation for AWS Single Sign-On.
|
// ListAccountRoles API operation for AWS Single Sign-On.
|
||||||
//
|
//
|
||||||
// Lists all roles that are assigned to the user for a given AWS account.
|
// Lists all roles that are assigned to the user for a given Amazon Web Services
|
||||||
|
// account.
|
||||||
//
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
@ -167,19 +167,20 @@ func (c *SSO) ListAccountRolesRequest(input *ListAccountRolesInput) (req *reques
|
|||||||
// API operation ListAccountRoles for usage and error information.
|
// API operation ListAccountRoles for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Types:
|
// Returned Error Types:
|
||||||
// * InvalidRequestException
|
//
|
||||||
|
// - InvalidRequestException
|
||||||
// Indicates that a problem occurred with the input to the request. For example,
|
// Indicates that a problem occurred with the input to the request. For example,
|
||||||
// a required parameter might be missing or out of range.
|
// a required parameter might be missing or out of range.
|
||||||
//
|
//
|
||||||
// * UnauthorizedException
|
// - UnauthorizedException
|
||||||
// Indicates that the request is not authorized. This can happen due to an invalid
|
// Indicates that the request is not authorized. This can happen due to an invalid
|
||||||
// access token in the request.
|
// access token in the request.
|
||||||
//
|
//
|
||||||
// * TooManyRequestsException
|
// - TooManyRequestsException
|
||||||
// Indicates that the request is being made too frequently and is more than
|
// Indicates that the request is being made too frequently and is more than
|
||||||
// what the server can handle.
|
// what the server can handle.
|
||||||
//
|
//
|
||||||
// * ResourceNotFoundException
|
// - ResourceNotFoundException
|
||||||
// The specified resource doesn't exist.
|
// The specified resource doesn't exist.
|
||||||
//
|
//
|
||||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccountRoles
|
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccountRoles
|
||||||
@ -220,7 +221,6 @@ func (c *SSO) ListAccountRolesWithContext(ctx aws.Context, input *ListAccountRol
|
|||||||
// fmt.Println(page)
|
// fmt.Println(page)
|
||||||
// return pageNum <= 3
|
// return pageNum <= 3
|
||||||
// })
|
// })
|
||||||
//
|
|
||||||
func (c *SSO) ListAccountRolesPages(input *ListAccountRolesInput, fn func(*ListAccountRolesOutput, bool) bool) error {
|
func (c *SSO) ListAccountRolesPages(input *ListAccountRolesInput, fn func(*ListAccountRolesOutput, bool) bool) error {
|
||||||
return c.ListAccountRolesPagesWithContext(aws.BackgroundContext(), input, fn)
|
return c.ListAccountRolesPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||||
}
|
}
|
||||||
@ -272,7 +272,6 @@ const opListAccounts = "ListAccounts"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the ListAccountsRequest method.
|
// // Example sending a request using the ListAccountsRequest method.
|
||||||
// req, resp := client.ListAccountsRequest(params)
|
// req, resp := client.ListAccountsRequest(params)
|
||||||
//
|
//
|
||||||
@ -307,10 +306,11 @@ func (c *SSO) ListAccountsRequest(input *ListAccountsInput) (req *request.Reques
|
|||||||
|
|
||||||
// ListAccounts API operation for AWS Single Sign-On.
|
// ListAccounts API operation for AWS Single Sign-On.
|
||||||
//
|
//
|
||||||
// Lists all AWS accounts assigned to the user. These AWS accounts are assigned
|
// Lists all Amazon Web Services accounts assigned to the user. These Amazon
|
||||||
// by the administrator of the account. For more information, see Assign User
|
// Web Services accounts are assigned by the administrator of the account. For
|
||||||
// Access (https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers)
|
// more information, see Assign User Access (https://docs.aws.amazon.com/singlesignon/latest/userguide/useraccess.html#assignusers)
|
||||||
// in the AWS SSO User Guide. This operation returns a paginated response.
|
// in the Amazon Web Services SSO User Guide. This operation returns a paginated
|
||||||
|
// response.
|
||||||
//
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
@ -320,19 +320,20 @@ func (c *SSO) ListAccountsRequest(input *ListAccountsInput) (req *request.Reques
|
|||||||
// API operation ListAccounts for usage and error information.
|
// API operation ListAccounts for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Types:
|
// Returned Error Types:
|
||||||
// * InvalidRequestException
|
//
|
||||||
|
// - InvalidRequestException
|
||||||
// Indicates that a problem occurred with the input to the request. For example,
|
// Indicates that a problem occurred with the input to the request. For example,
|
||||||
// a required parameter might be missing or out of range.
|
// a required parameter might be missing or out of range.
|
||||||
//
|
//
|
||||||
// * UnauthorizedException
|
// - UnauthorizedException
|
||||||
// Indicates that the request is not authorized. This can happen due to an invalid
|
// Indicates that the request is not authorized. This can happen due to an invalid
|
||||||
// access token in the request.
|
// access token in the request.
|
||||||
//
|
//
|
||||||
// * TooManyRequestsException
|
// - TooManyRequestsException
|
||||||
// Indicates that the request is being made too frequently and is more than
|
// Indicates that the request is being made too frequently and is more than
|
||||||
// what the server can handle.
|
// what the server can handle.
|
||||||
//
|
//
|
||||||
// * ResourceNotFoundException
|
// - ResourceNotFoundException
|
||||||
// The specified resource doesn't exist.
|
// The specified resource doesn't exist.
|
||||||
//
|
//
|
||||||
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccounts
|
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccounts
|
||||||
@ -373,7 +374,6 @@ func (c *SSO) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInput,
|
|||||||
// fmt.Println(page)
|
// fmt.Println(page)
|
||||||
// return pageNum <= 3
|
// return pageNum <= 3
|
||||||
// })
|
// })
|
||||||
//
|
|
||||||
func (c *SSO) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error {
|
func (c *SSO) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error {
|
||||||
return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn)
|
return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn)
|
||||||
}
|
}
|
||||||
@ -425,7 +425,6 @@ const opLogout = "Logout"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the LogoutRequest method.
|
// // Example sending a request using the LogoutRequest method.
|
||||||
// req, resp := client.LogoutRequest(params)
|
// req, resp := client.LogoutRequest(params)
|
||||||
//
|
//
|
||||||
@ -455,7 +454,21 @@ func (c *SSO) LogoutRequest(input *LogoutInput) (req *request.Request, output *L
|
|||||||
|
|
||||||
// Logout API operation for AWS Single Sign-On.
|
// Logout API operation for AWS Single Sign-On.
|
||||||
//
|
//
|
||||||
// Removes the client- and server-side session that is associated with the user.
|
// Removes the locally stored SSO tokens from the client-side cache and sends
|
||||||
|
// an API call to the Amazon Web Services SSO service to invalidate the corresponding
|
||||||
|
// server-side Amazon Web Services SSO sign in session.
|
||||||
|
//
|
||||||
|
// If a user uses Amazon Web Services SSO to access the AWS CLI, the user’s
|
||||||
|
// Amazon Web Services SSO sign in session is used to obtain an IAM session,
|
||||||
|
// as specified in the corresponding Amazon Web Services SSO permission set.
|
||||||
|
// More specifically, Amazon Web Services SSO assumes an IAM role in the target
|
||||||
|
// account on behalf of the user, and the corresponding temporary Amazon Web
|
||||||
|
// Services credentials are returned to the client.
|
||||||
|
//
|
||||||
|
// After user logout, any existing IAM role sessions that were created by using
|
||||||
|
// Amazon Web Services SSO permission sets continue based on the duration configured
|
||||||
|
// in the permission set. For more information, see User authentications (https://docs.aws.amazon.com/singlesignon/latest/userguide/authconcept.html)
|
||||||
|
// in the Amazon Web Services SSO User Guide.
|
||||||
//
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
@ -465,15 +478,16 @@ func (c *SSO) LogoutRequest(input *LogoutInput) (req *request.Request, output *L
|
|||||||
// API operation Logout for usage and error information.
|
// API operation Logout for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Types:
|
// Returned Error Types:
|
||||||
// * InvalidRequestException
|
//
|
||||||
|
// - InvalidRequestException
|
||||||
// Indicates that a problem occurred with the input to the request. For example,
|
// Indicates that a problem occurred with the input to the request. For example,
|
||||||
// a required parameter might be missing or out of range.
|
// a required parameter might be missing or out of range.
|
||||||
//
|
//
|
||||||
// * UnauthorizedException
|
// - UnauthorizedException
|
||||||
// Indicates that the request is not authorized. This can happen due to an invalid
|
// Indicates that the request is not authorized. This can happen due to an invalid
|
||||||
// access token in the request.
|
// access token in the request.
|
||||||
//
|
//
|
||||||
// * TooManyRequestsException
|
// - TooManyRequestsException
|
||||||
// Indicates that the request is being made too frequently and is more than
|
// Indicates that the request is being made too frequently and is more than
|
||||||
// what the server can handle.
|
// what the server can handle.
|
||||||
//
|
//
|
||||||
@ -499,17 +513,20 @@ func (c *SSO) LogoutWithContext(ctx aws.Context, input *LogoutInput, opts ...req
|
|||||||
return out, req.Send()
|
return out, req.Send()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Provides information about your AWS account.
|
// Provides information about your Amazon Web Services account.
|
||||||
type AccountInfo struct {
|
type AccountInfo struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the AWS account that is assigned to the user.
|
// The identifier of the Amazon Web Services account that is assigned to the
|
||||||
|
// user.
|
||||||
AccountId *string `locationName:"accountId" type:"string"`
|
AccountId *string `locationName:"accountId" type:"string"`
|
||||||
|
|
||||||
// The display name of the AWS account that is assigned to the user.
|
// The display name of the Amazon Web Services account that is assigned to the
|
||||||
|
// user.
|
||||||
AccountName *string `locationName:"accountName" type:"string"`
|
AccountName *string `locationName:"accountName" type:"string"`
|
||||||
|
|
||||||
// The email address of the AWS account that is assigned to the user.
|
// The email address of the Amazon Web Services account that is assigned to
|
||||||
|
// the user.
|
||||||
EmailAddress *string `locationName:"emailAddress" min:"1" type:"string"`
|
EmailAddress *string `locationName:"emailAddress" min:"1" type:"string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -554,7 +571,7 @@ type GetRoleCredentialsInput struct {
|
|||||||
|
|
||||||
// The token issued by the CreateToken API call. For more information, see CreateToken
|
// The token issued by the CreateToken API call. For more information, see CreateToken
|
||||||
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
||||||
// in the AWS SSO OIDC API Reference Guide.
|
// in the Amazon Web Services SSO OIDC API Reference Guide.
|
||||||
//
|
//
|
||||||
// AccessToken is a sensitive parameter and its value will be
|
// AccessToken is a sensitive parameter and its value will be
|
||||||
// replaced with "sensitive" in string returned by GetRoleCredentialsInput's
|
// replaced with "sensitive" in string returned by GetRoleCredentialsInput's
|
||||||
@ -563,7 +580,8 @@ type GetRoleCredentialsInput struct {
|
|||||||
// AccessToken is a required field
|
// AccessToken is a required field
|
||||||
AccessToken *string `location:"header" locationName:"x-amz-sso_bearer_token" type:"string" required:"true" sensitive:"true"`
|
AccessToken *string `location:"header" locationName:"x-amz-sso_bearer_token" type:"string" required:"true" sensitive:"true"`
|
||||||
|
|
||||||
// The identifier for the AWS account that is assigned to the user.
|
// The identifier for the Amazon Web Services account that is assigned to the
|
||||||
|
// user.
|
||||||
//
|
//
|
||||||
// AccountId is a required field
|
// AccountId is a required field
|
||||||
AccountId *string `location:"querystring" locationName:"account_id" type:"string" required:"true"`
|
AccountId *string `location:"querystring" locationName:"account_id" type:"string" required:"true"`
|
||||||
@ -730,7 +748,7 @@ type ListAccountRolesInput struct {
|
|||||||
|
|
||||||
// The token issued by the CreateToken API call. For more information, see CreateToken
|
// The token issued by the CreateToken API call. For more information, see CreateToken
|
||||||
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
||||||
// in the AWS SSO OIDC API Reference Guide.
|
// in the Amazon Web Services SSO OIDC API Reference Guide.
|
||||||
//
|
//
|
||||||
// AccessToken is a sensitive parameter and its value will be
|
// AccessToken is a sensitive parameter and its value will be
|
||||||
// replaced with "sensitive" in string returned by ListAccountRolesInput's
|
// replaced with "sensitive" in string returned by ListAccountRolesInput's
|
||||||
@ -739,7 +757,8 @@ type ListAccountRolesInput struct {
|
|||||||
// AccessToken is a required field
|
// AccessToken is a required field
|
||||||
AccessToken *string `location:"header" locationName:"x-amz-sso_bearer_token" type:"string" required:"true" sensitive:"true"`
|
AccessToken *string `location:"header" locationName:"x-amz-sso_bearer_token" type:"string" required:"true" sensitive:"true"`
|
||||||
|
|
||||||
// The identifier for the AWS account that is assigned to the user.
|
// The identifier for the Amazon Web Services account that is assigned to the
|
||||||
|
// user.
|
||||||
//
|
//
|
||||||
// AccountId is a required field
|
// AccountId is a required field
|
||||||
AccountId *string `location:"querystring" locationName:"account_id" type:"string" required:"true"`
|
AccountId *string `location:"querystring" locationName:"account_id" type:"string" required:"true"`
|
||||||
@ -859,7 +878,7 @@ type ListAccountsInput struct {
|
|||||||
|
|
||||||
// The token issued by the CreateToken API call. For more information, see CreateToken
|
// The token issued by the CreateToken API call. For more information, see CreateToken
|
||||||
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
||||||
// in the AWS SSO OIDC API Reference Guide.
|
// in the Amazon Web Services SSO OIDC API Reference Guide.
|
||||||
//
|
//
|
||||||
// AccessToken is a sensitive parameter and its value will be
|
// AccessToken is a sensitive parameter and its value will be
|
||||||
// replaced with "sensitive" in string returned by ListAccountsInput's
|
// replaced with "sensitive" in string returned by ListAccountsInput's
|
||||||
@ -974,7 +993,7 @@ type LogoutInput struct {
|
|||||||
|
|
||||||
// The token issued by the CreateToken API call. For more information, see CreateToken
|
// The token issued by the CreateToken API call. For more information, see CreateToken
|
||||||
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
// (https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/API_CreateToken.html)
|
||||||
// in the AWS SSO OIDC API Reference Guide.
|
// in the Amazon Web Services SSO OIDC API Reference Guide.
|
||||||
//
|
//
|
||||||
// AccessToken is a sensitive parameter and its value will be
|
// AccessToken is a sensitive parameter and its value will be
|
||||||
// replaced with "sensitive" in string returned by LogoutInput's
|
// replaced with "sensitive" in string returned by LogoutInput's
|
||||||
@ -1113,17 +1132,18 @@ type RoleCredentials struct {
|
|||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier used for the temporary security credentials. For more information,
|
// The identifier used for the temporary security credentials. For more information,
|
||||||
// see Using Temporary Security Credentials to Request Access to AWS Resources
|
// see Using Temporary Security Credentials to Request Access to Amazon Web
|
||||||
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
|
// Services Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
|
||||||
// in the AWS IAM User Guide.
|
// in the Amazon Web Services IAM User Guide.
|
||||||
AccessKeyId *string `locationName:"accessKeyId" type:"string"`
|
AccessKeyId *string `locationName:"accessKeyId" type:"string"`
|
||||||
|
|
||||||
// The date on which temporary security credentials expire.
|
// The date on which temporary security credentials expire.
|
||||||
Expiration *int64 `locationName:"expiration" type:"long"`
|
Expiration *int64 `locationName:"expiration" type:"long"`
|
||||||
|
|
||||||
// The key that is used to sign the request. For more information, see Using
|
// The key that is used to sign the request. For more information, see Using
|
||||||
// Temporary Security Credentials to Request Access to AWS Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
|
// Temporary Security Credentials to Request Access to Amazon Web Services Resources
|
||||||
// in the AWS IAM User Guide.
|
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
|
||||||
|
// in the Amazon Web Services IAM User Guide.
|
||||||
//
|
//
|
||||||
// SecretAccessKey is a sensitive parameter and its value will be
|
// SecretAccessKey is a sensitive parameter and its value will be
|
||||||
// replaced with "sensitive" in string returned by RoleCredentials's
|
// replaced with "sensitive" in string returned by RoleCredentials's
|
||||||
@ -1131,8 +1151,9 @@ type RoleCredentials struct {
|
|||||||
SecretAccessKey *string `locationName:"secretAccessKey" type:"string" sensitive:"true"`
|
SecretAccessKey *string `locationName:"secretAccessKey" type:"string" sensitive:"true"`
|
||||||
|
|
||||||
// The token used for temporary credentials. For more information, see Using
|
// The token used for temporary credentials. For more information, see Using
|
||||||
// Temporary Security Credentials to Request Access to AWS Resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
|
// Temporary Security Credentials to Request Access to Amazon Web Services Resources
|
||||||
// in the AWS IAM User Guide.
|
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
|
||||||
|
// in the Amazon Web Services IAM User Guide.
|
||||||
//
|
//
|
||||||
// SessionToken is a sensitive parameter and its value will be
|
// SessionToken is a sensitive parameter and its value will be
|
||||||
// replaced with "sensitive" in string returned by RoleCredentials's
|
// replaced with "sensitive" in string returned by RoleCredentials's
|
||||||
@ -1186,7 +1207,7 @@ func (s *RoleCredentials) SetSessionToken(v string) *RoleCredentials {
|
|||||||
type RoleInfo struct {
|
type RoleInfo struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// The identifier of the AWS account assigned to the user.
|
// The identifier of the Amazon Web Services account assigned to the user.
|
||||||
AccountId *string `locationName:"accountId" type:"string"`
|
AccountId *string `locationName:"accountId" type:"string"`
|
||||||
|
|
||||||
// The friendly name of the role that is assigned to the user.
|
// The friendly name of the role that is assigned to the user.
|
||||||
|
32
vendor/github.com/aws/aws-sdk-go/service/sso/doc.go
generated
vendored
32
vendor/github.com/aws/aws-sdk-go/service/sso/doc.go
generated
vendored
@ -3,30 +3,32 @@
|
|||||||
// Package sso provides the client and types for making API
|
// Package sso provides the client and types for making API
|
||||||
// requests to AWS Single Sign-On.
|
// requests to AWS Single Sign-On.
|
||||||
//
|
//
|
||||||
// AWS Single Sign-On Portal is a web service that makes it easy for you to
|
// Amazon Web Services Single Sign On Portal is a web service that makes it
|
||||||
// assign user access to AWS SSO resources such as the user portal. Users can
|
// easy for you to assign user access to Amazon Web Services SSO resources such
|
||||||
// get AWS account applications and roles assigned to them and get federated
|
// as the AWS access portal. Users can get Amazon Web Services account applications
|
||||||
// into the application.
|
// and roles assigned to them and get federated into the application.
|
||||||
//
|
//
|
||||||
// For general information about AWS SSO, see What is AWS Single Sign-On? (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html)
|
// Although Amazon Web Services Single Sign-On was renamed, the sso and identitystore
|
||||||
// in the AWS SSO User Guide.
|
// API namespaces will continue to retain their original name for backward compatibility
|
||||||
|
// purposes. For more information, see Amazon Web Services SSO rename (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed).
|
||||||
//
|
//
|
||||||
// This API reference guide describes the AWS SSO Portal operations that you
|
// This reference guide describes the Amazon Web Services SSO Portal operations
|
||||||
// can call programatically and includes detailed information on data types
|
// that you can call programatically and includes detailed information on data
|
||||||
// and errors.
|
// types and errors.
|
||||||
//
|
//
|
||||||
// AWS provides SDKs that consist of libraries and sample code for various programming
|
// Amazon Web Services provides SDKs that consist of libraries and sample code
|
||||||
// languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs
|
// for various programming languages and platforms, such as Java, Ruby, .Net,
|
||||||
// provide a convenient way to create programmatic access to AWS SSO and other
|
// iOS, or Android. The SDKs provide a convenient way to create programmatic
|
||||||
// AWS services. For more information about the AWS SDKs, including how to download
|
// access to Amazon Web Services SSO and other Amazon Web Services services.
|
||||||
// and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).
|
// For more information about the Amazon Web Services SDKs, including how to
|
||||||
|
// download and install them, see Tools for Amazon Web Services (http://aws.amazon.com/tools/).
|
||||||
//
|
//
|
||||||
// See https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10 for more information on this service.
|
// See https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10 for more information on this service.
|
||||||
//
|
//
|
||||||
// See sso package documentation for more information.
|
// See sso package documentation for more information.
|
||||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/sso/
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/sso/
|
||||||
//
|
//
|
||||||
// Using the Client
|
// # Using the Client
|
||||||
//
|
//
|
||||||
// To contact AWS Single Sign-On with the SDK use the New function to create
|
// To contact AWS Single Sign-On with the SDK use the New function to create
|
||||||
// a new service client. With that client you can make API requests to the service.
|
// a new service client. With that client you can make API requests to the service.
|
||||||
|
1
vendor/github.com/aws/aws-sdk-go/service/sso/service.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/service/sso/service.go
generated
vendored
@ -40,6 +40,7 @@ const (
|
|||||||
// aws.Config parameter to add your extra config.
|
// aws.Config parameter to add your extra config.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
|
//
|
||||||
// mySession := session.Must(session.NewSession())
|
// mySession := session.Must(session.NewSession())
|
||||||
//
|
//
|
||||||
// // Create a SSO client from just a session.
|
// // Create a SSO client from just a session.
|
||||||
|
126
vendor/github.com/aws/aws-sdk-go/service/sts/api.go
generated
vendored
126
vendor/github.com/aws/aws-sdk-go/service/sts/api.go
generated
vendored
@ -28,7 +28,6 @@ const opAssumeRole = "AssumeRole"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the AssumeRoleRequest method.
|
// // Example sending a request using the AssumeRoleRequest method.
|
||||||
// req, resp := client.AssumeRoleRequest(params)
|
// req, resp := client.AssumeRoleRequest(params)
|
||||||
//
|
//
|
||||||
@ -66,7 +65,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// and Comparing the Amazon Web Services STS API operations (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison)
|
// and Comparing the Amazon Web Services STS API operations (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Permissions
|
// # Permissions
|
||||||
//
|
//
|
||||||
// The temporary security credentials created by AssumeRole can be used to make
|
// The temporary security credentials created by AssumeRole can be used to make
|
||||||
// API calls to any Amazon Web Services service with the following exception:
|
// API calls to any Amazon Web Services service with the following exception:
|
||||||
@ -105,10 +104,10 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// To allow a user to assume a role in the same account, you can do either of
|
// To allow a user to assume a role in the same account, you can do either of
|
||||||
// the following:
|
// the following:
|
||||||
//
|
//
|
||||||
// * Attach a policy to the user that allows the user to call AssumeRole
|
// - Attach a policy to the user that allows the user to call AssumeRole
|
||||||
// (as long as the role's trust policy trusts the account).
|
// (as long as the role's trust policy trusts the account).
|
||||||
//
|
//
|
||||||
// * Add the user as a principal directly in the role's trust policy.
|
// - Add the user as a principal directly in the role's trust policy.
|
||||||
//
|
//
|
||||||
// You can do either because the role’s trust policy acts as an IAM resource-based
|
// You can do either because the role’s trust policy acts as an IAM resource-based
|
||||||
// policy. When a resource-based policy grants access to a principal in the
|
// policy. When a resource-based policy grants access to a principal in the
|
||||||
@ -116,7 +115,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// about trust policies and resource-based policies, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html)
|
// about trust policies and resource-based policies, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Tags
|
// # Tags
|
||||||
//
|
//
|
||||||
// (Optional) You can pass tag key-value pairs to your session. These tags are
|
// (Optional) You can pass tag key-value pairs to your session. These tags are
|
||||||
// called session tags. For more information about session tags, see Passing
|
// called session tags. For more information about session tags, see Passing
|
||||||
@ -134,7 +133,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining)
|
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Using MFA with AssumeRole
|
// # Using MFA with AssumeRole
|
||||||
//
|
//
|
||||||
// (Optional) You can include multi-factor authentication (MFA) information
|
// (Optional) You can include multi-factor authentication (MFA) information
|
||||||
// when you call AssumeRole. This is useful for cross-account scenarios to ensure
|
// when you call AssumeRole. This is useful for cross-account scenarios to ensure
|
||||||
@ -163,11 +162,12 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// API operation AssumeRole for usage and error information.
|
// API operation AssumeRole for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Codes:
|
// Returned Error Codes:
|
||||||
// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
//
|
||||||
|
// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
||||||
// The request was rejected because the policy document was malformed. The error
|
// The request was rejected because the policy document was malformed. The error
|
||||||
// message describes the specific error.
|
// message describes the specific error.
|
||||||
//
|
//
|
||||||
// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
||||||
// The request was rejected because the total packed size of the session policies
|
// The request was rejected because the total packed size of the session policies
|
||||||
// and session tags combined was too large. An Amazon Web Services conversion
|
// and session tags combined was too large. An Amazon Web Services conversion
|
||||||
// compresses the session policy document, session policy ARNs, and session
|
// compresses the session policy document, session policy ARNs, and session
|
||||||
@ -181,7 +181,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * ErrCodeRegionDisabledException "RegionDisabledException"
|
// - ErrCodeRegionDisabledException "RegionDisabledException"
|
||||||
// STS is not activated in the requested region for the account that is being
|
// STS is not activated in the requested region for the account that is being
|
||||||
// asked to generate credentials. The account administrator must use the IAM
|
// asked to generate credentials. The account administrator must use the IAM
|
||||||
// console to activate STS in that region. For more information, see Activating
|
// console to activate STS in that region. For more information, see Activating
|
||||||
@ -189,7 +189,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o
|
|||||||
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * ErrCodeExpiredTokenException "ExpiredTokenException"
|
// - ErrCodeExpiredTokenException "ExpiredTokenException"
|
||||||
// The web identity token that was passed is expired or is not valid. Get a
|
// The web identity token that was passed is expired or is not valid. Get a
|
||||||
// new identity token from the identity provider and then retry the request.
|
// new identity token from the identity provider and then retry the request.
|
||||||
//
|
//
|
||||||
@ -231,7 +231,6 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the AssumeRoleWithSAMLRequest method.
|
// // Example sending a request using the AssumeRoleWithSAMLRequest method.
|
||||||
// req, resp := client.AssumeRoleWithSAMLRequest(params)
|
// req, resp := client.AssumeRoleWithSAMLRequest(params)
|
||||||
//
|
//
|
||||||
@ -274,7 +273,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
// can use these temporary security credentials to sign calls to Amazon Web
|
// can use these temporary security credentials to sign calls to Amazon Web
|
||||||
// Services services.
|
// Services services.
|
||||||
//
|
//
|
||||||
// Session Duration
|
// # Session Duration
|
||||||
//
|
//
|
||||||
// By default, the temporary security credentials created by AssumeRoleWithSAML
|
// By default, the temporary security credentials created by AssumeRoleWithSAML
|
||||||
// last for one hour. However, you can use the optional DurationSeconds parameter
|
// last for one hour. However, you can use the optional DurationSeconds parameter
|
||||||
@ -300,7 +299,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
// a role using role chaining and provide a DurationSeconds parameter value
|
// a role using role chaining and provide a DurationSeconds parameter value
|
||||||
// greater than one hour, the operation fails.
|
// greater than one hour, the operation fails.
|
||||||
//
|
//
|
||||||
// Permissions
|
// # Permissions
|
||||||
//
|
//
|
||||||
// The temporary security credentials created by AssumeRoleWithSAML can be used
|
// The temporary security credentials created by AssumeRoleWithSAML can be used
|
||||||
// to make API calls to any Amazon Web Services service with the following exception:
|
// to make API calls to any Amazon Web Services service with the following exception:
|
||||||
@ -331,7 +330,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
// identifiable information (PII). For example, you could instead use the persistent
|
// identifiable information (PII). For example, you could instead use the persistent
|
||||||
// identifier (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent).
|
// identifier (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent).
|
||||||
//
|
//
|
||||||
// Tags
|
// # Tags
|
||||||
//
|
//
|
||||||
// (Optional) You can configure your IdP to pass attributes into your SAML assertion
|
// (Optional) You can configure your IdP to pass attributes into your SAML assertion
|
||||||
// as session tags. Each session tag consists of a key name and an associated
|
// as session tags. Each session tag consists of a key name and an associated
|
||||||
@ -365,7 +364,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining)
|
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// SAML Configuration
|
// # SAML Configuration
|
||||||
//
|
//
|
||||||
// Before your application can call AssumeRoleWithSAML, you must configure your
|
// Before your application can call AssumeRoleWithSAML, you must configure your
|
||||||
// SAML identity provider (IdP) to issue the claims required by Amazon Web Services.
|
// SAML identity provider (IdP) to issue the claims required by Amazon Web Services.
|
||||||
@ -376,16 +375,16 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
//
|
//
|
||||||
// For more information, see the following resources:
|
// For more information, see the following resources:
|
||||||
//
|
//
|
||||||
// * About SAML 2.0-based Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html)
|
// - About SAML 2.0-based Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * Creating SAML Identity Providers (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml.html)
|
// - Creating SAML Identity Providers (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * Configuring a Relying Party and Claims (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml_relying-party.html)
|
// - Configuring a Relying Party and Claims (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml_relying-party.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * Creating a Role for SAML 2.0 Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html)
|
// - Creating a Role for SAML 2.0 Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
@ -396,11 +395,12 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
// API operation AssumeRoleWithSAML for usage and error information.
|
// API operation AssumeRoleWithSAML for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Codes:
|
// Returned Error Codes:
|
||||||
// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
//
|
||||||
|
// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
||||||
// The request was rejected because the policy document was malformed. The error
|
// The request was rejected because the policy document was malformed. The error
|
||||||
// message describes the specific error.
|
// message describes the specific error.
|
||||||
//
|
//
|
||||||
// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
||||||
// The request was rejected because the total packed size of the session policies
|
// The request was rejected because the total packed size of the session policies
|
||||||
// and session tags combined was too large. An Amazon Web Services conversion
|
// and session tags combined was too large. An Amazon Web Services conversion
|
||||||
// compresses the session policy document, session policy ARNs, and session
|
// compresses the session policy document, session policy ARNs, and session
|
||||||
@ -414,23 +414,23 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re
|
|||||||
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * ErrCodeIDPRejectedClaimException "IDPRejectedClaim"
|
// - ErrCodeIDPRejectedClaimException "IDPRejectedClaim"
|
||||||
// The identity provider (IdP) reported that authentication failed. This might
|
// The identity provider (IdP) reported that authentication failed. This might
|
||||||
// be because the claim is invalid.
|
// be because the claim is invalid.
|
||||||
//
|
//
|
||||||
// If this error is returned for the AssumeRoleWithWebIdentity operation, it
|
// If this error is returned for the AssumeRoleWithWebIdentity operation, it
|
||||||
// can also mean that the claim has expired or has been explicitly revoked.
|
// can also mean that the claim has expired or has been explicitly revoked.
|
||||||
//
|
//
|
||||||
// * ErrCodeInvalidIdentityTokenException "InvalidIdentityToken"
|
// - ErrCodeInvalidIdentityTokenException "InvalidIdentityToken"
|
||||||
// The web identity token that was passed could not be validated by Amazon Web
|
// The web identity token that was passed could not be validated by Amazon Web
|
||||||
// Services. Get a new identity token from the identity provider and then retry
|
// Services. Get a new identity token from the identity provider and then retry
|
||||||
// the request.
|
// the request.
|
||||||
//
|
//
|
||||||
// * ErrCodeExpiredTokenException "ExpiredTokenException"
|
// - ErrCodeExpiredTokenException "ExpiredTokenException"
|
||||||
// The web identity token that was passed is expired or is not valid. Get a
|
// The web identity token that was passed is expired or is not valid. Get a
|
||||||
// new identity token from the identity provider and then retry the request.
|
// new identity token from the identity provider and then retry the request.
|
||||||
//
|
//
|
||||||
// * ErrCodeRegionDisabledException "RegionDisabledException"
|
// - ErrCodeRegionDisabledException "RegionDisabledException"
|
||||||
// STS is not activated in the requested region for the account that is being
|
// STS is not activated in the requested region for the account that is being
|
||||||
// asked to generate credentials. The account administrator must use the IAM
|
// asked to generate credentials. The account administrator must use the IAM
|
||||||
// console to activate STS in that region. For more information, see Activating
|
// console to activate STS in that region. For more information, see Activating
|
||||||
@ -476,7 +476,6 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the AssumeRoleWithWebIdentityRequest method.
|
// // Example sending a request using the AssumeRoleWithWebIdentityRequest method.
|
||||||
// req, resp := client.AssumeRoleWithWebIdentityRequest(params)
|
// req, resp := client.AssumeRoleWithWebIdentityRequest(params)
|
||||||
//
|
//
|
||||||
@ -540,7 +539,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// temporary security credentials to sign calls to Amazon Web Services service
|
// temporary security credentials to sign calls to Amazon Web Services service
|
||||||
// API operations.
|
// API operations.
|
||||||
//
|
//
|
||||||
// Session Duration
|
// # Session Duration
|
||||||
//
|
//
|
||||||
// By default, the temporary security credentials created by AssumeRoleWithWebIdentity
|
// By default, the temporary security credentials created by AssumeRoleWithWebIdentity
|
||||||
// last for one hour. However, you can use the optional DurationSeconds parameter
|
// last for one hour. However, you can use the optional DurationSeconds parameter
|
||||||
@ -555,7 +554,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// URL. For more information, see Using IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html)
|
// URL. For more information, see Using IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Permissions
|
// # Permissions
|
||||||
//
|
//
|
||||||
// The temporary security credentials created by AssumeRoleWithWebIdentity can
|
// The temporary security credentials created by AssumeRoleWithWebIdentity can
|
||||||
// be used to make API calls to any Amazon Web Services service with the following
|
// be used to make API calls to any Amazon Web Services service with the following
|
||||||
@ -576,7 +575,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// For more information, see Session Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
|
// For more information, see Session Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Tags
|
// # Tags
|
||||||
//
|
//
|
||||||
// (Optional) You can configure your IdP to pass attributes into your web identity
|
// (Optional) You can configure your IdP to pass attributes into your web identity
|
||||||
// token as session tags. Each session tag consists of a key name and an associated
|
// token as session tags. Each session tag consists of a key name and an associated
|
||||||
@ -610,7 +609,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining)
|
// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Identities
|
// # Identities
|
||||||
//
|
//
|
||||||
// Before your application can call AssumeRoleWithWebIdentity, you must have
|
// Before your application can call AssumeRoleWithWebIdentity, you must have
|
||||||
// an identity token from a supported identity provider and create a role that
|
// an identity token from a supported identity provider and create a role that
|
||||||
@ -628,21 +627,21 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// For more information about how to use web identity federation and the AssumeRoleWithWebIdentity
|
// For more information about how to use web identity federation and the AssumeRoleWithWebIdentity
|
||||||
// API, see the following resources:
|
// API, see the following resources:
|
||||||
//
|
//
|
||||||
// * Using Web Identity Federation API Operations for Mobile Apps (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html)
|
// - Using Web Identity Federation API Operations for Mobile Apps (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html)
|
||||||
// and Federation Through a Web-based Identity Provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity).
|
// and Federation Through a Web-based Identity Provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity).
|
||||||
//
|
//
|
||||||
// * Web Identity Federation Playground (https://aws.amazon.com/blogs/aws/the-aws-web-identity-federation-playground/).
|
// - Web Identity Federation Playground (https://aws.amazon.com/blogs/aws/the-aws-web-identity-federation-playground/).
|
||||||
// Walk through the process of authenticating through Login with Amazon,
|
// Walk through the process of authenticating through Login with Amazon,
|
||||||
// Facebook, or Google, getting temporary security credentials, and then
|
// Facebook, or Google, getting temporary security credentials, and then
|
||||||
// using those credentials to make a request to Amazon Web Services.
|
// using those credentials to make a request to Amazon Web Services.
|
||||||
//
|
//
|
||||||
// * Amazon Web Services SDK for iOS Developer Guide (http://aws.amazon.com/sdkforios/)
|
// - Amazon Web Services SDK for iOS Developer Guide (http://aws.amazon.com/sdkforios/)
|
||||||
// and Amazon Web Services SDK for Android Developer Guide (http://aws.amazon.com/sdkforandroid/).
|
// and Amazon Web Services SDK for Android Developer Guide (http://aws.amazon.com/sdkforandroid/).
|
||||||
// These toolkits contain sample apps that show how to invoke the identity
|
// These toolkits contain sample apps that show how to invoke the identity
|
||||||
// providers. The toolkits then show how to use the information from these
|
// providers. The toolkits then show how to use the information from these
|
||||||
// providers to get and use temporary security credentials.
|
// providers to get and use temporary security credentials.
|
||||||
//
|
//
|
||||||
// * Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/web-identity-federation-with-mobile-applications).
|
// - Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/web-identity-federation-with-mobile-applications).
|
||||||
// This article discusses web identity federation and shows an example of
|
// This article discusses web identity federation and shows an example of
|
||||||
// how to use web identity federation to get access to content in Amazon
|
// how to use web identity federation to get access to content in Amazon
|
||||||
// S3.
|
// S3.
|
||||||
@ -655,11 +654,12 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// API operation AssumeRoleWithWebIdentity for usage and error information.
|
// API operation AssumeRoleWithWebIdentity for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Codes:
|
// Returned Error Codes:
|
||||||
// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
//
|
||||||
|
// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
||||||
// The request was rejected because the policy document was malformed. The error
|
// The request was rejected because the policy document was malformed. The error
|
||||||
// message describes the specific error.
|
// message describes the specific error.
|
||||||
//
|
//
|
||||||
// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
||||||
// The request was rejected because the total packed size of the session policies
|
// The request was rejected because the total packed size of the session policies
|
||||||
// and session tags combined was too large. An Amazon Web Services conversion
|
// and session tags combined was too large. An Amazon Web Services conversion
|
||||||
// compresses the session policy document, session policy ARNs, and session
|
// compresses the session policy document, session policy ARNs, and session
|
||||||
@ -673,30 +673,30 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI
|
|||||||
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * ErrCodeIDPRejectedClaimException "IDPRejectedClaim"
|
// - ErrCodeIDPRejectedClaimException "IDPRejectedClaim"
|
||||||
// The identity provider (IdP) reported that authentication failed. This might
|
// The identity provider (IdP) reported that authentication failed. This might
|
||||||
// be because the claim is invalid.
|
// be because the claim is invalid.
|
||||||
//
|
//
|
||||||
// If this error is returned for the AssumeRoleWithWebIdentity operation, it
|
// If this error is returned for the AssumeRoleWithWebIdentity operation, it
|
||||||
// can also mean that the claim has expired or has been explicitly revoked.
|
// can also mean that the claim has expired or has been explicitly revoked.
|
||||||
//
|
//
|
||||||
// * ErrCodeIDPCommunicationErrorException "IDPCommunicationError"
|
// - ErrCodeIDPCommunicationErrorException "IDPCommunicationError"
|
||||||
// The request could not be fulfilled because the identity provider (IDP) that
|
// The request could not be fulfilled because the identity provider (IDP) that
|
||||||
// was asked to verify the incoming identity token could not be reached. This
|
// was asked to verify the incoming identity token could not be reached. This
|
||||||
// is often a transient error caused by network conditions. Retry the request
|
// is often a transient error caused by network conditions. Retry the request
|
||||||
// a limited number of times so that you don't exceed the request rate. If the
|
// a limited number of times so that you don't exceed the request rate. If the
|
||||||
// error persists, the identity provider might be down or not responding.
|
// error persists, the identity provider might be down or not responding.
|
||||||
//
|
//
|
||||||
// * ErrCodeInvalidIdentityTokenException "InvalidIdentityToken"
|
// - ErrCodeInvalidIdentityTokenException "InvalidIdentityToken"
|
||||||
// The web identity token that was passed could not be validated by Amazon Web
|
// The web identity token that was passed could not be validated by Amazon Web
|
||||||
// Services. Get a new identity token from the identity provider and then retry
|
// Services. Get a new identity token from the identity provider and then retry
|
||||||
// the request.
|
// the request.
|
||||||
//
|
//
|
||||||
// * ErrCodeExpiredTokenException "ExpiredTokenException"
|
// - ErrCodeExpiredTokenException "ExpiredTokenException"
|
||||||
// The web identity token that was passed is expired or is not valid. Get a
|
// The web identity token that was passed is expired or is not valid. Get a
|
||||||
// new identity token from the identity provider and then retry the request.
|
// new identity token from the identity provider and then retry the request.
|
||||||
//
|
//
|
||||||
// * ErrCodeRegionDisabledException "RegionDisabledException"
|
// - ErrCodeRegionDisabledException "RegionDisabledException"
|
||||||
// STS is not activated in the requested region for the account that is being
|
// STS is not activated in the requested region for the account that is being
|
||||||
// asked to generate credentials. The account administrator must use the IAM
|
// asked to generate credentials. The account administrator must use the IAM
|
||||||
// console to activate STS in that region. For more information, see Activating
|
// console to activate STS in that region. For more information, see Activating
|
||||||
@ -742,7 +742,6 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the DecodeAuthorizationMessageRequest method.
|
// // Example sending a request using the DecodeAuthorizationMessageRequest method.
|
||||||
// req, resp := client.DecodeAuthorizationMessageRequest(params)
|
// req, resp := client.DecodeAuthorizationMessageRequest(params)
|
||||||
//
|
//
|
||||||
@ -793,18 +792,18 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag
|
|||||||
//
|
//
|
||||||
// The decoded message includes the following type of information:
|
// The decoded message includes the following type of information:
|
||||||
//
|
//
|
||||||
// * Whether the request was denied due to an explicit deny or due to the
|
// - Whether the request was denied due to an explicit deny or due to the
|
||||||
// absence of an explicit allow. For more information, see Determining Whether
|
// absence of an explicit allow. For more information, see Determining Whether
|
||||||
// a Request is Allowed or Denied (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow)
|
// a Request is Allowed or Denied (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * The principal who made the request.
|
// - The principal who made the request.
|
||||||
//
|
//
|
||||||
// * The requested action.
|
// - The requested action.
|
||||||
//
|
//
|
||||||
// * The requested resource.
|
// - The requested resource.
|
||||||
//
|
//
|
||||||
// * The values of condition keys in the context of the user's request.
|
// - The values of condition keys in the context of the user's request.
|
||||||
//
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
@ -814,7 +813,7 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag
|
|||||||
// API operation DecodeAuthorizationMessage for usage and error information.
|
// API operation DecodeAuthorizationMessage for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Codes:
|
// Returned Error Codes:
|
||||||
// * ErrCodeInvalidAuthorizationMessageException "InvalidAuthorizationMessageException"
|
// - ErrCodeInvalidAuthorizationMessageException "InvalidAuthorizationMessageException"
|
||||||
// The error returned if the message passed to DecodeAuthorizationMessage was
|
// The error returned if the message passed to DecodeAuthorizationMessage was
|
||||||
// invalid. This can happen if the token contains invalid characters, such as
|
// invalid. This can happen if the token contains invalid characters, such as
|
||||||
// linebreaks.
|
// linebreaks.
|
||||||
@ -857,7 +856,6 @@ const opGetAccessKeyInfo = "GetAccessKeyInfo"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the GetAccessKeyInfoRequest method.
|
// // Example sending a request using the GetAccessKeyInfoRequest method.
|
||||||
// req, resp := client.GetAccessKeyInfoRequest(params)
|
// req, resp := client.GetAccessKeyInfoRequest(params)
|
||||||
//
|
//
|
||||||
@ -954,7 +952,6 @@ const opGetCallerIdentity = "GetCallerIdentity"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the GetCallerIdentityRequest method.
|
// // Example sending a request using the GetCallerIdentityRequest method.
|
||||||
// req, resp := client.GetCallerIdentityRequest(params)
|
// req, resp := client.GetCallerIdentityRequest(params)
|
||||||
//
|
//
|
||||||
@ -1037,7 +1034,6 @@ const opGetFederationToken = "GetFederationToken"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the GetFederationTokenRequest method.
|
// // Example sending a request using the GetFederationTokenRequest method.
|
||||||
// req, resp := client.GetFederationTokenRequest(params)
|
// req, resp := client.GetFederationTokenRequest(params)
|
||||||
//
|
//
|
||||||
@ -1094,7 +1090,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
|
|||||||
// see IAM Best Practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)
|
// see IAM Best Practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Session duration
|
// # Session duration
|
||||||
//
|
//
|
||||||
// The temporary credentials are valid for the specified duration, from 900
|
// The temporary credentials are valid for the specified duration, from 900
|
||||||
// seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours). The default
|
// seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours). The default
|
||||||
@ -1102,15 +1098,15 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
|
|||||||
// by using the Amazon Web Services account root user credentials have a maximum
|
// by using the Amazon Web Services account root user credentials have a maximum
|
||||||
// duration of 3,600 seconds (1 hour).
|
// duration of 3,600 seconds (1 hour).
|
||||||
//
|
//
|
||||||
// Permissions
|
// # Permissions
|
||||||
//
|
//
|
||||||
// You can use the temporary credentials created by GetFederationToken in any
|
// You can use the temporary credentials created by GetFederationToken in any
|
||||||
// Amazon Web Services service except the following:
|
// Amazon Web Services service except the following:
|
||||||
//
|
//
|
||||||
// * You cannot call any IAM operations using the CLI or the Amazon Web Services
|
// - You cannot call any IAM operations using the CLI or the Amazon Web Services
|
||||||
// API.
|
// API.
|
||||||
//
|
//
|
||||||
// * You cannot call any STS operations except GetCallerIdentity.
|
// - You cannot call any STS operations except GetCallerIdentity.
|
||||||
//
|
//
|
||||||
// You must pass an inline or managed session policy (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
|
// You must pass an inline or managed session policy (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session)
|
||||||
// to this operation. You can pass a single JSON policy document to use as an
|
// to this operation. You can pass a single JSON policy document to use as an
|
||||||
@ -1136,7 +1132,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
|
|||||||
// by the policy. These permissions are granted in addition to the permissions
|
// by the policy. These permissions are granted in addition to the permissions
|
||||||
// granted by the session policies.
|
// granted by the session policies.
|
||||||
//
|
//
|
||||||
// Tags
|
// # Tags
|
||||||
//
|
//
|
||||||
// (Optional) You can pass tag key-value pairs to your session. These are called
|
// (Optional) You can pass tag key-value pairs to your session. These are called
|
||||||
// session tags. For more information about session tags, see Passing Session
|
// session tags. For more information about session tags, see Passing Session
|
||||||
@ -1172,11 +1168,12 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
|
|||||||
// API operation GetFederationToken for usage and error information.
|
// API operation GetFederationToken for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Codes:
|
// Returned Error Codes:
|
||||||
// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
//
|
||||||
|
// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument"
|
||||||
// The request was rejected because the policy document was malformed. The error
|
// The request was rejected because the policy document was malformed. The error
|
||||||
// message describes the specific error.
|
// message describes the specific error.
|
||||||
//
|
//
|
||||||
// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge"
|
||||||
// The request was rejected because the total packed size of the session policies
|
// The request was rejected because the total packed size of the session policies
|
||||||
// and session tags combined was too large. An Amazon Web Services conversion
|
// and session tags combined was too large. An Amazon Web Services conversion
|
||||||
// compresses the session policy document, session policy ARNs, and session
|
// compresses the session policy document, session policy ARNs, and session
|
||||||
@ -1190,7 +1187,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re
|
|||||||
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// * ErrCodeRegionDisabledException "RegionDisabledException"
|
// - ErrCodeRegionDisabledException "RegionDisabledException"
|
||||||
// STS is not activated in the requested region for the account that is being
|
// STS is not activated in the requested region for the account that is being
|
||||||
// asked to generate credentials. The account administrator must use the IAM
|
// asked to generate credentials. The account administrator must use the IAM
|
||||||
// console to activate STS in that region. For more information, see Activating
|
// console to activate STS in that region. For more information, see Activating
|
||||||
@ -1236,7 +1233,6 @@ const opGetSessionToken = "GetSessionToken"
|
|||||||
// This method is useful when you want to inject custom logic or configuration
|
// This method is useful when you want to inject custom logic or configuration
|
||||||
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
|
||||||
//
|
//
|
||||||
//
|
|
||||||
// // Example sending a request using the GetSessionTokenRequest method.
|
// // Example sending a request using the GetSessionTokenRequest method.
|
||||||
// req, resp := client.GetSessionTokenRequest(params)
|
// req, resp := client.GetSessionTokenRequest(params)
|
||||||
//
|
//
|
||||||
@ -1285,7 +1281,7 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.
|
|||||||
// see Permissions for GetSessionToken (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html)
|
// see Permissions for GetSessionToken (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// Session Duration
|
// # Session Duration
|
||||||
//
|
//
|
||||||
// The GetSessionToken operation must be called by using the long-term Amazon
|
// The GetSessionToken operation must be called by using the long-term Amazon
|
||||||
// Web Services security credentials of the Amazon Web Services account root
|
// Web Services security credentials of the Amazon Web Services account root
|
||||||
@ -1296,15 +1292,15 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.
|
|||||||
// range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a
|
// range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a
|
||||||
// default of 1 hour.
|
// default of 1 hour.
|
||||||
//
|
//
|
||||||
// Permissions
|
// # Permissions
|
||||||
//
|
//
|
||||||
// The temporary security credentials created by GetSessionToken can be used
|
// The temporary security credentials created by GetSessionToken can be used
|
||||||
// to make API calls to any Amazon Web Services service with the following exceptions:
|
// to make API calls to any Amazon Web Services service with the following exceptions:
|
||||||
//
|
//
|
||||||
// * You cannot call any IAM API operations unless MFA authentication information
|
// - You cannot call any IAM API operations unless MFA authentication information
|
||||||
// is included in the request.
|
// is included in the request.
|
||||||
//
|
//
|
||||||
// * You cannot call any STS API except AssumeRole or GetCallerIdentity.
|
// - You cannot call any STS API except AssumeRole or GetCallerIdentity.
|
||||||
//
|
//
|
||||||
// We recommend that you do not call GetSessionToken with Amazon Web Services
|
// We recommend that you do not call GetSessionToken with Amazon Web Services
|
||||||
// account root user credentials. Instead, follow our best practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#create-iam-users)
|
// account root user credentials. Instead, follow our best practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#create-iam-users)
|
||||||
@ -1330,7 +1326,7 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.
|
|||||||
// API operation GetSessionToken for usage and error information.
|
// API operation GetSessionToken for usage and error information.
|
||||||
//
|
//
|
||||||
// Returned Error Codes:
|
// Returned Error Codes:
|
||||||
// * ErrCodeRegionDisabledException "RegionDisabledException"
|
// - ErrCodeRegionDisabledException "RegionDisabledException"
|
||||||
// STS is not activated in the requested region for the account that is being
|
// STS is not activated in the requested region for the account that is being
|
||||||
// asked to generate credentials. The account administrator must use the IAM
|
// asked to generate credentials. The account administrator must use the IAM
|
||||||
// console to activate STS in that region. For more information, see Activating
|
// console to activate STS in that region. For more information, see Activating
|
||||||
|
2
vendor/github.com/aws/aws-sdk-go/service/sts/doc.go
generated
vendored
2
vendor/github.com/aws/aws-sdk-go/service/sts/doc.go
generated
vendored
@ -14,7 +14,7 @@
|
|||||||
// See sts package documentation for more information.
|
// See sts package documentation for more information.
|
||||||
// https://docs.aws.amazon.com/sdk-for-go/api/service/sts/
|
// https://docs.aws.amazon.com/sdk-for-go/api/service/sts/
|
||||||
//
|
//
|
||||||
// Using the Client
|
// # Using the Client
|
||||||
//
|
//
|
||||||
// To contact AWS Security Token Service with the SDK use the New function to create
|
// To contact AWS Security Token Service with the SDK use the New function to create
|
||||||
// a new service client. With that client you can make API requests to the service.
|
// a new service client. With that client you can make API requests to the service.
|
||||||
|
1
vendor/github.com/aws/aws-sdk-go/service/sts/service.go
generated
vendored
1
vendor/github.com/aws/aws-sdk-go/service/sts/service.go
generated
vendored
@ -39,6 +39,7 @@ const (
|
|||||||
// aws.Config parameter to add your extra config.
|
// aws.Config parameter to add your extra config.
|
||||||
//
|
//
|
||||||
// Example:
|
// Example:
|
||||||
|
//
|
||||||
// mySession := session.Must(session.NewSession())
|
// mySession := session.Must(session.NewSession())
|
||||||
//
|
//
|
||||||
// // Create a STS client from just a session.
|
// // Create a STS client from just a session.
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -20,7 +20,7 @@ github.com/armon/go-metrics
|
|||||||
# github.com/armon/go-radix v1.0.0
|
# github.com/armon/go-radix v1.0.0
|
||||||
## explicit
|
## explicit
|
||||||
github.com/armon/go-radix
|
github.com/armon/go-radix
|
||||||
# github.com/aws/aws-sdk-go v1.44.67
|
# github.com/aws/aws-sdk-go v1.44.82
|
||||||
## explicit; go 1.11
|
## explicit; go 1.11
|
||||||
github.com/aws/aws-sdk-go/aws
|
github.com/aws/aws-sdk-go/aws
|
||||||
github.com/aws/aws-sdk-go/aws/awserr
|
github.com/aws/aws-sdk-go/aws/awserr
|
||||||
|
Loading…
Reference in New Issue
Block a user