Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Oct 30, 2023
1 parent 3cb5dc1 commit 9c456c1
Show file tree
Hide file tree
Showing 10 changed files with 2,051 additions and 263 deletions.
79 changes: 56 additions & 23 deletions codegen/sdk-codegen/aws-models/connect.json

Large diffs are not rendered by default.

427 changes: 407 additions & 20 deletions codegen/sdk-codegen/aws-models/dataexchange.json

Large diffs are not rendered by default.

150 changes: 93 additions & 57 deletions codegen/sdk-codegen/aws-models/datasync.json

Large diffs are not rendered by default.

143 changes: 140 additions & 3 deletions codegen/sdk-codegen/aws-models/finspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@
{
"target": "com.amazonaws.finspace#UpdateEnvironment"
},
{
"target": "com.amazonaws.finspace#UpdateKxClusterCodeConfiguration"
},
{
"target": "com.amazonaws.finspace#UpdateKxClusterDatabases"
},
Expand Down Expand Up @@ -3854,7 +3857,7 @@
"type": {
"target": "com.amazonaws.finspace#KxCacheStorageType",
"traits": {
"smithy.api#documentation": "<p>The type of cache storage . The valid values are: </p>\n <ul>\n <li>\n <p>CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. </p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>The type of cache storage. The valid values are: </p>\n <ul>\n <li>\n <p>CACHE_1000 – This type provides at least 1000 MB/s disk access throughput. </p>\n </li>\n <li>\n <p>CACHE_250 – This type provides at least 250 MB/s disk access throughput. </p>\n </li>\n <li>\n <p>CACHE_12 – This type provides at least 12 MB/s disk access throughput. </p>\n </li>\n </ul>\n <p>For cache type <code>CACHE_1000</code> and <code>CACHE_250</code> you can select cache size as 1200 GB or increments of 2400 GB. For cache type <code>CACHE_12</code> you can select the cache size in increments of 6000 GB.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -4018,6 +4021,38 @@
"smithy.api#documentation": "<p>The details of a kdb cluster.</p>"
}
},
"com.amazonaws.finspace#KxClusterCodeDeploymentConfiguration": {
"type": "structure",
"members": {
"deploymentStrategy": {
"target": "com.amazonaws.finspace#KxClusterCodeDeploymentStrategy",
"traits": {
"smithy.api#documentation": "<p>\n The type of deployment that you want on a cluster.\n \n </p>\n <ul>\n <li>\n <p>ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.</p>\n </li>\n <li>\n <p>FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration. </p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n The configuration that allows you to choose how you want to update code on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.\n </p>"
}
},
"com.amazonaws.finspace#KxClusterCodeDeploymentStrategy": {
"type": "enum",
"members": {
"ROLLING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ROLLING"
}
},
"FORCE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FORCE"
}
}
}
},
"com.amazonaws.finspace#KxClusterDescription": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -4284,13 +4319,13 @@
"deploymentStrategy": {
"target": "com.amazonaws.finspace#KxDeploymentStrategy",
"traits": {
"smithy.api#documentation": "<p>\n The type of deployment that you want on a cluster.\n \n </p>\n <ul>\n <li>\n <p>ROLLING – This options loads the updated database by stopping the exiting q process and starting a new q process with updated configuration.</p>\n </li>\n <li>\n <p>NO_RESTART – This option loads the updated database on the running q process without stopping it. This option is quicker as it reduces the turn around time to update a kdb database changeset configuration on a cluster.</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>\n The type of deployment that you want on a cluster.\n \n </p>\n <ul>\n <li>\n <p>ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration.</p>\n </li>\n <li>\n <p>NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for <code>HDB</code> type cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster. </p>\n <p>With this deployment mode, you cannot update the <code>initializationScript</code> and <code>commandLineArguments</code> parameters.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the database changesets on to a cluster.\n </p>"
"smithy.api#documentation": "<p>\n The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster.\n </p>"
}
},
"com.amazonaws.finspace#KxDeploymentStrategy": {
Expand Down Expand Up @@ -5948,6 +5983,108 @@
"smithy.api#output": {}
}
},
"com.amazonaws.finspace#UpdateKxClusterCodeConfiguration": {
"type": "operation",
"input": {
"target": "com.amazonaws.finspace#UpdateKxClusterCodeConfigurationRequest"
},
"output": {
"target": "com.amazonaws.finspace#UpdateKxClusterCodeConfigurationResponse"
},
"errors": [
{
"target": "com.amazonaws.finspace#AccessDeniedException"
},
{
"target": "com.amazonaws.finspace#ConflictException"
},
{
"target": "com.amazonaws.finspace#InternalServerException"
},
{
"target": "com.amazonaws.finspace#LimitExceededException"
},
{
"target": "com.amazonaws.finspace#ResourceNotFoundException"
},
{
"target": "com.amazonaws.finspace#ThrottlingException"
},
{
"target": "com.amazonaws.finspace#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. \n The configuration that you want to update will override any existing configurations on the cluster. \n </p>",
"smithy.api#http": {
"method": "PUT",
"uri": "/kx/environments/{environmentId}/clusters/{clusterName}/configuration/code",
"code": 200
}
}
},
"com.amazonaws.finspace#UpdateKxClusterCodeConfigurationRequest": {
"type": "structure",
"members": {
"environmentId": {
"target": "com.amazonaws.finspace#KxEnvironmentId",
"traits": {
"smithy.api#documentation": "<p>\n A unique identifier of the kdb environment.\n </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"clusterName": {
"target": "com.amazonaws.finspace#KxClusterName",
"traits": {
"smithy.api#documentation": "<p>The name of the cluster.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"clientToken": {
"target": "com.amazonaws.finspace#ClientTokenString",
"traits": {
"smithy.api#documentation": "<p>A token that ensures idempotency. This token expires in 10 minutes.</p>",
"smithy.api#idempotencyToken": {}
}
},
"code": {
"target": "com.amazonaws.finspace#CodeConfiguration",
"traits": {
"smithy.api#required": {}
}
},
"initializationScript": {
"target": "com.amazonaws.finspace#InitializationScriptFilePath",
"traits": {
"smithy.api#documentation": "<p>Specifies a Q program that will be run at launch of a cluster. It is a relative path within\n <i>.zip</i> file that contains the custom code, which will be loaded on\n the cluster. It must include the file name itself. For example,\n <code>somedir/init.q</code>.</p>"
}
},
"commandLineArguments": {
"target": "com.amazonaws.finspace#KxCommandLineArguments",
"traits": {
"smithy.api#documentation": "<p>Specifies the key-value pairs to make them available inside the cluster.</p>"
}
},
"deploymentConfiguration": {
"target": "com.amazonaws.finspace#KxClusterCodeDeploymentConfiguration",
"traits": {
"smithy.api#documentation": "<p>\n The configuration that allows you to choose how you want to update the code on a cluster.\n </p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.finspace#UpdateKxClusterCodeConfigurationResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.finspace#UpdateKxClusterDatabases": {
"type": "operation",
"input": {
Expand Down
73 changes: 73 additions & 0 deletions codegen/sdk-codegen/aws-models/mediapackagev2.json
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,9 @@
"max": 1209600
}
}
},
"FilterConfiguration": {
"target": "com.amazonaws.mediapackagev2#FilterConfiguration"
}
},
"traits": {
Expand Down Expand Up @@ -763,6 +766,9 @@
"max": 1209600
}
}
},
"FilterConfiguration": {
"target": "com.amazonaws.mediapackagev2#FilterConfiguration"
}
},
"traits": {
Expand Down Expand Up @@ -1869,6 +1875,46 @@
"smithy.api#documentation": "<p>The encryption type.</p>"
}
},
"com.amazonaws.mediapackagev2#FilterConfiguration": {
"type": "structure",
"members": {
"ManifestFilter": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>Optionally specify one or more manifest filters for all of your manifest egress requests. When you include a manifest filter, note that you cannot use an identical manifest filter query parameter for this manifest's endpoint URL.</p>",
"smithy.api#length": {
"min": 1,
"max": 1024
}
}
},
"Start": {
"target": "smithy.api#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Optionally specify the start time for all of your manifest egress requests. When you include start time, note that you cannot use start time query parameters for this manifest's endpoint URL.</p>"
}
},
"End": {
"target": "smithy.api#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Optionally specify the end time for all of your manifest egress requests. When you include end time, note that you cannot use end time query parameters for this manifest's endpoint URL.</p>"
}
},
"TimeDelaySeconds": {
"target": "smithy.api#Integer",
"traits": {
"smithy.api#documentation": "<p>Optionally specify the time delay for all of your manifest egress requests. Enter a value that is smaller than your endpoint's startover window. When you include time delay, note that you cannot use time delay query parameters for this manifest's endpoint URL.</p>",
"smithy.api#range": {
"min": 0,
"max": 1209600
}
}
}
},
"traits": {
"smithy.api#documentation": "<p>Filter configuration includes settings for manifest filtering, start and end times, and time delay that apply to all of your egress requests for this manifest. </p>"
}
},
"com.amazonaws.mediapackagev2#GetChannel": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -2285,6 +2331,9 @@
},
"ScteHls": {
"target": "com.amazonaws.mediapackagev2#ScteHls"
},
"FilterConfiguration": {
"target": "com.amazonaws.mediapackagev2#FilterConfiguration"
}
},
"traits": {
Expand Down Expand Up @@ -2334,6 +2383,9 @@
},
"ScteHls": {
"target": "com.amazonaws.mediapackagev2#ScteHls"
},
"FilterConfiguration": {
"target": "com.amazonaws.mediapackagev2#FilterConfiguration"
}
},
"traits": {
Expand Down Expand Up @@ -2899,6 +2951,9 @@
{
"target": "com.amazonaws.mediapackagev2#InternalServerException"
},
{
"target": "com.amazonaws.mediapackagev2#ResourceNotFoundException"
},
{
"target": "com.amazonaws.mediapackagev2#ThrottlingException"
},
Expand Down Expand Up @@ -5167,6 +5222,24 @@
"traits": {
"smithy.api#enumValue": "MEMBER_DOES_NOT_MATCH_PATTERN"
}
},
"INVALID_MANIFEST_FILTER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "INVALID_MANIFEST_FILTER"
}
},
"INVALID_TIME_DELAY_SECONDS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "INVALID_TIME_DELAY_SECONDS"
}
},
"END_TIME_EARLIER_THAN_START_TIME": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "END_TIME_EARLIER_THAN_START_TIME"
}
}
}
},
Expand Down
Loading

0 comments on commit 9c456c1

Please sign in to comment.