Update Go AWS SDK to the latest version

This commit is contained in:
Andrey Smirnov
2019-07-13 00:03:55 +03:00
committed by Andrey Smirnov
parent d08be990ef
commit 94a72b23ff
2183 changed files with 885887 additions and 228114 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
+383 -2
View File
@@ -267,7 +267,7 @@
"CreateRole": [
{
"input": {
"AssumeRolePolicyDocument": "<URL-encoded-JSON>",
"AssumeRolePolicyDocument": "<Stringified-JSON>",
"Path": "/",
"RoleName": "Test-Role"
},
@@ -287,7 +287,7 @@
"output": {
}
},
"description": "The following command creates a role named Test-Role and attaches a trust policy to it that is provided as a URL-encoded JSON string.",
"description": "The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.",
"id": "eaaa4b5f-51f1-4f73-b0d3-30127040eff8",
"title": "To create an IAM role"
}
@@ -511,6 +511,44 @@
"title": "To remove a virtual MFA device"
}
],
"GenerateOrganizationsAccessReport": [
{
"input": {
"EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example"
},
"output": {
"JobId": "examplea-1234-b567-cde8-90fg123abcd4"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation generates a report for the organizational unit ou-rge0-awexample",
"id": "generateorganizationsaccessreport-ou",
"title": "To generate a service last accessed data report for an organizational unit"
}
],
"GenerateServiceLastAccessedDetails": [
{
"input": {
"Arn": "arn:aws:iam::123456789012:policy/ExamplePolicy1"
},
"output": {
"JobId": "examplef-1305-c245-eba4-71fe298bcda7"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation generates a report for the policy: ExamplePolicy1",
"id": "generateaccessdata-policy-1541695178514",
"title": "To generate a service last accessed data report for a policy"
}
],
"GetAccountPasswordPolicy": [
{
"output": {
@@ -549,6 +587,7 @@
"AttachedPoliciesPerGroupQuota": 10,
"AttachedPoliciesPerRoleQuota": 10,
"AttachedPoliciesPerUserQuota": 10,
"GlobalEndpointTokenVersion": 2,
"GroupPolicySizeQuota": 5120,
"Groups": 15,
"GroupsPerUserQuota": 10,
@@ -637,6 +676,53 @@
"title": "To get password information for an IAM user"
}
],
"GetOrganizationsAccessReport": [
{
"input": {
"JobId": "examplea-1234-b567-cde8-90fg123abcd4"
},
"output": {
"AccessDetails": [
{
"EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example/111122223333",
"LastAuthenticatedTime": "2019-05-25T16:29:52Z",
"Region": "us-east-1",
"ServiceName": "Amazon DynamoDB",
"ServiceNamespace": "dynamodb",
"TotalAuthenticatedEntities": 2
},
{
"EntityPath": "o-a1b2c3d4e5/r-f6g7h8i9j0example/ou-1a2b3c-k9l8m7n6o5example/123456789012",
"LastAuthenticatedTime": "2019-06-15T13:12:06Z",
"Region": "us-east-1",
"ServiceName": "AWS Identity and Access Management",
"ServiceNamespace": "iam",
"TotalAuthenticatedEntities": 4
},
{
"ServiceName": "Amazon Simple Storage Service",
"ServiceNamespace": "s3",
"TotalAuthenticatedEntities": 0
}
],
"IsTruncated": false,
"JobCompletionDate": "2019-06-18T19:47:35.241Z",
"JobCreationDate": "2019-06-18T19:47:31.466Z",
"JobStatus": "COMPLETED",
"NumberOfServicesAccessible": 3,
"NumberOfServicesNotAccessed": 1
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation gets details about the report with the job ID: examplea-1234-b567-cde8-90fg123abcd4",
"id": "getorganizationsaccessreport-ou",
"title": "To get details from a previously generated organizational unit report"
}
],
"GetRole": [
{
"input": {
@@ -663,6 +749,86 @@
"title": "To get information about an IAM role"
}
],
"GetServiceLastAccessedDetails": [
{
"input": {
"JobId": "examplef-1305-c245-eba4-71fe298bcda7"
},
"output": {
"IsTruncated": false,
"JobCompletionDate": "2018-10-24T19:47:35.241Z",
"JobCreationDate": "2018-10-24T19:47:31.466Z",
"JobStatus": "COMPLETED",
"ServicesLastAccessed": [
{
"LastAuthenticated": "2018-10-24T19:11:00Z",
"LastAuthenticatedEntity": "arn:aws:iam::123456789012:user/AWSExampleUser01",
"ServiceName": "AWS Identity and Access Management",
"ServiceNamespace": "iam",
"TotalAuthenticatedEntities": 2
},
{
"ServiceName": "Amazon Simple Storage Service",
"ServiceNamespace": "s3",
"TotalAuthenticatedEntities": 0
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation gets details about the report with the job ID: examplef-1305-c245-eba4-71fe298bcda7",
"id": "getserviceaccessdetails-policy-1541696298085",
"title": "To get details from a previously-generated report"
}
],
"GetServiceLastAccessedDetailsWithEntities": [
{
"input": {
"JobId": "examplef-1305-c245-eba4-71fe298bcda7",
"ServiceNamespace": "iam"
},
"output": {
"EntityDetailsList": [
{
"EntityInfo": {
"Arn": "arn:aws:iam::123456789012:user/AWSExampleUser01",
"Id": "AIDAEX2EXAMPLEB6IGCDC",
"Name": "AWSExampleUser01",
"Path": "/",
"Type": "USER"
},
"LastAuthenticated": "2018-10-24T19:10:00Z"
},
{
"EntityInfo": {
"Arn": "arn:aws:iam::123456789012:role/AWSExampleRole01",
"Id": "AROAEAEXAMPLEIANXSIU4",
"Name": "AWSExampleRole01",
"Path": "/",
"Type": "ROLE"
}
}
],
"IsTruncated": false,
"JobCompletionDate": "2018-10-24T19:47:35.241Z",
"JobCreationDate": "2018-10-24T19:47:31.466Z",
"JobStatus": "COMPLETED"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation returns details about the entities that attempted to access the IAM service.",
"id": "getserviceaccessdetailsentity-policy-1541697621384",
"title": "To get sntity details from a previously-generated report"
}
],
"GetUser": [
{
"input": {
@@ -836,6 +1002,86 @@
"title": "To list the groups that an IAM user belongs to"
}
],
"ListPoliciesGrantingServiceAccess": [
{
"input": {
"Arn": "arn:aws:iam::123456789012:user/ExampleUser01",
"ServiceNamespaces": [
"iam",
"ec2"
]
},
"output": {
"IsTruncated": false,
"PoliciesGrantingServiceAccess": [
{
"Policies": [
{
"PolicyArn": "arn:aws:iam::123456789012:policy/ExampleIamPolicy",
"PolicyName": "ExampleIamPolicy",
"PolicyType": "MANAGED"
},
{
"EntityName": "AWSExampleGroup1",
"EntityType": "GROUP",
"PolicyName": "ExampleGroup1Policy",
"PolicyType": "INLINE"
}
],
"ServiceNamespace": "iam"
},
{
"Policies": [
{
"PolicyArn": "arn:aws:iam::123456789012:policy/ExampleEc2Policy",
"PolicyName": "ExampleEc2Policy",
"PolicyType": "MANAGED"
}
],
"ServiceNamespace": "ec2"
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following operation lists policies that allow ExampleUser01 to access IAM or EC2.",
"id": "listpoliciesaccess-user-1541698749508",
"title": "To list policies that allow access to a service"
}
],
"ListRoleTags": [
{
"input": {
"RoleName": "taggedrole1"
},
"output": {
"IsTruncated": false,
"Tags": [
{
"Key": "Dept",
"Value": "12345"
},
{
"Key": "Team",
"Value": "Accounting"
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example shows how to list the tags attached to a role.",
"id": "to-list-the-tags-attached-to-an-iam-role-1506719238376",
"title": "To list the tags attached to an IAM role"
}
],
"ListSigningCertificates": [
{
"input": {
@@ -863,6 +1109,35 @@
"title": "To list the signing certificates for an IAM user"
}
],
"ListUserTags": [
{
"input": {
"UserName": "anika"
},
"output": {
"IsTruncated": false,
"Tags": [
{
"Key": "Dept",
"Value": "12345"
},
{
"Key": "Team",
"Value": "Accounting"
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example shows how to list the tags attached to a user.",
"id": "to-list-the-tags-attached-to-an-iam-user-1506719473186",
"title": "To list the tags attached to an IAM user"
}
],
"ListUsers": [
{
"input": {
@@ -1011,6 +1286,112 @@
"title": "To remove a user from an IAM group"
}
],
"SetSecurityTokenServicePreferences": [
{
"input": {
"GlobalEndpointTokenVersion": "v2Token"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following command sets the STS global endpoint token to version 2. Version 2 tokens are valid in all Regions.",
"id": "61a785a7-d30a-415a-ae18-ab9236e56871",
"title": "To delete an access key for an IAM user"
}
],
"TagRole": [
{
"input": {
"RoleName": "taggedrole",
"Tags": [
{
"Key": "Dept",
"Value": "Accounting"
},
{
"Key": "CostCenter",
"Value": "12345"
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example shows how to add tags to an existing role.",
"id": "to-add-a-tag-key-and-value-to-an-iam-role-1506718791513",
"title": "To add a tag key and value to an IAM role"
}
],
"TagUser": [
{
"input": {
"Tags": [
{
"Key": "Dept",
"Value": "Accounting"
},
{
"Key": "CostCenter",
"Value": "12345"
}
],
"UserName": "anika"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example shows how to add tags to an existing user.",
"id": "to-add-a-tag-key-and-value-to-an-iam-user-1506719044227",
"title": "To add a tag key and value to an IAM user"
}
],
"UntagRole": [
{
"input": {
"RoleName": "taggedrole",
"TagKeys": [
"Dept"
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example shows how to remove a tag with the key 'Dept' from a role named 'taggedrole'.",
"id": "to-remove-a-tag-from-an-iam-role-1506719589943",
"title": "To remove a tag from an IAM role"
}
],
"UntagUser": [
{
"input": {
"TagKeys": [
"Dept"
],
"UserName": "anika"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example shows how to remove tags that are attached to a user named 'anika'.",
"id": "to-remove-a-tag-from-an-iam-user-1506719725554",
"title": "To remove a tag from an IAM user"
}
],
"UpdateAccessKey": [
{
"input": {
@@ -34,6 +34,40 @@
"expected": "NoSuchEntity"
}
]
},
"RoleExists": {
"delay": 1,
"operation": "GetRole",
"maxAttempts": 20,
"acceptors": [
{
"state": "success",
"matcher": "status",
"expected": 200
},
{
"state": "retry",
"matcher": "error",
"expected": "NoSuchEntity"
}
]
},
"PolicyExists": {
"delay": 1,
"operation": "GetPolicy",
"maxAttempts": 20,
"acceptors": [
{
"state": "success",
"matcher": "status",
"expected": 200
},
{
"state": "retry",
"matcher": "error",
"expected": "NoSuchEntity"
}
]
}
}
}