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 Jun 28, 2024
1 parent 8ca412d commit b76404f
Show file tree
Hide file tree
Showing 9 changed files with 464 additions and 265 deletions.
18 changes: 18 additions & 0 deletions codegen/sdk-codegen/aws-models/acm-pca.json
Original file line number Diff line number Diff line change
Expand Up @@ -3322,6 +3322,12 @@
"traits": {
"smithy.api#enumValue": "EC_secp384r1"
}
},
"SM2": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SM2"
}
}
}
},
Expand All @@ -3339,6 +3345,12 @@
"traits": {
"smithy.api#enumValue": "FIPS_140_2_LEVEL_3_OR_HIGHER"
}
},
"CCPC_LEVEL_1_OR_HIGHER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "CCPC_LEVEL_1_OR_HIGHER"
}
}
}
},
Expand Down Expand Up @@ -4311,6 +4323,12 @@
"traits": {
"smithy.api#enumValue": "SHA512WITHRSA"
}
},
"SM3WITHSM2": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SM3WITHSM2"
}
}
}
},
Expand Down
279 changes: 255 additions & 24 deletions codegen/sdk-codegen/aws-models/cloudhsm-v2.json

Large diffs are not rendered by default.

92 changes: 75 additions & 17 deletions codegen/sdk-codegen/aws-models/connect.json

Large diffs are not rendered by default.

