Skip to content

Commit 21f9e2d

Browse files
authored
Activating SRA auth for approximately half of remaining services APIs (#4926)
1 parent f42ebdd commit 21f9e2d

File tree

157 files changed

+841
-487
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+841
-487
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS SDK for Java v2",
4+
"contributor": "",
5+
"description": "Switching half of the AWS service clients onto the new SRA (Smithy Reference Architecture) identity and auth logic that was released in v2.21.0. For a list of individual services affected, please check the committed files."
6+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"listAccounts"
44
],
5-
"generateEndpointClientTests": true
5+
"generateEndpointClientTests": true,
6+
"useSraAuth": true
67
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"listCloudFrontOriginAccessIdentities",
44
"listDistributions",
55
"listFieldLevelEncryptionConfigs",
@@ -9,7 +9,7 @@
99
],
1010
"utilitiesMethod": {
1111
"returnType": "software.amazon.awssdk.services.cloudfront.CloudFrontUtilities",
12-
"createMethodParams": [
13-
]
14-
}
12+
"createMethodParams": []
13+
},
14+
"useSraAuth": true
1515
}
Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,34 @@
11
{
2-
"shapeModifiers": {
3-
"ClientVersion": {
4-
"modify": [
5-
{
6-
"5.1": { "emitEnumName": "FIVE_ONE" }
2+
"shapeModifiers": {
3+
"ClientVersion": {
4+
"modify": [
5+
{
6+
"5.1": {
7+
"emitEnumName": "FIVE_ONE"
8+
}
9+
},
10+
{
11+
"5.3": {
12+
"emitEnumName": "FIVE_THREE"
13+
}
14+
}
15+
]
716
},
8-
{
9-
"5.3": { "emitEnumName": "FIVE_THREE" }
17+
"CloudHsmServiceException": {
18+
"exclude": [
19+
"retryable"
20+
]
1021
}
11-
]
1222
},
13-
"CloudHsmServiceException": {
14-
"exclude": [ "retryable" ]
15-
}
16-
},
17-
"excludedSimpleMethods" : [
18-
"describeHsm",
19-
"describeLunaClient"
20-
],
21-
"verifiedSimpleMethods" : ["listAvailableZones", "listHapgs", "listHsms", "listLunaClients"]
22-
}
23+
"excludedSimpleMethods": [
24+
"describeHsm",
25+
"describeLunaClient"
26+
],
27+
"verifiedSimpleMethods": [
28+
"listAvailableZones",
29+
"listHapgs",
30+
"listHsms",
31+
"listLunaClients"
32+
],
33+
"useSraAuth": true
34+
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"describeDomains",
44
"listDomainNames"
5-
]
5+
],
6+
"useSraAuth": true
67
}

