Skip to content

Commit

Permalink
Update API Models (aws#1574)
Browse files Browse the repository at this point in the history
* Update Models
* feature: Service Updates
* documentation: Service Updates
* Update service/internal/benchmark
* Update modman.toml
* Add Changelog Annotations
  • Loading branch information
skmcgrail authored and jrichardpfs committed Feb 14, 2022
1 parent 76e5475 commit 6bc2b71
Show file tree
Hide file tree
Showing 236 changed files with 17,905 additions and 1,757 deletions.
32 changes: 32 additions & 0 deletions .changelog/1aad37133b8b4501b0552c88059db93d.json
@@ -0,0 +1,32 @@
{
"id": "1aad3713-3b8b-4501-b055-2c88059db93d",
"type": "feature",
"description": "Updated to latest API model.",
"modules": [
"service/applicationinsights",
"service/configservice",
"service/connect",
"service/ec2",
"service/ec2instanceconnect",
"service/efs",
"service/fis",
"service/frauddetector",
"service/fsx",
"service/greengrass",
"service/greengrassv2",
"service/guardduty",
"service/honeycode",
"service/ivs",
"service/kafka",
"service/location",
"service/lookoutmetrics",
"service/macie2",
"service/mediaconvert",
"service/mediatailor",
"service/ram",
"service/sagemaker",
"service/securityhub",
"service/storagegateway",
"service/transcribe"
]
}
11 changes: 11 additions & 0 deletions .changelog/2431530f536f406f869a325ec51c4844.json
@@ -0,0 +1,11 @@
{
"id": "2431530f-536f-406f-869a-325ec51c4844",
"type": "documentation",
"description": "Updated to latest API model.",
"modules": [
"service/cloudtrail",
"service/codegurureviewer",
"service/ebs",
"service/route53recoveryreadiness"
]
}
9 changes: 7 additions & 2 deletions Makefile
Expand Up @@ -77,8 +77,8 @@ sync-api-models copy-attributevalue-feature min-go-version-% update-requires smi
update-module-metadata download-modules-%

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

smithy-generate:
cd codegen && ./gradlew clean build -Plog-tests && ./gradlew clean
Expand Down Expand Up @@ -116,6 +116,11 @@ gen-config-asserts:
&& go mod tidy \
&& go generate

gen-internal-codegen:
@echo "Generating internal/codegen"
cd internal/codegen \
&& go generate

gen-repo-mod-replace:
@echo "Generating go.mod replace for repo modules"
go run ${REPOTOOLS_CMD_MAKE_RELATIVE}
Expand Down
Expand Up @@ -2838,6 +2838,14 @@
{
"value": "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE",
"name": "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE"
},
{
"value": "SHAREPOINT",
"name": "SHAREPOINT"
},
{
"value": "ACTIVE_DIRECTORY",
"name": "ACTIVE_DIRECTORY"
}
],
"smithy.api#length": {
Expand Down
8 changes: 4 additions & 4 deletions codegen/sdk-codegen/aws-models/cloudtrail.2013-11-01.json

Large diffs are not rendered by default.

66 changes: 48 additions & 18 deletions codegen/sdk-codegen/aws-models/codegurureviewer.2019-09-19.json
Expand Up @@ -31,6 +31,21 @@
"shapes": {
"com.amazonaws.codegurureviewer#AWSGuruFrontendService": {
"type": "service",
"traits": {
"aws.api#service": {
"sdkId": "CodeGuru Reviewer",
"arnNamespace": "codeguru-reviewer",
"cloudFormationName": "CodeGuruReviewer",
"cloudTrailEventSource": "codegurureviewer.amazonaws.com",
"endpointPrefix": "codeguru-reviewer"
},
"aws.auth#sigv4": {
"name": "codeguru-reviewer"
},
"aws.protocols#restJson1": {},
"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>",
"smithy.api#title": "Amazon CodeGuru Reviewer"
},
"version": "2019-09-19",
"operations": [
{
Expand Down Expand Up @@ -75,22 +90,7 @@
{
"target": "com.amazonaws.codegurureviewer#UntagResource"
}
],
"traits": {
"aws.api#service": {
"sdkId": "CodeGuru Reviewer",
"arnNamespace": "codeguru-reviewer",
"cloudFormationName": "CodeGuruReviewer",
"cloudTrailEventSource": "codegurureviewer.amazonaws.com",
"endpointPrefix": "codeguru-reviewer"
},
"aws.auth#sigv4": {
"name": "codeguru-reviewer"
},
"aws.protocols#restJson1": {},
"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>",
"smithy.api#title": "Amazon CodeGuru Reviewer"
}
]
},
"com.amazonaws.codegurureviewer#AccessDeniedException": {
"type": "structure",
Expand Down Expand Up @@ -718,6 +718,16 @@
}
}
},
{
"state": "failure",
"matcher": {
"output": {
"path": "CodeReview.State",
"expected": "Failed",
"comparator": "stringEquals"
}
}
},
{
"state": "retry",
"matcher": {
Expand Down Expand Up @@ -877,6 +887,16 @@
}
}
},
{
"state": "failure",
"matcher": {
"output": {
"path": "RepositoryAssociation.State",
"expected": "Failed",
"comparator": "stringEquals"
}
}
},
{
"state": "retry",
"matcher": {
Expand Down Expand Up @@ -1394,6 +1414,16 @@
}
}
},
"com.amazonaws.codegurureviewer#ListRecommendationsMaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},
"smithy.api#range": {
"min": 1,
"max": 300
}
}
},
"com.amazonaws.codegurureviewer#ListRecommendationsRequest": {
"type": "structure",
"members": {
Expand All @@ -1405,7 +1435,7 @@
}
},
"MaxResults": {
"target": "com.amazonaws.codegurureviewer#MaxResults",
"target": "com.amazonaws.codegurureviewer#ListRecommendationsMaxResults",
"traits": {
"smithy.api#documentation": "<p>\n The maximum number of results that are returned per call. The default is 100.\n </p>",
"smithy.api#httpQuery": "MaxResults"
Expand Down Expand Up @@ -2729,7 +2759,7 @@
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
"max": 5000
}
}
},
Expand Down
62 changes: 43 additions & 19 deletions codegen/sdk-codegen/aws-models/configservice.2014-11-12.json
Expand Up @@ -10319,6 +10319,30 @@
{
"value": "AWS::OpenSearch::Domain",
"name": "OpenSearchDomain"
},
{
"value": "AWS::EC2::TransitGateway",
"name": "TransitGateway"
},
{
"value": "AWS::Kinesis::Stream",
"name": "KinesisStream"
},
{
"value": "AWS::Kinesis::StreamConsumer",
"name": "KinesisStreamConsumer"
},
{
"value": "AWS::CodeDeploy::Application",
"name": "CodeDeployApplication"
},
{
"value": "AWS::CodeDeploy::DeploymentConfig",
"name": "CodeDeployDeploymentConfig"
},
{
"value": "AWS::CodeDeploy::DeploymentGroup",
"name": "CodeDeployDeploymentGroup"
}
]
}
Expand Down Expand Up @@ -10766,6 +10790,24 @@
},
"com.amazonaws.configservice#StarlingDoveService": {
"type": "service",
"traits": {
"aws.api#service": {
"sdkId": "Config Service",
"arnNamespace": "config",
"cloudFormationName": "Config",
"cloudTrailEventSource": "configservice.amazonaws.com",
"endpointPrefix": "config"
},
"aws.auth#sigv4": {
"name": "config"
},
"aws.protocols#awsJson1_1": {},
"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>",
"smithy.api#title": "AWS Config",
"smithy.api#xmlNamespace": {
"uri": "http://config.amazonaws.com/doc/2014-11-12/"
}
},
"version": "2014-11-12",
"operations": [
{
Expand Down Expand Up @@ -11026,25 +11068,7 @@
{
"target": "com.amazonaws.configservice#UntagResource"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Config Service",
"arnNamespace": "config",
"cloudFormationName": "Config",
"cloudTrailEventSource": "configservice.amazonaws.com",
"endpointPrefix": "config"
},
"aws.auth#sigv4": {
"name": "config"
},
"aws.protocols#awsJson1_1": {},
"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>",
"smithy.api#title": "AWS Config",
"smithy.api#xmlNamespace": {
"uri": "http://config.amazonaws.com/doc/2014-11-12/"
}
}
]
},
"com.amazonaws.configservice#StartConfigRulesEvaluation": {
"type": "operation",
Expand Down

0 comments on commit 6bc2b71

Please sign in to comment.