Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-cpp-automation committed Dec 11, 2024
1 parent 3a4fc06 commit 23d5525
Show file tree
Hide file tree
Showing 8 changed files with 2,102 additions and 417 deletions.
418 changes: 351 additions & 67 deletions tools/code-generation/smithy/api-descriptions/artifact.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tools/code-generation/smithy/api-descriptions/cloudtrail.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>An object that describes the implementation type for a control.</p>\n <p>Our <code>ImplementationDetails</code>\n <code>Type</code> format has three required segments:</p>\n <ul>\n <li>\n <p>\n <code>SERVICE-PROVIDER::SERVICE-NAME::RESOURCE-NAME</code>\n </p>\n </li>\n </ul>\n <p>For example, <code>AWS::Config::ConfigRule</code>\n <b>or</b>\n <code>AWS::SecurityHub::SecurityControl</code> resources have the format with three required segments.</p>\n <p>Our <code>ImplementationDetails</code>\n <code>Type</code> format has an optional fourth segment, which is present for applicable \n implementation types. The format is as follows: </p>\n <ul>\n <li>\n <p>\n <code>SERVICE-PROVIDER::SERVICE-NAME::RESOURCE-NAME::RESOURCE-TYPE-DESCRIPTION</code>\n </p>\n </li>\n </ul>\n <p>For example, <code>AWS::Organizations::Policy::SERVICE_CONTROL_POLICY</code>\n <b>or</b>\n <code>AWS::CloudFormation::Type::HOOK</code> have the format with four segments.</p>\n <p>Although the format is similar, the values for the <code>Type</code> field do not match any Amazon Web Services CloudFormation values, and we do not use CloudFormation to implement these controls.</p>"
"smithy.api#documentation": "<p>An object that describes the implementation type for a control.</p>\n <p>Our <code>ImplementationDetails</code>\n <code>Type</code> format has three required segments:</p>\n <ul>\n <li>\n <p>\n <code>SERVICE-PROVIDER::SERVICE-NAME::RESOURCE-NAME</code>\n </p>\n </li>\n </ul>\n <p>For example, <code>AWS::Config::ConfigRule</code>\n <b>or</b>\n <code>AWS::SecurityHub::SecurityControl</code> resources have the format with three required segments.</p>\n <p>Our <code>ImplementationDetails</code>\n <code>Type</code> format has an optional fourth segment, which is present for applicable \n implementation types. The format is as follows: </p>\n <ul>\n <li>\n <p>\n <code>SERVICE-PROVIDER::SERVICE-NAME::RESOURCE-NAME::RESOURCE-TYPE-DESCRIPTION</code>\n </p>\n </li>\n </ul>\n <p>For example, <code>AWS::Organizations::Policy::SERVICE_CONTROL_POLICY</code>\n <b>or</b>\n <code>AWS::CloudFormation::Type::HOOK</code> have the format with four segments.</p>\n <p>Although the format is similar, the values for the <code>Type</code> field do not match any Amazon Web Services CloudFormation values.</p>"
}
},
"com.amazonaws.controlcatalog#ImplementationType": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1766,6 +1766,13 @@
"smithy.api#documentation": "<p>An optimal parameter that indicates the amount of attempts for the job. If not specified,\n this value defaults to the attempt of the latest job.</p>",
"smithy.api#httpQuery": "attempt"
}
},
"accessSystemProfileLogs": {
"target": "smithy.api#Boolean",
"traits": {
"smithy.api#documentation": "<p>Allows access to system profile logs for Lake Formation-enabled jobs. Default is false.</p>",
"smithy.api#httpQuery": "accessSystemProfileLogs"
}
}
}
},
Expand Down Expand Up @@ -1949,7 +1956,7 @@
"min": 1,
"max": 1024
},
"smithy.api#pattern": "^([a-z0-9]+[a-z0-9-.]*)\\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(?:\\:([a-zA-Z0-9_][a-zA-Z0-9-._]{0,299})|@(sha256:[0-9a-f]{64}))$"
"smithy.api#pattern": "^([0-9]{12})\\.dkr\\.ecr\\.([a-z0-9-]+).([a-z0-9._-]+)\\/((?:[a-z0-9]+(?:[-._][a-z0-9]+)*/)*[a-z0-9]+(?:[-._][a-z0-9]+)*)(?::([a-zA-Z0-9_]+[a-zA-Z0-9-._]*)|@(sha256:[0-9a-f]{64}))$"
}
},
"com.amazonaws.emrserverless#InitScriptPath": {
Expand Down
509 changes: 484 additions & 25 deletions tools/code-generation/smithy/api-descriptions/migration-hub.json

Large diffs are not rendered by default.

965 changes: 922 additions & 43 deletions tools/code-generation/smithy/api-descriptions/sesv2.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request"
]
},
"smithy.api#documentation": "<p>Amazon Timestream for InfluxDB is a managed time-series database engine that makes it easy for application developers and DevOps teams to run InfluxDB databases on AWS for near real-time time-series applications using open-source APIs. With Amazon Timestream for InfluxDB, it is easy to set up, operate, and scale time-series workloads that can answer queries with single-digit millisecond query response time.</p>",
"smithy.api#documentation": "<p>Amazon Timestream for InfluxDB is a managed time-series database engine that makes it easy for application developers and DevOps teams to run InfluxDB databases on Amazon Web Services for near real-time time-series applications using open-source APIs. With Amazon Timestream for InfluxDB, it is easy to set up, operate, and scale time-series workloads that can answer queries with single-digit millisecond query response time.</p>",
"smithy.api#title": "Timestream InfluxDB",
"smithy.rules#endpointRuleSet": {
"version": "1.0",
Expand Down Expand Up @@ -860,7 +860,7 @@
"password": {
"target": "com.amazonaws.timestreaminfluxdb#Password",
"traits": {
"smithy.api#documentation": "<p>The password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a Secret created in AWS SecretManager in your account.</p>",
"smithy.api#documentation": "<p>The password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a Secret created in Amazon Web Services SecretManager in your account.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -946,6 +946,12 @@
"smithy.api#default": 8086,
"smithy.api#documentation": "<p>The port number on which InfluxDB accepts connections.</p>\n <p>Valid Values: 1024-65535</p>\n <p>Default: 8086</p>\n <p>Constraints: The value can't be 2375-2376, 7788-7799, 8090, or 51678-51680</p>"
}
},
"networkType": {
"target": "com.amazonaws.timestreaminfluxdb#NetworkType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -999,6 +1005,12 @@
"smithy.api#documentation": "<p>The port number on which InfluxDB accepts connections. The default value is 8086.</p>"
}
},
"networkType": {
"target": "com.amazonaws.timestreaminfluxdb#NetworkType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>"
}
},
"dbInstanceType": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceType",
"traits": {
Expand Down Expand Up @@ -1069,7 +1081,7 @@
"influxAuthParametersSecretArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
}
}
},
Expand Down Expand Up @@ -1272,7 +1284,7 @@
"name": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceName",
"traits": {
"smithy.api#documentation": "<p>This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.</p>",
"smithy.api#documentation": "<p>This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and Amazon Web Services CLI commands.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -1301,6 +1313,12 @@
"smithy.api#documentation": "<p>The port number on which InfluxDB accepts connections.</p>"
}
},
"networkType": {
"target": "com.amazonaws.timestreaminfluxdb#NetworkType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>"
}
},
"dbInstanceType": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceType",
"traits": {
Expand Down Expand Up @@ -1602,6 +1620,12 @@
"smithy.api#documentation": "<p>The port number on which InfluxDB accepts connections.</p>"
}
},
"networkType": {
"target": "com.amazonaws.timestreaminfluxdb#NetworkType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>"
}
},
"dbInstanceType": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceType",
"traits": {
Expand Down Expand Up @@ -1672,7 +1696,7 @@
"influxAuthParametersSecretArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
}
}
},
Expand Down Expand Up @@ -1842,6 +1866,12 @@
"smithy.api#documentation": "<p>The port number on which InfluxDB accepts connections.</p>"
}
},
"networkType": {
"target": "com.amazonaws.timestreaminfluxdb#NetworkType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>"
}
},
"dbInstanceType": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceType",
"traits": {
Expand Down Expand Up @@ -1912,7 +1942,7 @@
"influxAuthParametersSecretArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
}
}
},
Expand Down Expand Up @@ -2578,6 +2608,23 @@
}
}
},
"com.amazonaws.timestreaminfluxdb#NetworkType": {
"type": "enum",
"members": {
"IPV4": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "IPV4"
}
},
"DUAL": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DUAL"
}
}
}
},
"com.amazonaws.timestreaminfluxdb#NextToken": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -2822,6 +2869,9 @@
"errors": [
{
"target": "com.amazonaws.timestreaminfluxdb#ResourceNotFoundException"
},
{
"target": "com.amazonaws.timestreaminfluxdb#ServiceQuotaExceededException"
}
],
"traits": {
Expand Down Expand Up @@ -3080,7 +3130,7 @@
"name": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceName",
"traits": {
"smithy.api#documentation": "<p>This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and AWS CLI commands.</p>",
"smithy.api#documentation": "<p>This customer-supplied name uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and Amazon Web Services CLI commands.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -3109,6 +3159,12 @@
"smithy.api#documentation": "<p>The port number on which InfluxDB accepts connections.</p>"
}
},
"networkType": {
"target": "com.amazonaws.timestreaminfluxdb#NetworkType",
"traits": {
"smithy.api#documentation": "<p>Specifies whether the networkType of the Timestream for InfluxDB instance is IPV4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.</p>"
}
},
"dbInstanceType": {
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceType",
"traits": {
Expand Down Expand Up @@ -3179,7 +3235,7 @@
"influxAuthParametersSecretArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret containing the initial InfluxDB authorization parameters. The secret value is a JSON formatted key-value pair holding InfluxDB authorization values: organization, bucket, username, and password.</p>"
}
}
},
Expand Down

0 comments on commit 23d5525

Please sign in to comment.