30 changes: 27 additions & 3 deletions codegen/sdk-codegen/aws-models/emr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2833,7 +2833,7 @@
"sdkId": "EMR",
"arnNamespace": "elasticmapreduce",
"cloudFormationName": "EMR",
"cloudTrailEventSource": "emr.amazonaws.com",
"cloudTrailEventSource": "elasticmapreduce.amazonaws.com",
"docId": "elasticmapreduce-2009-03-31",
"endpointPrefix": "elasticmapreduce"
},
Expand Down Expand Up @@ -5715,6 +5715,12 @@
"traits": {
"smithy.api#documentation": "<p>The custom AMI ID to use for the instance type.</p>"
}
},
"Priority": {
"target": "com.amazonaws.emr#NonNegativeDouble",
"traits": {
"smithy.api#documentation": "<p>The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. \n Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -5777,6 +5783,12 @@
"traits": {
"smithy.api#documentation": "<p>The custom AMI ID to use for the instance type.</p>"
}
},
"Priority": {
"target": "com.amazonaws.emr#NonNegativeDouble",
"traits": {
"smithy.api#documentation": "<p>The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. \n Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7807,6 +7819,12 @@
"traits": {
"smithy.api#enumValue": "lowest-price"
}
},
"PRIORITIZED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "prioritized"
}
}
}
},
Expand All @@ -7817,7 +7835,7 @@
"target": "com.amazonaws.emr#OnDemandProvisioningAllocationStrategy",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>Specifies the strategy to use in launching On-Demand instance fleets. Currently, the\n only option is <code>lowest-price</code> (the default), which launches the lowest price\n first.</p>",
"smithy.api#documentation": "<p>Specifies the strategy to use in launching On-Demand instance fleets. Available\n options are <code>lowest-price</code> and <code>prioritized</code>. <code>lowest-price</code>\n specifies to launch the instances with the lowest price first, and <code>prioritized</code> specifies\n that Amazon EMR should launch the instances with the highest priority first. The default is\n <code>lowest-price</code>.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -9225,6 +9243,12 @@
"traits": {
"smithy.api#enumValue": "diversified"
}
},
"CAPACITY_OPTIMIZED_PRIORITIZED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "capacity-optimized-prioritized"
}
}
}
},
Expand Down Expand Up @@ -9256,7 +9280,7 @@
"AllocationStrategy": {
"target": "com.amazonaws.emr#SpotProvisioningAllocationStrategy",
"traits": {
"smithy.api#documentation": "<p>Specifies one of the following strategies to launch Spot Instance fleets: <code>price-capacity-optimized</code>, <code>capacity-optimized</code>, <code>lowest-price</code>, or <code>diversified</code>. For more information on the provisioning strategies, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html\">Allocation strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <note>\n <p>When you launch a Spot Instance fleet with the old console, it automatically launches with the <code>capacity-optimized</code> strategy. You can't change the allocation strategy from the old console.</p>\n </note>"
"smithy.api#documentation": "<p>Specifies one of the following strategies to launch Spot Instance fleets: \n <code>capacity-optimized</code>, <code>price-capacity-optimized</code>, <code>lowest-price</code>, or \n <code>diversified</code>, and <code>capacity-optimized-prioritized</code>. For more information on the provisioning strategies, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html\">Allocation strategies for Spot Instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>\n <note>\n <p>When you launch a Spot Instance fleet with the old console, it automatically launches with the <code>capacity-optimized</code> strategy. You can't change the allocation strategy from the old console.</p>\n </note>"
}
}
},
Expand Down
23 changes: 23 additions & 0 deletions codegen/sdk-codegen/aws-models/glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -11770,6 +11770,23 @@
"smithy.api#documentation": "<p>The <code>Database</code> object represents a logical grouping of tables that might reside\n in a Hive metastore or an RDBMS.</p>"
}
},
"com.amazonaws.glue#DatabaseAttributes": {
"type": "enum",
"members": {
"NAME": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "NAME"
}
}
}
},
"com.amazonaws.glue#DatabaseAttributesList": {
"type": "list",
"member": {
"target": "com.amazonaws.glue#DatabaseAttributes"
}
},
"com.amazonaws.glue#DatabaseIdentifier": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -17145,6 +17162,12 @@
"traits": {
"smithy.api#documentation": "<p>Allows you to specify that you want to list the databases shared with your account. The allowable values are <code>FEDERATED</code>, <code>FOREIGN</code> or <code>ALL</code>. </p>\n <ul>\n <li>\n <p>If set to <code>FEDERATED</code>, will list the federated databases (referencing an external entity) shared with your account.</p>\n </li>\n <li>\n <p>If set to <code>FOREIGN</code>, will list the databases shared with your account. </p>\n </li>\n <li>\n <p>If set to <code>ALL</code>, will list the databases shared with your account, as well as the databases in yor local account. </p>\n </li>\n </ul>"
}
},
"AttributesToGet": {
"target": "com.amazonaws.glue#DatabaseAttributesList",
"traits": {
"smithy.api#documentation": "<p>Specifies the database fields returned by the <code>GetDatabases</code> call. This parameter doesn’t accept an empty list. The request must include the <code>NAME</code>.</p>"
}
}
},
"traits": {
Expand Down
18 changes: 12 additions & 6 deletions codegen/sdk-codegen/aws-models/kinesis-analytics-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1554,12 +1554,12 @@
"MinPauseBetweenCheckpoints": {
"target": "com.amazonaws.kinesisanalyticsv2#MinPauseBetweenCheckpoints",
"traits": {
"smithy.api#documentation": "<p>Describes the minimum time in milliseconds after a checkpoint operation completes that a\n new checkpoint operation can start. If a checkpoint operation takes longer than the\n <code>CheckpointInterval</code>, the application otherwise performs continual checkpoint\n operations. For more information, see <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/ops/state/large_state_tuning/#tuning-checkpointing\"> Tuning Checkpointing</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/\">Apache Flink\n Documentation</a>.</p>\n <note>\n <p>If <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,\n the application will use a <code>MinPauseBetweenCheckpoints</code> value of 5000, even if this value is set using this \n API or in application code.</p>\n </note>"
"smithy.api#documentation": "<p>Describes the minimum time in milliseconds after a checkpoint operation completes that a\n new checkpoint operation can start. If a checkpoint operation takes longer than the\n <code>CheckpointInterval</code>, the application otherwise performs continual checkpoint\n operations. For more information, see <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/state/large_state_tuning/#tuning-checkpointing\"> Tuning Checkpointing</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/\">Apache Flink\n Documentation</a>.</p>\n <note>\n <p>If <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,\n the application will use a <code>MinPauseBetweenCheckpoints</code> value of 5000, even if this value is set using this \n API or in application code.</p>\n </note>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault \n tolerance.\n For more information, see \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing\">\n Checkpoints for Fault Tolerance</a> in the\n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/\">Apache Flink Documentation</a>.</p>"
"smithy.api#documentation": "<p>Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault \n tolerance.\n For more information, see \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing\">\n Checkpoints for Fault Tolerance</a> in the\n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/\">Apache Flink Documentation</a>.</p>"
}
},
"com.amazonaws.kinesisanalyticsv2#CheckpointConfigurationDescription": {
Expand Down Expand Up @@ -3234,7 +3234,7 @@
"CheckpointConfiguration": {
"target": "com.amazonaws.kinesisanalyticsv2#CheckpointConfiguration",
"traits": {
"smithy.api#documentation": "<p>Describes an application's checkpointing configuration. Checkpointing is the \n process of persisting application state for fault tolerance.\n For more information, see \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing\">\n Checkpoints for Fault Tolerance</a> in the \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/\">Apache Flink Documentation</a>. </p>"
"smithy.api#documentation": "<p>Describes an application's checkpointing configuration. Checkpointing is the \n process of persisting application state for fault tolerance.\n For more information, see \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing\">\n Checkpoints for Fault Tolerance</a> in the \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/\">Apache Flink Documentation</a>. </p>"
}
},
"MonitoringConfiguration": {
Expand Down Expand Up @@ -3278,7 +3278,7 @@
"JobPlanDescription": {
"target": "com.amazonaws.kinesisanalyticsv2#JobPlanDescription",
"traits": {
"smithy.api#documentation": "<p>The job plan for an application. For more information about the job plan, see <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/internals/job_scheduling.html\">Jobs and Scheduling</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/\">Apache Flink\n Documentation</a>. To retrieve the job plan for the application, use the <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the <a>DescribeApplication</a> operation.</p>"
"smithy.api#documentation": "<p>The job plan for an application. For more information about the job plan, see <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/internals/job_scheduling.html\">Jobs and Scheduling</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/\">Apache Flink\n Documentation</a>. To retrieve the job plan for the application, use the <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the <a>DescribeApplication</a> operation.</p>"
}
}
},
Expand Down Expand Up @@ -3318,7 +3318,7 @@
"AllowNonRestoredState": {
"target": "com.amazonaws.kinesisanalyticsv2#BooleanObject",
"traits": {
"smithy.api#documentation": "<p>When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot \n be mapped to the new program.\n This will happen if the program is updated between snapshots to remove stateful parameters, and \n state data in the snapshot no longer \n corresponds to valid application data. For more information, see \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/ops/state/savepoints/#allowing-non-restored-state\">\n Allowing Non-Restored State</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/\">Apache Flink\n documentation</a>.</p>\n <note>\n <p>This value defaults to <code>false</code>. If you update your application without\n specifying this parameter, <code>AllowNonRestoredState</code> will be set to <code>false</code>,\n even if it was previously set to <code>true</code>.</p>\n </note>"
"smithy.api#documentation": "<p>When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot \n be mapped to the new program.\n This will happen if the program is updated between snapshots to remove stateful parameters, and \n state data in the snapshot no longer \n corresponds to valid application data. For more information, see \n <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/state/savepoints/#allowing-non-restored-state\">\n Allowing Non-Restored State</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/\">Apache Flink\n documentation</a>.</p>\n <note>\n <p>This value defaults to <code>false</code>. If you update your application without\n specifying this parameter, <code>AllowNonRestoredState</code> will be set to <code>false</code>,\n even if it was previously set to <code>true</code>.</p>\n </note>"
}
}
},
Expand Down Expand Up @@ -6028,7 +6028,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Describes parameters for how a Managed Service for Apache Flink application\n executes multiple tasks simultaneously. For more information about parallelism,\n see <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/dev/parallel.html\">Parallel Execution</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.18/\">Apache Flink\n Documentation</a>.</p>"
"smithy.api#documentation": "<p>Describes parameters for how a Managed Service for Apache Flink application\n executes multiple tasks simultaneously. For more information about parallelism,\n see <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/dev/parallel.html\">Parallel Execution</a> in the <a href=\"https://nightlies.apache.org/flink/flink-docs-release-1.19/\">Apache Flink\n Documentation</a>.</p>"
}
},
"com.amazonaws.kinesisanalyticsv2#ParallelismConfigurationDescription": {
Expand Down Expand Up @@ -6722,6 +6722,12 @@
"traits": {
"smithy.api#enumValue": "FLINK-1_18"
}
},
"FLINK_1_19": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FLINK-1_19"
}
}
}
},
Expand Down
Loading

0 comments on commit b76404f

Please sign in to comment.