Skip to content

Commit eb6912a

Browse files
feat: update AWS API models
1 parent c9fc7e2 commit eb6912a

File tree

11 files changed

+4935
-385
lines changed

11 files changed

+4935
-385
lines changed

codegen/sdk/aws-models/accessanalyzer.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
},
133133
"aws.protocols#restJson1": {},
134134
"smithy.api#cors": {},
135-
"smithy.api#documentation": "<p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external or unused access, you first need to create an analyzer.</p> <p> <b>External access analyzers</b> help identify potential risks of accessing resources by enabling you to identify any resource policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access to your resources before deploying permissions changes.</p> <p> <b>Unused access analyzers</b> help identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.</p> <p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p> <p>This guide describes the IAM Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html\">Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>",
135+
"smithy.api#documentation": "<p>Identity and Access Management Access Analyzer helps you to set, verify, and refine your IAM policies by providing a suite of capabilities. Its features include findings for external, internal, and unused access, basic and custom policy checks for validating policies, and policy generation to generate fine-grained policies. To start using IAM Access Analyzer to identify external, internal, or unused access, you first need to create an analyzer.</p> <p> <b>External access analyzers</b> help you identify potential risks of accessing resources by enabling you to identify any resource policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview public and cross-account access to your resources before deploying permissions changes.</p> <p> <b>Internal access analyzers</b> help you identify which principals within your organization or account have access to selected resources. This analysis supports implementing the principle of least privilege by ensuring that your specified resources can only be accessed by the intended principals within your organization.</p> <p> <b>Unused access analyzers</b> help you identify potential identity access risks by enabling you to identify unused IAM roles, unused access keys, unused console passwords, and IAM principals with unused service and action-level permissions.</p> <p>Beyond findings, IAM Access Analyzer provides basic and custom policy checks to validate IAM policies before deploying permissions changes. You can use policy generation to refine permissions by attaching a policy generated using access activity logged in CloudTrail logs. </p> <p>This guide describes the IAM Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/what-is-access-analyzer.html\">Using Identity and Access Management Access Analyzer</a> in the <b>IAM User Guide</b>.</p>",
136136
"smithy.api#paginated": {
137137
"inputToken": "nextToken",
138138
"outputToken": "nextToken",
@@ -1890,7 +1890,7 @@
18901890
"type": {
18911891
"target": "com.amazonaws.accessanalyzer#Type",
18921892
"traits": {
1893-
"smithy.api#documentation": "<p>The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.</p>",
1893+
"smithy.api#documentation": "<p>The type represents the zone of trust or scope for the analyzer.</p>",
18941894
"smithy.api#required": {}
18951895
}
18961896
},
@@ -1916,7 +1916,7 @@
19161916
"tags": {
19171917
"target": "com.amazonaws.accessanalyzer#TagsMap",
19181918
"traits": {
1919-
"smithy.api#documentation": "<p>The tags added to the analyzer.</p>"
1919+
"smithy.api#documentation": "<p>An array of key-value pairs applied to the analyzer. The key-value pairs consist of the set of Unicode letters, digits, whitespace, <code>_</code>, <code>.</code>, <code>/</code>, <code>=</code>, <code>+</code>, and <code>-</code>.</p> <p>The tag key is a value that is 1 to 128 characters in length and cannot be prefixed with <code>aws:</code>.</p> <p>The tag value is a value that is 0 to 256 characters in length.</p>"
19201920
}
19211921
},
19221922
"status": {
@@ -1935,7 +1935,7 @@
19351935
"configuration": {
19361936
"target": "com.amazonaws.accessanalyzer#AnalyzerConfiguration",
19371937
"traits": {
1938-
"smithy.api#documentation": "<p>Specifies if the analyzer is an external access, unused access, or internal access analyzer.</p>"
1938+
"smithy.api#documentation": "<p>Specifies if the analyzer is an external access, unused access, or internal access analyzer. The <a href=\"https://docs.aws.amazon.com/access-analyzer/latest/APIReference/API_GetAnalyzer.html\">GetAnalyzer</a> action includes this property in its response if a configuration is specified, while the <a href=\"https://docs.aws.amazon.com/access-analyzer/latest/APIReference/API_ListAnalyzers.html\">ListAnalyzers</a> action omits it.</p>"
19391939
}
19401940
}
19411941
},
@@ -4213,7 +4213,7 @@
42134213
}
42144214
],
42154215
"traits": {
4216-
"smithy.api#documentation": "<p>Retrieves information about a resource that was analyzed.</p>",
4216+
"smithy.api#documentation": "<p>Retrieves information about a resource that was analyzed.</p> <note> <p>This action is supported only for external access analyzers.</p> </note>",
42174217
"smithy.api#http": {
42184218
"uri": "/analyzed-resource",
42194219
"method": "GET",
@@ -4425,7 +4425,7 @@
44254425
}
44264426
],
44274427
"traits": {
4428-
"smithy.api#documentation": "<p>Retrieves information about the specified finding. GetFinding and GetFindingV2 both use <code>access-analyzer:GetFinding</code> in the <code>Action</code> element of an IAM policy statement. You must have permission to perform the <code>access-analyzer:GetFinding</code> action.</p>",
4428+
"smithy.api#documentation": "<p>Retrieves information about the specified finding. GetFinding and GetFindingV2 both use <code>access-analyzer:GetFinding</code> in the <code>Action</code> element of an IAM policy statement. You must have permission to perform the <code>access-analyzer:GetFinding</code> action.</p> <note> <p>GetFinding is supported only for external access analyzers. You must use GetFindingV2 for internal and unused access analyzers.</p> </note>",
44294429
"smithy.api#http": {
44304430
"uri": "/finding/{id}",
44314431
"method": "GET",
@@ -6093,7 +6093,7 @@
60936093
}
60946094
],
60956095
"traits": {
6096-
"smithy.api#documentation": "<p>Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use <code>access-analyzer:ListFindings</code> in the <code>Action</code> element of an IAM policy statement. You must have permission to perform the <code>access-analyzer:ListFindings</code> action.</p> <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html\">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p>",
6096+
"smithy.api#documentation": "<p>Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use <code>access-analyzer:ListFindings</code> in the <code>Action</code> element of an IAM policy statement. You must have permission to perform the <code>access-analyzer:ListFindings</code> action.</p> <p>To learn about filter keys that you can use to retrieve a list of findings, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-filter-keys.html\">IAM Access Analyzer filter keys</a> in the <b>IAM User Guide</b>.</p> <note> <p>ListFindings is supported only for external access analyzers. You must use ListFindingsV2 for internal and unused access analyzers.</p> </note>",
60976097
"smithy.api#http": {
60986098
"uri": "/finding",
60996099
"method": "POST",
@@ -7125,6 +7125,12 @@
71257125
"traits": {
71267126
"smithy.api#documentation": "<p>The total number of active cross-account findings for the resource type.</p>"
71277127
}
7128+
},
7129+
"totalActiveErrors": {
7130+
"target": "smithy.api#Integer",
7131+
"traits": {
7132+
"smithy.api#documentation": "<p>The total number of active errors for the resource type.</p>"
7133+
}
71287134
}
71297135
},
71307136
"traits": {
@@ -7603,7 +7609,7 @@
76037609
}
76047610
],
76057611
"traits": {
7606-
"smithy.api#documentation": "<p>Immediately starts a scan of the policies applied to the specified resource.</p>",
7612+
"smithy.api#documentation": "<p>Immediately starts a scan of the policies applied to the specified resource.</p> <note> <p>This action is supported only for external access analyzers.</p> </note>",
76077613
"smithy.api#http": {
76087614
"uri": "/resource/scan",
76097615
"method": "POST",
@@ -8240,7 +8246,7 @@
82408246
}
82418247
],
82428248
"traits": {
8243-
"smithy.api#documentation": "<p>Modifies the configuration of an existing analyzer.</p>",
8249+
"smithy.api#documentation": "<p>Modifies the configuration of an existing analyzer.</p> <note> <p>This action is not supported for external access analyzers.</p> </note>",
82448250
"smithy.api#http": {
82458251
"uri": "/analyzer/{analyzerName}",
82468252
"method": "PUT",

codegen/sdk/aws-models/backup.json

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,12 @@
12601260
"traits": {
12611261
"smithy.api#documentation": "<p>The date and time when Backup Vault Lock configuration becomes immutable,\n meaning it cannot be changed or deleted.</p>\n <p>If you applied Vault Lock to your vault without specifying a lock date, you can change\n your Vault Lock settings, or delete Vault Lock from the vault entirely, at any time.</p>\n <p>This value is in Unix format, Coordinated Universal Time (UTC), and accurate to\n milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018\n 12:11:30.087 AM.</p>"
12621262
}
1263+
},
1264+
"EncryptionKeyType": {
1265+
"target": "com.amazonaws.backup#EncryptionKeyType",
1266+
"traits": {
1267+
"smithy.api#documentation": "<p>The type of encryption key used for the backup vault. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>"
1268+
}
12631269
}
12641270
},
12651271
"traits": {
@@ -2526,6 +2532,12 @@
25262532
"smithy.api#documentation": "<p>The maximum retention period that the vault retains its recovery points.</p>",
25272533
"smithy.api#required": {}
25282534
}
2535+
},
2536+
"EncryptionKeyArn": {
2537+
"target": "com.amazonaws.backup#ARN",
2538+
"traits": {
2539+
"smithy.api#documentation": "<p>The ARN of the customer-managed KMS key to use for encrypting the logically air-gapped backup vault. If not specified, the vault will be encrypted with an Amazon Web Services-owned key managed by Amazon Web Services Backup.</p>"
2540+
}
25292541
}
25302542
},
25312543
"traits": {
@@ -2974,7 +2986,7 @@
29742986
"RestoreTestingSelectionName": {
29752987
"target": "smithy.api#String",
29762988
"traits": {
2977-
"smithy.api#documentation": "<p>The name of the restore testing selection for the related restore testing plan.</p>",
2989+
"smithy.api#documentation": "<p>The name of the restore testing selection for the related restore testing plan.</p>\n <p>The name cannot be changed after creation. The name consists of only \n alphanumeric characters and underscores. Maximum length is 50.</p>",
29782990
"smithy.api#required": {}
29792991
}
29802992
}
@@ -5230,6 +5242,12 @@
52305242
"traits": {
52315243
"smithy.api#documentation": "<p>Information about the latest update to the MPA approval team association for this backup vault.</p>"
52325244
}
5245+
},
5246+
"EncryptionKeyType": {
5247+
"target": "com.amazonaws.backup#EncryptionKeyType",
5248+
"traits": {
5249+
"smithy.api#documentation": "<p>The type of encryption key used for the backup vault. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>"
5250+
}
52335251
}
52345252
},
52355253
"traits": {
@@ -5792,6 +5810,12 @@
57925810
"traits": {
57935811
"smithy.api#documentation": "<p>A string in the form of a detailed message explaining the status of a backup index\n associated with the recovery point.</p>"
57945812
}
5813+
},
5814+
"EncryptionKeyType": {
5815+
"target": "com.amazonaws.backup#EncryptionKeyType",
5816+
"traits": {
5817+
"smithy.api#documentation": "<p>The type of encryption key used for the recovery point. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>"
5818+
}
57955819
}
57965820
},
57975821
"traits": {
@@ -6326,6 +6350,23 @@
63266350
"smithy.api#input": {}
63276351
}
63286352
},
6353+
"com.amazonaws.backup#EncryptionKeyType": {
6354+
"type": "enum",
6355+
"members": {
6356+
"AWS_OWNED_KMS_KEY": {
6357+
"target": "smithy.api#Unit",
6358+
"traits": {
6359+
"smithy.api#enumValue": "AWS_OWNED_KMS_KEY"
6360+
}
6361+
},
6362+
"CUSTOMER_MANAGED_KMS_KEY": {
6363+
"target": "smithy.api#Unit",
6364+
"traits": {
6365+
"smithy.api#enumValue": "CUSTOMER_MANAGED_KMS_KEY"
6366+
}
6367+
}
6368+
}
6369+
},
63296370
"com.amazonaws.backup#ExportBackupPlanTemplate": {
63306371
"type": "operation",
63316372
"input": {
@@ -11310,6 +11351,12 @@
1131011351
"traits": {
1131111352
"smithy.api#documentation": "<p>A string in the form of a detailed message explaining the status of a backup index associated \n with the recovery point.</p>"
1131211353
}
11354+
},
11355+
"EncryptionKeyType": {
11356+
"target": "com.amazonaws.backup#EncryptionKeyType",
11357+
"traits": {
11358+
"smithy.api#documentation": "<p>The type of encryption key used for the recovery point. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>"
11359+
}
1131311360
}
1131411361
},
1131511362
"traits": {
@@ -11403,6 +11450,12 @@
1140311450
"traits": {
1140411451
"smithy.api#documentation": "<p>A string in the form of a detailed message explaining the status of a backup index\n associated with the recovery point.</p>"
1140511452
}
11453+
},
11454+
"EncryptionKeyType": {
11455+
"target": "com.amazonaws.backup#EncryptionKeyType",
11456+
"traits": {
11457+
"smithy.api#documentation": "<p>The type of encryption key used for the recovery point. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>"
11458+
}
1140611459
}
1140711460
},
1140811461
"traits": {
@@ -12611,7 +12664,7 @@
1261112664
"RestoreTestingSelectionName": {
1261212665
"target": "smithy.api#String",
1261312666
"traits": {
12614-
"smithy.api#documentation": "<p>The unique name of the restore testing selection \n that belongs to the related restore testing plan.</p>",
12667+
"smithy.api#documentation": "<p>The unique name of the restore testing selection \n that belongs to the related restore testing plan.</p>\n <p>The name consists of only alphanumeric characters and underscores. \n Maximum length is 50.</p>",
1261512668
"smithy.api#required": {}
1261612669
}
1261712670
},
@@ -12685,7 +12738,7 @@
1268512738
"RestoreTestingSelectionName": {
1268612739
"target": "smithy.api#String",
1268712740
"traits": {
12688-
"smithy.api#documentation": "<p>The unique name of the restore testing selection that \n belongs to the related restore testing plan.</p>",
12741+
"smithy.api#documentation": "<p>The unique name of the restore testing selection that \n belongs to the related restore testing plan.</p>\n <p>The name consists of only alphanumeric characters and underscores. \n Maximum length is 50.</p>",
1268912742
"smithy.api#required": {}
1269012743
}
1269112744
},
@@ -12735,7 +12788,7 @@
1273512788
"RestoreTestingSelectionName": {
1273612789
"target": "smithy.api#String",
1273712790
"traits": {
12738-
"smithy.api#documentation": "<p>Unique name of a restore testing selection.</p>",
12791+
"smithy.api#documentation": "<p>Unique name of a restore testing selection.</p>\n <p>The name consists of only alphanumeric characters and underscores. \n Maximum length is 50.</p>",
1273912792
"smithy.api#required": {}
1274012793
}
1274112794
},

0 commit comments

Comments
 (0)