services/cloudsearchdomain/src/main/resources/codegen-resources/customization.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"shapeModifiers" : {
2+
"shapeModifiers": {
33
"UploadDocumentsRequest": {
44
"inject": [
55
{
@@ -11,7 +11,6 @@
1111
}
1212
]
1313
},
14-
1514
"SearchRequest": {
1615
"modify": [
1716
{
@@ -24,5 +23,6 @@
2423
},
2524
"interceptors": [
2625
"software.amazon.awssdk.services.cloudsearchdomain.internal.SwitchToPostInterceptor"
27-
]
26+
],
27+
"useSraAuth": true
2828
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2-
"verifiedSimpleMethods": [
3-
"describeAlarmHistory",
4-
"describeAlarms",
5-
"listDashboards",
6-
"listMetrics"
7-
],
8-
"excludedSimpleMethods": [
9-
"deleteDashboards",
10-
"putDashboard",
11-
"getDashboard"
12-
]
2+
"verifiedSimpleMethods": [
3+
"describeAlarmHistory",
4+
"describeAlarms",
5+
"listDashboards",
6+
"listMetrics"
7+
],
8+
"excludedSimpleMethods": [
9+
"deleteDashboards",
10+
"putDashboard",
11+
"getDashboard"
12+
],
13+
"useSraAuth": true
1314
}
Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
{
2-
"excludedSimpleMethods" : [
3-
"deleteResourcePolicy",
4-
"putResourcePolicy"
5-
],
6-
"verifiedSimpleMethods" : [
7-
"describeDestinations",
8-
"describeExportTasks",
9-
"describeLogGroups",
10-
"describeMetricFilters",
11-
"describeQueries",
12-
"describeResourcePolicies"
13-
],
14-
"paginationCustomization": {
15-
"GetLogEvents" : "LastPageHasPreviousToken"
16-
}
17-
}
2+
"excludedSimpleMethods": [
3+
"deleteResourcePolicy",
4+
"putResourcePolicy"
5+
],
6+
"verifiedSimpleMethods": [
7+
"describeDestinations",
8+
"describeExportTasks",
9+
"describeLogGroups",
10+
"describeMetricFilters",
11+
"describeQueries",
12+
"describeResourcePolicies"
13+
],
14+
"paginationCustomization": {
15+
"GetLogEvents": "LastPageHasPreviousToken"
16+
},
17+
"useSraAuth": true
18+
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"listBuilds",
44
"listCuratedEnvironmentImages",
55
"listProjects",
66
"listSourceCredentials"
7-
]
7+
],
8+
"useSraAuth": true
89
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"listIdentityPoolUsage"
4-
]
4+
],
5+
"useSraAuth": true
56
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
{
2-
"verifiedSimpleMethods": [
3-
"describeAggregationAuthorizations",
4-
"describeComplianceByConfigRule",
5-
"describeComplianceByResource",
6-
"describeConfigRuleEvaluationStatus",
7-
"describeConfigRules",
8-
"describeConfigurationAggregators",
9-
"describeConfigurationRecorderStatus",
10-
"describeConfigurationRecorders",
11-
"describeDeliveryChannelStatus",
12-
"describeDeliveryChannels",
13-
"describePendingAggregationRequests",
14-
"describeRetentionConfigurations",
15-
"getComplianceSummaryByConfigRule",
16-
"getComplianceSummaryByResourceType",
17-
"getDiscoveredResourceCounts"
18-
],
19-
"excludedSimpleMethods": [
20-
"startConfigRulesEvaluation"
21-
]
2+
"verifiedSimpleMethods": [
3+
"describeAggregationAuthorizations",
4+
"describeComplianceByConfigRule",
5+
"describeComplianceByResource",
6+
"describeConfigRuleEvaluationStatus",
7+
"describeConfigRules",
8+
"describeConfigurationAggregators",
9+
"describeConfigurationRecorderStatus",
10+
"describeConfigurationRecorders",
11+
"describeDeliveryChannelStatus",
12+
"describeDeliveryChannels",
13+
"describePendingAggregationRequests",
14+
"describeRetentionConfigurations",
15+
"getComplianceSummaryByConfigRule",
16+
"getComplianceSummaryByResourceType",
17+
"getDiscoveredResourceCounts"
18+
],
19+
"excludedSimpleMethods": [
20+
"startConfigRulesEvaluation"
21+
],
22+
"useSraAuth": true
2223
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"excludedSimpleMethods" : ["getCostAndUsage"]
2+
"excludedSimpleMethods": [
3+
"getCostAndUsage"
4+
],
5+
"useSraAuth": true
36
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
{
2-
"verifiedSimpleMethods": [
3-
"describeAccountAttributes",
4-
"describeCertificates",
5-
"describeConnections",
6-
"describeEndpointTypes",
7-
"describeEndpoints",
8-
"describeEventCategories",
9-
"describeEventSubscriptions",
10-
"describeEvents",
11-
"describeOrderableReplicationInstances",
12-
"describeReplicationInstances",
13-
"describeReplicationSubnetGroups",
14-
"describeReplicationTasks"
15-
],
16-
"excludedSimpleMethods": [
17-
"describeReplicationTaskAssessmentResults"
18-
]
2+
"verifiedSimpleMethods": [
3+
"describeAccountAttributes",
4+
"describeCertificates",
5+
"describeConnections",
6+
"describeEndpointTypes",
7+
"describeEndpoints",
8+
"describeEventCategories",
9+
"describeEventSubscriptions",
10+
"describeEvents",
11+
"describeOrderableReplicationInstances",
12+
"describeReplicationInstances",
13+
"describeReplicationSubnetGroups",
14+
"describeReplicationTasks"
15+
],
16+
"excludedSimpleMethods": [
17+
"describeReplicationTaskAssessmentResults"
18+
],
19+
"useSraAuth": true
1920
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"listAgents",
44
"listLocations",
55
"listTaskExecutions",
66
"listTasks"
77
],
8-
"generateEndpointClientTests": true
8+
"generateEndpointClientTests": true,
9+
"useSraAuth": true
910
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
2-
"verifiedSimpleMethods" : [
2+
"verifiedSimpleMethods": [
33
"describeRepositories",
44
"getAuthorizationToken"
5-
]
5+
],
6+
"useSraAuth": true
67
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"useSraAuth": true
3+
}

0 commit comments

Comments
 (0)