Skip to content

Commit acd3684

Browse files
authored
Update API Models (#1574)
* Update Models * feature: Service Updates * documentation: Service Updates * Update service/internal/benchmark * Update modman.toml * Add Changelog Annotations
1 parent 14f5979 commit acd3684

File tree

236 files changed

+17905
-1757
lines changed

Some content is hidden

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

236 files changed

+17905
-1757
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"id": "1aad3713-3b8b-4501-b055-2c88059db93d",
3+
"type": "feature",
4+
"description": "Updated to latest API model.",
5+
"modules": [
6+
"service/applicationinsights",
7+
"service/configservice",
8+
"service/connect",
9+
"service/ec2",
10+
"service/ec2instanceconnect",
11+
"service/efs",
12+
"service/fis",
13+
"service/frauddetector",
14+
"service/fsx",
15+
"service/greengrass",
16+
"service/greengrassv2",
17+
"service/guardduty",
18+
"service/honeycode",
19+
"service/ivs",
20+
"service/kafka",
21+
"service/location",
22+
"service/lookoutmetrics",
23+
"service/macie2",
24+
"service/mediaconvert",
25+
"service/mediatailor",
26+
"service/ram",
27+
"service/sagemaker",
28+
"service/securityhub",
29+
"service/storagegateway",
30+
"service/transcribe"
31+
]
32+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"id": "2431530f-536f-406f-869a-325ec51c4844",
3+
"type": "documentation",
4+
"description": "Updated to latest API model.",
5+
"modules": [
6+
"service/cloudtrail",
7+
"service/codegurureviewer",
8+
"service/ebs",
9+
"service/route53recoveryreadiness"
10+
]
11+
}

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ sync-api-models copy-attributevalue-feature min-go-version-% update-requires smi
7777
update-module-metadata download-modules-%
7878

7979
generate: smithy-generate update-requires gen-repo-mod-replace update-module-metadata smithy-annotate-stable \
80-
gen-config-asserts copy-attributevalue-feature gen-mod-dropreplace-smithy min-go-version-. tidy-modules-. \
81-
add-module-license-files gen-aws-ptrs format
80+
gen-config-asserts gen-internal-codegen copy-attributevalue-feature gen-mod-dropreplace-smithy min-go-version-. \
81+
tidy-modules-. add-module-license-files gen-aws-ptrs format
8282

8383
smithy-generate:
8484
cd codegen && ./gradlew clean build -Plog-tests && ./gradlew clean
@@ -116,6 +116,11 @@ gen-config-asserts:
116116
&& go mod tidy \
117117
&& go generate
118118

119+
gen-internal-codegen:
120+
@echo "Generating internal/codegen"
121+
cd internal/codegen \
122+
&& go generate
123+
119124
gen-repo-mod-replace:
120125
@echo "Generating go.mod replace for repo modules"
121126
go run ${REPOTOOLS_CMD_MAKE_RELATIVE}

