From 42e695f059bd0433283bf4e8bd269e2b297c967c Mon Sep 17 00:00:00 2001
From: awssdkgo
Date: Wed, 25 Oct 2023 20:37:18 +0000
Subject: [PATCH] Release v1.46.4 (2023-10-25) ===
### Service Client Updates
* `service/connectcases`: Updates service API and documentation
* `service/groundstation`: Updates service API and documentation
* `service/iam`: Updates service API and documentation
* Updates to GetAccessKeyLastUsed action to replace NoSuchEntity error with AccessDeniedException error.
---
CHANGELOG.md | 9 +
aws/version.go | 2 +-
.../apis/connectcases/2022-10-03/api-2.json | 4 +-
.../apis/connectcases/2022-10-03/docs-2.json | 6 +-
.../2022-10-03/endpoint-rule-set-1.json | 64 +--
.../2022-10-03/endpoint-tests-1.json | 123 +++---
.../apis/groundstation/2019-05-23/api-2.json | 7 +
.../apis/groundstation/2019-05-23/docs-2.json | 6 +
.../2019-05-23/endpoint-rule-set-1.json | 366 ++++++++----------
models/apis/iam/2010-05-08/api-2.json | 5 +-
models/apis/iam/2010-05-08/docs-2.json | 4 +-
service/connectcases/api.go | 12 +-
service/groundstation/api.go | 12 +
service/iam/api.go | 18 +-
14 files changed, 326 insertions(+), 312 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cd659ca3786..feed38c4198 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+Release v1.46.4 (2023-10-25)
+===
+
+### Service Client Updates
+* `service/connectcases`: Updates service API and documentation
+* `service/groundstation`: Updates service API and documentation
+* `service/iam`: Updates service API and documentation
+ * Updates to GetAccessKeyLastUsed action to replace NoSuchEntity error with AccessDeniedException error.
+
Release v1.46.3 (2023-10-24)
===
diff --git a/aws/version.go b/aws/version.go
index 2a896f2b957..742791a3cbb 100644
--- a/aws/version.go
+++ b/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.46.3"
+const SDKVersion = "1.46.4"
diff --git a/models/apis/connectcases/2022-10-03/api-2.json b/models/apis/connectcases/2022-10-03/api-2.json
index c81ee3cf981..8a35cd28a5b 100644
--- a/models/apis/connectcases/2022-10-03/api-2.json
+++ b/models/apis/connectcases/2022-10-03/api-2.json
@@ -728,7 +728,7 @@
},
"CommentBody":{
"type":"string",
- "max":1000,
+ "max":3000,
"min":1
},
"CommentBodyTextType":{
@@ -1252,7 +1252,7 @@
},
"FieldValueUnionStringValueString":{
"type":"string",
- "max":500,
+ "max":1500,
"min":0
},
"GetCaseEventConfigurationRequest":{
diff --git a/models/apis/connectcases/2022-10-03/docs-2.json b/models/apis/connectcases/2022-10-03/docs-2.json
index a8f3a8e30b1..b059f040753 100644
--- a/models/apis/connectcases/2022-10-03/docs-2.json
+++ b/models/apis/connectcases/2022-10-03/docs-2.json
@@ -4,7 +4,7 @@
"operations": {
"BatchGetField": "Returns the description for the list of fields in the request parameters.
",
"BatchPutFieldOptions": "Creates and updates a set of field options for a single select field in a Cases domain.
",
- "CreateCase": "Creates a case in the specified Cases domain. Case system and custom fields are taken as an array id/value pairs with a declared data types.
The following fields are required when creating a case:
<ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your AWS Region:your AWS account ID:domains/profiles domain name/profiles/profile ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul> </note>
",
+ "CreateCase": "Creates a case in the specified Cases domain. Case system and custom fields are taken as an array id/value pairs with a declared data types.
The following fields are required when creating a case:
<ul> <li> <p> <code>customer_id</code> - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your_AWS_Region:your_AWS_account ID:domains/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul>
",
"CreateDomain": "Creates a domain, which is a container for all case data, such as cases, fields, templates and layouts. Each Amazon Connect instance can be associated with only one Cases domain.
This will not associate your connect instance to Cases domain. Instead, use the Amazon Connect CreateIntegrationAssociation API. You need specific IAM permissions to successfully associate the Cases domain. For more information, see Onboard to Cases.
</important>
",
"CreateField": "Creates a field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.
",
"CreateLayout": "Creates a layout in the Cases domain. Layouts define the following configuration in the top section and More Info tab of the Cases user interface:
Title and Status fields cannot be part of layouts since they are not configurable.
",
@@ -23,7 +23,7 @@
"ListLayouts": "Lists all layouts in the given cases domain. Each list item is a condensed summary object of the layout.
",
"ListTagsForResource": "Lists tags for a resource.
",
"ListTemplates": "Lists all of the templates in a Cases domain. Each list item is a condensed summary object of the template.
",
- "PutCaseEventConfiguration": "API for adding case event publishing configuration
",
+ "PutCaseEventConfiguration": "Adds case event publishing configuration. For a complete list of fields you can add to the event message, see Create case fields in the Amazon Connect Administrator Guide
",
"SearchCases": "Searches for cases within their associated Cases domain. Search results are returned as a paginated list of abridged case documents.
For customer_id
you must provide the full customer profile ARN in this format: arn:aws:profile:your AWS Region:your AWS account ID:domains/profiles domain name/profiles/profile ID
.
",
"SearchRelatedItems": "Searches for related items that are associated with a case.
If no filters are provided, this returns all related items associated with a case.
",
"TagResource": "Adds tags to a resource.
",
@@ -699,7 +699,7 @@
"refs": {
"CreateLayoutRequest$content": "Information about which fields will be present in the layout, and information about the order of the fields.
",
"GetLayoutResponse$content": "Information about which fields will be present in the layout, the order of the fields, and read-only attribute of the field.
",
- "UpdateLayoutRequest$content": "Information about which fields will be present in the layout, the order of the fields, and a read-only attribute of the field.
"
+ "UpdateLayoutRequest$content": "Information about which fields will be present in the layout, the order of the fields.
"
}
},
"LayoutId": {
diff --git a/models/apis/connectcases/2022-10-03/endpoint-rule-set-1.json b/models/apis/connectcases/2022-10-03/endpoint-rule-set-1.json
index db1b8a5d690..010cf2720c7 100644
--- a/models/apis/connectcases/2022-10-03/endpoint-rule-set-1.json
+++ b/models/apis/connectcases/2022-10-03/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -59,7 +58,6 @@
},
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -87,13 +85,14 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -106,7 +105,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -120,7 +118,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -143,7 +140,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -178,11 +174,9 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -193,16 +187,19 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -216,14 +213,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -232,15 +227,14 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -251,16 +245,19 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -274,7 +271,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -294,11 +290,9 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -309,20 +303,22 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -333,18 +329,22 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
}
]
}
\ No newline at end of file
diff --git a/models/apis/connectcases/2022-10-03/endpoint-tests-1.json b/models/apis/connectcases/2022-10-03/endpoint-tests-1.json
index 5b806555c80..75768bc0932 100644
--- a/models/apis/connectcases/2022-10-03/endpoint-tests-1.json
+++ b/models/apis/connectcases/2022-10-03/endpoint-tests-1.json
@@ -1,54 +1,54 @@
{
"testCases": [
{
- "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://cases-fips.us-gov-east-1.api.aws"
+ "url": "https://cases-fips.us-east-1.api.aws"
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": true,
- "Region": "us-gov-east-1",
"UseDualStack": true
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://cases-fips.us-gov-east-1.amazonaws.com"
+ "url": "https://cases-fips.us-east-1.amazonaws.com"
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": true,
- "Region": "us-gov-east-1",
"UseDualStack": false
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://cases.us-gov-east-1.api.aws"
+ "url": "https://cases.us-east-1.api.aws"
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": false,
- "Region": "us-gov-east-1",
"UseDualStack": true
}
},
{
- "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://cases.us-gov-east-1.amazonaws.com"
+ "url": "https://cases.us-east-1.amazonaws.com"
}
},
"params": {
+ "Region": "us-east-1",
"UseFIPS": false,
- "Region": "us-gov-east-1",
"UseDualStack": false
}
},
@@ -60,8 +60,8 @@
}
},
"params": {
- "UseFIPS": true,
"Region": "cn-north-1",
+ "UseFIPS": true,
"UseDualStack": true
}
},
@@ -73,8 +73,8 @@
}
},
"params": {
- "UseFIPS": true,
"Region": "cn-north-1",
+ "UseFIPS": true,
"UseDualStack": false
}
},
@@ -86,8 +86,8 @@
}
},
"params": {
- "UseFIPS": false,
"Region": "cn-north-1",
+ "UseFIPS": false,
"UseDualStack": true
}
},
@@ -99,108 +99,108 @@
}
},
"params": {
- "UseFIPS": false,
"Region": "cn-north-1",
+ "UseFIPS": false,
"UseDualStack": false
}
},
{
- "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
+ "endpoint": {
+ "url": "https://cases-fips.us-gov-east-1.api.aws"
+ }
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": true,
- "Region": "us-iso-east-1",
"UseDualStack": true
}
},
{
- "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://cases-fips.us-iso-east-1.c2s.ic.gov"
+ "url": "https://cases-fips.us-gov-east-1.amazonaws.com"
}
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": true,
- "Region": "us-iso-east-1",
"UseDualStack": false
}
},
{
- "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
- "error": "DualStack is enabled but this partition does not support DualStack"
+ "endpoint": {
+ "url": "https://cases.us-gov-east-1.api.aws"
+ }
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": false,
- "Region": "us-iso-east-1",
"UseDualStack": true
}
},
{
- "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://cases.us-iso-east-1.c2s.ic.gov"
+ "url": "https://cases.us-gov-east-1.amazonaws.com"
}
},
"params": {
+ "Region": "us-gov-east-1",
"UseFIPS": false,
- "Region": "us-iso-east-1",
"UseDualStack": false
}
},
{
- "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
"expect": {
- "endpoint": {
- "url": "https://cases-fips.us-east-1.api.aws"
- }
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": true,
- "Region": "us-east-1",
"UseDualStack": true
}
},
{
- "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
+ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://cases-fips.us-east-1.amazonaws.com"
+ "url": "https://cases-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": true,
- "Region": "us-east-1",
"UseDualStack": false
}
},
{
- "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
"expect": {
- "endpoint": {
- "url": "https://cases.us-east-1.api.aws"
- }
+ "error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": false,
- "Region": "us-east-1",
"UseDualStack": true
}
},
{
- "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
+ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://cases.us-east-1.amazonaws.com"
+ "url": "https://cases.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
+ "Region": "us-iso-east-1",
"UseFIPS": false,
- "Region": "us-east-1",
"UseDualStack": false
}
},
@@ -210,8 +210,8 @@
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
- "UseFIPS": true,
"Region": "us-isob-east-1",
+ "UseFIPS": true,
"UseDualStack": true
}
},
@@ -223,8 +223,8 @@
}
},
"params": {
- "UseFIPS": true,
"Region": "us-isob-east-1",
+ "UseFIPS": true,
"UseDualStack": false
}
},
@@ -234,8 +234,8 @@
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
- "UseFIPS": false,
"Region": "us-isob-east-1",
+ "UseFIPS": false,
"UseDualStack": true
}
},
@@ -247,21 +247,34 @@
}
},
"params": {
- "UseFIPS": false,
"Region": "us-isob-east-1",
+ "UseFIPS": false,
"UseDualStack": false
}
},
{
- "documentation": "For custom endpoint with fips disabled and dualstack disabled",
+ "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
- "UseFIPS": false,
"Region": "us-east-1",
+ "UseFIPS": false,
+ "UseDualStack": false,
+ "Endpoint": "https://example.com"
+ }
+ },
+ {
+ "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
+ "expect": {
+ "endpoint": {
+ "url": "https://example.com"
+ }
+ },
+ "params": {
+ "UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
@@ -272,8 +285,8 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
- "UseFIPS": true,
"Region": "us-east-1",
+ "UseFIPS": true,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
@@ -284,11 +297,17 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
- "UseFIPS": false,
"Region": "us-east-1",
+ "UseFIPS": false,
"UseDualStack": true,
"Endpoint": "https://example.com"
}
+ },
+ {
+ "documentation": "Missing region",
+ "expect": {
+ "error": "Invalid Configuration: Missing Region"
+ }
}
],
"version": "1.0"
diff --git a/models/apis/groundstation/2019-05-23/api-2.json b/models/apis/groundstation/2019-05-23/api-2.json
index ea93a04af49..0b71503dbef 100644
--- a/models/apis/groundstation/2019-05-23/api-2.json
+++ b/models/apis/groundstation/2019-05-23/api-2.json
@@ -1570,11 +1570,18 @@
"min":1,
"pattern":"^arn:aws[a-zA-Z-]{0,16}:kms:[a-z]{2}(-[a-z]{1,16}){1,3}-\\d{1}:\\d{12}:((alias/[a-zA-Z0-9:/_-]{1,256}))$"
},
+ "KeyAliasName":{
+ "type":"string",
+ "max":256,
+ "min":1,
+ "pattern":"^alias/[a-zA-Z0-9:/_-]+$"
+ },
"KeyArn":{"type":"string"},
"KmsKey":{
"type":"structure",
"members":{
"kmsAliasArn":{"shape":"KeyAliasArn"},
+ "kmsAliasName":{"shape":"KeyAliasName"},
"kmsKeyArn":{"shape":"KeyArn"}
},
"union":true
diff --git a/models/apis/groundstation/2019-05-23/docs-2.json b/models/apis/groundstation/2019-05-23/docs-2.json
index ccab6c2f80f..3c28b78a241 100644
--- a/models/apis/groundstation/2019-05-23/docs-2.json
+++ b/models/apis/groundstation/2019-05-23/docs-2.json
@@ -790,6 +790,12 @@
"KmsKey$kmsAliasArn": "KMS Alias Arn.
"
}
},
+ "KeyAliasName": {
+ "base": null,
+ "refs": {
+ "KmsKey$kmsAliasName": "KMS Alias Name.
"
+ }
+ },
"KeyArn": {
"base": null,
"refs": {
diff --git a/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json b/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json
index 56c7bc1bf50..8ced52c965c 100644
--- a/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json
+++ b/models/apis/groundstation/2019-05-23/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -58,293 +57,258 @@
"type": "error"
},
{
- "conditions": [],
- "type": "tree",
- "rules": [
+ "conditions": [
{
- "conditions": [
+ "fn": "booleanEquals",
+ "argv": [
{
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
- },
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
+ "ref": "UseDualStack"
},
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
+ true
+ ]
}
- ]
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
- "conditions": [],
- "type": "tree",
+ "conditions": [
+ {
+ "fn": "isSet",
+ "argv": [
+ {
+ "ref": "Region"
+ }
+ ]
+ }
+ ],
"rules": [
{
"conditions": [
{
- "fn": "isSet",
+ "fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
- ]
+ ],
+ "assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
- "fn": "aws.partition",
+ "fn": "booleanEquals",
"argv": [
{
- "ref": "Region"
- }
- ],
- "assign": "PartitionResult"
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseFIPS"
- },
- true
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
]
},
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
+ "fn": "getAttr",
"argv": [
- true,
{
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- },
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
]
}
]
- },
+ }
+ ],
+ "rules": [
{
"conditions": [],
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
- "type": "error"
+ "endpoint": {
+ "url": "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
- "ref": "UseFIPS"
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
},
true
]
}
],
- "type": "tree",
"rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- }
- ]
- },
{
"conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
+ "endpoint": {
+ "url": "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
+ true,
{
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
+ "fn": "getAttr",
"argv": [
- true,
{
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
]
}
]
- },
- {
- "conditions": [],
- "error": "DualStack is enabled but this partition does not support DualStack",
- "type": "error"
}
- ]
- },
- {
- "conditions": [],
- "type": "tree",
+ ],
"rules": [
{
"conditions": [],
"endpoint": {
- "url": "https://groundstation.{Region}.{PartitionResult#dnsSuffix}",
+ "url": "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://groundstation.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
}
- ]
- },
- {
- "conditions": [],
- "error": "Invalid Configuration: Missing Region",
- "type": "error"
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
}
]
}
\ No newline at end of file
diff --git a/models/apis/iam/2010-05-08/api-2.json b/models/apis/iam/2010-05-08/api-2.json
index 58b498a46c6..9e66fed902c 100644
--- a/models/apis/iam/2010-05-08/api-2.json
+++ b/models/apis/iam/2010-05-08/api-2.json
@@ -822,10 +822,7 @@
"output":{
"shape":"GetAccessKeyLastUsedResponse",
"resultWrapper":"GetAccessKeyLastUsedResult"
- },
- "errors":[
- {"shape":"NoSuchEntityException"}
- ]
+ }
},
"GetAccountAuthorizationDetails":{
"name":"GetAccountAuthorizationDetails",
diff --git a/models/apis/iam/2010-05-08/docs-2.json b/models/apis/iam/2010-05-08/docs-2.json
index 06ef04d1306..87094c7039d 100644
--- a/models/apis/iam/2010-05-08/docs-2.json
+++ b/models/apis/iam/2010-05-08/docs-2.json
@@ -53,7 +53,7 @@
"EnableMFADevice": "Enables the specified MFA device and associates it with the specified IAM user. When enabled, the MFA device is required for every subsequent login by the IAM user associated with the device.
",
"GenerateCredentialReport": " Generates a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide.
",
"GenerateOrganizationsAccessReport": "Generates a report for service last accessed data for Organizations. You can generate a report for any entities (organization root, organizational unit, or account) or policies in your organization.
To call this operation, you must be signed in using your Organizations management account credentials. You can use your long-term IAM user or root user credentials, or temporary credentials from assuming an IAM role. SCPs must be enabled for your organization root. You must have the required IAM and Organizations permissions. For more information, see Refining permissions using service last accessed data in the IAM User Guide.
You can generate a service last accessed data report for entities by specifying only the entity's path. This data includes a list of services that are allowed by any service control policies (SCPs) that apply to the entity.
You can generate a service last accessed data report for a policy by specifying an entity's path and an optional Organizations policy ID. This data includes a list of services that are allowed by the specified SCP.
For each service in both report types, the data includes the most recent account activity that the policy allows to account principals in the entity or the entity's children. For important information about the data, reporting period, permissions required, troubleshooting, and supported Regions see Reducing permissions using service last accessed data in the IAM User Guide.
The data includes all attempts to access Amazon Web Services, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that an account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide.
This operation returns a JobId
. Use this parameter in the GetOrganizationsAccessReport
operation to check the status of the report generation. To check the status of this request, use the JobId
parameter in the GetOrganizationsAccessReport
operation and test the JobStatus
response parameter. When the job is complete, you can retrieve the report.
To generate a service last accessed data report for entities, specify an entity path without specifying the optional Organizations policy ID. The type of entity that you specify determines the data returned in the report.
-
Root – When you specify the organizations root as the entity, the resulting report lists all of the services allowed by SCPs that are attached to your root. For each service, the report includes data for all accounts in your organization except the management account, because the management account is not limited by SCPs.
-
OU – When you specify an organizational unit (OU) as the entity, the resulting report lists all of the services allowed by SCPs that are attached to the OU and its parents. For each service, the report includes data for all accounts in the OU or its children. This data excludes the management account, because the management account is not limited by SCPs.
-
management account – When you specify the management account, the resulting report lists all Amazon Web Services services, because the management account is not limited by SCPs. For each service, the report includes data for only the management account.
-
Account – When you specify another account as the entity, the resulting report lists all of the services allowed by SCPs that are attached to the account and its parents. For each service, the report includes data for only the specified account.
To generate a service last accessed data report for policies, specify an entity path and the optional Organizations policy ID. The type of entity that you specify determines the data returned for each service.
-
Root – When you specify the root entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for all accounts in your organization to which the SCP applies. This data excludes the management account, because the management account is not limited by SCPs. If the SCP is not attached to any entities in the organization, then the report will return a list of services with no data.
-
OU – When you specify an OU entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for all accounts in the OU or its children to which the SCP applies. This means that other accounts outside the OU that are affected by the SCP might not be included in the data. This data excludes the management account, because the management account is not limited by SCPs. If the SCP is not attached to the OU or one of its children, the report will return a list of services with no data.
-
management account – When you specify the management account, the resulting report lists all Amazon Web Services services, because the management account is not limited by SCPs. If you specify a policy ID in the CLI or API, the policy is ignored. For each service, the report includes data for only the management account.
-
Account – When you specify another account entity and a policy ID, the resulting report lists all of the services that are allowed by the specified SCP. For each service, the report includes data for only the specified account. This means that other accounts in the organization that are affected by the SCP might not be included in the data. If the SCP is not attached to the account, the report will return a list of services with no data.
Service last accessed data does not use other policy types when determining whether a principal could access a service. These other policy types include identity-based policies, resource-based policies, access control lists, IAM permissions boundaries, and STS assume role policies. It only applies SCP logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide.
For more information about service last accessed data, see Reducing policy scope by viewing user activity in the IAM User Guide.
",
- "GenerateServiceLastAccessedDetails": "Generates a report that includes details about when an IAM resource (user, group, role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity usually appears within four hours. IAM reports activity for at least the last 400 days, or less if your Region began supporting this feature within the last year. For more information, see Regions where data is tracked.
The service last accessed data includes all attempts to access an Amazon Web Services API, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that your account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide.
The GenerateServiceLastAccessedDetails
operation returns a JobId
. Use this parameter in the following operations to retrieve the following details from your report:
-
GetServiceLastAccessedDetails – Use this operation for users, groups, roles, or policies to list every Amazon Web Services service that the resource could access using permissions policies. For each service, the response includes information about the most recent access attempt.
The JobId
returned by GenerateServiceLastAccessedDetail
must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail
.
-
GetServiceLastAccessedDetailsWithEntities – Use this operation for groups and policies to list information about the associated entities (users or roles) that attempted to access a specific Amazon Web Services service.
To check the status of the GenerateServiceLastAccessedDetails
request, use the JobId
parameter in the same operations and test the JobStatus
response parameter.
For additional information about the permissions policies that allow an identity (user, group, or role) to access specific services, use the ListPoliciesGrantingServiceAccess operation.
Service last accessed data does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide.
For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the IAM User Guide.
",
+ "GenerateServiceLastAccessedDetails": "Generates a report that includes details about when an IAM resource (user, group, role, or policy) was last used in an attempt to access Amazon Web Services services. Recent activity usually appears within four hours. IAM reports activity for at least the last 400 days, or less if your Region began supporting this feature within the last year. For more information, see Regions where data is tracked. For more information about services and actions for which action last accessed information is displayed, see IAM action last accessed information services and actions.
The service last accessed data includes all attempts to access an Amazon Web Services API, not just the successful ones. This includes all attempts that were made using the Amazon Web Services Management Console, the Amazon Web Services API through any of the SDKs, or any of the command line tools. An unexpected entry in the service last accessed data does not mean that your account has been compromised, because the request might have been denied. Refer to your CloudTrail logs as the authoritative source for information about all API calls and whether they were successful or denied access. For more information, see Logging IAM events with CloudTrail in the IAM User Guide.
The GenerateServiceLastAccessedDetails
operation returns a JobId
. Use this parameter in the following operations to retrieve the following details from your report:
-
GetServiceLastAccessedDetails – Use this operation for users, groups, roles, or policies to list every Amazon Web Services service that the resource could access using permissions policies. For each service, the response includes information about the most recent access attempt.
The JobId
returned by GenerateServiceLastAccessedDetail
must be used by the same role within a session, or by the same user when used to call GetServiceLastAccessedDetail
.
-
GetServiceLastAccessedDetailsWithEntities – Use this operation for groups and policies to list information about the associated entities (users or roles) that attempted to access a specific Amazon Web Services service.
To check the status of the GenerateServiceLastAccessedDetails
request, use the JobId
parameter in the same operations and test the JobStatus
response parameter.
For additional information about the permissions policies that allow an identity (user, group, or role) to access specific services, use the ListPoliciesGrantingServiceAccess operation.
Service last accessed data does not use other policy types when determining whether a resource could access a service. These other policy types include resource-based policies, access control lists, Organizations policies, IAM permissions boundaries, and STS assume role policies. It only applies permissions policy logic. For more about the evaluation of policy types, see Evaluating policies in the IAM User Guide.
For more information about service and action last accessed data, see Reducing permissions using service last accessed data in the IAM User Guide.
",
"GetAccessKeyLastUsed": "Retrieves information about when the specified access key was last used. The information includes the date and time of last use, along with the Amazon Web Services service and Region that were specified in the last request made with that key.
",
"GetAccountAuthorizationDetails": "Retrieves information about all IAM users, groups, roles, and policies in your Amazon Web Services account, including their relationships to one another. Use this operation to obtain a snapshot of the configuration of IAM permissions (users, groups, roles, and policies) in your account.
Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode
method of the java.net.URLDecoder
utility class in the Java SDK. Other languages and SDKs provide similar functionality.
You can optionally filter the results using the Filter
parameter. You can paginate the results using the MaxItems
and Marker
parameters.
",
"GetAccountPasswordPolicy": "Retrieves the password policy for the Amazon Web Services account. This tells you the complexity requirements and mandatory rotation periods for the IAM user passwords in your account. For more information about using a password policy, see Managing an IAM password policy.
",
@@ -80,7 +80,7 @@
"GetServiceLinkedRoleDeletionStatus": "Retrieves the status of your service-linked role deletion. After you use DeleteServiceLinkedRole to submit a service-linked role for deletion, you can use the DeletionTaskId
parameter in GetServiceLinkedRoleDeletionStatus
to check the status of the deletion. If the deletion fails, this operation returns the reason that it failed, if that information is returned by the service.
",
"GetUser": "Retrieves information about the specified IAM user, including the user's creation date, path, unique ID, and ARN.
If you do not specify a user name, IAM determines the user name implicitly based on the Amazon Web Services access key ID used to sign the request to this operation.
",
"GetUserPolicy": "Retrieves the specified inline policy document that is embedded in the specified IAM user.
Policies returned by this operation are URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode
method of the java.net.URLDecoder
utility class in the Java SDK. Other languages and SDKs provide similar functionality.
An IAM user can also have managed policies attached to it. To retrieve a managed policy document that is attached to a user, use GetPolicy to determine the policy's default version. Then use GetPolicyVersion to retrieve the policy document.
For more information about policies, see Managed policies and inline policies in the IAM User Guide.
",
- "ListAccessKeys": "Returns information about the access key IDs associated with the specified IAM user. If there is none, the operation returns an empty list.
Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems
and Marker
parameters.
If the UserName
is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then UserName
is required. If a long-term key is assigned to the user, then UserName
is not required. This operation works for access keys under the Amazon Web Services account. Consequently, you can use this operation to manage Amazon Web Services account root user credentials even if the Amazon Web Services account has no associated users.
To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation.
",
+ "ListAccessKeys": "Returns information about the access key IDs associated with the specified IAM user. If there is none, the operation returns an empty list.
Although each user is limited to a small number of keys, you can still paginate the results using the MaxItems
and Marker
parameters.
If the UserName
is not specified, the user name is determined implicitly based on the Amazon Web Services access key ID used to sign the request. If a temporary access key is used, then UserName
is required. If a long-term key is assigned to the user, then UserName
is not required.
This operation works for access keys under the Amazon Web Services account. If the Amazon Web Services account has no associated users, the root user returns it's own access key IDs by running this command.
To ensure the security of your Amazon Web Services account, the secret access key is accessible only during key and user creation.
",
"ListAccountAliases": "Lists the account alias associated with the Amazon Web Services account (Note: you can have only one). For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
",
"ListAttachedGroupPolicies": "Lists all managed policies that are attached to the specified IAM group.
An IAM group can also have inline policies embedded with it. To list the inline policies for a group, use ListGroupPolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide.
You can paginate the results using the MaxItems
and Marker
parameters. You can use the PathPrefix
parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified group (or none that match the specified path prefix), the operation returns an empty list.
",
"ListAttachedRolePolicies": "Lists all managed policies that are attached to the specified IAM role.
An IAM role can also have inline policies embedded with it. To list the inline policies for a role, use ListRolePolicies. For information about policies, see Managed policies and inline policies in the IAM User Guide.
You can paginate the results using the MaxItems
and Marker
parameters. You can use the PathPrefix
parameter to limit the list of policies to only those matching the specified path prefix. If there are no policies attached to the specified role (or none that match the specified path prefix), the operation returns an empty list.
",
diff --git a/service/connectcases/api.go b/service/connectcases/api.go
index 137cd0bb5ba..09a659f10f2 100644
--- a/service/connectcases/api.go
+++ b/service/connectcases/api.go
@@ -256,9 +256,9 @@ func (c *ConnectCases) CreateCaseRequest(input *CreateCaseInput) (req *request.R
// The following fields are required when creating a case:
//
//
+// profile ARN in this format: arn:aws:profile:your_AWS_Region:your_AWS_account
+// ID:domains/your_profiles_domain_name/profiles/profile_ID
+// title
//
// 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
@@ -2529,7 +2529,9 @@ func (c *ConnectCases) PutCaseEventConfigurationRequest(input *PutCaseEventConfi
// PutCaseEventConfiguration API operation for Amazon Connect Cases.
//
-// # API for adding case event publishing configuration
+// Adds case event publishing configuration. For a complete list of fields you
+// can add to the event message, see Create case fields (https://docs.aws.amazon.com/connect/latest/adminguide/case-fields.html)
+// in the Amazon Connect Administrator Guide
//
// 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
@@ -9612,7 +9614,7 @@ type UpdateLayoutInput struct {
_ struct{} `type:"structure"`
// Information about which fields will be present in the layout, the order of
- // the fields, and a read-only attribute of the field.
+ // the fields.
Content *LayoutContent `locationName:"content" type:"structure"`
// The unique identifier of the Cases domain.
diff --git a/service/groundstation/api.go b/service/groundstation/api.go
index faef9697fae..a1498955885 100644
--- a/service/groundstation/api.go
+++ b/service/groundstation/api.go
@@ -8004,6 +8004,9 @@ type KmsKey struct {
// KMS Alias Arn.
KmsAliasArn *string `locationName:"kmsAliasArn" min:"1" type:"string"`
+ // KMS Alias Name.
+ KmsAliasName *string `locationName:"kmsAliasName" min:"1" type:"string"`
+
// KMS Key Arn.
KmsKeyArn *string `locationName:"kmsKeyArn" type:"string"`
}
@@ -8032,6 +8035,9 @@ func (s *KmsKey) Validate() error {
if s.KmsAliasArn != nil && len(*s.KmsAliasArn) < 1 {
invalidParams.Add(request.NewErrParamMinLen("KmsAliasArn", 1))
}
+ if s.KmsAliasName != nil && len(*s.KmsAliasName) < 1 {
+ invalidParams.Add(request.NewErrParamMinLen("KmsAliasName", 1))
+ }
if invalidParams.Len() > 0 {
return invalidParams
@@ -8045,6 +8051,12 @@ func (s *KmsKey) SetKmsAliasArn(v string) *KmsKey {
return s
}
+// SetKmsAliasName sets the KmsAliasName field's value.
+func (s *KmsKey) SetKmsAliasName(v string) *KmsKey {
+ s.KmsAliasName = &v
+ return s
+}
+
// SetKmsKeyArn sets the KmsKeyArn field's value.
func (s *KmsKey) SetKmsKeyArn(v string) *KmsKey {
s.KmsKeyArn = &v
diff --git a/service/iam/api.go b/service/iam/api.go
index 527ebcddc91..fa9401a0eab 100644
--- a/service/iam/api.go
+++ b/service/iam/api.go
@@ -5476,6 +5476,9 @@ func (c *IAM) GenerateServiceLastAccessedDetailsRequest(input *GenerateServiceLa
// reports activity for at least the last 400 days, or less if your Region began
// supporting this feature within the last year. For more information, see Regions
// where data is tracked (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period).
+// For more information about services and actions for which action last accessed
+// information is displayed, see IAM action last accessed information services
+// and actions (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor-action-last-accessed.html).
//
// The service last accessed data includes all attempts to access an Amazon
// Web Services API, not just the successful ones. This includes all attempts
@@ -5617,12 +5620,6 @@ func (c *IAM) GetAccessKeyLastUsedRequest(input *GetAccessKeyLastUsedInput) (req
//
// See the AWS API reference guide for AWS Identity and Access Management's
// API operation GetAccessKeyLastUsed for usage and error information.
-//
-// Returned Error Codes:
-// - ErrCodeNoSuchEntityException "NoSuchEntity"
-// The request was rejected because it referenced a resource entity that does
-// not exist. The error message describes the resource.
-//
// See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed
func (c *IAM) GetAccessKeyLastUsed(input *GetAccessKeyLastUsedInput) (*GetAccessKeyLastUsedOutput, error) {
req, out := c.GetAccessKeyLastUsedRequest(input)
@@ -8195,10 +8192,11 @@ func (c *IAM) ListAccessKeysRequest(input *ListAccessKeysInput) (req *request.Re
// If the UserName is not specified, the user name is determined implicitly
// based on the Amazon Web Services access key ID used to sign the request.
// If a temporary access key is used, then UserName is required. If a long-term
-// key is assigned to the user, then UserName is not required. This operation
-// works for access keys under the Amazon Web Services account. Consequently,
-// you can use this operation to manage Amazon Web Services account root user
-// credentials even if the Amazon Web Services account has no associated users.
+// key is assigned to the user, then UserName is not required.
+//
+// This operation works for access keys under the Amazon Web Services account.
+// If the Amazon Web Services account has no associated users, the root user
+// returns it's own access key IDs by running this command.
//
// To ensure the security of your Amazon Web Services account, the secret access
// key is accessible only during key and user creation.