codegen/sdk-codegen/aws-models/applicationinsights.2018-11-25.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,6 +2838,14 @@
28382838
{
28392839
"value": "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE",
28402840
"name": "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"
2841+
},
2842+
{
2843+
"value": "SHAREPOINT",
2844+
"name": "SHAREPOINT"
2845+
},
2846+
{
2847+
"value": "ACTIVE_DIRECTORY",
2848+
"name": "ACTIVE_DIRECTORY"
28412849
}
28422850
],
28432851
"smithy.api#length": {

codegen/sdk-codegen/aws-models/cloudtrail.2013-11-01.json

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

codegen/sdk-codegen/aws-models/codegurureviewer.2019-09-19.json

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@
3131
"shapes": {
3232
"com.amazonaws.codegurureviewer#AWSGuruFrontendService": {
3333
"type": "service",
34+
"traits": {
35+
"aws.api#service": {
36+
"sdkId": "CodeGuru Reviewer",
37+
"arnNamespace": "codeguru-reviewer",
38+
"cloudFormationName": "CodeGuruReviewer",
39+
"cloudTrailEventSource": "codegurureviewer.amazonaws.com",
40+
"endpointPrefix": "codeguru-reviewer"
41+
},
42+
"aws.auth#sigv4": {
43+
"name": "codeguru-reviewer"
44+
},
45+
"aws.protocols#restJson1": {},
46+
"smithy.api#documentation": "<p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service\n that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends\n fixes in your Java and Python code.</p>\n \n <p>By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer\n improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the \n <i>\n <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html\">Amazon CodeGuru Reviewer User Guide</a>.</i>\n </p>\n \n <p>\n To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by \n creating an <i>interface VPC endpoint</i>. For more information, see \n <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html\">CodeGuru Reviewer and interface \n VPC endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.\n </p>",
47+
"smithy.api#title": "Amazon CodeGuru Reviewer"
48+
},
3449
"version": "2019-09-19",
3550
"operations": [
3651
{
@@ -75,22 +90,7 @@
7590
{
7691
"target": "com.amazonaws.codegurureviewer#UntagResource"
7792
}
78-
],
79-
"traits": {
80-
"aws.api#service": {
81-
"sdkId": "CodeGuru Reviewer",
82-
"arnNamespace": "codeguru-reviewer",
83-
"cloudFormationName": "CodeGuruReviewer",
84-
"cloudTrailEventSource": "codegurureviewer.amazonaws.com",
85-
"endpointPrefix": "codeguru-reviewer"
86-
},
87-
"aws.auth#sigv4": {
88-
"name": "codeguru-reviewer"
89-
},
90-
"aws.protocols#restJson1": {},
91-
"smithy.api#documentation": "<p>This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a service\n that uses program analysis and machine learning to detect potential defects that are difficult for developers to find and recommends\n fixes in your Java and Python code.</p>\n \n <p>By proactively detecting and providing recommendations for addressing code defects and implementing best practices, CodeGuru Reviewer\n improves the overall quality and maintainability of your code base during the code review stage. For more information about CodeGuru Reviewer, see the \n <i>\n <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/welcome.html\">Amazon CodeGuru Reviewer User Guide</a>.</i>\n </p>\n \n <p>\n To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection between your VPC and CodeGuru Reviewer by \n creating an <i>interface VPC endpoint</i>. For more information, see \n <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-ug/vpc-interface-endpoints.html\">CodeGuru Reviewer and interface \n VPC endpoints (Amazon Web Services PrivateLink)</a> in the <i>Amazon CodeGuru Reviewer User Guide</i>.\n </p>",
92-
"smithy.api#title": "Amazon CodeGuru Reviewer"
93-
}
93+
]
9494
},
9595
"com.amazonaws.codegurureviewer#AccessDeniedException": {
9696
"type": "structure",
@@ -718,6 +718,16 @@
718718
}
719719
}
720720
},
721+
{
722+
"state": "failure",
723+
"matcher": {
724+
"output": {
725+
"path": "CodeReview.State",
726+
"expected": "Failed",
727+
"comparator": "stringEquals"
728+
}
729+
}
730+
},
721731
{
722732
"state": "retry",
723733
"matcher": {
@@ -877,6 +887,16 @@
877887
}
878888
}
879889
},
890+
{
891+
"state": "failure",
892+
"matcher": {
893+
"output": {
894+
"path": "RepositoryAssociation.State",
895+
"expected": "Failed",
896+
"comparator": "stringEquals"
897+
}
898+
}
899+
},
880900
{
881901
"state": "retry",
882902
"matcher": {
@@ -1394,6 +1414,16 @@
13941414
}
13951415
}
13961416
},
1417+
"com.amazonaws.codegurureviewer#ListRecommendationsMaxResults": {
1418+
"type": "integer",
1419+
"traits": {
1420+
"smithy.api#box": {},
1421+
"smithy.api#range": {
1422+
"min": 1,
1423+
"max": 300
1424+
}
1425+
}
1426+
},
13971427
"com.amazonaws.codegurureviewer#ListRecommendationsRequest": {
13981428
"type": "structure",
13991429
"members": {
@@ -1405,7 +1435,7 @@
14051435
}
14061436
},
14071437
"MaxResults": {
1408-
"target": "com.amazonaws.codegurureviewer#MaxResults",
1438+
"target": "com.amazonaws.codegurureviewer#ListRecommendationsMaxResults",
14091439
"traits": {
14101440
"smithy.api#documentation": "<p>\n The maximum number of results that are returned per call. The default is 100.\n </p>",
14111441
"smithy.api#httpQuery": "MaxResults"
@@ -2729,7 +2759,7 @@
27292759
"traits": {
27302760
"smithy.api#length": {
27312761
"min": 1,
2732-
"max": 2048
2762+
"max": 5000
27332763
}
27342764
}
27352765
},

codegen/sdk-codegen/aws-models/configservice.2014-11-12.json

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10319,6 +10319,30 @@
1031910319
{
1032010320
"value": "AWS::OpenSearch::Domain",
1032110321
"name": "OpenSearchDomain"
10322+
},
10323+
{
10324+
"value": "AWS::EC2::TransitGateway",
10325+
"name": "TransitGateway"
10326+
},
10327+
{
10328+
"value": "AWS::Kinesis::Stream",
10329+
"name": "KinesisStream"
10330+
},
10331+
{
10332+
"value": "AWS::Kinesis::StreamConsumer",
10333+
"name": "KinesisStreamConsumer"
10334+
},
10335+
{
10336+
"value": "AWS::CodeDeploy::Application",
10337+
"name": "CodeDeployApplication"
10338+
},
10339+
{
10340+
"value": "AWS::CodeDeploy::DeploymentConfig",
10341+
"name": "CodeDeployDeploymentConfig"
10342+
},
10343+
{
10344+
"value": "AWS::CodeDeploy::DeploymentGroup",
10345+
"name": "CodeDeployDeploymentGroup"
1032210346
}
1032310347
]
1032410348
}
@@ -10766,6 +10790,24 @@
1076610790
},
1076710791
"com.amazonaws.configservice#StarlingDoveService": {
1076810792
"type": "service",
10793+
"traits": {
10794+
"aws.api#service": {
10795+
"sdkId": "Config Service",
10796+
"arnNamespace": "config",
10797+
"cloudFormationName": "Config",
10798+
"cloudTrailEventSource": "configservice.amazonaws.com",
10799+
"endpointPrefix": "config"
10800+
},
10801+
"aws.auth#sigv4": {
10802+
"name": "config"
10803+
},
10804+
"aws.protocols#awsJson1_1": {},
10805+
"smithy.api#documentation": "<fullname>Config</fullname>\n\n\t\t <p>Config provides a way to keep track of the configurations\n\t\t\tof all the Amazon Web Services resources associated with your Amazon Web Services account. You can\n\t\t\tuse Config to get the current and historical configurations of\n\t\t\teach Amazon Web Services resource and also to get information about the relationship\n\t\t\tbetween the resources. An Amazon Web Services resource can be an Amazon Compute\n\t\t\tCloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an\n\t\t\telastic network Interface (ENI), or a security group. For a complete\n\t\t\tlist of resources currently supported by Config, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources\">Supported Amazon Web Services resources</a>.</p>\n\n\t\t <p>You can access and manage Config through the Amazon Web Services Management\n\t\t\tConsole, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config\n\t\t\tAPI, or the Amazon Web Services SDKs for Config. This reference guide contains\n\t\t\tdocumentation for the Config API and the Amazon Web Services CLI commands that\n\t\t\tyou can use to manage Config. The Config API uses the\n\t\t\tSignature Version 4 protocol for signing requests. For more\n\t\t\tinformation about how to sign a request with this protocol, see\n\t\t\t\t<a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature\n\t\t\t\tVersion 4 Signing Process</a>. For detailed information\n\t\t\tabout Config features and their associated actions or commands,\n\t\t\tas well as how to work with Amazon Web Services Management Console, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html\">What Is Config</a> in the <i>Config Developer\n\t\t\t\tGuide</i>.</p>",
10806+
"smithy.api#title": "AWS Config",
10807+
"smithy.api#xmlNamespace": {
10808+
"uri": "http://config.amazonaws.com/doc/2014-11-12/"
10809+
}
10810+
},
1076910811
"version": "2014-11-12",
1077010812
"operations": [
1077110813
{
@@ -11026,25 +11068,7 @@
1102611068
{
1102711069
"target": "com.amazonaws.configservice#UntagResource"
1102811070
}
11029-
],
11030-
"traits": {
11031-
"aws.api#service": {
11032-
"sdkId": "Config Service",
11033-
"arnNamespace": "config",
11034-
"cloudFormationName": "Config",
11035-
"cloudTrailEventSource": "configservice.amazonaws.com",
11036-
"endpointPrefix": "config"
11037-
},
11038-
"aws.auth#sigv4": {
11039-
"name": "config"
11040-
},
11041-
"aws.protocols#awsJson1_1": {},
11042-
"smithy.api#documentation": "<fullname>Config</fullname>\n\n\t\t <p>Config provides a way to keep track of the configurations\n\t\t\tof all the Amazon Web Services resources associated with your Amazon Web Services account. You can\n\t\t\tuse Config to get the current and historical configurations of\n\t\t\teach Amazon Web Services resource and also to get information about the relationship\n\t\t\tbetween the resources. An Amazon Web Services resource can be an Amazon Compute\n\t\t\tCloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an\n\t\t\telastic network Interface (ENI), or a security group. For a complete\n\t\t\tlist of resources currently supported by Config, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources\">Supported Amazon Web Services resources</a>.</p>\n\n\t\t <p>You can access and manage Config through the Amazon Web Services Management\n\t\t\tConsole, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config\n\t\t\tAPI, or the Amazon Web Services SDKs for Config. This reference guide contains\n\t\t\tdocumentation for the Config API and the Amazon Web Services CLI commands that\n\t\t\tyou can use to manage Config. The Config API uses the\n\t\t\tSignature Version 4 protocol for signing requests. For more\n\t\t\tinformation about how to sign a request with this protocol, see\n\t\t\t\t<a href=\"https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html\">Signature\n\t\t\t\tVersion 4 Signing Process</a>. For detailed information\n\t\t\tabout Config features and their associated actions or commands,\n\t\t\tas well as how to work with Amazon Web Services Management Console, see <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/WhatIsConfig.html\">What Is Config</a> in the <i>Config Developer\n\t\t\t\tGuide</i>.</p>",
11043-
"smithy.api#title": "AWS Config",
11044-
"smithy.api#xmlNamespace": {
11045-
"uri": "http://config.amazonaws.com/doc/2014-11-12/"
11046-
}
11047-
}
11071+
]
1104811072
},
1104911073
"com.amazonaws.configservice#StartConfigRulesEvaluation": {
1105011074
"type": "operation",

0 commit comments

Comments
 (0)