diff --git a/.changelog/201212d74f5548dcb17a0fa7fc28a7cc.json b/.changelog/201212d74f5548dcb17a0fa7fc28a7cc.json new file mode 100644 index 00000000000..63778fc6954 --- /dev/null +++ b/.changelog/201212d74f5548dcb17a0fa7fc28a7cc.json @@ -0,0 +1,103 @@ +{ + "id": "201212d7-4f55-48dc-b17a-0fa7fc28a7cc", + "type": "feature", + "collapse": true, + "description": "**BREAKFIX**: Correct nullability and default value representation of various input fields across a large number of services. Calling code that references one or more of the affected fields will need to update usage accordingly. See [2162](https://github.com/aws/aws-sdk-go-v2/issues/2162).", + "modules": [ + "service/amplifybackend", + "service/apigatewaymanagementapi", + "service/apigatewayv2", + "service/appconfig", + "service/appflow", + "service/appstream", + "service/athena", + "service/autoscaling", + "service/backupstorage", + "service/batch", + "service/chimesdkmediapipelines", + "service/cloudformation", + "service/cloudsearch", + "service/cloudwatch", + "service/codestar", + "service/codestarnotifications", + "service/cognitoidentity", + "service/cognitoidentityprovider", + "service/configservice", + "service/connect", + "service/connectcontactlens", + "service/costexplorer", + "service/customerprofiles", + "service/databrew", + "service/directoryservice", + "service/dlm", + "service/docdb", + "service/elasticache", + "service/elasticloadbalancing", + "service/elasticloadbalancingv2", + "service/elasticsearchservice", + "service/emr", + "service/finspace", + "service/finspacedata", + "service/fis", + "service/fms", + "service/fsx", + "service/gamelift", + "service/glue", + "service/greengrass", + "service/greengrassv2", + "service/guardduty", + "service/honeycode", + "service/imagebuilder", + "service/inspector", + "service/iot", + "service/iot1clickdevicesservice", + "service/iotanalytics", + "service/iotdataplane", + "service/iotdeviceadvisor", + "service/iotsecuretunneling", + "service/iotwireless", + "service/kinesisvideosignaling", + "service/lambda", + "service/lexmodelsv2", + "service/lightsail", + "service/lookoutmetrics", + "service/lookoutvision", + "service/macie2", + "service/mediaconnect", + "service/mediaconvert", + "service/medialive", + "service/mediapackage", + "service/mediapackagevod", + "service/mq", + "service/neptune", + "service/networkfirewall", + "service/opensearch", + "service/outposts", + "service/personalizeruntime", + "service/pinpoint", + "service/quicksight", + "service/rds", + "service/redshift", + "service/robomaker", + "service/route53", + "service/route53recoveryreadiness", + "service/s3control", + "service/sagemaker", + "service/sagemakera2iruntime", + "service/sagemakeredge", + "service/sagemakerfeaturestoreruntime", + "service/sagemakermetrics", + "service/sagemakerruntime", + "service/schemas", + "service/securityhub", + "service/serverlessapplicationrepository", + "service/servicecatalogappregistry", + "service/ssm", + "service/timestreamwrite", + "service/waf", + "service/wafregional", + "service/wafv2", + "service/wellarchitected", + "service/xray" + ] +} \ No newline at end of file diff --git a/.changelog/2f21357c3f8e45c98ce2c27bf18622f6.json b/.changelog/2f21357c3f8e45c98ce2c27bf18622f6.json index e1805c8e374..ac5be9dcd98 100644 --- a/.changelog/2f21357c3f8e45c98ce2c27bf18622f6.json +++ b/.changelog/2f21357c3f8e45c98ce2c27bf18622f6.json @@ -1,6 +1,7 @@ { "id": "2f21357c-3f8e-45c9-8ce2-c27bf18622f6", "type": "feature", + "collapse": true, "description": "**BREAKFIX**: Correct nullability representation of APIGateway-based services.", "modules": [ "service/amplifybackend", @@ -22,4 +23,4 @@ "service/schemas", "service/serverlessapplicationrepository" ] -} \ No newline at end of file +} diff --git a/codegen/sdk-codegen/aws-models/amplifybackend.json b/codegen/sdk-codegen/aws-models/amplifybackend.json index aec30cda322..91612b1b419 100644 --- a/codegen/sdk-codegen/aws-models/amplifybackend.json +++ b/codegen/sdk-codegen/aws-models/amplifybackend.json @@ -212,7 +212,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -255,7 +254,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -268,7 +268,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -282,7 +281,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -305,7 +303,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -340,7 +337,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -351,14 +347,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -372,14 +370,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -388,11 +384,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -403,14 +399,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -424,7 +422,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -444,7 +441,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -455,14 +451,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -473,9 +471,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1265,6 +1265,7 @@ "AppId": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The app ID.

", "smithy.api#jsonName": "appId", "smithy.api#required": {} @@ -1273,6 +1274,7 @@ "BackendEnvironmentName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the backend environment.

", "smithy.api#jsonName": "backendEnvironmentName", "smithy.api#required": {} @@ -1331,6 +1333,7 @@ "Authenticated": { "target": "com.amazonaws.amplifybackend#ListOfAuthenticatedElement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Lists all authenticated user read, write, and delete permissions for your S3 bucket.

", "smithy.api#jsonName": "authenticated", "smithy.api#required": {} @@ -1418,6 +1421,7 @@ "TargetEnvironmentName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the destination backend environment to be created.

", "smithy.api#jsonName": "targetEnvironmentName", "smithy.api#required": {} @@ -1555,6 +1559,7 @@ "BackendEnvironmentName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the backend environment.

", "smithy.api#jsonName": "backendEnvironmentName", "smithy.api#required": {} @@ -1563,6 +1568,7 @@ "ResourceConfig": { "target": "com.amazonaws.amplifybackend#BackendAPIResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource configuration for this request.

", "smithy.api#jsonName": "resourceConfig", "smithy.api#required": {} @@ -1571,6 +1577,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -1669,6 +1676,7 @@ "DeliveryMethod": { "target": "com.amazonaws.amplifybackend#DeliveryMethod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

(DEPRECATED) Describes which mode to use (either SMS or email) to deliver messages to app users who want to recover their password.

", "smithy.api#jsonName": "deliveryMethod", "smithy.api#required": {} @@ -1699,6 +1707,7 @@ "IdentityPoolName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the Amazon Cognito identity pool used for authorization.

", "smithy.api#jsonName": "identityPoolName", "smithy.api#required": {} @@ -1707,6 +1716,7 @@ "UnauthenticatedLogin": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Set to true or false based on whether you want to enable guest authorization to your Amplify app.

", "smithy.api#jsonName": "unauthenticatedLogin", "smithy.api#required": {} @@ -1723,6 +1733,7 @@ "MFAMode": { "target": "com.amazonaws.amplifybackend#MFAMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes whether MFA should be [ON, OFF, or OPTIONAL] for authentication in your Amplify project.

", "smithy.api#required": {} } @@ -1752,6 +1763,7 @@ "OAuthGrantType": { "target": "com.amazonaws.amplifybackend#OAuthGrantType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OAuth grant type that you use to allow app users to authenticate from your Amplify app.

", "smithy.api#jsonName": "oAuthGrantType", "smithy.api#required": {} @@ -1760,6 +1772,7 @@ "OAuthScopes": { "target": "com.amazonaws.amplifybackend#ListOfOAuthScopesElement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of OAuth-related flows used to allow your app users to authenticate from your Amplify app.

", "smithy.api#jsonName": "oAuthScopes", "smithy.api#required": {} @@ -1768,6 +1781,7 @@ "RedirectSignInURIs": { "target": "com.amazonaws.amplifybackend#ListOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The redirected URI for signing in to your Amplify app.

", "smithy.api#jsonName": "redirectSignInURIs", "smithy.api#required": {} @@ -1776,6 +1790,7 @@ "RedirectSignOutURIs": { "target": "com.amazonaws.amplifybackend#ListOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Redirect URLs that OAuth uses when a user signs out of an Amplify app.

", "smithy.api#jsonName": "redirectSignOutURIs", "smithy.api#required": {} @@ -1806,6 +1821,7 @@ "MinimumLength": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum length of the password used to access the backend of your Amplify project.

", "smithy.api#jsonName": "minimumLength", "smithy.api#required": {} @@ -1830,6 +1846,7 @@ "BackendEnvironmentName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the backend environment.

", "smithy.api#jsonName": "backendEnvironmentName", "smithy.api#required": {} @@ -1838,6 +1855,7 @@ "ResourceConfig": { "target": "com.amazonaws.amplifybackend#CreateBackendAuthResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource configuration for this request object.

", "smithy.api#jsonName": "resourceConfig", "smithy.api#required": {} @@ -1846,6 +1864,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -1863,6 +1882,7 @@ "AuthResources": { "target": "com.amazonaws.amplifybackend#AuthResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines whether you want to configure only authentication or both authentication and authorization settings.

", "smithy.api#jsonName": "authResources", "smithy.api#required": {} @@ -1878,6 +1898,7 @@ "Service": { "target": "com.amazonaws.amplifybackend#Service", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the service name to use when configuring an authentication resource in your Amplify project.

", "smithy.api#jsonName": "service", "smithy.api#required": {} @@ -1886,6 +1907,7 @@ "UserPoolConfigs": { "target": "com.amazonaws.amplifybackend#CreateBackendAuthUserPoolConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.

", "smithy.api#jsonName": "userPoolConfigs", "smithy.api#required": {} @@ -1980,6 +2002,7 @@ "RequiredSignUpAttributes": { "target": "com.amazonaws.amplifybackend#ListOfRequiredSignUpAttributesElement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The required attributes to sign up new users in the user pool.

", "smithy.api#jsonName": "requiredSignUpAttributes", "smithy.api#required": {} @@ -1988,6 +2011,7 @@ "SignInMethod": { "target": "com.amazonaws.amplifybackend#SignInMethod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the sign-in methods that your Amplify app users use to log in using the Amazon Cognito user pool, configured as a part of your Amplify project.

", "smithy.api#jsonName": "signInMethod", "smithy.api#required": {} @@ -1996,6 +2020,7 @@ "UserPoolName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Cognito user pool name.

", "smithy.api#jsonName": "userPoolName", "smithy.api#required": {} @@ -2019,6 +2044,7 @@ "DeliveryMethod": { "target": "com.amazonaws.amplifybackend#DeliveryMethod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of verification message to send.

", "smithy.api#jsonName": "deliveryMethod", "smithy.api#required": {} @@ -2140,6 +2166,7 @@ "AppId": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The app ID.

", "smithy.api#jsonName": "appId", "smithy.api#required": {} @@ -2148,6 +2175,7 @@ "AppName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app.

", "smithy.api#jsonName": "appName", "smithy.api#required": {} @@ -2156,6 +2184,7 @@ "BackendEnvironmentName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the backend environment.

", "smithy.api#jsonName": "backendEnvironmentName", "smithy.api#required": {} @@ -2276,6 +2305,7 @@ "BackendEnvironmentName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the backend environment.

", "smithy.api#jsonName": "backendEnvironmentName", "smithy.api#required": {} @@ -2284,6 +2314,7 @@ "ResourceConfig": { "target": "com.amazonaws.amplifybackend#CreateBackendStorageResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource configuration for creating backend storage.

", "smithy.api#jsonName": "resourceConfig", "smithy.api#required": {} @@ -2292,6 +2323,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -2316,6 +2348,7 @@ "Permissions": { "target": "com.amazonaws.amplifybackend#BackendStoragePermissions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authorization configuration for the storage S3 bucket.

", "smithy.api#jsonName": "permissions", "smithy.api#required": {} @@ -2324,6 +2357,7 @@ "ServiceName": { "target": "com.amazonaws.amplifybackend#ServiceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage service.

", "smithy.api#jsonName": "serviceName", "smithy.api#required": {} @@ -2544,6 +2578,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -2658,6 +2693,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -2846,6 +2882,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -2854,6 +2891,7 @@ "ServiceName": { "target": "com.amazonaws.amplifybackend#ServiceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage service.

", "smithy.api#jsonName": "serviceName", "smithy.api#required": {} @@ -3084,6 +3122,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -3260,6 +3299,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -3329,6 +3369,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -3436,6 +3477,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -3751,6 +3793,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -3775,6 +3818,7 @@ "Imported": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns True if the storage resource has been imported.

", "smithy.api#jsonName": "imported", "smithy.api#required": {} @@ -3790,6 +3834,7 @@ "ServiceName": { "target": "com.amazonaws.amplifybackend#ServiceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage service.

", "smithy.api#jsonName": "serviceName", "smithy.api#required": {} @@ -3987,6 +4032,7 @@ "NativeClientId": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Cognito native client.

", "smithy.api#jsonName": "nativeClientId", "smithy.api#required": {} @@ -3995,6 +4041,7 @@ "UserPoolId": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Cognito user pool.

", "smithy.api#jsonName": "userPoolId", "smithy.api#required": {} @@ -4003,6 +4050,7 @@ "WebClientId": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Cognito web client.

", "smithy.api#jsonName": "webClientId", "smithy.api#required": {} @@ -4124,6 +4172,7 @@ "ServiceName": { "target": "com.amazonaws.amplifybackend#ServiceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage service.

", "smithy.api#jsonName": "serviceName", "smithy.api#required": {} @@ -5152,6 +5201,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -5403,6 +5453,7 @@ "ResourceConfig": { "target": "com.amazonaws.amplifybackend#UpdateBackendAuthResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource configuration for this request object.

", "smithy.api#jsonName": "resourceConfig", "smithy.api#required": {} @@ -5411,6 +5462,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -5428,6 +5480,7 @@ "AuthResources": { "target": "com.amazonaws.amplifybackend#AuthResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the service name to use when configuring an authentication resource in your Amplify project.

", "smithy.api#jsonName": "authResources", "smithy.api#required": {} @@ -5443,6 +5496,7 @@ "Service": { "target": "com.amazonaws.amplifybackend#Service", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the service name to use when configuring an authentication resource in your Amplify project.

", "smithy.api#jsonName": "service", "smithy.api#required": {} @@ -5451,6 +5505,7 @@ "UserPoolConfigs": { "target": "com.amazonaws.amplifybackend#UpdateBackendAuthUserPoolConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.

", "smithy.api#jsonName": "userPoolConfigs", "smithy.api#required": {} @@ -5560,6 +5615,7 @@ "DeliveryMethod": { "target": "com.amazonaws.amplifybackend#DeliveryMethod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of verification message to send.

", "smithy.api#jsonName": "deliveryMethod", "smithy.api#required": {} @@ -5870,6 +5926,7 @@ "ResourceConfig": { "target": "com.amazonaws.amplifybackend#UpdateBackendStorageResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource configuration for updating backend storage.

", "smithy.api#jsonName": "resourceConfig", "smithy.api#required": {} @@ -5878,6 +5935,7 @@ "ResourceName": { "target": "com.amazonaws.amplifybackend#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage resource.

", "smithy.api#jsonName": "resourceName", "smithy.api#required": {} @@ -5895,6 +5953,7 @@ "Permissions": { "target": "com.amazonaws.amplifybackend#BackendStoragePermissions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authorization configuration for the storage S3 bucket.

", "smithy.api#jsonName": "permissions", "smithy.api#required": {} @@ -5903,6 +5962,7 @@ "ServiceName": { "target": "com.amazonaws.amplifybackend#ServiceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the storage service.

", "smithy.api#jsonName": "serviceName", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json b/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json index 02e62e34c39..3646cbff674 100644 --- a/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json +++ b/codegen/sdk-codegen/aws-models/apigatewaymanagementapi.json @@ -99,7 +99,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -142,7 +141,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -155,7 +155,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -169,7 +168,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -192,7 +190,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -227,7 +224,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -238,14 +234,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -259,14 +257,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -275,11 +271,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -290,14 +286,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -311,7 +309,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -331,7 +328,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -342,14 +338,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -360,9 +358,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -835,6 +835,7 @@ "SourceIp": { "target": "com.amazonaws.apigatewaymanagementapi#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source IP address of the TCP connection making the request to API Gateway.

", "smithy.api#jsonName": "sourceIp", "smithy.api#required": {} @@ -843,6 +844,7 @@ "UserAgent": { "target": "com.amazonaws.apigatewaymanagementapi#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The User Agent of the API caller.

", "smithy.api#jsonName": "userAgent", "smithy.api#required": {} @@ -912,6 +914,7 @@ "Data": { "target": "com.amazonaws.apigatewaymanagementapi#Data", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data to be sent to the client specified by its connection id.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/apigatewayv2.json b/codegen/sdk-codegen/aws-models/apigatewayv2.json index d1949818061..a91f55fbf42 100644 --- a/codegen/sdk-codegen/aws-models/apigatewayv2.json +++ b/codegen/sdk-codegen/aws-models/apigatewayv2.json @@ -142,6 +142,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the API.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -150,6 +151,7 @@ "ProtocolType": { "target": "com.amazonaws.apigatewayv2#ProtocolType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API protocol.

", "smithy.api#jsonName": "protocolType", "smithy.api#required": {} @@ -158,6 +160,7 @@ "RouteSelectionExpression": { "target": "com.amazonaws.apigatewayv2#SelectionExpression", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.

", "smithy.api#jsonName": "routeSelectionExpression", "smithy.api#required": {} @@ -466,7 +469,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -509,7 +511,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -522,7 +525,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -536,7 +538,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -559,7 +560,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -594,7 +594,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -605,14 +604,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -626,14 +627,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -642,11 +641,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -657,14 +656,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -678,7 +679,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -698,7 +698,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -709,14 +708,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -727,9 +728,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1346,6 +1349,7 @@ "ApiId": { "target": "com.amazonaws.apigatewayv2#Id", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API identifier.

", "smithy.api#jsonName": "apiId", "smithy.api#required": {} @@ -1368,6 +1372,7 @@ "Stage": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API stage.

", "smithy.api#jsonName": "stage", "smithy.api#required": {} @@ -1501,6 +1506,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the authorizer.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1750,6 +1756,7 @@ "ApiId": { "target": "com.amazonaws.apigatewayv2#Id", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API identifier.

", "smithy.api#jsonName": "apiId", "smithy.api#required": {} @@ -1773,6 +1780,7 @@ "Stage": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API stage.

", "smithy.api#jsonName": "stage", "smithy.api#required": {} @@ -1868,6 +1876,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the API.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1876,6 +1885,7 @@ "ProtocolType": { "target": "com.amazonaws.apigatewayv2#ProtocolType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API protocol.

", "smithy.api#jsonName": "protocolType", "smithy.api#required": {} @@ -2108,6 +2118,7 @@ "AuthorizerType": { "target": "com.amazonaws.apigatewayv2#AuthorizerType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authorizer type. Specify REQUEST for a Lambda function using incoming request parameters. Specify JWT to use JSON Web Tokens (supported only for HTTP APIs).

", "smithy.api#jsonName": "authorizerType", "smithy.api#required": {} @@ -2130,6 +2141,7 @@ "IdentitySource": { "target": "com.amazonaws.apigatewayv2#IdentitySourceList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identity source for which authorization is requested.

For a REQUEST authorizer, this is optional. The value is a set of one or more mapping expressions of the specified request parameters. The identity source can be headers, query string parameters, stage variables, and context parameters. For example, if an Auth header and a Name query string parameter are defined as identity sources, this value is route.request.header.Auth, route.request.querystring.Name for WebSocket APIs. For HTTP APIs, use selection expressions prefixed with $, for example, $request.header.Auth, $request.querystring.Name. These parameters are used to perform runtime validation for Lambda-based authorizers by verifying all of the identity-related request parameters are present in the request, not null, and non-empty. Only when this is true does the authorizer invoke the authorizer Lambda function. Otherwise, it returns a 401 Unauthorized response without calling the Lambda function. For HTTP APIs, identity sources are also used as the cache key when caching is enabled. To learn more, see Working with AWS Lambda authorizers for HTTP APIs.

For JWT, a single entry that specifies where to extract the JSON Web Token (JWT) from inbound requests. Currently only header-based and query parameter-based selections are supported, for example $request.header.Authorization.

", "smithy.api#jsonName": "identitySource", "smithy.api#required": {} @@ -2152,6 +2164,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the authorizer.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -2400,6 +2413,7 @@ "DomainName": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And512", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain name.

", "smithy.api#jsonName": "domainName", "smithy.api#required": {} @@ -2569,6 +2583,7 @@ "IntegrationType": { "target": "com.amazonaws.apigatewayv2#IntegrationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The integration type of an integration. One of the following:

AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs.

AWS_PROXY: for integrating the route or method request with a Lambda function or other AWS service action. This integration is also referred to as a Lambda proxy integration.

HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs.

HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. For HTTP API private integrations, use an HTTP_PROXY integration.

MOCK: for integrating the route or method request with API Gateway as a \"loopback\" endpoint without invoking any backend. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "integrationType", "smithy.api#required": {} @@ -2703,6 +2718,7 @@ "IntegrationResponseKey": { "target": "com.amazonaws.apigatewayv2#SelectionKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The integration response key.

", "smithy.api#jsonName": "integrationResponseKey", "smithy.api#required": {} @@ -2992,6 +3008,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model. Must be alphanumeric.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3000,6 +3017,7 @@ "Schema": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween0And32K", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The schema for the model. For application/json models, this should be JSON schema draft 4 model.

", "smithy.api#jsonName": "schema", "smithy.api#required": {} @@ -3155,6 +3173,7 @@ "RouteKey": { "target": "com.amazonaws.apigatewayv2#SelectionKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The route key for the route.

", "smithy.api#jsonName": "routeKey", "smithy.api#required": {} @@ -3254,6 +3273,7 @@ "RouteResponseKey": { "target": "com.amazonaws.apigatewayv2#SelectionKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The route response key.

", "smithy.api#jsonName": "routeResponseKey", "smithy.api#required": {} @@ -3501,6 +3521,7 @@ "StageName": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage.

", "smithy.api#jsonName": "stageName", "smithy.api#required": {} @@ -3663,6 +3684,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the VPC link.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3678,6 +3700,7 @@ "SubnetIds": { "target": "com.amazonaws.apigatewayv2#SubnetIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of subnet IDs to include in the VPC link.

", "smithy.api#jsonName": "subnetIds", "smithy.api#required": {} @@ -4650,6 +4673,7 @@ "DomainName": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And512", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DomainName resource.

", "smithy.api#jsonName": "domainName", "smithy.api#required": {} @@ -4875,6 +4899,7 @@ "OutputType": { "target": "com.amazonaws.apigatewayv2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The output type of the exported definition file. Valid values are JSON and YAML.

", "smithy.api#httpQuery": "outputType", "smithy.api#required": {} @@ -7530,6 +7555,7 @@ "Body": { "target": "com.amazonaws.apigatewayv2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OpenAPI definition. Supported only for HTTP APIs.

", "smithy.api#jsonName": "body", "smithy.api#required": {} @@ -7878,6 +7904,7 @@ "IntegrationResponseKey": { "target": "com.amazonaws.apigatewayv2#SelectionKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The integration response key.

", "smithy.api#jsonName": "integrationResponseKey", "smithy.api#required": {} @@ -8022,6 +8049,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model. Must be alphanumeric.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -8227,6 +8255,7 @@ "Body": { "target": "com.amazonaws.apigatewayv2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OpenAPI definition. Supported only for HTTP APIs.

", "smithy.api#jsonName": "body", "smithy.api#required": {} @@ -8502,6 +8531,7 @@ "RouteKey": { "target": "com.amazonaws.apigatewayv2#SelectionKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The route key for the route.

", "smithy.api#jsonName": "routeKey", "smithy.api#required": {} @@ -8584,6 +8614,7 @@ "RouteResponseKey": { "target": "com.amazonaws.apigatewayv2#SelectionKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the route response key of a route response.

", "smithy.api#jsonName": "routeResponseKey", "smithy.api#required": {} @@ -8773,6 +8804,7 @@ "StageName": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage.

", "smithy.api#jsonName": "stageName", "smithy.api#required": {} @@ -9057,6 +9089,7 @@ "TagKeys": { "target": "com.amazonaws.apigatewayv2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Tag keys to delete

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -9135,6 +9168,7 @@ "ApiId": { "target": "com.amazonaws.apigatewayv2#Id", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API identifier.

", "smithy.api#jsonName": "apiId", "smithy.api#required": {} @@ -11181,6 +11215,7 @@ "Name": { "target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the VPC link.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -11189,6 +11224,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.apigatewayv2#SecurityGroupIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of security group IDs for the VPC link.

", "smithy.api#jsonName": "securityGroupIds", "smithy.api#required": {} @@ -11197,6 +11233,7 @@ "SubnetIds": { "target": "com.amazonaws.apigatewayv2#SubnetIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of subnet IDs to include in the VPC link.

", "smithy.api#jsonName": "subnetIds", "smithy.api#required": {} @@ -11212,6 +11249,7 @@ "VpcLinkId": { "target": "com.amazonaws.apigatewayv2#Id", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the VPC link.

", "smithy.api#jsonName": "vpcLinkId", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/appconfig.json b/codegen/sdk-codegen/aws-models/appconfig.json index 5dcf75a6808..2a6287f2eb3 100644 --- a/codegen/sdk-codegen/aws-models/appconfig.json +++ b/codegen/sdk-codegen/aws-models/appconfig.json @@ -1940,7 +1940,6 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#GrowthFactor", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

", "smithy.api#required": {} } @@ -2718,7 +2717,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The versions number to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2803,7 +2802,6 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

" } }, @@ -2829,7 +2827,6 @@ "PercentageComplete": { "target": "com.amazonaws.appconfig#Percentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets for which the deployment is available.

" } }, @@ -3057,7 +3054,6 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets that received a deployed configuration during each\n interval.

" } }, @@ -3126,7 +3122,6 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

" } }, @@ -3146,7 +3141,6 @@ "PercentageComplete": { "target": "com.amazonaws.appconfig#Percentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets for which the deployment is available.

" } }, @@ -4079,7 +4073,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4093,7 +4087,6 @@ "com.amazonaws.appconfig#GrowthFactor": { "type": "float", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1.0, "max": 100.0 @@ -4411,7 +4404,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4495,7 +4487,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4575,7 +4566,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4648,7 +4638,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items that may be returned for this call. If there are items that\n have not yet been returned, the response will include a non-null NextToken\n that you can provide in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4732,7 +4721,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4808,7 +4796,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4862,7 +4849,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -4962,7 +4948,6 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -5056,7 +5041,6 @@ "com.amazonaws.appconfig#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5206,7 +5190,6 @@ "com.amazonaws.appconfig#Percentage": { "type": "float", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1.0, "max": 100.0 @@ -5957,7 +5940,6 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#GrowthFactor", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

" } }, diff --git a/codegen/sdk-codegen/aws-models/appflow.json b/codegen/sdk-codegen/aws-models/appflow.json index 56e4e50cb05..b7289d08e05 100644 --- a/codegen/sdk-codegen/aws-models/appflow.json +++ b/codegen/sdk-codegen/aws-models/appflow.json @@ -4416,7 +4416,6 @@ "com.amazonaws.appflow#FlowErrorDeactivationThreshold": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -6506,7 +6505,6 @@ "com.amazonaws.appflow#PortNumber": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -7575,7 +7573,6 @@ "portNumber": { "target": "com.amazonaws.appflow#PortNumber", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The port number of the SAPOData instance.

", "smithy.api#required": {} } @@ -8196,7 +8193,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8239,7 +8235,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -8252,7 +8249,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8266,7 +8262,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8289,7 +8284,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8324,7 +8318,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -8335,14 +8328,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -8356,14 +8351,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -8372,11 +8365,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -8387,14 +8380,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -8408,7 +8403,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8428,7 +8422,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -8439,14 +8432,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -8457,9 +8452,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -9090,7 +9087,6 @@ "flowErrorDeactivationThreshold": { "target": "com.amazonaws.appflow#FlowErrorDeactivationThreshold", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Defines how many times a scheduled flow fails consecutively before Amazon AppFlow\n deactivates it.

" } } diff --git a/codegen/sdk-codegen/aws-models/appstream.json b/codegen/sdk-codegen/aws-models/appstream.json index 8b63e003142..34ea5d6835b 100644 --- a/codegen/sdk-codegen/aws-models/appstream.json +++ b/codegen/sdk-codegen/aws-models/appstream.json @@ -35,6 +35,7 @@ "EndpointType": { "target": "com.amazonaws.appstream#AccessEndpointType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of interface endpoint.

", "smithy.api#required": {} } @@ -145,6 +146,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block.

", "smithy.api#required": {} } @@ -152,6 +154,7 @@ "Arn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the app block.

", "smithy.api#required": {} } @@ -221,6 +224,7 @@ "Arn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the app block builder.

", "smithy.api#required": {} } @@ -228,6 +232,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -247,6 +252,7 @@ "Platform": { "target": "com.amazonaws.appstream#AppBlockBuilderPlatformType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The platform of the app block builder.

\n

\n WINDOWS_SERVER_2019 is the only valid value.

", "smithy.api#required": {} } @@ -254,6 +260,7 @@ "InstanceType": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type of the app block builder.

", "smithy.api#required": {} } @@ -273,6 +280,7 @@ "VpcConfig": { "target": "com.amazonaws.appstream#VpcConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC configuration for the app block builder.

", "smithy.api#required": {} } @@ -280,6 +288,7 @@ "State": { "target": "com.amazonaws.appstream#AppBlockBuilderState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The state of the app block builder.

", "smithy.api#required": {} } @@ -319,6 +328,7 @@ "AppBlockArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the app block.

", "smithy.api#required": {} } @@ -326,6 +336,7 @@ "AppBlockBuilderName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -529,7 +540,6 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If there is a problem, the application can be disabled after image creation.

" } }, @@ -627,6 +637,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet associated with the application.

", "smithy.api#required": {} } @@ -634,6 +645,7 @@ "ApplicationArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the application associated with the fleet.

", "smithy.api#required": {} } @@ -661,7 +673,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables or disables persistent application settings for users during their streaming sessions.

", "smithy.api#required": {} } @@ -683,7 +695,6 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether persistent application settings are enabled for users during their streaming sessions.

" } }, @@ -766,6 +777,7 @@ "AppBlockArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the app block.

", "smithy.api#required": {} } @@ -773,6 +785,7 @@ "AppBlockBuilderName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -831,6 +844,7 @@ "FleetName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -838,6 +852,7 @@ "ApplicationArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the application.

", "smithy.api#required": {} } @@ -893,6 +908,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -900,6 +916,7 @@ "EntitlementName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -907,6 +924,7 @@ "ApplicationIdentifier": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the application.

", "smithy.api#required": {} } @@ -961,6 +979,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -968,6 +987,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -1057,6 +1077,7 @@ "UserStackAssociations": { "target": "com.amazonaws.appstream#UserStackAssociationList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of UserStackAssociation objects.

", "smithy.api#required": {} } @@ -1106,6 +1127,7 @@ "UserStackAssociations": { "target": "com.amazonaws.appstream#UserStackAssociationList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of UserStackAssociation objects.

", "smithy.api#required": {} } @@ -1130,10 +1152,7 @@ } }, "com.amazonaws.appstream#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.appstream#BooleanObject": { "type": "boolean" @@ -1187,6 +1206,7 @@ "DesiredInstances": { "target": "com.amazonaws.appstream#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The desired number of streaming instances.

", "smithy.api#required": {} } @@ -1202,6 +1222,7 @@ "Desired": { "target": "com.amazonaws.appstream#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The desired number of streaming instances.

", "smithy.api#required": {} } @@ -1280,6 +1301,7 @@ "SourceImageName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to copy.

", "smithy.api#required": {} } @@ -1287,6 +1309,7 @@ "DestinationImageName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name that the image will have when it is copied to the destination.

", "smithy.api#required": {} } @@ -1294,6 +1317,7 @@ "DestinationRegion": { "target": "com.amazonaws.appstream#RegionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.

", "smithy.api#required": {} } @@ -1399,6 +1423,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique name for the app block builder.

", "smithy.api#required": {} } @@ -1424,6 +1449,7 @@ "Platform": { "target": "com.amazonaws.appstream#AppBlockBuilderPlatformType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The platform of the app block builder.

\n

\n WINDOWS_SERVER_2019 is the only valid value.

", "smithy.api#required": {} } @@ -1431,6 +1457,7 @@ "InstanceType": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type to use when launching the app block builder. The following instance\n types are available:

\n ", "smithy.api#required": {} } @@ -1438,6 +1465,7 @@ "VpcConfig": { "target": "com.amazonaws.appstream#VpcConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC configuration for the app block builder.

\n

App block builders require that you specify at least two subnets in different availability\n zones.

", "smithy.api#required": {} } @@ -1502,6 +1530,7 @@ "AppBlockBuilderName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -1543,6 +1572,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block.

", "smithy.api#required": {} } @@ -1562,6 +1592,7 @@ "SourceS3Location": { "target": "com.amazonaws.appstream#S3Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source S3 location of the app block.

", "smithy.api#required": {} } @@ -1644,6 +1675,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the application. This name is visible to users when display name is not specified.

", "smithy.api#required": {} } @@ -1663,6 +1695,7 @@ "IconS3Location": { "target": "com.amazonaws.appstream#S3Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location in S3 of the application icon.

", "smithy.api#required": {} } @@ -1670,6 +1703,7 @@ "LaunchPath": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The launch path of the application.

", "smithy.api#required": {} } @@ -1689,6 +1723,7 @@ "Platforms": { "target": "com.amazonaws.appstream#Platforms", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The platforms the application supports. WINDOWS_SERVER_2019 and AMAZON_LINUX2 are supported for Elastic fleets.

", "smithy.api#required": {} } @@ -1696,6 +1731,7 @@ "InstanceFamilies": { "target": "com.amazonaws.appstream#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance families the application supports. Valid values are GENERAL_PURPOSE and GRAPHICS_G4.

", "smithy.api#required": {} } @@ -1703,6 +1739,7 @@ "AppBlockArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The app block ARN to which the application should be associated

", "smithy.api#required": {} } @@ -1767,6 +1804,7 @@ "DirectoryName": { "target": "com.amazonaws.appstream#DirectoryName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The fully qualified name of the directory (for example, corp.example.com).

", "smithy.api#required": {} } @@ -1774,6 +1812,7 @@ "OrganizationalUnitDistinguishedNames": { "target": "com.amazonaws.appstream#OrganizationalUnitDistinguishedNamesList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The distinguished names of the organizational units for computer accounts.

", "smithy.api#required": {} } @@ -1841,6 +1880,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -1848,6 +1888,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -1861,6 +1902,7 @@ "AppVisibility": { "target": "com.amazonaws.appstream#AppVisibility", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether all or selected apps are entitled.

", "smithy.api#required": {} } @@ -1868,6 +1910,7 @@ "Attributes": { "target": "com.amazonaws.appstream#EntitlementAttributeList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The attributes of the entitlement.

", "smithy.api#required": {} } @@ -1944,6 +1987,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique name for the fleet.

", "smithy.api#required": {} } @@ -1963,6 +2007,7 @@ "InstanceType": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type to use when launching fleet instances. The following instance types are available:

\n \n

The following instance types are available for Elastic fleets:

\n ", "smithy.api#required": {} } @@ -2141,6 +2186,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique name for the image builder.

", "smithy.api#required": {} } @@ -2160,6 +2206,7 @@ "InstanceType": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type to use when launching the image builder. The following instance types are available:

\n ", "smithy.api#required": {} } @@ -2263,6 +2310,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image builder.

", "smithy.api#required": {} } @@ -2339,6 +2387,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -2460,6 +2509,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -2467,6 +2517,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -2474,6 +2525,7 @@ "UserId": { "target": "com.amazonaws.appstream#StreamingUrlUserId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the user.

", "smithy.api#required": {} } @@ -2562,6 +2614,7 @@ "existingImageName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to update.

", "smithy.api#required": {} } @@ -2569,6 +2622,7 @@ "newImageName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new image. The name must be unique within the AWS account and Region.

", "smithy.api#required": {} } @@ -2594,7 +2648,6 @@ "dryRun": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true, AppStream 2.0 displays whether image updates are available. If this value is set to false, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.

" } } @@ -2612,7 +2665,6 @@ "canUpdateImage": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a new image can be created.

" } } @@ -2706,6 +2758,7 @@ "UserName": { "target": "com.amazonaws.appstream#Username", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the user.

\n \n

Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a \"user does not exist\" error message displays.

\n
", "smithy.api#required": {} } @@ -2731,6 +2784,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the user. You must specify USERPOOL.

", "smithy.api#required": {} } @@ -2802,6 +2856,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -2824,6 +2879,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block.

", "smithy.api#required": {} } @@ -2872,6 +2928,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the application.

", "smithy.api#required": {} } @@ -2914,6 +2971,7 @@ "DirectoryName": { "target": "com.amazonaws.appstream#DirectoryName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the directory configuration.

", "smithy.api#required": {} } @@ -2962,6 +3020,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -2969,6 +3028,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -3014,6 +3074,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -3085,6 +3146,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image builder.

", "smithy.api#required": {} } @@ -3134,6 +3196,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private image.

", "smithy.api#required": {} } @@ -3141,6 +3204,7 @@ "SharedAccountId": { "target": "com.amazonaws.appstream#AwsAccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The 12-digit identifier of the AWS account for which to delete image permissions.

", "smithy.api#required": {} } @@ -3163,6 +3227,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image.

", "smithy.api#required": {} } @@ -3218,6 +3283,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -3291,6 +3357,7 @@ "UserName": { "target": "com.amazonaws.appstream#Username", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the user.

\n \n

Users' email addresses are case-sensitive.

\n
", "smithy.api#required": {} } @@ -3298,6 +3365,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the user. You must specify USERPOOL.

", "smithy.api#required": {} } @@ -3764,6 +3832,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -4025,6 +4094,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private image for which to describe permissions. The image must be one that you own.

", "smithy.api#required": {} } @@ -4193,6 +4263,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack. This value is case-sensitive.

", "smithy.api#required": {} } @@ -4200,6 +4271,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet. This value is case-sensitive.

", "smithy.api#required": {} } @@ -4477,6 +4549,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the users in the user pool to describe. You must specify USERPOOL.

", "smithy.api#required": {} } @@ -4533,6 +4606,7 @@ "DirectoryName": { "target": "com.amazonaws.appstream#DirectoryName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The fully qualified name of the directory (for example, corp.example.com).

", "smithy.api#required": {} } @@ -4604,6 +4678,7 @@ "UserName": { "target": "com.amazonaws.appstream#Username", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the user.

\n \n

Users' email addresses are case-sensitive.

\n
", "smithy.api#required": {} } @@ -4611,6 +4686,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the user. You must specify USERPOOL.

", "smithy.api#required": {} } @@ -4659,6 +4735,7 @@ "AppBlockArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the app block.

", "smithy.api#required": {} } @@ -4666,6 +4743,7 @@ "AppBlockBuilderName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -4711,6 +4789,7 @@ "FleetName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -4718,6 +4797,7 @@ "ApplicationArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the application.

", "smithy.api#required": {} } @@ -4763,6 +4843,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -4770,6 +4851,7 @@ "EntitlementName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -4777,6 +4859,7 @@ "ApplicationIdentifier": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the application to remove from the entitlement.

", "smithy.api#required": {} } @@ -4825,6 +4908,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -4832,6 +4916,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -4948,6 +5033,7 @@ "UserName": { "target": "com.amazonaws.appstream#Username", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the user.

\n \n

Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a \"user does not exist\" error message displays.

\n
", "smithy.api#required": {} } @@ -4955,6 +5041,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the user. You must specify USERPOOL.

", "smithy.api#required": {} } @@ -4977,6 +5064,7 @@ "ApplicationIdentifier": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the application.

", "smithy.api#required": {} } @@ -4998,6 +5086,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -5005,6 +5094,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -5018,6 +5108,7 @@ "AppVisibility": { "target": "com.amazonaws.appstream#AppVisibility", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether all or selected apps are entitled.

", "smithy.api#required": {} } @@ -5025,6 +5116,7 @@ "Attributes": { "target": "com.amazonaws.appstream#EntitlementAttributeList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The attributes of the entitlement.

", "smithy.api#required": {} } @@ -5065,6 +5157,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A supported AWS IAM SAML PrincipalTag attribute that is matched to the\n associated value when a user identity federates into an Amazon AppStream 2.0 SAML\n application.

\n

The following are valid values:

\n \n

", "smithy.api#required": {} } @@ -5072,6 +5165,7 @@ "Value": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that is matched to a supported SAML attribute name when a user identity\n federates into an Amazon AppStream 2.0 SAML application.

", "smithy.api#required": {} } @@ -5161,6 +5255,7 @@ "SessionId": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the streaming session.

", "smithy.api#required": {} } @@ -5192,6 +5287,7 @@ "Arn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the fleet.

", "smithy.api#required": {} } @@ -5199,6 +5295,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -5230,6 +5327,7 @@ "InstanceType": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type to use when launching fleet instances. The following instance types are available:

\n ", "smithy.api#required": {} } @@ -5243,6 +5341,7 @@ "ComputeCapacityStatus": { "target": "com.amazonaws.appstream#ComputeCapacityStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The capacity status for the fleet.

", "smithy.api#required": {} } @@ -5262,6 +5361,7 @@ "State": { "target": "com.amazonaws.appstream#FleetState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current state for the fleet.

", "smithy.api#required": {} } @@ -5674,6 +5774,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image.

", "smithy.api#required": {} } @@ -5711,7 +5812,6 @@ "ImageBuilderSupported": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether an image builder can be launched from this image.

" } }, @@ -5786,6 +5886,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image builder.

", "smithy.api#required": {} } @@ -6236,6 +6337,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -6289,6 +6391,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -6353,6 +6456,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -6360,6 +6464,7 @@ "EntitlementName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -6424,6 +6529,7 @@ "ResourceArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", "smithy.api#required": {} } @@ -6859,7 +6965,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -6902,7 +7007,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -6915,7 +7021,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -6929,7 +7034,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -6952,7 +7056,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -6987,7 +7090,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -6998,14 +7100,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -7019,14 +7123,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -7035,11 +7137,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -7050,14 +7152,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -7071,7 +7175,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -7091,7 +7194,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -7102,14 +7204,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -7170,9 +7274,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -7887,6 +7993,7 @@ "S3Bucket": { "target": "com.amazonaws.appstream#S3Bucket", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 bucket of the S3 object.

", "smithy.api#required": {} } @@ -7908,6 +8015,7 @@ "ScriptS3Location": { "target": "com.amazonaws.appstream#S3Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 object location for the script.

", "smithy.api#required": {} } @@ -7915,6 +8023,7 @@ "ExecutablePath": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The run path for the script.

", "smithy.api#required": {} } @@ -7928,6 +8037,7 @@ "TimeoutInSeconds": { "target": "com.amazonaws.appstream#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The run timeout, in seconds, for the script.

", "smithy.api#required": {} } @@ -7956,6 +8066,7 @@ "AccountName": { "target": "com.amazonaws.appstream#AccountName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user name of the account. This account must have the following privileges: create computer objects, \n join computers to the domain, and change/reset the password on descendant computer objects for the \n organizational units specified.

", "smithy.api#required": {} } @@ -7963,6 +8074,7 @@ "AccountPassword": { "target": "com.amazonaws.appstream#AccountPassword", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The password for the account.

", "smithy.api#required": {} } @@ -7978,6 +8090,7 @@ "Id": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the streaming session.

", "smithy.api#required": {} } @@ -7985,6 +8098,7 @@ "UserId": { "target": "com.amazonaws.appstream#UserId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the user for whom the session was created.

", "smithy.api#required": {} } @@ -7992,6 +8106,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack for the streaming session.

", "smithy.api#required": {} } @@ -7999,6 +8114,7 @@ "FleetName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet for the streaming session.

", "smithy.api#required": {} } @@ -8006,6 +8122,7 @@ "State": { "target": "com.amazonaws.appstream#SessionState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current state of the streaming session.

", "smithy.api#required": {} } @@ -8112,6 +8229,7 @@ "sharedAccountId": { "target": "com.amazonaws.appstream#AwsAccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The 12-digit identifier of the AWS account with which the image is shared.

", "smithy.api#required": {} } @@ -8119,6 +8237,7 @@ "imagePermissions": { "target": "com.amazonaws.appstream#ImagePermissions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the permissions for a shared image.

", "smithy.api#required": {} } @@ -8146,6 +8265,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -8406,6 +8526,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -8470,6 +8591,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -8521,6 +8643,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image builder.

", "smithy.api#required": {} } @@ -8579,6 +8702,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app block builder.

", "smithy.api#required": {} } @@ -8625,6 +8749,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -8670,6 +8795,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image builder.

", "smithy.api#required": {} } @@ -8699,6 +8825,7 @@ "ConnectorType": { "target": "com.amazonaws.appstream#StorageConnectorType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of storage connector.

", "smithy.api#required": {} } @@ -8870,6 +8997,7 @@ "ResourceArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", "smithy.api#required": {} } @@ -8877,6 +9005,7 @@ "Tags": { "target": "com.amazonaws.appstream#Tags", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to associate. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.

\n

If you do not specify a value, the value is set to an empty string.

\n

Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:

\n

_ . : / = + \\ - @

", "smithy.api#required": {} } @@ -8944,6 +9073,7 @@ "ResourceArn": { "target": "com.amazonaws.appstream#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", "smithy.api#required": {} } @@ -8951,6 +9081,7 @@ "TagKeys": { "target": "com.amazonaws.appstream#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag keys for the tags to disassociate.

", "smithy.api#required": {} } @@ -9017,6 +9148,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique name for the app block builder.

", "smithy.api#required": {} } @@ -9120,6 +9252,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the application. This name is visible to users when display name is not specified.

", "smithy.api#required": {} } @@ -9223,6 +9356,7 @@ "DirectoryName": { "target": "com.amazonaws.appstream#DirectoryName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Directory Config object.

", "smithy.api#required": {} } @@ -9296,6 +9430,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the entitlement.

", "smithy.api#required": {} } @@ -9303,6 +9438,7 @@ "StackName": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack with which the entitlement is associated.

", "smithy.api#required": {} } @@ -9445,7 +9581,6 @@ "DeleteVpcConfig": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Deletes the VPC association for the specified fleet.

" } @@ -9570,6 +9705,7 @@ "Name": { "target": "com.amazonaws.appstream#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private image.

", "smithy.api#required": {} } @@ -9577,6 +9713,7 @@ "SharedAccountId": { "target": "com.amazonaws.appstream#AwsAccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The 12-digit identifier of the AWS account for which you want add or update image permissions.

", "smithy.api#required": {} } @@ -9584,6 +9721,7 @@ "ImagePermissions": { "target": "com.amazonaws.appstream#ImagePermissions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The permissions for the image.

", "smithy.api#required": {} } @@ -9659,6 +9797,7 @@ "Name": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack.

", "smithy.api#required": {} } @@ -9672,7 +9811,6 @@ "DeleteStorageConnectors": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Deletes the storage connectors currently enabled for the stack.

" } @@ -9850,7 +9988,6 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the user in the user pool is enabled.

" } }, @@ -9881,6 +10018,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the user.

", "smithy.api#required": {} } @@ -9922,6 +10060,7 @@ "Action": { "target": "com.amazonaws.appstream#Action", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action that is enabled or disabled.

", "smithy.api#required": {} } @@ -9929,6 +10068,7 @@ "Permission": { "target": "com.amazonaws.appstream#Permission", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the action is enabled or disabled.

", "smithy.api#required": {} } @@ -9955,6 +10095,7 @@ "StackName": { "target": "com.amazonaws.appstream#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack that is associated with the user.

", "smithy.api#required": {} } @@ -9962,6 +10103,7 @@ "UserName": { "target": "com.amazonaws.appstream#Username", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the user who is associated with the stack.

\n \n

Users' email addresses are case-sensitive.

\n
", "smithy.api#required": {} } @@ -9969,6 +10111,7 @@ "AuthenticationType": { "target": "com.amazonaws.appstream#AuthenticationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type for the user.

", "smithy.api#required": {} } @@ -9976,7 +10119,6 @@ "SendEmailNotification": { "target": "com.amazonaws.appstream#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a welcome email is sent to a user after the user is created in the user pool.

" } } diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index 7cc99e10f88..aa565d3d6a4 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -326,7 +326,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -369,7 +368,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -382,7 +382,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -396,7 +395,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -419,7 +417,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -454,7 +451,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -465,14 +461,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -486,14 +484,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -502,11 +498,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -517,14 +513,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -538,7 +536,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -558,7 +555,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -569,14 +565,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -587,9 +585,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3136,7 +3136,6 @@ "MaxConcurrentDpus": { "target": "com.amazonaws.athena#MaxConcurrentDpus", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of DPUs that can run concurrently.

", "smithy.api#required": {} } @@ -5827,7 +5826,6 @@ "com.amazonaws.athena#MaxConcurrentDpus": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 5000 diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index 9eb02fb8acb..e7db10d4fb8 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -215,6 +215,7 @@ "Activities": { "target": "com.amazonaws.autoscaling#Activities", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The scaling activities. Activities are sorted by start time. Activities still in\n progress are described first.

", "smithy.api#required": {} } @@ -233,6 +234,7 @@ "ActivityId": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the activity.

", "smithy.api#required": {} } @@ -240,6 +242,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -253,6 +256,7 @@ "Cause": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The reason the activity began.

", "smithy.api#required": {} } @@ -260,6 +264,7 @@ "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The start time of the activity.

", "smithy.api#required": {} } @@ -273,6 +278,7 @@ "StatusCode": { "target": "com.amazonaws.autoscaling#ScalingActivityStatusCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the activity.

", "smithy.api#required": {} } @@ -286,7 +292,6 @@ "Progress": { "target": "com.amazonaws.autoscaling#Progress", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A value between 0 and 100 that indicates the progress of the activity.

" } }, @@ -505,6 +510,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -553,6 +559,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -560,6 +567,7 @@ "TargetGroupARNs": { "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target\n groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.

", "smithy.api#required": {} } @@ -608,6 +616,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -615,6 +624,7 @@ "LoadBalancerNames": { "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of the load balancers. You can specify up to 10 load balancers.

", "smithy.api#required": {} } @@ -666,6 +676,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -673,6 +684,7 @@ "TrafficSources": { "target": "com.amazonaws.autoscaling#TrafficSources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifiers of one or more traffic sources. You can specify up to 10\n traffic sources.

", "smithy.api#required": {} } @@ -688,6 +700,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -719,6 +732,7 @@ "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum size of the group.

", "smithy.api#required": {} } @@ -726,6 +740,7 @@ "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum size of the group.

", "smithy.api#required": {} } @@ -733,6 +748,7 @@ "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The desired size of the group.

", "smithy.api#required": {} } @@ -746,6 +762,7 @@ "DefaultCooldown": { "target": "com.amazonaws.autoscaling#Cooldown", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The duration of the default cooldown period, in seconds.

", "smithy.api#required": {} } @@ -753,6 +770,7 @@ "AvailabilityZones": { "target": "com.amazonaws.autoscaling#AvailabilityZones", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more Availability Zones for the group.

", "smithy.api#required": {} } @@ -772,6 +790,7 @@ "HealthCheckType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A comma-separated value string of one or more health check types.

", "smithy.api#required": {} } @@ -791,6 +810,7 @@ "CreatedTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time the group was created.

", "smithy.api#required": {} } @@ -970,6 +990,7 @@ "AutoScalingGroups": { "target": "com.amazonaws.autoscaling#AutoScalingGroups", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The groups.

", "smithy.api#required": {} } @@ -988,6 +1009,7 @@ "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the instance.

", "smithy.api#required": {} } @@ -1001,6 +1023,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group for the instance.

", "smithy.api#required": {} } @@ -1008,6 +1031,7 @@ "AvailabilityZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Availability Zone for the instance.

", "smithy.api#required": {} } @@ -1015,6 +1039,7 @@ "LifecycleState": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The lifecycle state for the instance. The Quarantined state is not used.\n For information about lifecycle states, see Instance\n lifecycle in the Amazon EC2 Auto Scaling User Guide.

\n

Valid values: Pending | Pending:Wait |\n Pending:Proceed | Quarantined | InService |\n Terminating | Terminating:Wait |\n Terminating:Proceed | Terminated | Detaching\n | Detached | EnteringStandby | Standby |\n Warmed:Pending | Warmed:Pending:Wait |\n Warmed:Pending:Proceed | Warmed:Terminating |\n Warmed:Terminating:Wait | Warmed:Terminating:Proceed |\n Warmed:Terminated | Warmed:Stopped |\n Warmed:Running\n

", "smithy.api#required": {} } @@ -1022,6 +1047,7 @@ "HealthStatus": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last reported health status of this instance. Healthy means that the\n instance is healthy and should remain in service. Unhealthy means that the\n instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.

", "smithy.api#required": {} } @@ -1041,6 +1067,7 @@ "ProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.

", "smithy.api#required": {} } @@ -1345,7 +1372,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1388,7 +1414,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1401,7 +1428,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1415,7 +1441,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1438,7 +1463,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1473,7 +1497,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1484,14 +1507,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1505,14 +1530,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -1521,18 +1544,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -1541,7 +1563,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -1561,14 +1584,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1582,7 +1607,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1602,7 +1626,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1613,14 +1636,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1631,9 +1656,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2353,6 +2380,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -2360,6 +2388,7 @@ "ScheduledActionNames": { "target": "com.amazonaws.autoscaling#ScheduledActionNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of the scheduled actions to delete. The maximum number allowed is 50.\n

", "smithy.api#required": {} } @@ -2406,6 +2435,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -2413,6 +2443,7 @@ "ScheduledUpdateGroupActions": { "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more scheduled actions. The maximum number allowed is 50.

", "smithy.api#required": {} } @@ -2473,6 +2504,7 @@ "DeviceName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The device name assigned to the volume (for example, /dev/sdh or\n xvdh). For more information, see Device naming on Linux\n instances in the Amazon EC2 User Guide for Linux Instances.

\n \n

To define a block device mapping, set the device name and exactly one of the\n following properties: Ebs, NoDevice, or\n VirtualName.

\n
", "smithy.api#required": {} } @@ -2575,6 +2607,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -2587,6 +2620,7 @@ "Timestamps": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamps for the data points, in UTC format.

", "smithy.api#required": {} } @@ -2594,6 +2628,7 @@ "Values": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The values of the data points.

", "smithy.api#required": {} } @@ -2666,6 +2701,7 @@ "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle hook.

", "smithy.api#required": {} } @@ -2673,6 +2709,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -2686,6 +2723,7 @@ "LifecycleActionResult": { "target": "com.amazonaws.autoscaling#LifecycleActionResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action for the group to take. You can specify either CONTINUE or\n ABANDON.

", "smithy.api#required": {} } @@ -2783,6 +2821,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group. This name must be unique per Region per account.

\n

The name can contain any ASCII character 33 to 126 including most punctuation\n characters, digits, and upper and lowercased letters.

\n \n

You cannot use a colon (:) in the name.

\n
", "smithy.api#required": {} } @@ -2814,6 +2853,7 @@ "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum size of the group.

", "smithy.api#required": {} } @@ -2821,6 +2861,7 @@ "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum size of the group.

\n \n

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).

\n
", "smithy.api#required": {} } @@ -2991,6 +3032,7 @@ "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the launch configuration. This name must be unique per Region per\n account.

", "smithy.api#required": {} } @@ -3161,6 +3203,7 @@ "Tags": { "target": "com.amazonaws.autoscaling#Tags", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more tags.

", "smithy.api#required": {} } @@ -3252,6 +3295,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -3330,6 +3374,7 @@ "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle hook.

", "smithy.api#required": {} } @@ -3337,6 +3382,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -3376,6 +3422,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -3383,6 +3430,7 @@ "TopicARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

", "smithy.api#required": {} } @@ -3431,6 +3479,7 @@ "PolicyName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the policy.

", "smithy.api#required": {} } @@ -3470,6 +3519,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -3477,6 +3527,7 @@ "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the action to delete.

", "smithy.api#required": {} } @@ -3525,6 +3576,7 @@ "Tags": { "target": "com.amazonaws.autoscaling#Tags", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more tags.

", "smithy.api#required": {} } @@ -3567,6 +3619,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -4016,6 +4069,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -4194,6 +4248,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -4254,6 +4309,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -4343,6 +4399,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -4514,6 +4571,7 @@ "NotificationConfigurations": { "target": "com.amazonaws.autoscaling#NotificationConfigurations", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The notification configurations.

", "smithy.api#required": {} } @@ -5048,6 +5106,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5153,6 +5212,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5258,6 +5318,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5265,6 +5326,7 @@ "ShouldDecrementDesiredCapacity": { "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the Auto Scaling group decrements the desired capacity value by the number\n of instances detached.

", "smithy.api#required": {} } @@ -5310,6 +5372,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5317,6 +5380,7 @@ "TargetGroupARNs": { "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.

", "smithy.api#required": {} } @@ -5362,6 +5426,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5369,6 +5434,7 @@ "LoadBalancerNames": { "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of the load balancers. You can specify up to 10 load balancers.

", "smithy.api#required": {} } @@ -5417,6 +5483,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5424,6 +5491,7 @@ "TrafficSources": { "target": "com.amazonaws.autoscaling#TrafficSources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifiers of one or more traffic sources. You can specify up to 10\n traffic sources.

", "smithy.api#required": {} } @@ -5465,6 +5533,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5566,6 +5635,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5579,6 +5649,7 @@ "Granularity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is\n 1Minute.

", "smithy.api#required": {} } @@ -5678,6 +5749,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5685,6 +5757,7 @@ "ShouldDecrementDesiredCapacity": { "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of\n instances moved to Standby mode.

", "smithy.api#required": {} } @@ -5760,6 +5833,7 @@ "PolicyName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or ARN of the policy.

", "smithy.api#required": {} } @@ -5850,6 +5924,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5862,6 +5937,7 @@ "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduled action.

", "smithy.api#required": {} } @@ -5941,6 +6017,7 @@ "LoadForecast": { "target": "com.amazonaws.autoscaling#LoadForecasts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The load forecast.

", "smithy.api#required": {} } @@ -5948,6 +6025,7 @@ "CapacityForecast": { "target": "com.amazonaws.autoscaling#CapacityForecast", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The capacity forecast.

", "smithy.api#required": {} } @@ -5955,6 +6033,7 @@ "UpdateTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time the forecast was made.

", "smithy.api#required": {} } @@ -5967,6 +6046,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -5974,6 +6054,7 @@ "PolicyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the policy.

", "smithy.api#required": {} } @@ -5981,6 +6062,7 @@ "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The inclusive start time of the time range for the forecast data to get. At most, the\n date and time can be one year before the current date and time.

", "smithy.api#required": {} } @@ -5988,6 +6070,7 @@ "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The exclusive end time of the time range for the forecast data to get. The maximum\n time duration between the start and end time is 30 days.

\n

Although this parameter can accept a date and time that is more than two days in the\n future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for\n periods of two days in advance.

", "smithy.api#required": {} } @@ -6015,6 +6098,7 @@ "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the instance.

", "smithy.api#required": {} } @@ -6028,6 +6112,7 @@ "AvailabilityZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Availability Zone in which the instance is running.

", "smithy.api#required": {} } @@ -6035,6 +6120,7 @@ "LifecycleState": { "target": "com.amazonaws.autoscaling#LifecycleState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the current lifecycle state. The Quarantined state is\n not used. For information about lifecycle states, see Instance\n lifecycle in the Amazon EC2 Auto Scaling User Guide.

", "smithy.api#required": {} } @@ -6042,6 +6128,7 @@ "HealthStatus": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last reported health status of the instance. Healthy means that the\n instance is healthy and should remain in service. Unhealthy means that the\n instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.

", "smithy.api#required": {} } @@ -6061,6 +6148,7 @@ "ProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.

", "smithy.api#required": {} } @@ -6425,6 +6513,7 @@ "VCpuCount": { "target": "com.amazonaws.autoscaling#VCpuCountRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum and maximum number of vCPUs for an instance type.

", "smithy.api#required": {} } @@ -6432,6 +6521,7 @@ "MemoryMiB": { "target": "com.amazonaws.autoscaling#MemoryMiBRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum and maximum instance memory size for an instance type, in MiB.

", "smithy.api#required": {} } @@ -6691,6 +6781,7 @@ "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the launch configuration.

", "smithy.api#required": {} } @@ -6704,6 +6795,7 @@ "ImageId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more\n information, see Find a Linux AMI in the\n Amazon EC2 User Guide for Linux Instances.

", "smithy.api#required": {} } @@ -6741,6 +6833,7 @@ "InstanceType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type for the instances. For information about available instance types,\n see Available\n instance types in the Amazon EC2 User Guide for Linux Instances.

", "smithy.api#required": {} } @@ -6784,6 +6877,7 @@ "CreatedTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation date and time for the launch configuration.

", "smithy.api#required": {} } @@ -6823,6 +6917,7 @@ "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the launch configuration.

", "smithy.api#required": {} } @@ -6870,6 +6965,7 @@ "LaunchConfigurations": { "target": "com.amazonaws.autoscaling#LaunchConfigurations", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The launch configurations.

", "smithy.api#required": {} } @@ -7062,6 +7158,7 @@ "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle hook.

", "smithy.api#required": {} } @@ -7069,6 +7166,7 @@ "LifecycleTransition": { "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The lifecycle transition. For Auto Scaling groups, there are two major lifecycle\n transitions.

\n ", "smithy.api#required": {} } @@ -7350,6 +7448,7 @@ "Timestamps": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamps for the data points, in UTC format.

", "smithy.api#required": {} } @@ -7357,6 +7456,7 @@ "Values": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The values of the data points.

", "smithy.api#required": {} } @@ -7364,6 +7464,7 @@ "MetricSpecification": { "target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric specification for the load forecast.

", "smithy.api#required": {} } @@ -7471,6 +7572,7 @@ "Min": { "target": "com.amazonaws.autoscaling#NullablePositiveInteger", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The memory minimum in MiB.

", "smithy.api#required": {} } @@ -7492,6 +7594,7 @@ "Namespace": { "target": "com.amazonaws.autoscaling#MetricNamespace", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The namespace of the metric. For more information, see the table in Amazon Web Services\n services that publish CloudWatch metrics in the Amazon CloudWatch User\n Guide.

", "smithy.api#required": {} } @@ -7499,6 +7602,7 @@ "MetricName": { "target": "com.amazonaws.autoscaling#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } @@ -7546,6 +7650,7 @@ "Id": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A short name that identifies the object's results in the response. This name must be\n unique among all MetricDataQuery objects specified for a single scaling\n policy. If you are performing math expressions on this set of data, this name represents\n that data and can serve as a variable in the mathematical expression. The valid\n characters are letters, numbers, and underscores. The first character must be a\n lowercase letter.

", "smithy.api#required": {} } @@ -7585,6 +7690,7 @@ "Name": { "target": "com.amazonaws.autoscaling#MetricDimensionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the dimension.

", "smithy.api#required": {} } @@ -7592,6 +7698,7 @@ "Value": { "target": "com.amazonaws.autoscaling#MetricDimensionValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the dimension.

", "smithy.api#required": {} } @@ -7648,6 +7755,7 @@ "Metric": { "target": "com.amazonaws.autoscaling#Metric", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To\n get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

", "smithy.api#required": {} } @@ -7655,6 +7763,7 @@ "Stat": { "target": "com.amazonaws.autoscaling#XmlStringMetricStat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The statistic to return. It can include any CloudWatch statistic or extended statistic. For\n a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

\n

The most commonly used metrics for predictive scaling are Average and\n Sum.

", "smithy.api#required": {} } @@ -8031,6 +8140,7 @@ "PredefinedMetricType": { "target": "com.amazonaws.autoscaling#MetricType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric type. The following predefined metrics are available:

\n ", "smithy.api#required": {} } @@ -8081,6 +8191,7 @@ "MetricSpecifications": { "target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecifications", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This structure includes the metrics and target utilization to use for predictive\n scaling.

\n

This is an array, but we currently only support a single metric specification. That\n is, you can specify a target value and a single metric pair, or a target value and one\n scaling metric and one load metric.

", "smithy.api#required": {} } @@ -8120,6 +8231,7 @@ "MetricDataQueries": { "target": "com.amazonaws.autoscaling#MetricDataQueries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more metric data queries to provide the data points for a capacity metric. Use\n multiple metric data queries only if you are performing a math expression on returned\n data.

", "smithy.api#required": {} } @@ -8135,6 +8247,7 @@ "MetricDataQueries": { "target": "com.amazonaws.autoscaling#MetricDataQueries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more metric data queries to provide the data points for a load metric. Use\n multiple metric data queries only if you are performing a math expression on returned\n data.

", "smithy.api#required": {} } @@ -8150,6 +8263,7 @@ "MetricDataQueries": { "target": "com.amazonaws.autoscaling#MetricDataQueries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more metric data queries to provide the data points for a scaling metric. Use\n multiple metric data queries only if you are performing a math expression on returned\n data.

", "smithy.api#required": {} } @@ -8203,6 +8317,7 @@ "TargetValue": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the target utilization.

\n \n

Some metrics are based on a count instead of a percentage, such as the request\n count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy\n specifies one of these metrics, specify the target utilization as the optimal\n average request or message count per instance during any one-minute interval.\n

\n
", "smithy.api#required": {} } @@ -8277,6 +8392,7 @@ "PredefinedMetricType": { "target": "com.amazonaws.autoscaling#PredefinedLoadMetricType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric type.

", "smithy.api#required": {} } @@ -8298,6 +8414,7 @@ "PredefinedMetricType": { "target": "com.amazonaws.autoscaling#PredefinedMetricPairType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates which metrics to use. There are two different types of metrics for each\n metric type: one is a load metric and one is a scaling metric. For example, if the\n metric type is ASGCPUUtilization, the Auto Scaling group's total CPU metric is used\n as the load metric, and the average CPU metric is used for the scaling metric.

", "smithy.api#required": {} } @@ -8319,6 +8436,7 @@ "PredefinedMetricType": { "target": "com.amazonaws.autoscaling#PredefinedScalingMetricType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric type.

", "smithy.api#required": {} } @@ -8354,6 +8472,7 @@ "ProcessName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One of the following processes:

\n ", "smithy.api#required": {} } @@ -8381,10 +8500,7 @@ } }, "com.amazonaws.autoscaling#Progress": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.autoscaling#PropagateAtLaunch": { "type": "boolean" @@ -8435,6 +8551,7 @@ "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle hook.

", "smithy.api#required": {} } @@ -8442,6 +8559,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -8526,6 +8644,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -8533,6 +8652,7 @@ "TopicARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

", "smithy.api#required": {} } @@ -8540,6 +8660,7 @@ "NotificationTypes": { "target": "com.amazonaws.autoscaling#AutoScalingNotificationTypes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of event that causes the notification to be sent. To query the notification\n types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.

", "smithy.api#required": {} } @@ -8606,6 +8727,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -8613,6 +8735,7 @@ "PolicyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the policy.

", "smithy.api#required": {} } @@ -8735,6 +8858,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -8742,6 +8866,7 @@ "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this scaling action.

", "smithy.api#required": {} } @@ -8840,6 +8965,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -8908,6 +9034,7 @@ "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle hook.

", "smithy.api#required": {} } @@ -8915,6 +9042,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -9183,6 +9311,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -9434,6 +9563,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -9549,6 +9679,7 @@ "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scaling action.

", "smithy.api#required": {} } @@ -9672,6 +9803,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -9679,6 +9811,7 @@ "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain.

", "smithy.api#required": {} } @@ -9724,6 +9857,7 @@ "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the instance.

", "smithy.api#required": {} } @@ -9731,6 +9865,7 @@ "HealthStatus": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The health status of the instance. Set to Healthy to have the instance\n remain in service. Set to Unhealthy to have the instance be out of service.\n Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.

", "smithy.api#required": {} } @@ -9786,6 +9921,7 @@ "InstanceIds": { "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more instance IDs. You can specify up to 50 instances.

", "smithy.api#required": {} } @@ -9793,6 +9929,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -9800,6 +9937,7 @@ "ProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#ProtectedFromScaleIn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.

", "smithy.api#required": {} } @@ -9918,6 +10056,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -9960,6 +10099,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a non-negative value.

", "smithy.api#required": {} } @@ -10051,6 +10191,7 @@ "Key": { "target": "com.amazonaws.autoscaling#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key.

", "smithy.api#required": {} } @@ -10183,6 +10324,7 @@ "TargetValue": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The target value for the metric.

\n \n

Some metrics are based on a count instead of a percentage, such as the request\n count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy\n specifies one of these metrics, specify the target utilization as the optimal\n average request or message count per instance during any one-minute interval.\n

\n
", "smithy.api#required": {} } @@ -10210,6 +10352,7 @@ "Id": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A short name that identifies the object's results in the response. This name must be\n unique among all TargetTrackingMetricDataQuery objects specified for a\n single scaling policy. If you are performing math expressions on this set of data, this\n name represents that data and can serve as a variable in the mathematical expression.\n The valid characters are letters, numbers, and underscores. The first character must be\n a lowercase letter.

", "smithy.api#required": {} } @@ -10249,6 +10392,7 @@ "Metric": { "target": "com.amazonaws.autoscaling#Metric", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric to use.

", "smithy.api#required": {} } @@ -10256,6 +10400,7 @@ "Stat": { "target": "com.amazonaws.autoscaling#XmlStringMetricStat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The statistic to return. It can include any CloudWatch statistic or extended statistic. For\n a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

\n

The most commonly used metric for scaling is Average.

", "smithy.api#required": {} } @@ -10307,6 +10452,7 @@ "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the instance.

", "smithy.api#required": {} } @@ -10314,6 +10460,7 @@ "ShouldDecrementDesiredCapacity": { "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether terminating the instance also decrements the size of the Auto Scaling\n group.

", "smithy.api#required": {} } @@ -10355,6 +10502,7 @@ "Identifier": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen511", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the traffic source.

\n

For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name\n (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name\n of the Classic Load Balancer in this account and Region.

\n

For example:

\n \n

To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a\n Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations.

\n

To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation.

", "smithy.api#required": {} } @@ -10462,6 +10610,7 @@ "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Auto Scaling group.

", "smithy.api#required": {} } @@ -10594,6 +10743,7 @@ "Min": { "target": "com.amazonaws.autoscaling#NullablePositiveInteger", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum number of vCPUs.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/backupstorage.json b/codegen/sdk-codegen/aws-models/backupstorage.json index c88de48d21a..0a73a92835b 100644 --- a/codegen/sdk-codegen/aws-models/backupstorage.json +++ b/codegen/sdk-codegen/aws-models/backupstorage.json @@ -232,7 +232,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -275,7 +274,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -288,7 +288,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -302,7 +301,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -325,7 +323,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -360,7 +357,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -371,14 +367,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -392,14 +390,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -408,11 +404,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -423,14 +419,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -444,7 +442,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -464,7 +461,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -475,14 +471,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -493,9 +491,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1227,7 +1227,6 @@ "MaxResults": { "target": "com.amazonaws.backupstorage#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of chunks", "smithy.api#httpQuery": "max-results" } @@ -1341,7 +1340,6 @@ "MaxResults": { "target": "com.amazonaws.backupstorage#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "Maximum objects count", "smithy.api#httpQuery": "max-results" } @@ -1396,7 +1394,6 @@ "com.amazonaws.backupstorage#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1652,7 +1649,7 @@ "ChunkIndex": { "target": "com.amazonaws.backupstorage#long", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "Describes this chunk's position relative to the other chunks", "smithy.api#httpLabel": {}, "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/batch.json b/codegen/sdk-codegen/aws-models/batch.json index fab355ccc65..ff7df26e713 100644 --- a/codegen/sdk-codegen/aws-models/batch.json +++ b/codegen/sdk-codegen/aws-models/batch.json @@ -165,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -208,7 +207,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -221,7 +221,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +234,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -258,7 +256,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -293,7 +290,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -304,14 +300,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -325,14 +323,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -341,18 +337,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws", { "fn": "getAttr", "argv": [ @@ -361,7 +356,8 @@ }, "name" ] - } + }, + "aws" ] } ], @@ -377,7 +373,6 @@ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -386,7 +381,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -406,14 +402,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -427,7 +425,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -447,7 +444,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -458,14 +454,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -476,9 +474,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1540,6 +1540,7 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Batch job ID of the job to cancel.

", "smithy.api#required": {} } @@ -1547,6 +1548,7 @@ "reason": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A message to attach to the job that explains the reason for canceling it. This message is returned by future\n DescribeJobs operations on the job. This message is also recorded in the Batch activity\n logs.

", "smithy.api#required": {} } @@ -1583,6 +1585,7 @@ "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } @@ -1590,6 +1593,7 @@ "computeEnvironmentArn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the compute environment.

", "smithy.api#required": {} } @@ -1689,6 +1693,7 @@ "order": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The order of the compute environment. Compute environments are tried in ascending order. For\n example, if two compute environments are associated with a job queue, the compute environment\n with a lower order integer value is tried for job placement first.

", "smithy.api#required": {} } @@ -1696,6 +1701,7 @@ "computeEnvironment": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the compute environment.

", "smithy.api#required": {} } @@ -1717,6 +1723,7 @@ "type": { "target": "com.amazonaws.batch#CRType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of compute environment: EC2, SPOT, FARGATE,\n or FARGATE_SPOT. For more information, see Compute environments in the\n Batch User Guide.

\n

If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the\n spotIamFleetRole parameter. For more information, see Amazon EC2 spot fleet role in the\n Batch User Guide.

", "smithy.api#required": {} } @@ -1736,6 +1743,7 @@ "maxvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum number of\n vCPUs that a\n compute environment can\n support.

\n \n

With BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED and SPOT_PRICE_CAPACITY_OPTIMIZED\n allocation strategies using On-Demand or Spot Instances, and the BEST_FIT strategy\n using Spot Instances, Batch might need to exceed maxvCpus to meet your capacity\n requirements. In this event, Batch never exceeds maxvCpus by more than a single\n instance. For example, no more than a single instance from among those specified in your compute\n environment is allocated.

\n
", "smithy.api#required": {} } @@ -1764,6 +1772,7 @@ "subnets": { "target": "com.amazonaws.batch#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC subnets where the compute resources are launched. These subnets must be within the\n same VPC. Fargate compute resources can contain up to 16 subnets. For more information, see\n VPCs and subnets\n in the Amazon VPC User Guide.

\n \n

Batch on Amazon EC2 and Batch on Amazon EKS support Local Zones. For more information, see Local\n Zones in the Amazon EC2 User Guide for Linux Instances, Amazon EKS and Amazon Web Services Local\n Zones in the Amazon EKS User Guide and Amazon ECS\n clusters in Local Zones, Wavelength Zones, and Amazon Web Services Outposts in the Amazon ECS\n Developer Guide.

\n

Batch on Fargate doesn't currently support Local Zones.

\n
", "smithy.api#required": {} } @@ -2396,6 +2405,7 @@ "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for your compute environment. It can be up to 128 characters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } @@ -2403,6 +2413,7 @@ "type": { "target": "com.amazonaws.batch#CEType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the compute environment: MANAGED or UNMANAGED. For more information, see\n Compute Environments in the\n Batch User Guide.

", "smithy.api#required": {} } @@ -2521,6 +2532,7 @@ "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters,\n numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } @@ -2540,6 +2552,7 @@ "priority": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n priority parameter) are evaluated first when associated with the same compute environment. Priority is\n determined in descending order. For example, a job queue with a priority value of 10 is given scheduling\n preference over a job queue with a priority value of 1. All of the compute environments must be either\n EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and\n Fargate compute environments can't be mixed.

", "smithy.api#required": {} } @@ -2547,6 +2560,7 @@ "computeEnvironmentOrder": { "target": "com.amazonaws.batch#ComputeEnvironmentOrders", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler\n uses this parameter to determine which compute environment runs a specific job. Compute environments must be in\n the VALID state before you can associate them with a job queue. You can associate up to three compute\n environments with a job queue. All of the compute environments must be either EC2 (EC2 or\n SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and Fargate compute\n environments can't be mixed.

\n \n

All compute environments that are associated with a job queue must share the same architecture. Batch doesn't\n support mixing compute environment architecture types in a single job queue.

\n
", "smithy.api#required": {} } @@ -2569,6 +2583,7 @@ "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job queue.

", "smithy.api#required": {} } @@ -2576,6 +2591,7 @@ "jobQueueArn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue.

", "smithy.api#required": {} } @@ -2616,6 +2632,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase\n letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } @@ -2644,6 +2661,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduling policy.

", "smithy.api#required": {} } @@ -2651,6 +2669,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:123456789012:scheduling-policy/MySchedulingPolicy.

", "smithy.api#required": {} } @@ -2701,6 +2720,7 @@ "computeEnvironment": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the compute environment to delete.

", "smithy.api#required": {} } @@ -2759,6 +2779,7 @@ "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the queue to delete.

", "smithy.api#required": {} } @@ -2807,6 +2828,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy to delete.

", "smithy.api#required": {} } @@ -2865,6 +2887,7 @@ "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name and revision (name:revision) or full Amazon Resource Name (ARN) of the job definition to deregister.

", "smithy.api#required": {} } @@ -3317,6 +3340,7 @@ "jobs": { "target": "com.amazonaws.batch#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of up to 100 job IDs.

", "smithy.api#required": {} } @@ -3372,6 +3396,7 @@ "arns": { "target": "com.amazonaws.batch#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

", "smithy.api#required": {} } @@ -3402,6 +3427,7 @@ "hostPath": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The path for the device on the host container instance.

", "smithy.api#required": {} } @@ -3518,6 +3544,7 @@ "fileSystemId": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EFS file system ID to use.

", "smithy.api#required": {} } @@ -3557,6 +3584,7 @@ "imageType": { "target": "com.amazonaws.batch#ImageType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The image type to match with the instance type to select an AMI. The supported values are\n different for ECS and EKS resources.

\n
\n
ECS
\n
\n

If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used. If a new image type is\n specified in an update, but neither an imageId nor a imageIdOverride\n parameter is specified, then the latest Amazon ECS optimized AMI for that image type that's\n supported by Batch is used.

\n
\n
ECS_AL2
\n
\n

\n Amazon Linux\n 2: Default for all non-GPU instance families.

\n
\n
ECS_AL2_NVIDIA
\n
\n

\n Amazon Linux 2\n (GPU): Default for all GPU instance families (for example P4 and\n G4) and can be used for all non Amazon Web Services Graviton-based instance types.

\n
\n
ECS_AL1
\n
\n

\n Amazon Linux. Amazon Linux has\n reached the end-of-life of standard support. For more information, see Amazon Linux AMI.

\n
\n
\n
\n
EKS
\n
\n

If the imageIdOverride parameter isn't specified, then a recent Amazon EKS-optimized Amazon Linux\n AMI (EKS_AL2) is used. If a new image type is specified in an update,\n but neither an imageId nor a imageIdOverride parameter is specified,\n then the latest Amazon EKS optimized AMI for that image type that Batch supports is used.

\n
\n
EKS_AL2
\n
\n

\n Amazon\n Linux 2: Default for all non-GPU instance families.

\n
\n
EKS_AL2_NVIDIA
\n
\n

\n Amazon\n Linux 2 (accelerated): Default for all GPU instance families (for example,\n P4 and G4) and can be used for all non Amazon Web Services Graviton-based\n instance types.

\n
\n
\n
\n
", "smithy.api#required": {} } @@ -3666,6 +3694,7 @@ "eksClusterArn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EKS cluster. An example is\n arn:aws:eks:us-east-1:123456789012:cluster/ClusterForBatch\n .\n

", "smithy.api#required": {} } @@ -3673,6 +3702,7 @@ "kubernetesNamespace": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The namespace of the Amazon EKS cluster. Batch manages pods in this namespace. The value\n can't left empty or null. It must be fewer than 64 characters long, can't be set to\n default, can't start with \"kube-,\" and must match this regular\n expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$. For more information, see Namespaces in the Kubernetes documentation.

", "smithy.api#required": {} } @@ -3694,6 +3724,7 @@ "image": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Docker image used to start the container.

", "smithy.api#required": {} } @@ -3831,6 +3862,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the environment variable.

", "smithy.api#required": {} } @@ -4232,6 +4264,7 @@ "secretName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the secret. The name must be allowed as a DNS subdomain name. For more\n information, see DNS subdomain names in the Kubernetes documentation.

", "smithy.api#required": {} } @@ -4253,6 +4286,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the volume. The name must be allowed as a DNS subdomain name. For more\n information, see DNS subdomain names in the Kubernetes documentation.

", "smithy.api#required": {} } @@ -4298,6 +4332,7 @@ "sizeInGiB": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported\n value is 21 GiB and the maximum supported value is 200 GiB.

", "smithy.api#required": {} } @@ -4331,6 +4366,7 @@ "action": { "target": "com.amazonaws.batch#RetryAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the action to take if all of the specified conditions\n (onStatusReason, onReason, and onExitCode) are met. The\n values aren't case sensitive.

", "smithy.api#required": {} } @@ -4488,6 +4524,7 @@ "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job definition.

", "smithy.api#required": {} } @@ -4495,6 +4532,7 @@ "jobDefinitionArn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the job definition.

", "smithy.api#required": {} } @@ -4502,6 +4540,7 @@ "revision": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The revision of the job definition.

", "smithy.api#required": {} } @@ -4515,6 +4554,7 @@ "type": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of job definition. It's either container or multinode. If\n the job is run on Fargate resources, then multinode isn't supported. For more\n information about multi-node parallel jobs, see Creating a multi-node parallel job definition in\n the Batch User Guide.

", "smithy.api#required": {} } @@ -4651,6 +4691,7 @@ "jobName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job name.

", "smithy.api#required": {} } @@ -4658,6 +4699,7 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job ID.

", "smithy.api#required": {} } @@ -4665,6 +4707,7 @@ "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue that the job is associated with.

", "smithy.api#required": {} } @@ -4672,6 +4715,7 @@ "status": { "target": "com.amazonaws.batch#JobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status for the job.

\n \n

If your jobs don't progress to STARTING, see Jobs stuck in RUNNABLE\n status in the troubleshooting section of the\n Batch User Guide.

\n
", "smithy.api#required": {} } @@ -4715,6 +4759,7 @@ "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was started. More specifically, it's\n when the job transitioned from the STARTING state to the RUNNING state.\n This parameter isn't provided for child jobs of array jobs or multi-node parallel jobs.

", "smithy.api#required": {} } @@ -4734,6 +4779,7 @@ "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job definition that this job uses.

", "smithy.api#required": {} } @@ -4830,7 +4876,6 @@ "com.amazonaws.batch#JobExecutionTimeoutMinutes": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 360 @@ -4843,6 +4888,7 @@ "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job queue name.

", "smithy.api#required": {} } @@ -4850,6 +4896,7 @@ "jobQueueArn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue.

", "smithy.api#required": {} } @@ -4857,6 +4904,7 @@ "state": { "target": "com.amazonaws.batch#JQState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the ability of the queue to accept new jobs. If the job queue state is\n ENABLED, it can accept jobs. If the job queue state is DISABLED, new\n jobs can't be added to the queue, but jobs already in the queue can finish.

", "smithy.api#required": {} } @@ -4882,6 +4930,7 @@ "priority": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value\n for the priority parameter) are evaluated first when associated with the same\n compute environment. Priority is determined in descending order. For example, a job queue with a\n priority value of 10 is given scheduling preference over a job queue with a priority\n value of 1. All of the compute environments must be either EC2 (EC2 or\n SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and\n Fargate compute environments can't be mixed.

", "smithy.api#required": {} } @@ -4889,6 +4938,7 @@ "computeEnvironmentOrder": { "target": "com.amazonaws.batch#ComputeEnvironmentOrders", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The compute environments that are attached to the job queue and the order that job placement\n is preferred. Compute environments are selected for job placement in ascending order.

", "smithy.api#required": {} } @@ -4969,6 +5019,7 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job ID.

", "smithy.api#required": {} } @@ -4976,6 +5027,7 @@ "jobName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job name.

", "smithy.api#required": {} } @@ -5289,6 +5341,7 @@ "jobSummaryList": { "target": "com.amazonaws.batch#JobSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of job summaries that match the request.

", "smithy.api#required": {} } @@ -5454,6 +5507,7 @@ "logDriver": { "target": "com.amazonaws.batch#LogDriver", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The log driver to use for the container. The valid values that are listed for this parameter\n are log drivers that the Amazon ECS container agent can communicate with by default.

\n

The supported log drivers are awslogs, fluentd, gelf,\n json-file, journald, logentries, syslog, and\n splunk.

\n \n

Jobs that are running on Fargate resources are restricted to the awslogs and\n splunk log drivers.

\n
\n
\n
awslogs
\n
\n

Specifies the Amazon CloudWatch Logs logging driver. For more information, see Using the awslogs log driver\n in the Batch User Guide and Amazon CloudWatch Logs logging\n driver in the Docker documentation.

\n
\n
fluentd
\n
\n

Specifies the Fluentd logging driver. For more information including usage and options,\n see Fluentd logging\n driver in the Docker documentation.

\n
\n
gelf
\n
\n

Specifies the Graylog Extended Format (GELF) logging driver. For more information\n including usage and options, see Graylog Extended Format logging\n driver in the Docker documentation.

\n
\n
journald
\n
\n

Specifies the journald logging driver. For more information including usage and options,\n see Journald logging\n driver in the Docker documentation.

\n
\n
json-file
\n
\n

Specifies the JSON file logging driver. For more information including usage and options,\n see JSON File\n logging driver in the Docker documentation.

\n
\n
splunk
\n
\n

Specifies the Splunk logging driver. For more information including usage and options,\n see Splunk logging\n driver in the Docker documentation.

\n
\n
syslog
\n
\n

Specifies the syslog logging driver. For more information including usage and options,\n see Syslog logging\n driver in the Docker documentation.

\n
\n
\n \n

If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS\n container agent, you can fork the Amazon ECS container agent project that's available on GitHub and customize it to\n work with that driver. We encourage you to submit pull requests for changes that you want to\n have included. However, Amazon Web Services doesn't currently support running modified copies of this\n software.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log in to your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

", "smithy.api#required": {} } @@ -5658,6 +5712,7 @@ "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of nodes that are associated with a multi-node parallel job.

", "smithy.api#required": {} } @@ -5665,6 +5720,7 @@ "mainNode": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the node index for the main node of a multi-node parallel job. This node index\n value must be fewer than the number of nodes.

", "smithy.api#required": {} } @@ -5672,6 +5728,7 @@ "nodeRangeProperties": { "target": "com.amazonaws.batch#NodeRangeProperties", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of node ranges and their properties that are associated with a multi-node parallel\n job.

", "smithy.api#required": {} } @@ -5713,6 +5770,7 @@ "targetNodes": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The range of nodes, using node index values, that's used to override. A range of\n 0:3 indicates nodes with index values of 0 through 3. If\n the starting range value is omitted (:n), then 0 is used to start the\n range. If the ending range value is omitted (n:), then the highest possible node\n index is used to end the range.

", "smithy.api#required": {} } @@ -5746,6 +5804,7 @@ "targetNodes": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The range of nodes, using node index values. A range of 0:3 indicates nodes\n with index values of 0 through 3. If the starting range value is\n omitted (:n), then 0 is used to start the range. If the ending range\n value is omitted (n:), then the highest possible node index is used to end the\n range. Your accumulative node ranges must account for all nodes (0:n). You can nest\n node ranges (for example, 0:10 and 4:5). In this case, the\n 4:5 range properties override the 0:10 properties.

", "smithy.api#required": {} } @@ -5882,6 +5941,7 @@ "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and\n lowercase letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } @@ -5889,6 +5949,7 @@ "type": { "target": "com.amazonaws.batch#JobDefinitionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of job definition. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the\n Batch User Guide.

\n \n

If the job is run on Fargate resources, then multinode isn't supported.

\n
", "smithy.api#required": {} } @@ -5965,6 +6026,7 @@ "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job definition.

", "smithy.api#required": {} } @@ -5972,6 +6034,7 @@ "jobDefinitionArn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job definition.

", "smithy.api#required": {} } @@ -5979,6 +6042,7 @@ "revision": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The revision of the job definition.

", "smithy.api#required": {} } @@ -5994,6 +6058,7 @@ "value": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The quantity of the specified resource to reserve for the container. The values vary based\n on the type specified.

\n
\n
type=\"GPU\"
\n
\n

The number of physical GPUs to reserve for the container. Make sure that the number of\n GPUs reserved for all containers in a job doesn't exceed the number of available GPUs on the\n compute resource that the job is launched on.

\n \n

GPUs aren't available for jobs that are running on Fargate resources.

\n
\n
\n
type=\"MEMORY\"
\n
\n

The memory hard limit (in MiB) present to the container. This parameter is supported for\n jobs that are running on EC2 resources. If your container attempts to exceed the memory\n specified, the container is terminated. This parameter maps to Memory in the\n Create a container section of the Docker Remote API and the\n --memory option to docker run. You\n must specify at least 4 MiB of memory for a job. This is required but can be specified in\n several places for multi-node parallel (MNP) jobs. It must be specified for each node at least\n once. This parameter maps to Memory in the Create a container\n section of the Docker Remote API and the --memory option to docker run.

\n \n

If you're trying to maximize your resource utilization by providing your jobs as much\n memory as possible for a particular instance type, see Memory management in the\n Batch User Guide.

\n
\n

For jobs that are running on Fargate resources, then value is the hard\n limit (in MiB), and must match one of the supported values and the VCPU values\n must be one of the values supported for that memory value.

\n
\n
value = 512
\n
\n

\n VCPU = 0.25

\n
\n
value = 1024
\n
\n

\n VCPU = 0.25 or 0.5

\n
\n
value = 2048
\n
\n

\n VCPU = 0.25, 0.5, or 1

\n
\n
value = 3072
\n
\n

\n VCPU = 0.5, or 1

\n
\n
value = 4096
\n
\n

\n VCPU = 0.5, 1, or 2

\n
\n
value = 5120, 6144, or 7168
\n
\n

\n VCPU = 1 or 2

\n
\n
value = 8192
\n
\n

\n VCPU = 1, 2, or 4

\n
\n
value = 9216, 10240, 11264, 12288, 13312, 14336, or 15360
\n
\n

\n VCPU = 2 or 4

\n
\n
value = 16384
\n
\n

\n VCPU = 2, 4, or 8

\n
\n
value = 17408, 18432, 19456, 21504, 22528, 23552, 25600, 26624, 27648, 29696, or 30720
\n
\n

\n VCPU = 4

\n
\n
value = 20480, 24576, or 28672
\n
\n

\n VCPU = 4 or 8

\n
\n
value = 36864, 45056, 53248, or 61440
\n
\n

\n VCPU = 8

\n
\n
value = 32768, 40960, 49152, or 57344
\n
\n

\n VCPU = 8 or 16

\n
\n
value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880
\n
\n

\n VCPU = 16

\n
\n
\n
\n
type=\"VCPU\"
\n
\n

The number of vCPUs reserved for the container. This parameter maps to\n CpuShares in the Create a container section of the\n Docker Remote API and the --cpu-shares option to docker run. Each vCPU is equivalent to 1,024 CPU shares.\n For EC2 resources, you must specify at least one vCPU. This is required but can be specified\n in several places; it must be specified for each node at least once.

\n

The default for the Fargate On-Demand vCPU resource count quota is 6 vCPUs. For more\n information about Fargate quotas, see Fargate quotas\n in the Amazon Web Services General Reference.

\n

For jobs that are running on Fargate resources, then value must match one\n of the supported values and the MEMORY values must be one of the values supported\n for that VCPU value. The supported values are 0.25, 0.5, 1, 2, 4, 8, and\n 16

\n
\n
value = 0.25
\n
\n

\n MEMORY = 512, 1024, or 2048

\n
\n
value = 0.5
\n
\n

\n MEMORY = 1024, 2048, 3072, or 4096

\n
\n
value = 1
\n
\n

\n MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192

\n
\n
value = 2
\n
\n

\n MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384

\n
\n
value = 4
\n
\n

\n MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456,\n 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720

\n
\n
value = 8
\n
\n

\n MEMORY = 16384, 20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, or 61440\n

\n
\n
value = 16
\n
\n

\n MEMORY = 32768, 40960, 49152, 57344, 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880\n

\n
\n
\n
\n
", "smithy.api#required": {} } @@ -6001,6 +6066,7 @@ "type": { "target": "com.amazonaws.batch#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of resource to assign to a container. The supported resources include\n GPU, MEMORY, and VCPU.

", "smithy.api#required": {} } @@ -6102,6 +6168,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduling policy.

", "smithy.api#required": {} } @@ -6109,6 +6176,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy. An example is\n arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority\n .

", "smithy.api#required": {} } @@ -6142,6 +6210,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon Resource Name (ARN) of the scheduling policy.

", "smithy.api#required": {} } @@ -6163,6 +6232,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the secret.

", "smithy.api#required": {} } @@ -6170,6 +6240,7 @@ "valueFrom": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The secret to expose to the container. The supported values are either the full Amazon Resource Name (ARN) of\n the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

\n \n

If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Region as the job you're\n launching, then you can use either the full Amazon Resource Name (ARN) or name of the parameter. If the parameter\n exists in a different Region, then the full ARN must be specified.

\n
", "smithy.api#required": {} } @@ -6204,6 +6275,7 @@ "shareIdentifier": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A fair share identifier or fair share identifier prefix. If the string ends with an asterisk\n (*), this entry specifies the weight factor to use for fair share identifiers that start with\n that prefix. The list of fair share identifiers in a fair share policy can't overlap. For\n example, you can't have one that specifies a shareIdentifier of UserA*\n and another that specifies a shareIdentifier of UserA-1.

\n

There can be no more than 500 fair share identifiers active in a job queue.

\n

The string is limited to 255 alphanumeric characters, and can be followed by an asterisk\n (*).

", "smithy.api#required": {} } @@ -6280,6 +6352,7 @@ "jobName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain\n uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).

", "smithy.api#required": {} } @@ -6287,6 +6360,7 @@ "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job queue where the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.

", "smithy.api#required": {} } @@ -6318,6 +6392,7 @@ "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job definition used by this job. This value can be one of definition-name,\n definition-name:revision, or the Amazon Resource Name (ARN) for the job definition, with or without the revision\n (arn:aws:batch:region:account:job-definition/definition-name:revision\n ,\n or\n arn:aws:batch:region:account:job-definition/definition-name\n ).

\n

If the revision is not specified, then the latest active revision is used.

", "smithy.api#required": {} } @@ -6388,6 +6463,7 @@ "jobName": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job.

", "smithy.api#required": {} } @@ -6395,6 +6471,7 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the job.

", "smithy.api#required": {} } @@ -6477,6 +6554,7 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of\n a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

", "smithy.api#required": {} } @@ -6569,6 +6647,7 @@ "jobId": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Batch job ID of the job to terminate.

", "smithy.api#required": {} } @@ -6576,6 +6655,7 @@ "reason": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A message to attach to the job that explains the reason for canceling it. This message is returned by future\n DescribeJobs operations on the job. This message is also recorded in the Batch activity\n logs.

", "smithy.api#required": {} } @@ -6599,6 +6679,7 @@ "containerPath": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The absolute file path in the container where the tmpfs volume is\n mounted.

", "smithy.api#required": {} } @@ -6606,6 +6687,7 @@ "size": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The size (in MiB) of the tmpfs volume.

", "smithy.api#required": {} } @@ -6633,6 +6715,7 @@ "hardLimit": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The hard limit for the ulimit type.

", "smithy.api#required": {} } @@ -6640,6 +6723,7 @@ "name": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the ulimit.

", "smithy.api#required": {} } @@ -6647,6 +6731,7 @@ "softLimit": { "target": "com.amazonaws.batch#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The soft limit for the ulimit type.

", "smithy.api#required": {} } @@ -6714,6 +6799,7 @@ "tagKeys": { "target": "com.amazonaws.batch#TagKeysList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The keys of the tags to be removed.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -6777,6 +6863,7 @@ "computeEnvironment": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or full Amazon Resource Name (ARN) of the compute environment to update.

", "smithy.api#required": {} } @@ -6882,6 +6969,7 @@ "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the job queue.

", "smithy.api#required": {} } @@ -6948,7 +7036,6 @@ "jobExecutionTimeoutMinutes": { "target": "com.amazonaws.batch#JobExecutionTimeoutMinutes", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the job timeout (in minutes) when the compute environment infrastructure is\n updated. The default value is 30.

" } } @@ -6988,6 +7075,7 @@ "arn": { "target": "com.amazonaws.batch#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the scheduling policy to update.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json b/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json index 5c3e3513e18..538c8a60130 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json @@ -904,7 +904,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -947,7 +946,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -960,7 +960,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -974,7 +973,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -997,7 +995,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1032,7 +1029,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1043,14 +1039,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1064,14 +1062,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -1080,11 +1076,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1095,14 +1091,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1116,7 +1114,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1136,7 +1133,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1147,14 +1143,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1165,9 +1163,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -5992,7 +5992,6 @@ "TimePeriod": { "target": "com.amazonaws.chimesdkmediapipelines#SentimentTimePeriodInSeconds", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the analysis interval.

", "smithy.api#required": {} } @@ -6005,7 +6004,6 @@ "com.amazonaws.chimesdkmediapipelines#SentimentTimePeriodInSeconds": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 60, "max": 1800 diff --git a/codegen/sdk-codegen/aws-models/cloudformation.json b/codegen/sdk-codegen/aws-models/cloudformation.json index 8de4519c220..ca17f9dce93 100644 --- a/codegen/sdk-codegen/aws-models/cloudformation.json +++ b/codegen/sdk-codegen/aws-models/cloudformation.json @@ -405,6 +405,7 @@ "TypeConfigurationIdentifiers": { "target": "com.amazonaws.cloudformation#TypeConfigurationIdentifiers", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of identifiers for the desired extension configurations.

", "smithy.api#required": {} } @@ -512,6 +513,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "\n

If you don't pass a parameter to StackName, the API returns a response that describes\n all resources in the account.

\n

The IAM policy below can be added to\n IAM policies when you want to limit resource-level permissions and\n avoid returning a response when no parameter is sent in the request:

\n

\n { \"Version\": \"2012-10-17\", \"Statement\": [{ \"Effect\": \"Deny\", \"Action\":\n \"cloudformation:DescribeStacks\", \"NotResource\":\n \"arn:aws:cloudformation:*:*:stack/*/*\" }] }\n

\n
\n

The name or the unique stack ID that's associated with the stack.

", "smithy.api#required": {} } @@ -1328,7 +1330,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1371,7 +1372,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1384,7 +1386,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1398,7 +1399,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1421,7 +1421,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1456,7 +1455,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1467,14 +1465,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1488,14 +1488,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -1504,18 +1502,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -1524,7 +1521,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -1544,14 +1542,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1565,7 +1565,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1585,7 +1584,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1596,14 +1594,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1614,9 +1614,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2348,6 +2350,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique ID of the stack that you want to continue rolling back.

\n \n

Don't specify the name of a nested stack (a stack that was created by using the\n AWS::CloudFormation::Stack resource). Instead, use this operation on the parent stack (the stack that\n contains the AWS::CloudFormation::Stack resource).

\n
", "smithy.api#required": {} } @@ -2413,6 +2416,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique ID of the stack for which you are creating a change set. CloudFormation generates the\n change set by comparing this stack's information with the information that you submit, such as a modified template or\n different parameter input values.

", "smithy.api#required": {} } @@ -2480,6 +2484,7 @@ "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the change set. The name must be unique among all change sets that are associated with the specified\n stack.

\n

A change set name can contain only alphanumeric, case sensitive characters, and hyphens. It must start with an\n alphabetical character and can't exceed 128 characters.

", "smithy.api#required": {} } @@ -2579,6 +2584,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name that's associated with the stack. The name must be unique in the Region in which you are creating the\n stack.

\n \n

A stack name can contain only alphanumeric characters (case sensitive) and hyphens. It must start with an\n alphabetical character and can't be longer than 128 characters.

\n
", "smithy.api#required": {} } @@ -2729,6 +2735,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to create stack instances from.

", "smithy.api#required": {} } @@ -2748,6 +2755,7 @@ "Regions": { "target": "com.amazonaws.cloudformation#RegionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of one or more Amazon Web Services Regions where you want to create stack instances using the specified\n Amazon Web Services accounts.

", "smithy.api#required": {} } @@ -2840,6 +2848,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name to associate with the stack set. The name must be unique in the Region where you create your stack\n set.

\n \n

A stack name can contain only alphanumeric characters (case-sensitive) and hyphens. It must start with an\n alphabetic character and can't be longer than 128 characters.

\n
", "smithy.api#required": {} } @@ -3079,6 +3088,7 @@ "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the change set that you want to delete.

", "smithy.api#required": {} } @@ -3126,6 +3136,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack.

", "smithy.api#required": {} } @@ -3189,6 +3200,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to delete stack instances for.

", "smithy.api#required": {} } @@ -3208,6 +3220,7 @@ "Regions": { "target": "com.amazonaws.cloudformation#RegionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services Regions where you want to delete stack set instances.

", "smithy.api#required": {} } @@ -3221,7 +3234,7 @@ "RetainStacks": { "target": "com.amazonaws.cloudformation#RetainStacks", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Removes the stack instances from the specified stack set, but doesn't delete the stacks. You can't reassociate a\n retained stack or add an existing, saved stack to a new stack set.

\n

For more information, see Stack set operation\n options.

", "smithy.api#required": {} } @@ -3284,6 +3297,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you're deleting. You can obtain this value by running ListStackSets.

", "smithy.api#required": {} } @@ -3548,6 +3562,7 @@ "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the change set that you want to describe.

", "smithy.api#required": {} } @@ -3631,6 +3646,7 @@ "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the change set that you want to describe.

", "smithy.api#required": {} } @@ -3912,6 +3928,7 @@ "StackDriftDetectionId": { "target": "com.amazonaws.cloudformation#StackDriftDetectionId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number\n of drift results CloudFormation retains for any given stack, and for how long, may vary.

", "smithy.api#required": {} } @@ -3927,6 +3944,7 @@ "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the stack.

", "smithy.api#required": {} } @@ -3934,6 +3952,7 @@ "StackDriftDetectionId": { "target": "com.amazonaws.cloudformation#StackDriftDetectionId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number\n of reports CloudFormation retains for any given stack, and for how long, may vary.

", "smithy.api#required": {} } @@ -3947,6 +3966,7 @@ "DetectionStatus": { "target": "com.amazonaws.cloudformation#StackDriftDetectionStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the stack drift detection operation.

\n ", "smithy.api#required": {} } @@ -3966,6 +3986,7 @@ "Timestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time at which the stack drift detection operation was initiated.

", "smithy.api#required": {} } @@ -4060,6 +4081,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique stack ID of the stack set that you want to get stack instance information for.

", "smithy.api#required": {} } @@ -4067,6 +4089,7 @@ "StackInstanceAccount": { "target": "com.amazonaws.cloudformation#Account", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of an Amazon Web Services account that's associated with this stack instance.

", "smithy.api#required": {} } @@ -4074,6 +4097,7 @@ "StackInstanceRegion": { "target": "com.amazonaws.cloudformation#Region", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a Region that's associated with this stack instance.

", "smithy.api#required": {} } @@ -4138,6 +4162,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack for which you want drift information.

", "smithy.api#required": {} } @@ -4171,6 +4196,7 @@ "StackResourceDrifts": { "target": "com.amazonaws.cloudformation#StackResourceDrifts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Drift information for the resources that have been checked for drift in the specified stack. This includes\n actual and expected configuration values for resources where CloudFormation detects drift.

\n

For a given stack, there will be one StackResourceDrift for each stack resource that has been\n checked for drift. Resources that haven't yet been checked for drift aren't included. Resources that do not currently\n support drift detection aren't checked, and so not included. For a list of resources that support drift detection,\n see Resources that Support Drift Detection.

", "smithy.api#required": {} } @@ -4192,6 +4218,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique stack ID that's associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

", "smithy.api#required": {} } @@ -4199,6 +4226,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource as specified in the template.

\n

Default: There is no default value.

", "smithy.api#required": {} } @@ -4301,6 +4329,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set whose description you want.

", "smithy.api#required": {} } @@ -4342,6 +4371,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique stack ID of the stack set for the stack operation.

", "smithy.api#required": {} } @@ -4349,6 +4379,7 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of the stack set operation.

", "smithy.api#required": {} } @@ -5100,6 +5131,7 @@ "RegistrationToken": { "target": "com.amazonaws.cloudformation#RegistrationToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for this registration request.

\n

This registration token is generated by CloudFormation when you initiate a registration request using\n RegisterType.

", "smithy.api#required": {} } @@ -5168,6 +5200,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack for which you want to detect drift.

", "smithy.api#required": {} } @@ -5189,6 +5222,7 @@ "StackDriftDetectionId": { "target": "com.amazonaws.cloudformation#StackDriftDetectionId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the drift detection results of this operation.

\n

CloudFormation generates new results, with a new drift detection ID, each time this operation is run. However, the number\n of drift results CloudFormation retains for any given stack, and for how long, may vary.

", "smithy.api#required": {} } @@ -5216,6 +5250,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack to which the resource belongs.

", "smithy.api#required": {} } @@ -5223,6 +5258,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource for which to return drift information.

", "smithy.api#required": {} } @@ -5238,6 +5274,7 @@ "StackResourceDrift": { "target": "com.amazonaws.cloudformation#StackResourceDrift", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about whether the resource's actual configuration has drifted from its expected template\n configuration, including actual and expected property values and any differences detected.

", "smithy.api#required": {} } @@ -5276,6 +5313,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack set on which to perform the drift detection operation.

", "smithy.api#required": {} } @@ -5347,7 +5385,6 @@ "com.amazonaws.cloudformation#DriftedStackInstancesCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -5480,6 +5517,7 @@ "ChangeSetName": { "target": "com.amazonaws.cloudformation#ChangeSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.

", "smithy.api#required": {} } @@ -5614,7 +5652,6 @@ "com.amazonaws.cloudformation#FailedStackInstancesCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -5655,6 +5692,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique stack ID that's associated with the stack whose policy you want to get.

", "smithy.api#required": {} } @@ -6193,6 +6231,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stack set. The name must be unique in the Region where you create your stack set.

", "smithy.api#required": {} } @@ -6262,7 +6301,6 @@ "com.amazonaws.cloudformation#InProgressStackInstancesCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6271,7 +6309,6 @@ "com.amazonaws.cloudformation#InSyncStackInstancesCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6409,6 +6446,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the stack for which you want to list change sets.

", "smithy.api#required": {} } @@ -6520,6 +6558,7 @@ "ExportName": { "target": "com.amazonaws.cloudformation#ExportName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the exported output value. CloudFormation returns the stack names that are importing this\n value.

", "smithy.api#required": {} } @@ -6584,6 +6623,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to list drifted resources\n for.

", "smithy.api#required": {} } @@ -6609,6 +6649,7 @@ "StackInstanceAccount": { "target": "com.amazonaws.cloudformation#Account", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon Web Services account that you want to list resource drifts for.

", "smithy.api#required": {} } @@ -6616,6 +6657,7 @@ "StackInstanceRegion": { "target": "com.amazonaws.cloudformation#Region", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Region where you want to list resource drifts.

", "smithy.api#required": {} } @@ -6623,6 +6665,7 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of the drift operation.

", "smithy.api#required": {} } @@ -6687,6 +6730,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to list stack instances for.

", "smithy.api#required": {} } @@ -6775,6 +6819,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:

\n \n

Default: There is no default value.

", "smithy.api#required": {} } @@ -6844,6 +6889,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to get operation results for.

", "smithy.api#required": {} } @@ -6851,6 +6897,7 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the stack set operation.

", "smithy.api#required": {} } @@ -6933,6 +6980,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to get operation summaries for.

", "smithy.api#required": {} } @@ -7399,6 +7447,7 @@ "LogRoleArn": { "target": "com.amazonaws.cloudformation#RoleARN2", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role that CloudFormation should assume when sending log entries\n to CloudWatch Logs.

", "smithy.api#required": {} } @@ -7406,6 +7455,7 @@ "LogGroupName": { "target": "com.amazonaws.cloudformation#LogGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon CloudWatch Logs group to which CloudFormation sends error logging information when invoking\n the extension's handlers.

", "smithy.api#required": {} } @@ -7994,6 +8044,7 @@ "Key": { "target": "com.amazonaws.cloudformation#Key", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource context key.

", "smithy.api#required": {} } @@ -8001,6 +8052,7 @@ "Value": { "target": "com.amazonaws.cloudformation#Value", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource context value.

", "smithy.api#required": {} } @@ -8029,6 +8081,7 @@ "PropertyPath": { "target": "com.amazonaws.cloudformation#PropertyPath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The fully-qualified path to the resource property.

", "smithy.api#required": {} } @@ -8036,6 +8089,7 @@ "ExpectedValue": { "target": "com.amazonaws.cloudformation#PropertyValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The expected property value of the resource property, as defined in the stack template and any values specified\n as template parameters.

", "smithy.api#required": {} } @@ -8043,6 +8097,7 @@ "ActualValue": { "target": "com.amazonaws.cloudformation#PropertyValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The actual property value of the resource property.

", "smithy.api#required": {} } @@ -8050,6 +8105,7 @@ "DifferenceType": { "target": "com.amazonaws.cloudformation#DifferenceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of property difference.

\n ", "smithy.api#required": {} } @@ -8250,6 +8306,7 @@ "BearerToken": { "target": "com.amazonaws.cloudformation#ClientToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

", "smithy.api#required": {} } @@ -8257,6 +8314,7 @@ "OperationStatus": { "target": "com.amazonaws.cloudformation#OperationStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Reserved for use by the CloudFormation\n CLI.

", "smithy.api#required": {} } @@ -8414,6 +8472,7 @@ "TypeName": { "target": "com.amazonaws.cloudformation#TypeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the extension being registered.

\n

We suggest that extension names adhere to the following patterns:

\n \n \n

The following organization namespaces are reserved and can't be used in your extension names:

\n \n
", "smithy.api#required": {} } @@ -8421,6 +8480,7 @@ "SchemaHandlerPackage": { "target": "com.amazonaws.cloudformation#S3Url", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A URL to the S3 bucket containing the extension project package that contains the necessary files for the\n extension you want to register.

\n

For information about generating a schema handler package for the extension you want to register, see submit in the\n CloudFormation CLI User Guide.

\n \n

The user registering the extension must be able to access the package in the S3 bucket. That's, the user needs\n to have GetObject permissions for\n the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3\n in the Identity and Access Management User Guide.

\n
", "smithy.api#required": {} } @@ -9046,6 +9106,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of resource to import into your stack, such as AWS::S3::Bucket. For a list of supported\n resource types, see Resources that support import\n operations in the CloudFormation User Guide.

", "smithy.api#required": {} } @@ -9053,6 +9114,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical ID of the target resource as specified in the template.

", "smithy.api#required": {} } @@ -9060,6 +9122,7 @@ "ResourceIdentifier": { "target": "com.amazonaws.cloudformation#ResourceIdentifierProperties", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A key-value pair that identifies the target resource. The key is an identifier property (for example,\n BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for\n example, MyS3Bucket).

", "smithy.api#required": {} } @@ -9118,10 +9181,7 @@ } }, "com.amazonaws.cloudformation#RetainStacks": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.cloudformation#RetainStacksNullable": { "type": "boolean" @@ -9191,6 +9251,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name that's associated with the stack.

", "smithy.api#required": {} } @@ -9238,6 +9299,7 @@ "Arn": { "target": "com.amazonaws.cloudformation#Arn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rollback trigger.

\n

If a specified trigger is missing, the entire stack operation fails and is rolled back.

", "smithy.api#required": {} } @@ -9245,6 +9307,7 @@ "Type": { "target": "com.amazonaws.cloudformation#Type", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource type of the rollback trigger. Specify either AWS::CloudWatch::Alarm or AWS::CloudWatch::CompositeAlarm resource types.

", "smithy.api#required": {} } @@ -9309,6 +9372,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique stack ID that you want to associate a policy with.

", "smithy.api#required": {} } @@ -9363,6 +9427,7 @@ "Configuration": { "target": "com.amazonaws.cloudformation#TypeConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration data for the extension, in this account and Region.

\n

The configuration data must be formatted as JSON, and validate against the schema returned in the\n ConfigurationSchema response element of DescribeType. For more information, see\n Defining\n account-level configuration data for an extension in the CloudFormation CLI User\n Guide.

", "smithy.api#required": {} } @@ -9482,6 +9547,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The stack name or unique stack ID that includes the resource that you want to signal.

", "smithy.api#required": {} } @@ -9489,6 +9555,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical ID of the resource that you want to signal. The logical ID is the name of the resource that given in\n the template.

", "smithy.api#required": {} } @@ -9496,6 +9563,7 @@ "UniqueId": { "target": "com.amazonaws.cloudformation#ResourceSignalUniqueId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique ID of the signal. When you signal Amazon EC2 instances or Auto Scaling groups, specify the\n instance ID that you are signaling as the unique ID. If you send multiple signals to a single resource (such as\n signaling a wait condition), each signal requires a different unique ID.

", "smithy.api#required": {} } @@ -9503,6 +9571,7 @@ "Status": { "target": "com.amazonaws.cloudformation#ResourceSignalStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the signal, which is either success or failure. A failure signal causes CloudFormation to\n immediately fail the stack creation or update.

", "smithy.api#required": {} } @@ -9525,6 +9594,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name associated with the stack.

", "smithy.api#required": {} } @@ -9550,6 +9620,7 @@ "CreationTime": { "target": "com.amazonaws.cloudformation#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the stack was created.

", "smithy.api#required": {} } @@ -9575,6 +9646,7 @@ "StackStatus": { "target": "com.amazonaws.cloudformation#StackStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Current status of the stack.

", "smithy.api#required": {} } @@ -9703,6 +9775,7 @@ "StackDriftStatus": { "target": "com.amazonaws.cloudformation#StackDriftStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected template configuration.

\n ", "smithy.api#required": {} } @@ -9724,6 +9797,7 @@ "StackDriftStatus": { "target": "com.amazonaws.cloudformation#StackDriftStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Status of the stack's actual configuration compared to its expected template configuration.

\n ", "smithy.api#required": {} } @@ -9774,6 +9848,7 @@ "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID name of the instance of the stack.

", "smithy.api#required": {} } @@ -9781,6 +9856,7 @@ "EventId": { "target": "com.amazonaws.cloudformation#EventId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of this event.

", "smithy.api#required": {} } @@ -9788,6 +9864,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name associated with a stack.

", "smithy.api#required": {} } @@ -9813,6 +9890,7 @@ "Timestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time the status was updated.

", "smithy.api#required": {} } @@ -10136,6 +10214,7 @@ "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the stack instance.

", "smithy.api#required": {} } @@ -10143,6 +10222,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource specified in the template.

", "smithy.api#required": {} } @@ -10162,6 +10242,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Type of resource. For more information, go to Amazon Web Services Resource Types Reference in the CloudFormation User\n Guide.

", "smithy.api#required": {} } @@ -10175,6 +10256,7 @@ "StackResourceDriftStatus": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The drift status of the resource in a stack instance.

\n ", "smithy.api#required": {} } @@ -10182,6 +10264,7 @@ "Timestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time at which the stack instance drift detection operation was initiated.

", "smithy.api#required": {} } @@ -10377,6 +10460,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource specified in the template.

", "smithy.api#required": {} } @@ -10390,6 +10474,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Type of resource. For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.

", "smithy.api#required": {} } @@ -10397,6 +10482,7 @@ "Timestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time the status was updated.

", "smithy.api#required": {} } @@ -10404,6 +10490,7 @@ "ResourceStatus": { "target": "com.amazonaws.cloudformation#ResourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Current status of the resource.

", "smithy.api#required": {} } @@ -10455,6 +10542,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource specified in the template.

", "smithy.api#required": {} } @@ -10468,6 +10556,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Type of resource. For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.

", "smithy.api#required": {} } @@ -10475,6 +10564,7 @@ "LastUpdatedTimestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time the status was updated.

", "smithy.api#required": {} } @@ -10482,6 +10572,7 @@ "ResourceStatus": { "target": "com.amazonaws.cloudformation#ResourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Current status of the resource.

", "smithy.api#required": {} } @@ -10527,6 +10618,7 @@ "StackId": { "target": "com.amazonaws.cloudformation#StackId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the stack.

", "smithy.api#required": {} } @@ -10534,6 +10626,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource specified in the template.

", "smithy.api#required": {} } @@ -10553,6 +10646,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the resource.

", "smithy.api#required": {} } @@ -10578,6 +10672,7 @@ "StackResourceDriftStatus": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration.

\n ", "smithy.api#required": {} } @@ -10585,6 +10680,7 @@ "Timestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time at which CloudFormation performed drift detection on the stack resource.

", "smithy.api#required": {} } @@ -10606,6 +10702,7 @@ "StackResourceDriftStatus": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration

\n ", "smithy.api#required": {} } @@ -10627,6 +10724,7 @@ "StackResourceDriftStatus": { "target": "com.amazonaws.cloudformation#StackResourceDriftStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Status of the resource's actual configuration compared to its expected configuration.

\n ", "smithy.api#required": {} } @@ -10701,6 +10799,7 @@ "LogicalResourceId": { "target": "com.amazonaws.cloudformation#LogicalResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The logical name of the resource specified in the template.

", "smithy.api#required": {} } @@ -10714,6 +10813,7 @@ "ResourceType": { "target": "com.amazonaws.cloudformation#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Type of resource. (For more information, go to Amazon Web Services Resource Types\n Reference in the CloudFormation User Guide.)

", "smithy.api#required": {} } @@ -10721,6 +10821,7 @@ "LastUpdatedTimestamp": { "target": "com.amazonaws.cloudformation#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Time the status was updated.

", "smithy.api#required": {} } @@ -10728,6 +10829,7 @@ "ResourceStatus": { "target": "com.amazonaws.cloudformation#ResourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Current status of the resource.

", "smithy.api#required": {} } @@ -10898,35 +11000,30 @@ "TotalStackInstancesCount": { "target": "com.amazonaws.cloudformation#TotalStackInstancesCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of stack instances belonging to this stack set.

\n

The total number of stack instances is equal to the total of:

\n " } }, "DriftedStackInstancesCount": { "target": "com.amazonaws.cloudformation#DriftedStackInstancesCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances that have drifted from the expected template and parameter configuration of the\n stack set. A stack instance is considered to have drifted if one or more of the resources in the associated stack\n don't match their expected configuration.

" } }, "InSyncStackInstancesCount": { "target": "com.amazonaws.cloudformation#InSyncStackInstancesCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances which match the expected template and parameter configuration of the stack\n set.

" } }, "InProgressStackInstancesCount": { "target": "com.amazonaws.cloudformation#InProgressStackInstancesCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances that are currently being checked for drift.

" } }, "FailedStackInstancesCount": { "target": "com.amazonaws.cloudformation#FailedStackInstancesCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances for which the drift detection operation failed.

" } } @@ -11336,7 +11433,6 @@ "FailedStackInstancesCount": { "target": "com.amazonaws.cloudformation#FailedStackInstancesCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances for which the StackSet operation failed.

" } } @@ -11665,6 +11761,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name associated with the stack.

", "smithy.api#required": {} } @@ -11678,6 +11775,7 @@ "CreationTime": { "target": "com.amazonaws.cloudformation#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time the stack was created.

", "smithy.api#required": {} } @@ -11697,6 +11795,7 @@ "StackStatus": { "target": "com.amazonaws.cloudformation#StackStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the stack.

", "smithy.api#required": {} } @@ -11797,6 +11896,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to stop the operation for.

", "smithy.api#required": {} } @@ -11804,6 +11904,7 @@ "OperationId": { "target": "com.amazonaws.cloudformation#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the stack operation.

", "smithy.api#required": {} } @@ -11847,6 +11948,7 @@ "Key": { "target": "com.amazonaws.cloudformation#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n Required. A string used to identify this tag. You can specify a maximum of 128 characters for a\n tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

", "smithy.api#required": {} } @@ -11854,6 +11956,7 @@ "Value": { "target": "com.amazonaws.cloudformation#TagValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n Required. A string containing the value for this tag. You can specify a maximum of 256\n characters for a tag value.

", "smithy.api#required": {} } @@ -12119,7 +12222,6 @@ "com.amazonaws.cloudformation#TotalStackInstancesCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -12618,6 +12720,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique stack ID of the stack to update.

", "smithy.api#required": {} } @@ -12768,6 +12871,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set associated with the stack instances.

", "smithy.api#required": {} } @@ -12787,6 +12891,7 @@ "Regions": { "target": "com.amazonaws.cloudformation#RegionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of one or more Amazon Web Services Regions in which you want to update parameter values for stack\n instances. The overridden parameter values will be applied to all stack instances in the specified accounts and\n Amazon Web Services Regions.

", "smithy.api#required": {} } @@ -12888,6 +12993,7 @@ "StackSetName": { "target": "com.amazonaws.cloudformation#StackSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack set that you want to update.

", "smithy.api#required": {} } @@ -13038,6 +13144,7 @@ "EnableTerminationProtection": { "target": "com.amazonaws.cloudformation#EnableTerminationProtection", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to enable termination protection on the specified stack.

", "smithy.api#required": {} } @@ -13045,6 +13152,7 @@ "StackName": { "target": "com.amazonaws.cloudformation#StackNameOrId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or unique ID of the stack for which you want to set termination protection.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/cloudsearch.json b/codegen/sdk-codegen/aws-models/cloudsearch.json index fbc20a695da..7ba0bbf603b 100644 --- a/codegen/sdk-codegen/aws-models/cloudsearch.json +++ b/codegen/sdk-codegen/aws-models/cloudsearch.json @@ -171,7 +171,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -214,7 +213,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -227,7 +227,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -241,7 +240,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -264,7 +262,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -299,7 +296,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -310,14 +306,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -331,14 +329,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -347,11 +343,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -362,14 +358,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -383,7 +381,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -403,7 +400,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -414,14 +410,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -432,9 +430,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2825,14 +2825,12 @@ "SearchPartitionCount": { "target": "com.amazonaws.cloudsearch#PartitionCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions across which the search index is spread.

" } }, "SearchInstanceCount": { "target": "com.amazonaws.cloudsearch#InstanceCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of search instances that are available to process search requests.

" } }, @@ -3278,7 +3276,6 @@ "com.amazonaws.cloudsearch#InstanceCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -3473,14 +3470,12 @@ "MaximumReplicationCount": { "target": "com.amazonaws.cloudsearch#MaximumReplicationCount", "traits": { - "smithy.api#default": 0, "smithy.api#required": {} } }, "MaximumPartitionCount": { "target": "com.amazonaws.cloudsearch#MaximumPartitionCount", "traits": { - "smithy.api#default": 0, "smithy.api#required": {} } } @@ -3603,7 +3598,6 @@ "com.amazonaws.cloudsearch#MaximumPartitionCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -3612,7 +3606,6 @@ "com.amazonaws.cloudsearch#MaximumReplicationCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -3701,7 +3694,6 @@ "com.amazonaws.cloudsearch#PartitionCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions used to hold the domain's index.

", "smithy.api#range": { "min": 1 diff --git a/codegen/sdk-codegen/aws-models/cloudwatch.json b/codegen/sdk-codegen/aws-models/cloudwatch.json index 9ab9f01acd3..87dba04aa31 100644 --- a/codegen/sdk-codegen/aws-models/cloudwatch.json +++ b/codegen/sdk-codegen/aws-models/cloudwatch.json @@ -636,7 +636,6 @@ "Size": { "target": "com.amazonaws.cloudwatch#Size", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the dashboard, in bytes.

" } } @@ -837,6 +836,7 @@ "AlarmNames": { "target": "com.amazonaws.cloudwatch#AlarmNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The alarms to be deleted. Do not enclose the alarm names in quote marks.

", "smithy.api#required": {} } @@ -967,6 +967,7 @@ "DashboardNames": { "target": "com.amazonaws.cloudwatch#DashboardNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The dashboards to be deleted. This parameter is required.

", "smithy.api#required": {} } @@ -1009,6 +1010,7 @@ "RuleNames": { "target": "com.amazonaws.cloudwatch#InsightRuleNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of the rule names to delete. If you need to find out the names of your rules, use DescribeInsightRules.

", "smithy.api#required": {} } @@ -1061,6 +1063,7 @@ "Name": { "target": "com.amazonaws.cloudwatch#MetricStreamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric stream to delete.

", "smithy.api#required": {} } @@ -1248,6 +1251,7 @@ "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } @@ -1255,6 +1259,7 @@ "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The namespace of the metric.

", "smithy.api#required": {} } @@ -1560,6 +1565,7 @@ "Name": { "target": "com.amazonaws.cloudwatch#DimensionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the dimension. Dimension names must contain only ASCII characters, must include \n\t\t\tat least one non-whitespace character, and cannot start with a colon (:).\n\t\t\tASCII\n\t\t\tcontrol characters are not supported as part of dimension names.

", "smithy.api#required": {} } @@ -1567,6 +1573,7 @@ "Value": { "target": "com.amazonaws.cloudwatch#DimensionValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the dimension. Dimension values must contain only ASCII characters and must include \n\t\t\tat least one non-whitespace character. ASCII\n\t\t\tcontrol characters are not supported as part of dimension values.

", "smithy.api#required": {} } @@ -1582,6 +1589,7 @@ "Name": { "target": "com.amazonaws.cloudwatch#DimensionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The dimension name to be matched.

", "smithy.api#required": {} } @@ -1657,6 +1665,7 @@ "AlarmNames": { "target": "com.amazonaws.cloudwatch#AlarmNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of the alarms.

", "smithy.api#required": {} } @@ -1692,6 +1701,7 @@ "RuleNames": { "target": "com.amazonaws.cloudwatch#InsightRuleNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of the rule names to disable. If you need to find out the names of your rules, use DescribeInsightRules.

", "smithy.api#required": {} } @@ -1733,6 +1743,7 @@ "AlarmNames": { "target": "com.amazonaws.cloudwatch#AlarmNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of the alarms.

", "smithy.api#required": {} } @@ -1771,6 +1782,7 @@ "RuleNames": { "target": "com.amazonaws.cloudwatch#InsightRuleNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of the rule names to enable. If you need to find out the names of your rules, use DescribeInsightRules.

", "smithy.api#required": {} } @@ -1890,6 +1902,7 @@ "DashboardName": { "target": "com.amazonaws.cloudwatch#DashboardName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the dashboard to be described.

", "smithy.api#required": {} } @@ -1954,6 +1967,7 @@ "RuleName": { "target": "com.amazonaws.cloudwatch#InsightRuleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the rule that you want to see data from.

", "smithy.api#required": {} } @@ -1961,6 +1975,7 @@ "StartTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The start time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as \n\t\t\tyyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", "smithy.api#required": {} } @@ -1968,6 +1983,7 @@ "EndTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The end time of the data to use in the report. When used in a raw HTTP Query API, it is formatted as \n\t\t\tyyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", "smithy.api#required": {} } @@ -1975,6 +1991,7 @@ "Period": { "target": "com.amazonaws.cloudwatch#Period", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The period, in seconds, to use for the statistics in the InsightRuleMetricDatapoint results.

", "smithy.api#required": {} } @@ -2074,6 +2091,7 @@ "MetricDataQueries": { "target": "com.amazonaws.cloudwatch#MetricDataQueries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric queries to be returned. A single GetMetricData call can \n\t\t\tinclude as many as 500 MetricDataQuery\n\t\tstructures. Each of these structures can specify either a metric to retrieve, a Metrics Insights query,\n\t\tor a math expression to perform on retrieved data.

", "smithy.api#required": {} } @@ -2081,6 +2099,7 @@ "StartTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time stamp indicating the earliest data to be returned.

\n

The value specified is inclusive; results include data points with the specified time stamp.

\n

CloudWatch rounds the specified time stamp as follows:

\n \n

If you set Period to 5, 10, or 30, the start time of your request is \n\t\t\trounded down to the nearest time that corresponds to even 5-, 10-, or 30-second divisions\n\t\t\tof a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous \n\t\t\t10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to \n\t\t\t01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a \n\t\t\tperiod of 5 seconds, you receive data \n\t\t\ttimestamped between 15:02:15 and 15:07:15.\n\t\t

\n

For better performance, specify StartTime and EndTime\n\t\tvalues that align with the value of the metric's Period and sync up with\n\t\tthe beginning and end of an hour. For example, if the Period of a metric\n\t\tis 5 minutes, specifying 12:05 or 12:30 as StartTime can get a faster response\n\t\t\tfrom CloudWatch than setting 12:07 or 12:29 as the StartTime.

", "smithy.api#required": {} } @@ -2088,6 +2107,7 @@ "EndTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time stamp indicating the latest data to be returned.

\n

The value specified is exclusive; results include data points up to the specified time stamp.

\n

For better performance, specify StartTime and EndTime\n\t\t\tvalues that align with the value of the metric's Period and sync up with\n\t\t\tthe beginning and end of an hour. For example, if the Period of a metric\n\t\t\tis 5 minutes, specifying 12:05 or 12:30 as EndTime can get a faster response\n\t\t\tfrom CloudWatch than setting 12:07 or 12:29 as the EndTime.

", "smithy.api#required": {} } @@ -2185,6 +2205,7 @@ "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The namespace of the metric, with or without spaces.

", "smithy.api#required": {} } @@ -2192,6 +2213,7 @@ "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric, with or without spaces.

", "smithy.api#required": {} } @@ -2205,6 +2227,7 @@ "StartTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time stamp that determines the first data point to return. Start times are \n\t\t\tevaluated relative to the time that CloudWatch receives the request.

\n

The value specified is inclusive; results include data points with the specified time stamp. \n\t \tIn a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-03T23:00:00Z).

\n

CloudWatch rounds the specified time stamp as follows:

\n \n

If you set Period to 5, 10, or 30, the start time of your request is \n\t\t\trounded down to the nearest time that corresponds to even 5-, 10-, or 30-second divisions\n\t\t\tof a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous \n\t\t\t10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to \n\t\t\t01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a \n\t\t\tperiod of 5 seconds, you receive data \n\t\t\ttimestamped between 15:02:15 and 15:07:15.\n\t\t

", "smithy.api#required": {} } @@ -2212,6 +2235,7 @@ "EndTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time stamp that determines the last data point to return.

\n

The value specified is exclusive; results include data points up to the specified time stamp.\n\t\t\tIn a raw HTTP query, the time stamp must be in ISO 8601 UTC format (for example, 2016-10-10T23:00:00Z).

", "smithy.api#required": {} } @@ -2219,6 +2243,7 @@ "Period": { "target": "com.amazonaws.cloudwatch#Period", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can\n\t\t\tbe as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected\n\t\t\tat intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics\n\t\tare those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

\n

If the StartTime parameter specifies a time stamp that is greater than\n\t\t 3 hours ago, you must specify the period as follows or no data points in that time range is returned:

\n ", "smithy.api#required": {} } @@ -2301,6 +2326,7 @@ "Name": { "target": "com.amazonaws.cloudwatch#MetricStreamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric stream to retrieve information about.

", "smithy.api#required": {} } @@ -2408,6 +2434,7 @@ "MetricWidget": { "target": "com.amazonaws.cloudwatch#MetricWidget", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON string that defines the bitmap graph to be retrieved. The string includes the \n\t\t\tmetrics to include in the graph, statistics, annotations, title, axis limits, and so on. \n\t\t\tYou can include only one MetricWidget parameter in each GetMetricWidgetImage call.

\n

For more information about the syntax of MetricWidget see \n\t\t\tGetMetricWidgetImage: Metric Widget Structure and Syntax.

\n

If any metric on the graph could not load all the requested data points, an orange triangle with an exclamation\n\t\t\tpoint appears next to the graph legend.

", "smithy.api#required": {} } @@ -2616,7 +2643,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2659,7 +2685,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2672,7 +2699,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2686,7 +2712,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2709,7 +2734,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2744,7 +2768,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2755,14 +2778,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2776,14 +2801,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2792,18 +2815,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -2812,7 +2834,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -2832,14 +2855,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2853,7 +2878,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2873,7 +2897,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2884,14 +2907,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2902,9 +2927,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3635,10 +3662,7 @@ } }, "com.amazonaws.cloudwatch#IncludeLinkedAccounts": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.cloudwatch#IncludeLinkedAccountsMetrics": { "type": "boolean" @@ -3649,6 +3673,7 @@ "Name": { "target": "com.amazonaws.cloudwatch#InsightRuleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the rule.

", "smithy.api#required": {} } @@ -3656,6 +3681,7 @@ "State": { "target": "com.amazonaws.cloudwatch#InsightRuleState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the rule is enabled or disabled.

", "smithy.api#required": {} } @@ -3663,6 +3689,7 @@ "Schema": { "target": "com.amazonaws.cloudwatch#InsightRuleSchema", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

For rules that you create, this is always {\"Name\": \"CloudWatchLogRule\", \"Version\": 1}. For managed rules, \n\t\t\tthis is {\"Name\": \"ServiceLogRule\", \"Version\": 1}\n

", "smithy.api#required": {} } @@ -3670,6 +3697,7 @@ "Definition": { "target": "com.amazonaws.cloudwatch#InsightRuleDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The definition of the rule, as a JSON object. The definition contains the keywords used to define contributors, \n\t\t\tthe value to aggregate on if this rule returns a sum instead of a count, and the filters. For details on the valid syntax, see \n\t\t\tContributor Insights\n\t\t\t\tRule Syntax.

", "smithy.api#required": {} } @@ -3677,7 +3705,6 @@ "ManagedRule": { "target": "com.amazonaws.cloudwatch#InsightRuleIsManaged", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n\t\t\tAn optional built-in rule that Amazon Web Services manages.\n\t\t

" } } @@ -3695,6 +3722,7 @@ "Keys": { "target": "com.amazonaws.cloudwatch#InsightRuleContributorKeys", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One of the log entry field keywords that is used to define contributors for this rule.

", "smithy.api#required": {} } @@ -3702,6 +3730,7 @@ "ApproximateAggregateValue": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An approximation of the aggregate value that comes from this contributor.

", "smithy.api#required": {} } @@ -3709,6 +3738,7 @@ "Datapoints": { "target": "com.amazonaws.cloudwatch#InsightRuleContributorDatapoints", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of the data points where this contributor is present. Only the data points when this contributor appeared are included in the array.

", "smithy.api#required": {} } @@ -3724,6 +3754,7 @@ "Timestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp of the data point.

", "smithy.api#required": {} } @@ -3731,6 +3762,7 @@ "ApproximateValue": { "target": "com.amazonaws.cloudwatch#InsightRuleUnboundDouble", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The approximate value that this contributor added during this timestamp.

", "smithy.api#required": {} } @@ -3781,10 +3813,7 @@ } }, "com.amazonaws.cloudwatch#InsightRuleIsManaged": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.cloudwatch#InsightRuleMaxResults": { "type": "integer", @@ -3801,6 +3830,7 @@ "Timestamp": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp of the data point.

", "smithy.api#required": {} } @@ -4181,6 +4211,7 @@ "ResourceARN": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n\t\t\tThe ARN \n\t\t\tof an Amazon Web Services resource \n\t\t\tthat has managed Contributor Insights rules.\n\t\t

", "smithy.api#required": {} } @@ -4362,7 +4393,6 @@ "IncludeLinkedAccounts": { "target": "com.amazonaws.cloudwatch#IncludeLinkedAccounts", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If you are using this operation in a monitoring account, \n\t\t\tspecify true to include metrics from source accounts in the returned data.

\n

The default is false.

" } }, @@ -4432,6 +4462,7 @@ "ResourceARN": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the CloudWatch resource that you want to view tags for.

\n

The ARN format of an alarm is \n\t\t\tarn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is \n\t\t\tarn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource\n\t\t\t\tTypes Defined by Amazon CloudWatch in the Amazon Web Services General\n\t\t\tReference.

", "smithy.api#required": {} } @@ -4461,6 +4492,7 @@ "TemplateName": { "target": "com.amazonaws.cloudwatch#TemplateName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n\t\t\tThe template name \n\t\t\tfor the managed Contributor Insights rule, \n\t\t\tas returned \n\t\t\tby ListManagedInsightRules.\n\t\t

", "smithy.api#required": {} } @@ -4468,6 +4500,7 @@ "ResourceARN": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n\t\t\tThe ARN\n\t\t\tof an Amazon Web Services resource\n\t\t\tthat has managed Contributor Insights rules.\n\t\t

", "smithy.api#required": {} } @@ -4521,6 +4554,7 @@ "RuleName": { "target": "com.amazonaws.cloudwatch#InsightRuleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n\t\t\tThe name\n\t\t\tof the Contributor Insights rule \n\t\t\tthat contains data \n\t\t\tfor the specified Amazon Web Services resource.\n\t\t

", "smithy.api#required": {} } @@ -4528,6 +4562,7 @@ "State": { "target": "com.amazonaws.cloudwatch#InsightRuleState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n\t\t\tIndicates whether the rule is enabled or disabled.\n\t\t

", "smithy.api#required": {} } @@ -4821,6 +4856,7 @@ "Id": { "target": "com.amazonaws.cloudwatch#MetricId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A short name used to tie this object to the results in the response. This name must be\n\t\t\tunique within a single call to GetMetricData. If you are performing math\n\t\t\texpressions on this set of data, this name represents that data and can serve as a\n\t\t\tvariable in the mathematical expression. The valid characters are letters, numbers, and\n\t\t\tunderscore. The first character must be a lowercase letter.

", "smithy.api#required": {} } @@ -4928,6 +4964,7 @@ "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } @@ -5035,6 +5072,7 @@ "Metric": { "target": "com.amazonaws.cloudwatch#Metric", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric to return, including the metric name, namespace, and dimensions.

", "smithy.api#required": {} } @@ -5042,6 +5080,7 @@ "Period": { "target": "com.amazonaws.cloudwatch#Period", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points. For metrics with regular resolution, a period can\n\t\t\tbe as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected\n\t\t\tat intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics\n\t\t\tare those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

\n

If the StartTime parameter specifies a time stamp that is greater than\n\t\t\t\t3 hours ago, you must specify the period as follows or no data points in that time range is returned:

\n ", "smithy.api#required": {} } @@ -5049,6 +5088,7 @@ "Stat": { "target": "com.amazonaws.cloudwatch#Stat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The statistic to return. It can include any CloudWatch statistic or extended statistic.

", "smithy.api#required": {} } @@ -5208,6 +5248,7 @@ "IncludeMetrics": { "target": "com.amazonaws.cloudwatch#MetricStreamStatisticsIncludeMetrics", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of metric name and namespace pairs that stream the additional statistics listed\n\t\t\tin the value of the AdditionalStatistics parameter. There can be as many as \n\t\t\t100 pairs in the array.

\n

All metrics that match the combination of metric name and namespace will be streamed\n\t\t\twith the additional statistics, no matter their dimensions.

", "smithy.api#required": {} } @@ -5215,6 +5256,7 @@ "AdditionalStatistics": { "target": "com.amazonaws.cloudwatch#MetricStreamStatisticsAdditionalStatistics", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of additional statistics that are to be streamed for the metrics listed\n\t\t\tin the IncludeMetrics array in this structure. This list can include as many as 20 statistics.

\n

If the OutputFormat for the stream is opentelemetry0.7, the only \n\t\t\tvalid values are p??\n percentile statistics such as p90, p99 and so on.

\n

If the OutputFormat for the stream is json, \n\t\t\tthe valid values include the abbreviations for all of the statistics listed in \n\t\t\t\n\t\t\t\tCloudWatch statistics definitions. For example, this includes\n\t\t\ttm98, \n wm90, PR(:300), and so on.

", "smithy.api#required": {} } @@ -5242,6 +5284,7 @@ "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The namespace of the metric.

", "smithy.api#required": {} } @@ -5249,6 +5292,7 @@ "MetricName": { "target": "com.amazonaws.cloudwatch#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } @@ -5491,6 +5535,7 @@ "AlarmName": { "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the composite alarm. This name must be unique within the Region.

", "smithy.api#required": {} } @@ -5498,6 +5543,7 @@ "AlarmRule": { "target": "com.amazonaws.cloudwatch#AlarmRule", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An expression that specifies which other alarms are to be evaluated to determine this\n\t\t\tcomposite alarm's state. For each alarm that you reference, you\n\t\t\tdesignate a function that\n\t\t\tspecifies whether that alarm needs to be in ALARM state, OK state, or INSUFFICIENT_DATA state. You\n\t\t\tcan use operators (AND, OR and NOT) to combine multiple functions in a single expression. You can use parenthesis to logically group the \n\t\t\tfunctions in your expression.

\n

You can use either alarm names or ARNs to reference the other alarms that are to be evaluated.

\n

Functions can include the following:

\n \n

TRUE and FALSE are useful for testing a complex AlarmRule structure, and \n\t\tfor testing your alarm actions.

\n

Alarm names specified in AlarmRule can be surrounded with double-quotes (\"), but do not have to be.

\n

The following\n\t\t\tare some examples of AlarmRule:

\n \n

The AlarmRule can specify as many as 100\n\t\t\t\"children\" alarms. The AlarmRule expression can have as many as 500 elements. Elements\n\t\t\tare child alarms, TRUE or FALSE statements, and\n\t\t\tparentheses.

", "smithy.api#required": {} } @@ -5569,6 +5615,7 @@ "DashboardName": { "target": "com.amazonaws.cloudwatch#DashboardName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing\n\t\t\tits current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are \n\t\t\tA-Z, a-z, 0-9, \"-\", and \"_\". This parameter is required.

", "smithy.api#required": {} } @@ -5576,6 +5623,7 @@ "DashboardBody": { "target": "com.amazonaws.cloudwatch#DashboardBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The detailed information about the dashboard in JSON format, including the widgets to include and their location\n\t\t\ton the dashboard. This parameter is required.

\n

For more information about the syntax, \n\t\t\tsee Dashboard Body Structure and Syntax.

", "smithy.api#required": {} } @@ -5628,6 +5676,7 @@ "RuleName": { "target": "com.amazonaws.cloudwatch#InsightRuleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique name for the rule.

", "smithy.api#required": {} } @@ -5641,6 +5690,7 @@ "RuleDefinition": { "target": "com.amazonaws.cloudwatch#InsightRuleDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The definition of the rule, as a JSON object. For details on the valid syntax, see \n\t\t\tContributor Insights\n\t\t\tRule Syntax.

", "smithy.api#required": {} } @@ -5689,6 +5739,7 @@ "ManagedRules": { "target": "com.amazonaws.cloudwatch#ManagedRules", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n\t\t\tA list\n\t\t\tof ManagedRules\n\t\t\tto enable.\n\t\t

", "smithy.api#required": {} } @@ -5735,6 +5786,7 @@ "AlarmName": { "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the alarm. This name must be unique within the Region.

\n

The name must contain only UTF-8\n\t\t\tcharacters, and can't contain ASCII control characters

", "smithy.api#required": {} } @@ -5814,6 +5866,7 @@ "EvaluationPeriods": { "target": "com.amazonaws.cloudwatch#EvaluationPeriods", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of periods over which data is compared to the specified threshold. If you are\n\t\t\tsetting an alarm that requires that a number of consecutive data points be breaching to\n\t\t\ttrigger the alarm, this value specifies that number. If you are setting an \"M out of N\"\n\t\t\talarm, this value is the N.

\n

An alarm's total current evaluation period can\n\t\t\tbe no longer than one day, so this number multiplied by Period cannot be more than 86,400 seconds.

", "smithy.api#required": {} } @@ -5833,6 +5886,7 @@ "ComparisonOperator": { "target": "com.amazonaws.cloudwatch#ComparisonOperator", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The arithmetic operation to use when comparing the specified statistic and\n\t\t\tthreshold. The specified statistic value is used as the first operand.

\n

The values LessThanLowerOrGreaterThanUpperThreshold, \n\t\t\tLessThanLowerThreshold, and GreaterThanUpperThreshold\n\t\tare used only for alarms based on anomaly detection models.

", "smithy.api#required": {} } @@ -5904,6 +5958,7 @@ "Namespace": { "target": "com.amazonaws.cloudwatch#Namespace", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The namespace for the metric data. You can use ASCII characters for the namespace, except for\n\t\tcontrol characters which are not supported.

\n

To avoid conflicts\n\t\t\twith Amazon Web Services service namespaces, you should not specify a namespace that begins with AWS/\n

", "smithy.api#required": {} } @@ -5911,6 +5966,7 @@ "MetricData": { "target": "com.amazonaws.cloudwatch#MetricData", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data for the metric. The array can include no more than 1000 metrics per call.

", "smithy.api#required": {} } @@ -5955,6 +6011,7 @@ "Name": { "target": "com.amazonaws.cloudwatch#MetricStreamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If you are creating a new metric stream, this is the name for the new stream. The name\n\t\tmust be different than the names of other metric streams in this account and Region.

\n

If you are updating a metric stream, specify the name of that stream here.

\n

Valid characters are A-Z, a-z, 0-9, \"-\" and \"_\".

", "smithy.api#required": {} } @@ -5974,6 +6031,7 @@ "FirehoseArn": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the Amazon Kinesis Data Firehose delivery stream to use for this metric stream.\n\t\t\tThis Amazon Kinesis Data Firehose delivery stream must already exist and must be in the\n\t\t\tsame account as the metric stream.

", "smithy.api#required": {} } @@ -5981,6 +6039,7 @@ "RoleArn": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of an IAM role that this metric stream will use to access Amazon Kinesis Data\n\t\t\tFirehose resources. This IAM role must already exist and must be in the same account as\n\t\t\tthe metric stream. This IAM role must include the following permissions:

\n ", "smithy.api#required": {} } @@ -5988,6 +6047,7 @@ "OutputFormat": { "target": "com.amazonaws.cloudwatch#MetricStreamOutputFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The output format for the stream. Valid values are json\n\t\tand opentelemetry0.7. For more information about metric stream\n\t\toutput formats, see \n\t\t\t\n\t\t\t\tMetric streams output formats.

", "smithy.api#required": {} } @@ -6035,6 +6095,7 @@ "StartTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The start time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", "smithy.api#required": {} } @@ -6042,6 +6103,7 @@ "EndTime": { "target": "com.amazonaws.cloudwatch#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The end time of the range to exclude. The format is yyyy-MM-dd'T'HH:mm:ss. For example, \n\t\t\t2019-07-01T23:59:59.

", "smithy.api#required": {} } @@ -6178,6 +6240,7 @@ "AlarmName": { "target": "com.amazonaws.cloudwatch#AlarmName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the alarm.

", "smithy.api#required": {} } @@ -6185,6 +6248,7 @@ "StateValue": { "target": "com.amazonaws.cloudwatch#StateValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the state.

", "smithy.api#required": {} } @@ -6192,6 +6256,7 @@ "StateReason": { "target": "com.amazonaws.cloudwatch#StateReason", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The reason that this alarm is set to this specific state, in text format.

", "smithy.api#required": {} } @@ -6240,10 +6305,7 @@ } }, "com.amazonaws.cloudwatch#Size": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.cloudwatch#StandardUnit": { "type": "enum", @@ -6441,6 +6503,7 @@ "Names": { "target": "com.amazonaws.cloudwatch#MetricStreamNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The array of the names of metric streams to start streaming.

\n

This is an \"all or nothing\" operation. If you do not have \n\t\tpermission to access all of the metric streams that you list here, then none of the streams that you list\n\t\tin the operation will start streaming.

", "smithy.api#required": {} } @@ -6542,6 +6605,7 @@ "SampleCount": { "target": "com.amazonaws.cloudwatch#DatapointValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of samples used for the statistic set.

", "smithy.api#required": {} } @@ -6549,6 +6613,7 @@ "Sum": { "target": "com.amazonaws.cloudwatch#DatapointValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The sum of values for the sample set.

", "smithy.api#required": {} } @@ -6556,6 +6621,7 @@ "Minimum": { "target": "com.amazonaws.cloudwatch#DatapointValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum value of the sample set.

", "smithy.api#required": {} } @@ -6563,6 +6629,7 @@ "Maximum": { "target": "com.amazonaws.cloudwatch#DatapointValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum value of the sample set.

", "smithy.api#required": {} } @@ -6642,6 +6709,7 @@ "Names": { "target": "com.amazonaws.cloudwatch#MetricStreamNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The array of the names of metric streams to stop streaming.

\n

This is an \"all or nothing\" operation. If you do not have \n\t\t\tpermission to access all of the metric streams that you list here, then none of the streams that you list\n\t\t\tin the operation will stop streaming.

", "smithy.api#required": {} } @@ -6675,6 +6743,7 @@ "Key": { "target": "com.amazonaws.cloudwatch#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A string that you can use to assign a value. The combination of tag keys and values can help you organize and categorize your \n\t\tresources.

", "smithy.api#required": {} } @@ -6682,6 +6751,7 @@ "Value": { "target": "com.amazonaws.cloudwatch#TagValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value for the specified tag key.

", "smithy.api#required": {} } @@ -6744,6 +6814,7 @@ "ResourceARN": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the CloudWatch resource that you're adding tags to.

\n

The ARN format of an alarm is \n\t\t\tarn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is \n\t\t\tarn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource\n\t\t\t\tTypes Defined by Amazon CloudWatch in the Amazon Web Services General\n\t\t\tReference.

", "smithy.api#required": {} } @@ -6751,6 +6822,7 @@ "Tags": { "target": "com.amazonaws.cloudwatch#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of key-value pairs to associate with the alarm.

", "smithy.api#required": {} } @@ -6839,6 +6911,7 @@ "ResourceARN": { "target": "com.amazonaws.cloudwatch#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the CloudWatch resource that you're removing tags from.

\n

The ARN format of an alarm is \n\t\t\tarn:aws:cloudwatch:Region:account-id:alarm:alarm-name\n \n

\n

The ARN format of a Contributor Insights rule is \n\t\t\tarn:aws:cloudwatch:Region:account-id:insight-rule/insight-rule-name\n \n

\n

For more information about ARN format, see Resource\n\t\t\t\tTypes Defined by Amazon CloudWatch in the Amazon Web Services General\n\t\t\tReference.

", "smithy.api#required": {} } @@ -6846,6 +6919,7 @@ "TagKeys": { "target": "com.amazonaws.cloudwatch#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of tag keys to remove from the resource.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/codestar-notifications.json b/codegen/sdk-codegen/aws-models/codestar-notifications.json index a467c70814a..d1fdc6b278f 100644 --- a/codegen/sdk-codegen/aws-models/codestar-notifications.json +++ b/codegen/sdk-codegen/aws-models/codestar-notifications.json @@ -152,7 +152,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -195,7 +194,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -208,7 +208,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -222,7 +221,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -245,7 +243,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -280,7 +277,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -291,14 +287,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -312,14 +310,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -328,11 +324,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -343,14 +339,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -364,7 +362,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -384,7 +381,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -395,14 +391,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -413,9 +411,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1310,7 +1310,6 @@ "MaxResults": { "target": "com.amazonaws.codestarnotifications#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

A non-negative integer used to limit the number of returned results. The default number is 50. The maximum number of\n results that can be returned is 100.

" } } @@ -1454,7 +1453,6 @@ "MaxResults": { "target": "com.amazonaws.codestarnotifications#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

A non-negative integer used to limit the number of returned results. The maximum number of\n results that can be returned is 100.

" } } @@ -1646,7 +1644,6 @@ "MaxResults": { "target": "com.amazonaws.codestarnotifications#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

A non-negative integer used to limit the number of returned results. The maximum number of\n results that can be returned is 100.

" } } @@ -1678,7 +1675,6 @@ "com.amazonaws.codestarnotifications#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk-codegen/aws-models/codestar.json b/codegen/sdk-codegen/aws-models/codestar.json index 43ecfad9d49..ca9271136ac 100644 --- a/codegen/sdk-codegen/aws-models/codestar.json +++ b/codegen/sdk-codegen/aws-models/codestar.json @@ -329,7 +329,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -372,7 +371,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -385,7 +385,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -399,7 +398,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -422,7 +420,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -457,7 +454,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -468,14 +464,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -489,14 +487,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -505,11 +501,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -520,14 +516,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -541,7 +539,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -561,7 +558,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -572,14 +568,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -590,9 +588,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1829,7 +1829,6 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of data that can be contained in a single set of results.

" } } @@ -1901,7 +1900,6 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of data that can be contained in a single set of results.

" } } @@ -1972,7 +1970,6 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Reserved for future use.

" } } @@ -2043,7 +2040,6 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of team members you want returned in a response.

" } } @@ -2105,7 +2101,6 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in a response.

" } } @@ -2138,7 +2133,6 @@ "com.amazonaws.codestar#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json index ae48d8361cc..dc602f07bdb 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity-provider.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity-provider.json @@ -413,7 +413,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -456,7 +455,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -469,7 +469,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -483,7 +482,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -506,7 +504,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -541,7 +538,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -552,14 +548,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -573,14 +571,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -589,11 +585,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -604,14 +600,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -625,7 +623,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -645,7 +642,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -656,14 +652,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -674,9 +672,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -10326,7 +10326,6 @@ "com.amazonaws.cognitoidentityprovider#ListResourceServersLimitType": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -10346,7 +10345,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#ListResourceServersLimitType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resource servers to return.

" } }, @@ -10482,7 +10480,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of import jobs you want the request to return.

", "smithy.api#required": {} } @@ -10568,7 +10565,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#QueryLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user\n pool clients.

" } }, @@ -10649,7 +10645,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user\n pools.

", "smithy.api#required": {} } @@ -11302,7 +11297,6 @@ "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 6, "max": 99 @@ -11315,7 +11309,6 @@ "MinimumLength": { "target": "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum length of the password in the policy that you have set. This value can't\n be less than 6.

" } }, @@ -11389,7 +11382,6 @@ "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 @@ -11449,7 +11441,6 @@ "com.amazonaws.cognitoidentityprovider#PriorityType": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2 @@ -11558,7 +11549,6 @@ "com.amazonaws.cognitoidentityprovider#QueryLimit": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 @@ -11615,7 +11605,6 @@ "Priority": { "target": "com.amazonaws.cognitoidentityprovider#PriorityType", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A positive integer specifying priority of a method with 1 being the highest\n priority.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/cognito-identity.json b/codegen/sdk-codegen/aws-models/cognito-identity.json index 28f749f8e29..fa5c4a69b1a 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity.json @@ -171,7 +171,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -214,7 +213,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -227,7 +227,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -241,7 +240,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -264,7 +262,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -299,7 +296,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -310,14 +306,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -331,14 +329,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -347,11 +343,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -362,14 +358,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -383,7 +381,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -403,7 +400,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -414,14 +410,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -432,9 +430,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2402,7 +2402,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of identities to return.

", "smithy.api#required": {} } @@ -2494,7 +2493,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of identities to return.

", "smithy.api#required": {} } @@ -2668,7 +2666,6 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of identities to return.

" } }, @@ -2943,7 +2940,6 @@ "com.amazonaws.cognitoidentity#QueryLimit": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 diff --git a/codegen/sdk-codegen/aws-models/config-service.json b/codegen/sdk-codegen/aws-models/config-service.json index 14af71ad5ce..386955ec097 100644 --- a/codegen/sdk-codegen/aws-models/config-service.json +++ b/codegen/sdk-codegen/aws-models/config-service.json @@ -10435,7 +10435,6 @@ "RetentionPeriodInDays": { "target": "com.amazonaws.configservice#RetentionPeriodInDays", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of days Config stores your historical\n\t\t\tinformation.

\n \n

Currently, only applicable to the configuration item\n\t\t\t\thistory.

\n
", "smithy.api#required": {} } @@ -13870,7 +13869,6 @@ "RetentionPeriodInDays": { "target": "com.amazonaws.configservice#RetentionPeriodInDays", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of days Config stores your historical information.

\n \n

Currently, only applicable to the configuration item history.

\n
", "smithy.api#required": {} } @@ -13911,7 +13909,6 @@ "com.amazonaws.configservice#RetentionPeriodInDays": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 30, "max": 2557 @@ -14631,7 +14628,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -14674,7 +14670,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -14687,7 +14684,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -14701,7 +14697,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -14724,7 +14719,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -14759,7 +14753,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -14770,14 +14763,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -14791,14 +14786,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -14807,18 +14800,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -14827,7 +14819,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -14847,14 +14840,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -14868,7 +14863,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -14888,7 +14882,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -14899,14 +14892,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -14917,9 +14912,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/connect-contact-lens.json b/codegen/sdk-codegen/aws-models/connect-contact-lens.json index 4b494369795..f26cec0a2c5 100644 --- a/codegen/sdk-codegen/aws-models/connect-contact-lens.json +++ b/codegen/sdk-codegen/aws-models/connect-contact-lens.json @@ -35,6 +35,7 @@ "Message": { "target": "com.amazonaws.connectcontactlens#Message", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -109,7 +110,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -152,7 +152,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -165,7 +166,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -179,7 +179,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -202,7 +201,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -237,7 +235,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -248,14 +245,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -269,14 +268,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -285,11 +282,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -300,14 +297,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -321,7 +320,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -341,7 +339,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -352,14 +349,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -370,9 +369,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -794,6 +795,7 @@ "MatchedCategories": { "target": "com.amazonaws.connectcontactlens#MatchedCategories", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The category rules that have been matched in the analyzed segment.

", "smithy.api#required": {} } @@ -801,6 +803,7 @@ "MatchedDetails": { "target": "com.amazonaws.connectcontactlens#MatchedDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The category rule that was matched and when it occurred in the transcript.

", "smithy.api#required": {} } @@ -816,6 +819,7 @@ "PointsOfInterest": { "target": "com.amazonaws.connectcontactlens#PointsOfInterest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The section of audio where the category rule was detected.

", "smithy.api#required": {} } @@ -838,7 +842,6 @@ "com.amazonaws.connectcontactlens#CharacterOffset": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -850,7 +853,7 @@ "BeginOffsetChar": { "target": "com.amazonaws.connectcontactlens#CharacterOffset", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The beginning of the issue.

", "smithy.api#required": {} } @@ -858,7 +861,7 @@ "EndOffsetChar": { "target": "com.amazonaws.connectcontactlens#CharacterOffset", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The end of the issue.

", "smithy.api#required": {} } @@ -920,6 +923,7 @@ "CharacterOffsets": { "target": "com.amazonaws.connectcontactlens#CharacterOffsets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The offset for when the issue was detected in the segment.

", "smithy.api#required": {} } @@ -986,6 +990,7 @@ "InstanceId": { "target": "com.amazonaws.connectcontactlens#InstanceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the Amazon Connect instance.

", "smithy.api#required": {} } @@ -993,6 +998,7 @@ "ContactId": { "target": "com.amazonaws.connectcontactlens#ContactId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the contact.

", "smithy.api#required": {} } @@ -1000,7 +1006,6 @@ "MaxResults": { "target": "com.amazonaws.connectcontactlens#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximimum number of results to return per page.

" } }, @@ -1021,6 +1026,7 @@ "Segments": { "target": "com.amazonaws.connectcontactlens#RealtimeContactAnalysisSegments", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An analyzed transcript or category.

", "smithy.api#required": {} } @@ -1066,7 +1072,6 @@ "com.amazonaws.connectcontactlens#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1089,7 +1094,6 @@ "com.amazonaws.connectcontactlens#OffsetMillis": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1121,7 +1125,7 @@ "BeginOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The beginning offset in milliseconds where the category rule was detected.

", "smithy.api#required": {} } @@ -1129,7 +1133,7 @@ "EndOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ending offset in milliseconds where the category rule was detected.

", "smithy.api#required": {} } @@ -1225,6 +1229,7 @@ "Message": { "target": "com.amazonaws.connectcontactlens#Message", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -1241,6 +1246,7 @@ "Id": { "target": "com.amazonaws.connectcontactlens#TranscriptId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the transcript.

", "smithy.api#required": {} } @@ -1248,6 +1254,7 @@ "ParticipantId": { "target": "com.amazonaws.connectcontactlens#ParticipantId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the participant.

", "smithy.api#required": {} } @@ -1255,6 +1262,7 @@ "ParticipantRole": { "target": "com.amazonaws.connectcontactlens#ParticipantRole", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The role of participant. For example, is it a customer, agent, or system.

", "smithy.api#required": {} } @@ -1262,6 +1270,7 @@ "Content": { "target": "com.amazonaws.connectcontactlens#TranscriptContent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The content of the transcript.

", "smithy.api#required": {} } @@ -1269,7 +1278,7 @@ "BeginOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The beginning offset in the contact for this transcript.

", "smithy.api#required": {} } @@ -1277,7 +1286,7 @@ "EndOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The end offset in the contact for this transcript.

", "smithy.api#required": {} } @@ -1285,6 +1294,7 @@ "Sentiment": { "target": "com.amazonaws.connectcontactlens#SentimentValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The sentiment of the detected for this piece of transcript.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index cfb4639eaec..403b97a1367 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -3392,7 +3392,6 @@ "com.amazonaws.connect#Concurrency": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -8161,7 +8160,7 @@ "ViewVersion": { "target": "com.amazonaws.connect#ViewVersion", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version number of the view.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -12451,7 +12450,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -12564,7 +12562,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } } @@ -12777,7 +12774,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } } @@ -12904,7 +12900,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } } @@ -15080,7 +15075,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -15218,7 +15212,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -15306,7 +15299,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -15496,7 +15488,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -15601,7 +15592,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -15786,7 +15776,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -15881,7 +15870,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -15970,7 +15958,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -16069,7 +16056,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -16160,7 +16146,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult7", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -16259,7 +16244,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -16333,7 +16317,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -16428,7 +16411,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -16519,7 +16501,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -16610,7 +16591,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. If no value is specified, the default is 10.\n

", "smithy.api#httpQuery": "maxResults" } @@ -16715,7 +16695,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -16847,7 +16826,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -16961,7 +16939,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -17060,7 +17037,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -17158,7 +17134,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -17249,7 +17224,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -17355,7 +17329,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -17446,7 +17419,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -17544,7 +17516,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult200", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -17643,7 +17614,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult2", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -17742,7 +17712,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -17841,7 +17810,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -17932,7 +17900,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -18087,7 +18054,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

\n \n

It is not expected that you set this.

\n
", "smithy.api#httpQuery": "maxResults" } @@ -18185,7 +18151,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -18265,7 +18230,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -18375,7 +18339,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -18467,7 +18430,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -18558,7 +18520,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -18797,7 +18758,6 @@ "com.amazonaws.connect#MaxResult10": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -18807,7 +18767,6 @@ "com.amazonaws.connect#MaxResult100": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -18817,7 +18776,6 @@ "com.amazonaws.connect#MaxResult1000": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -18827,7 +18785,6 @@ "com.amazonaws.connect#MaxResult2": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2 @@ -18837,7 +18794,6 @@ "com.amazonaws.connect#MaxResult200": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -18847,7 +18803,6 @@ "com.amazonaws.connect#MaxResult25": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -18857,7 +18812,6 @@ "com.amazonaws.connect#MaxResult7": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 7 @@ -18906,7 +18860,6 @@ "Concurrency": { "target": "com.amazonaws.connect#Concurrency", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of contacts an agent can have on a channel simultaneously.

\n

Valid Range for VOICE: Minimum value of 1. Maximum value of 1.

\n

Valid Range for CHAT: Minimum value of 1. Maximum value of 10.

\n

Valid Range for TASK: Minimum value of 1. Maximum value of 10.

", "smithy.api#required": {} } @@ -21391,7 +21344,6 @@ "com.amazonaws.connect#Priority": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 99 @@ -23016,7 +22968,6 @@ "Priority": { "target": "com.amazonaws.connect#Priority", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The order in which contacts are to be handled for the queue. For more information, see\n Queues: priority and\n delay.

", "smithy.api#required": {} } @@ -23073,7 +23024,6 @@ "Priority": { "target": "com.amazonaws.connect#Priority", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The order in which contacts are to be handled for the queue. For more information, see\n Queues: priority and\n delay.

", "smithy.api#required": {} } @@ -23606,7 +23556,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -23700,7 +23649,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -23806,7 +23754,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -23912,7 +23859,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -24018,7 +23964,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -24133,7 +24078,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -24227,7 +24171,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -24333,7 +24276,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -24438,7 +24380,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -24533,7 +24474,6 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, diff --git a/codegen/sdk-codegen/aws-models/cost-explorer.json b/codegen/sdk-codegen/aws-models/cost-explorer.json index f2bb12892f3..fadb9bab66c 100644 --- a/codegen/sdk-codegen/aws-models/cost-explorer.json +++ b/codegen/sdk-codegen/aws-models/cost-explorer.json @@ -205,7 +205,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -248,7 +247,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -261,7 +261,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -275,7 +274,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -400,7 +398,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -435,7 +432,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -446,14 +442,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -467,14 +465,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -483,11 +479,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -498,14 +494,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -519,7 +517,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -539,7 +536,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -550,14 +546,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -568,9 +566,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1476,7 +1476,6 @@ "com.amazonaws.costexplorer#CostAllocationTagsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -1585,7 +1584,6 @@ "com.amazonaws.costexplorer#CostCategoryMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4014,7 +4012,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

This field is only used when the SortBy value is provided in the\n request.

\n

The maximum number of objects that are returned for this request. If\n MaxResults isn't specified with the SortBy value, the request\n returns 1000 results as the default value for this parameter.

\n

For GetCostCategories, MaxResults has an upper quota of 1000.

" } }, @@ -4220,7 +4217,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

This field is only used when SortBy is provided in the request. The maximum number of\n objects that are returned for this request. If MaxResults isn't specified with SortBy, the\n request returns 1000 results as the default value for this parameter.

\n

For GetDimensionValues, MaxResults has an upper limit of 1000.

" } }, @@ -4342,7 +4338,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you returned for this request. If more objects are\n available, in the response, Amazon Web Services provides a NextPageToken value that you can use\n in a subsequent call to get the next batch of objects.

" } } @@ -4561,7 +4556,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you returned for this request. If more objects are\n available, in the response, Amazon Web Services provides a NextPageToken value that you can use\n in a subsequent call to get the next batch of objects.

" } } @@ -4818,7 +4812,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of items to be returned in a response. The default is 20, with a\n minimum value of 1.

" } }, @@ -5040,7 +5033,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of items to be returned in a response. The default is 20, with a\n minimum value of 1.

" } }, @@ -5205,7 +5197,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

This field is only used when SortBy is provided in the request. The maximum number of\n objects that are returned for this request. If MaxResults isn't specified with SortBy, the\n request returns 1000 results as the default value for this parameter.

\n

For GetTags, MaxResults has an upper quota of 1000.

" } }, @@ -5614,7 +5605,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#CostAllocationTagsMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that are returned for this request. By default, the request\n returns 100 results.

" } } @@ -5683,7 +5673,6 @@ "MaxResults": { "target": "com.amazonaws.costexplorer#CostCategoryMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of entries a paginated response contains.

" } } @@ -5922,7 +5911,6 @@ "com.amazonaws.costexplorer#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk-codegen/aws-models/customer-profiles.json b/codegen/sdk-codegen/aws-models/customer-profiles.json index fde199ea755..d75763f655c 100644 --- a/codegen/sdk-codegen/aws-models/customer-profiles.json +++ b/codegen/sdk-codegen/aws-models/customer-profiles.json @@ -1665,7 +1665,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1708,7 +1707,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1721,7 +1721,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1735,7 +1734,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1758,7 +1756,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1793,7 +1790,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1804,14 +1800,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1825,14 +1823,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -1841,11 +1837,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1856,14 +1852,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1877,7 +1875,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1897,7 +1894,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1908,14 +1904,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1926,9 +1924,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -8132,7 +8132,6 @@ "Value": { "target": "com.amazonaws.customerprofiles#Value", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time of the specified unit.

", "smithy.api#required": {} } @@ -10221,7 +10220,6 @@ "com.amazonaws.customerprofiles#Value": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 366 diff --git a/codegen/sdk-codegen/aws-models/databrew.json b/codegen/sdk-codegen/aws-models/databrew.json index 2856d6e92e7..a53b8ffad7c 100644 --- a/codegen/sdk-codegen/aws-models/databrew.json +++ b/codegen/sdk-codegen/aws-models/databrew.json @@ -222,7 +222,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -265,7 +264,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -278,7 +278,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -292,7 +291,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -315,7 +313,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -350,7 +347,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -361,14 +357,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -382,14 +380,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -398,11 +394,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -432,14 +428,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -453,7 +451,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -473,7 +470,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -484,14 +480,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -502,9 +500,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4146,7 +4146,6 @@ "MaxFiles": { "target": "com.amazonaws.databrew#MaxFiles", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon S3 files to select.

", "smithy.api#required": {} } @@ -5475,7 +5474,6 @@ "com.amazonaws.databrew#MaxFiles": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk-codegen/aws-models/directory-service.json b/codegen/sdk-codegen/aws-models/directory-service.json index e13320d38ba..b7934404ac8 100644 --- a/codegen/sdk-codegen/aws-models/directory-service.json +++ b/codegen/sdk-codegen/aws-models/directory-service.json @@ -3220,7 +3220,6 @@ "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 2 } @@ -3557,7 +3556,6 @@ "DesiredNumberOfDomainControllers": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The desired number of domain controllers in the directory if the directory is Microsoft\n AD.

" } }, @@ -4022,7 +4020,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4065,7 +4062,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4078,7 +4076,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4092,7 +4089,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4115,7 +4111,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4150,7 +4145,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4161,14 +4155,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4182,14 +4178,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -4198,11 +4192,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4213,14 +4207,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4234,7 +4230,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4254,7 +4249,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4265,14 +4259,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4283,9 +4279,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -6979,7 +6977,6 @@ "com.amazonaws.directoryservice#PortNumber": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1025, "max": 65535 @@ -7046,14 +7043,12 @@ "RadiusPort": { "target": "com.amazonaws.directoryservice#PortNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that your RADIUS server is using for communications. Your self-managed\n network must allow inbound traffic over this port from the Directory Service servers.

" } }, "RadiusTimeout": { "target": "com.amazonaws.directoryservice#RadiusTimeout", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, to wait for the RADIUS server to respond.

" } }, @@ -7131,7 +7126,6 @@ "com.amazonaws.directoryservice#RadiusTimeout": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -7171,7 +7165,6 @@ "DesiredNumberOfDomainControllers": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The desired number of domain controllers in the specified Region for the specified\n directory.

" } }, @@ -9376,7 +9369,6 @@ "DesiredNumber": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of domain controllers desired in the directory.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/dlm.json b/codegen/sdk-codegen/aws-models/dlm.json index cad254f3ffd..1ebdaca3b8d 100644 --- a/codegen/sdk-codegen/aws-models/dlm.json +++ b/codegen/sdk-codegen/aws-models/dlm.json @@ -35,6 +35,7 @@ "Name": { "target": "com.amazonaws.dlm#ActionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive name for the action.

", "smithy.api#required": {} } @@ -42,6 +43,7 @@ "CrossRegionCopy": { "target": "com.amazonaws.dlm#CrossRegionCopyActionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The rule for copying shared snapshots across Regions.

", "smithy.api#required": {} } @@ -79,6 +81,7 @@ "RetentionArchiveTier": { "target": "com.amazonaws.dlm#RetentionArchiveTier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about retention period in the Amazon EBS Snapshots Archive. For more information, see \n\t\t\tArchive Amazon \n\t\t\t\tEBS snapshots.

", "smithy.api#required": {} } @@ -94,6 +97,7 @@ "RetainRule": { "target": "com.amazonaws.dlm#ArchiveRetainRule", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the retention period for the snapshot archiving rule.

", "smithy.api#required": {} } @@ -146,10 +150,7 @@ } }, "com.amazonaws.dlm#CopyTags": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.dlm#CopyTagsNullable": { "type": "boolean" @@ -157,7 +158,6 @@ "com.amazonaws.dlm#Count": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -198,6 +198,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.dlm#ExecutionRoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by\n\t\t\tthe lifecycle policy.

", "smithy.api#required": {} } @@ -205,6 +206,7 @@ "Description": { "target": "com.amazonaws.dlm#PolicyDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are\n\t\t\tsupported.

", "smithy.api#required": {} } @@ -212,6 +214,7 @@ "State": { "target": "com.amazonaws.dlm#SettablePolicyStateValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The desired activation state of the lifecycle policy after creation.

", "smithy.api#required": {} } @@ -219,6 +222,7 @@ "PolicyDetails": { "target": "com.amazonaws.dlm#PolicyDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration details of the lifecycle policy.

", "smithy.api#required": {} } @@ -260,7 +264,6 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.

" } }, @@ -303,6 +306,7 @@ "Target": { "target": "com.amazonaws.dlm#Target", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The target Region.

", "smithy.api#required": {} } @@ -310,6 +314,7 @@ "EncryptionConfiguration": { "target": "com.amazonaws.dlm#EncryptionConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The encryption settings for the copied snapshot.

", "smithy.api#required": {} } @@ -340,7 +345,6 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period after which to deprecate the cross-Region AMI copies. The period must be less than or \n\t\t\tequal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is \n\t\t\tequivalent to 120 months, 520 weeks, or 3650 days.

" } }, @@ -361,7 +365,6 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. \n\t\t\tThis is equivalent to 1200 months, 5200 weeks, or 36500 days.

" } }, @@ -394,6 +397,7 @@ "Encrypted": { "target": "com.amazonaws.dlm#Encrypted", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled,\n\t\t\tenable encryption using this parameter. Copies of encrypted snapshots are encrypted,\n\t\t\teven if this parameter is false or if encryption by default is not enabled.

", "smithy.api#required": {} } @@ -496,14 +500,12 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

If the schedule has a count-based retention rule, this parameter specifies the number of oldest \n\t\t\tAMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it \n\t\t\tcan't be greater than 1000.

" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

If the schedule has an age-based retention rule, this parameter specifies the period after which \n\t\t\tto deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's \n\t\t\tretention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 \n\t\t\tweeks, or 3650 days.

" } }, @@ -537,6 +539,7 @@ "Encrypted": { "target": "com.amazonaws.dlm#Encrypted", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable \n\t\t\tencryption using this parameter. Copies of encrypted snapshots are encrypted, even if this \n\t\t\tparameter is false or when encryption by default is not enabled.

", "smithy.api#required": {} } @@ -564,6 +567,7 @@ "EventType": { "target": "com.amazonaws.dlm#EventTypeValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of event. Currently, only snapshot sharing events are supported.

", "smithy.api#required": {} } @@ -571,6 +575,7 @@ "SnapshotOwner": { "target": "com.amazonaws.dlm#SnapshotOwnerList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account. \n\t\t\tThe policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.

", "smithy.api#required": {} } @@ -578,6 +583,7 @@ "DescriptionRegex": { "target": "com.amazonaws.dlm#DescriptionRegex", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The snapshot description that can trigger the policy. The description pattern is specified using \n\t\t\ta regular expression. The policy runs only if a snapshot with a description that matches the \n\t\t\tspecified pattern is shared with your account.

\n

For example, specifying ^.*Created for policy: policy-1234567890abcdef0.*$ \n\t\t\tconfigures the policy to run only if snapshots created by policy policy-1234567890abcdef0 \n\t\t\tare shared with your account.

", "smithy.api#required": {} } @@ -593,6 +599,7 @@ "Type": { "target": "com.amazonaws.dlm#EventSourceValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source of the event. Currently only managed CloudWatch Events rules are supported.

", "smithy.api#required": {} } @@ -661,14 +668,12 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of snapshots to be enabled with fast snapshot restore.

" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to enable fast snapshot restore. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.

" } }, @@ -681,6 +686,7 @@ "AvailabilityZones": { "target": "com.amazonaws.dlm#AvailabilityZoneList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Availability Zones in which to enable fast snapshot restore.

", "smithy.api#required": {} } @@ -878,7 +884,6 @@ "com.amazonaws.dlm#Interval": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -1377,14 +1382,12 @@ "Count": { "target": "com.amazonaws.dlm#StandardTierRetainRuleCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to \n\t\t\tretain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the \n\t\t\toldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an \n\t\t\tArchiveRule.

" } }, "Interval": { "target": "com.amazonaws.dlm#StandardTierRetainRuleInterval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to retain each snapshot. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.

" } }, @@ -1405,14 +1408,12 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of snapshots to retain in the archive storage tier for each volume. \n\t\t\tThe count must ensure that each snapshot remains in the archive tier for at least \n\t\t90 days. For example, if the schedule creates snapshots every 30 days, you must specify a \n\t\tcount of 3 or more to ensure that each snapshot is archived for at least 90 days.

" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the period of time to retain snapshots in the archive tier. After this period \n\t\t\texpires, the snapshot is permanently deleted.

" } }, @@ -1468,7 +1469,6 @@ "CopyTags": { "target": "com.amazonaws.dlm#CopyTags", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Copy all user-defined tags on a source volume to snapshots of the volume created by\n\t\t\tthis policy.

" } }, @@ -1576,6 +1576,7 @@ "TargetAccounts": { "target": "com.amazonaws.dlm#ShareTargetAccountList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the Amazon Web Services accounts with which to share the snapshots.

", "smithy.api#required": {} } @@ -1583,7 +1584,6 @@ "UnshareInterval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.

" } }, @@ -1636,7 +1636,6 @@ "com.amazonaws.dlm#StandardTierRetainRuleCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -1646,7 +1645,6 @@ "com.amazonaws.dlm#StandardTierRetainRuleInterval": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1678,6 +1676,7 @@ "Key": { "target": "com.amazonaws.dlm#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key.

", "smithy.api#required": {} } @@ -1685,6 +1684,7 @@ "Value": { "target": "com.amazonaws.dlm#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag value.

", "smithy.api#required": {} } @@ -1783,6 +1783,7 @@ "Tags": { "target": "com.amazonaws.dlm#TagMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more tags.

", "smithy.api#required": {} } @@ -1947,6 +1948,7 @@ "TagKeys": { "target": "com.amazonaws.dlm#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag keys.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -2139,7 +2141,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2182,7 +2183,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2195,7 +2197,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2209,7 +2210,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2232,7 +2232,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2267,7 +2266,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2278,14 +2276,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2299,14 +2299,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2315,18 +2313,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -2335,7 +2332,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -2355,14 +2353,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2376,7 +2376,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2396,7 +2395,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2407,14 +2405,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2425,9 +2425,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/docdb.json b/codegen/sdk-codegen/aws-models/docdb.json index 9aec53bb7e9..59611e35da4 100644 --- a/codegen/sdk-codegen/aws-models/docdb.json +++ b/codegen/sdk-codegen/aws-models/docdb.json @@ -55,6 +55,7 @@ "SubscriptionName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon DocumentDB event notification subscription that you\n want to add a source identifier to.

", "smithy.api#required": {} } @@ -62,6 +63,7 @@ "SourceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the event source to be added:

\n ", "smithy.api#required": {} } @@ -112,6 +114,7 @@ "ResourceName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon DocumentDB resource that the tags are added to. This value is an\n Amazon Resource Name .

", "smithy.api#required": {} } @@ -119,6 +122,7 @@ "Tags": { "target": "com.amazonaws.docdb#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to be assigned to the Amazon DocumentDB resource.

", "smithy.api#required": {} } @@ -352,7 +356,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -395,7 +398,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -408,7 +412,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -422,7 +425,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -445,7 +447,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -480,7 +481,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -491,14 +491,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -512,14 +514,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -528,18 +528,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -548,7 +547,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -568,14 +568,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -589,7 +591,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -609,7 +610,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -620,14 +620,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -638,9 +640,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1388,6 +1392,7 @@ "ResourceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that the pending\n maintenance action applies to.

", "smithy.api#required": {} } @@ -1395,6 +1400,7 @@ "ApplyAction": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The pending maintenance action to apply to this resource.

\n

Valid values: system-update, db-upgrade\n

", "smithy.api#required": {} } @@ -1402,6 +1408,7 @@ "OptInType": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies the type of opt-in request or undoes an\n opt-in request. An opt-in request of type immediate\n can't be undone.

\n

Valid values:

\n ", "smithy.api#required": {} } @@ -1482,10 +1489,7 @@ } }, "com.amazonaws.docdb#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.docdb#BooleanOptional": { "type": "boolean" @@ -1629,6 +1633,7 @@ "SourceDBClusterParameterGroupIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier or Amazon Resource Name (ARN) for the source cluster parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -1636,6 +1641,7 @@ "TargetDBClusterParameterGroupIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copied cluster parameter group.

\n

Constraints:

\n \n

Example: my-cluster-param-group1\n

", "smithy.api#required": {} } @@ -1643,6 +1649,7 @@ "TargetDBClusterParameterGroupDescription": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the copied cluster parameter group.

", "smithy.api#required": {} } @@ -1708,6 +1715,7 @@ "SourceDBClusterSnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster snapshot to copy. This parameter is\n not case sensitive.

\n

Constraints:

\n \n

Example: my-cluster-snapshot1\n

", "smithy.api#required": {} } @@ -1715,6 +1723,7 @@ "TargetDBClusterSnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the new cluster snapshot to create from the\n source cluster snapshot. This parameter is not case sensitive.

\n

Constraints:

\n \n

Example: my-cluster-snapshot2\n

", "smithy.api#required": {} } @@ -1843,6 +1852,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier. This parameter is stored as a lowercase\n string.

\n

Constraints:

\n \n

Example: my-cluster\n

", "smithy.api#required": {} } @@ -1868,6 +1878,7 @@ "Engine": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database engine to be used for this cluster.

\n

Valid values: docdb\n

", "smithy.api#required": {} } @@ -1982,6 +1993,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group.

\n

Constraints:

\n \n \n

This value is stored as a lowercase string.

\n
", "smithy.api#required": {} } @@ -1989,6 +2001,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster parameter group family name.

", "smithy.api#required": {} } @@ -1996,6 +2009,7 @@ "Description": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the cluster parameter group.

", "smithy.api#required": {} } @@ -2069,6 +2083,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster snapshot. This parameter is stored\n as a lowercase string.

\n

Constraints:

\n \n

Example: my-cluster-snapshot1\n

", "smithy.api#required": {} } @@ -2076,6 +2091,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to create a snapshot for. This\n parameter is not case sensitive.

\n

Constraints:

\n \n

Example: my-cluster\n

", "smithy.api#required": {} } @@ -2168,6 +2184,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mydbinstance\n

", "smithy.api#required": {} } @@ -2175,6 +2192,7 @@ "DBInstanceClass": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The compute and memory capacity of the instance; for example,\n db.r5.large.

", "smithy.api#required": {} } @@ -2182,6 +2200,7 @@ "Engine": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database engine to be used for this instance.

\n

Valid value: docdb\n

", "smithy.api#required": {} } @@ -2213,6 +2232,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster that the instance will belong to.

", "smithy.api#required": {} } @@ -2293,6 +2313,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the subnet group. This value is stored as a lowercase string.

\n

Constraints: Must contain no more than 255 letters, numbers, periods, underscores,\n spaces, or hyphens. Must not be default.

\n

Example: mySubnetgroup\n

", "smithy.api#required": {} } @@ -2300,6 +2321,7 @@ "DBSubnetGroupDescription": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the subnet group.

", "smithy.api#required": {} } @@ -2307,6 +2329,7 @@ "SubnetIds": { "target": "com.amazonaws.docdb#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 subnet IDs for the subnet group.

", "smithy.api#required": {} } @@ -2375,6 +2398,7 @@ "SubscriptionName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the subscription.

\n

Constraints: The name must be fewer than 255 characters.

", "smithy.api#required": {} } @@ -2382,6 +2406,7 @@ "SnsTopicArn": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SNS topic created for event notification. Amazon SNS creates the ARN when you create a topic and subscribe to it.

", "smithy.api#required": {} } @@ -2465,6 +2490,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.docdb#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the new global cluster.

", "smithy.api#required": {} } @@ -2588,7 +2614,6 @@ "MultiAZ": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster has instances in multiple Availability Zones.

" } }, @@ -2667,7 +2692,6 @@ "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster is encrypted.

" } }, @@ -2716,7 +2740,6 @@ "DeletionProtection": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether this cluster can be deleted. If DeletionProtection is\n enabled, the cluster cannot be deleted unless it is modified and\n DeletionProtection is disabled. DeletionProtection\n protects clusters from being accidentally deleted.

" } } @@ -2763,7 +2786,6 @@ "IsClusterWriter": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that is true if the cluster member is the primary instance for\n the cluster and false otherwise.

" } }, @@ -3032,7 +3054,6 @@ "Port": { "target": "com.amazonaws.docdb#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the cluster was listening on at the time of the\n snapshot.

" } }, @@ -3069,14 +3090,12 @@ "PercentProgress": { "target": "com.amazonaws.docdb#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster snapshot is encrypted.

" } }, @@ -3264,7 +3283,6 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the engine version supports exporting the log types\n specified by ExportableLogTypes to CloudWatch Logs.

" } } @@ -3351,7 +3369,6 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.docdb#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days for which automatic snapshots are retained.

" } }, @@ -3400,14 +3417,12 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.

" } }, "PubliclyAccessible": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Not supported. Amazon DocumentDB does not currently support public endpoints. The value \n of PubliclyAccessible is always false.

" } }, @@ -3426,7 +3441,6 @@ "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the instance is encrypted.

" } }, @@ -3553,7 +3567,6 @@ "Normal": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is true if the instance is operating normally, or\n false if the instance is in an error state.

" } }, @@ -3896,6 +3909,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3903,7 +3917,6 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.

\n \n

If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.

\n
\n

Default: false\n

" } }, @@ -3945,6 +3958,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3992,6 +4006,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster snapshot to delete.

\n

Constraints: Must be the name of an existing cluster snapshot in the available state.

", "smithy.api#required": {} } @@ -4048,6 +4063,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance identifier for the instance to be deleted. This parameter isn't\n case sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -4098,6 +4114,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database subnet group to delete.

\n \n

You can't delete the default subnet group.

\n
\n

Constraints:

\n

Must match the name of an existing DBSubnetGroup. Must not be default.

\n

Example: mySubnetgroup\n

", "smithy.api#required": {} } @@ -4134,6 +4151,7 @@ "SubscriptionName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon DocumentDB event notification subscription that you want to delete.

", "smithy.api#required": {} } @@ -4181,6 +4199,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.docdb#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the global cluster being deleted.

", "smithy.api#required": {} } @@ -4342,6 +4361,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a specific cluster parameter group to return parameter details for.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -4399,6 +4419,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the cluster snapshot to describe the attributes for.

", "smithy.api#required": {} } @@ -4485,14 +4506,12 @@ "IncludeShared": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to true to include shared manual cluster snapshots from other Amazon Web Services accounts that this Amazon Web Services account has been given permission to copy or restore, and otherwise false. The default is false.

" } }, "IncludePublic": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to true to include manual cluster snapshots that are public and can be copied or restored by any Amazon Web Services account, and otherwise false. The default is false.

" } } @@ -4618,7 +4637,6 @@ "DefaultOnly": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that only the default version of the specified engine or engine and major\n version combination is returned.

" } }, @@ -4901,6 +4919,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group family to return the engine parameter\n information for.

", "smithy.api#required": {} } @@ -5189,6 +5208,7 @@ "Engine": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the engine to retrieve instance options for.

", "smithy.api#required": {} } @@ -5309,7 +5329,6 @@ "Port": { "target": "com.amazonaws.docdb#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -5510,7 +5529,6 @@ "Enabled": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating whether the subscription is enabled. A value of\n true indicates that the subscription is enabled.

" } }, @@ -5657,6 +5675,7 @@ "Name": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the filter. Filter names are case sensitive.

", "smithy.api#required": {} } @@ -5664,6 +5683,7 @@ "Values": { "target": "com.amazonaws.docdb#FilterValueList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more filter values. Filter values are case sensitive.

", "smithy.api#required": {} } @@ -5813,7 +5833,6 @@ "IsWriter": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.

" } } @@ -5954,10 +5973,7 @@ } }, "com.amazonaws.docdb#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.docdb#IntegerOptional": { "type": "integer" @@ -6235,6 +6251,7 @@ "ResourceName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon DocumentDB resource with tags to be listed. This value is an Amazon Resource Name\n (ARN).

", "smithy.api#required": {} } @@ -6310,6 +6327,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier for the cluster that is being modified. This parameter is\n not case sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -6323,7 +6341,6 @@ "ApplyImmediately": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the changes in this request and any pending changes are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the cluster. If this\n parameter is set to false, changes to the cluster are applied during the\n next maintenance window.

\n

The ApplyImmediately parameter affects only the\n NewDBClusterIdentifier and MasterUserPassword values. If\n you set this parameter value to false, the changes to the\n NewDBClusterIdentifier and MasterUserPassword values are\n applied during the next maintenance window. All other changes are applied immediately,\n regardless of the value of the ApplyImmediately parameter.

\n

Default: false\n

" } }, @@ -6384,7 +6401,6 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether major version upgrades are allowed.

\n

Constraints: You must allow major version upgrades when specifying a value for the\n EngineVersion parameter that is a different major version than the DB\n cluster's current version.

" } }, @@ -6426,6 +6442,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group to modify.

", "smithy.api#required": {} } @@ -6433,6 +6450,7 @@ "Parameters": { "target": "com.amazonaws.docdb#ParametersList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of parameters in the cluster parameter group to modify.

", "smithy.api#required": {} } @@ -6483,6 +6501,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the cluster snapshot to modify the attributes for.

", "smithy.api#required": {} } @@ -6490,6 +6509,7 @@ "AttributeName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster snapshot attribute to modify.

\n

To manage authorization for other Amazon Web Services accounts to copy or restore a manual cluster\n snapshot, set this value to restore.

", "smithy.api#required": {} } @@ -6582,6 +6602,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance identifier. This value is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -6595,7 +6616,6 @@ "ApplyImmediately": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the modifications in this request and any pending modifications are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the instance.

\n

If this parameter is set to false, changes to the instance are\n applied during the next maintenance window. Some parameter changes can cause an outage\n and are applied on the next reboot.

\n

Default: false\n

" } }, @@ -6699,6 +6719,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the subnet group. This value is stored as a lowercase string. You can't modify the default subnet group.

\n

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

\n

Example: mySubnetgroup\n

", "smithy.api#required": {} } @@ -6712,6 +6733,7 @@ "SubnetIds": { "target": "com.amazonaws.docdb#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 subnet IDs for the subnet group.

", "smithy.api#required": {} } @@ -6771,6 +6793,7 @@ "SubscriptionName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon DocumentDB event notification subscription.

", "smithy.api#required": {} } @@ -6842,6 +6865,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.docdb#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the global cluster being modified. This parameter isn't case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -6911,7 +6935,6 @@ "Vpc": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether an instance is in a virtual private cloud (VPC).

" } } @@ -6998,7 +7021,6 @@ "IsModifiable": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can\n be modified. Some parameters have security or operational implications that prevent them\n from being changed.

" } }, @@ -7264,6 +7286,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -7320,6 +7343,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.docdb#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier to detach from the Amazon DocumentDB global cluster.

", "smithy.api#required": {} } @@ -7327,6 +7351,7 @@ "DbClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) identifying the cluster that was detached from the Amazon DocumentDB global cluster.

", "smithy.api#required": {} } @@ -7374,6 +7399,7 @@ "SubscriptionName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon DocumentDB event notification subscription that you want to remove a\n source identifier from.

", "smithy.api#required": {} } @@ -7381,6 +7407,7 @@ "SourceIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source identifier to be removed from the subscription, such as the instance\n identifier for an instance, or the name of a security group.

", "smithy.api#required": {} } @@ -7431,6 +7458,7 @@ "ResourceName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon DocumentDB resource that the tags are removed from. This value is an Amazon Resource\n Name (ARN).

", "smithy.api#required": {} } @@ -7438,6 +7466,7 @@ "TagKeys": { "target": "com.amazonaws.docdb#KeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key (name) of the tag to be removed.

", "smithy.api#required": {} } @@ -7474,6 +7503,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group to reset.

", "smithy.api#required": {} } @@ -7481,7 +7511,6 @@ "ResetAllParameters": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to reset all parameters in the cluster\n parameter group to their default values, and false otherwise. You can't use\n this parameter if there is a list of parameter names specified for the\n Parameters parameter.

" } }, @@ -7602,6 +7631,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster to create from the snapshot or cluster snapshot. This\n parameter isn't case sensitive.

\n

Constraints:

\n \n

Example: my-snapshot-id\n

", "smithy.api#required": {} } @@ -7609,6 +7639,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the snapshot or cluster snapshot to restore from.

\n

You can use either the name or the Amazon Resource Name (ARN) to specify a cluster\n snapshot. However, you can use only the ARN to specify a snapshot.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -7616,6 +7647,7 @@ "Engine": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine to use for the new cluster.

\n

Default: The same as source.

\n

Constraint: Must be compatible with the engine of the source.

", "smithy.api#required": {} } @@ -7756,6 +7788,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new cluster to be created.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -7769,6 +7802,7 @@ "SourceDBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the source cluster from which to restore.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -7782,7 +7816,6 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to restore the cluster to the latest\n restorable backup time, and false otherwise.

\n

Default: false\n

\n

Constraints: Cannot be specified if the RestoreToTime parameter is\n provided.

" } }, @@ -8026,6 +8059,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to restart. Example:\n docdb-2019-05-28-15-24-52\n

", "smithy.api#required": {} } @@ -8075,6 +8109,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.docdb#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to stop. Example:\n docdb-2019-05-28-15-24-52\n

", "smithy.api#required": {} } @@ -8315,14 +8350,12 @@ "AutoUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

" } }, "IsMajorVersionUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether a database engine is upgraded to a major\n version.

" } } diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 4aab0d8d12f..e9aa4aab5f9 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -36,8 +36,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of accelerators. If this parameter is not specified, there is no minimum\n limit.

", "smithy.api#xmlName": "min" } @@ -46,8 +44,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of accelerators. If this parameter is not specified, there is no\n maximum limit.

", "smithy.api#xmlName": "max" } @@ -63,16 +59,12 @@ "Min": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of accelerators. To specify no minimum limit, omit this\n parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of accelerators. To specify no maximum limit, omit this\n parameter. To exclude accelerator-enabled instance types, set Max to\n 0.

" } } @@ -194,8 +186,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of accelerator memory, in MiB. If this parameter is not specified,\n there is no minimum limit.

", "smithy.api#xmlName": "min" } @@ -204,8 +194,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of accelerator memory, in MiB. If this parameter is not specified,\n there is no maximum limit.

", "smithy.api#xmlName": "max" } @@ -221,16 +209,12 @@ "Min": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of accelerator memory, in MiB. To specify no minimum limit, omit this\n parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of accelerator memory, in MiB. To specify no maximum limit, omit this\n parameter.

" } } @@ -304,8 +288,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -348,8 +330,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -428,8 +408,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -480,8 +458,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -532,8 +508,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -576,8 +550,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -638,8 +610,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -1353,7 +1323,6 @@ "com.amazonaws.ec2#AddressMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -1483,8 +1452,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -1588,8 +1555,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -1737,8 +1702,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Quantity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Dedicated Hosts to allocate to your account with these parameters. If you are \n allocating the Dedicated Hosts on an Outpost, and you specify AssetIds, \n you can omit this parameter. In this case, Amazon EC2 allocates a Dedicated Host on each \n specified hardware asset. If you specify both AssetIds and \n Quantity, then the value that you specify for \n Quantity must be equal to the number of asset IDs specified.

", "smithy.api#xmlName": "quantity" } @@ -1815,8 +1778,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -1837,8 +1798,6 @@ "NetmaskLength": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The netmask length of the CIDR you would like to allocate from the IPAM pool. Note the following:

\n \n

Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

" } }, @@ -1858,8 +1817,6 @@ "PreviewNextCidr": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A preview of the next available CIDR in a pool.

" } }, @@ -5066,8 +5023,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Egress", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the rule is an outbound rule.

", "smithy.api#xmlName": "egress" } @@ -5100,8 +5055,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "RuleNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number.

", "smithy.api#xmlName": "ruleNumber" } @@ -5159,8 +5112,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "LoadBalancerPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the load balancer is listening.

", "smithy.api#xmlName": "loadBalancerPort" } @@ -5169,8 +5120,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "InstancePort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

[Classic Load Balancers] The back-end port for the listener.

", "smithy.api#xmlName": "instancePort" } @@ -5211,8 +5160,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "Port", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the target is listening.

", "smithy.api#xmlName": "port" } @@ -5529,8 +5476,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -5686,8 +5631,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Ipv6AddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of additional IPv6 addresses to assign to the network interface. \n \t\tThe specified number of IPv6 addresses are assigned in addition to the \n \t\texisting IPv6 addresses that are already assigned to the network interface. \n \t\tAmazon EC2 automatically selects the IPv6 addresses from the subnet range. You \n \t\tcan't use this option if specifying specific IPv6 addresses.

", "smithy.api#xmlName": "ipv6AddressCount" } @@ -5703,8 +5646,6 @@ "Ipv6PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 prefixes that Amazon Web Services automatically assigns to the\n network interface. You cannot use this option if you use the Ipv6Prefixes\n option.

" } }, @@ -5793,8 +5734,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowReassignment", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

", "smithy.api#xmlName": "allowReassignment" } @@ -5821,8 +5760,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SecondaryPrivateIpAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

", "smithy.api#xmlName": "secondaryPrivateIpAddressCount" } @@ -5837,8 +5774,6 @@ "Ipv4PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv4 Prefixes option.

" } } @@ -5913,16 +5848,12 @@ "PrivateIpAddressCount": { "target": "com.amazonaws.ec2#PrivateIpAddressCount", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -6030,8 +5961,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowReassociation", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

", "smithy.api#xmlName": "allowReassociation" } @@ -6040,8 +5969,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -6124,8 +6051,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -6203,8 +6128,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -6248,8 +6171,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -6383,8 +6304,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -6443,8 +6362,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -6541,8 +6458,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -6607,8 +6522,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -6772,8 +6685,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -6832,8 +6743,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -6892,8 +6801,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -6952,16 +6859,12 @@ "VlanId": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN. This applies to the VLAN protocol.

" } }, "GreKey": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The application key. This applies to the GRE protocol.

" } }, @@ -6975,8 +6878,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -7028,8 +6929,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AmazonProvidedIpv6CidrBlock", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC. You cannot specify the range of IPv6 addresses, or the size of the CIDR block.

", "smithy.api#xmlName": "amazonProvidedIpv6CidrBlock" } @@ -7360,8 +7259,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -7407,8 +7304,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -7447,8 +7342,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -7512,7 +7405,6 @@ "traits": { "aws.protocols#ec2QueryName": "DeviceIndex", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the device for the network interface attachment.

", "smithy.api#required": {}, "smithy.api#xmlName": "deviceIndex" @@ -7522,8 +7414,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -7551,8 +7441,6 @@ "NetworkCardIndex": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card. Some instance types support multiple network cards. \n The primary network interface must be assigned to network card index 0. \n The default is network card index 0.

" } }, @@ -7583,8 +7471,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "NetworkCardIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card.

", "smithy.api#xmlName": "networkCardIndex" } @@ -7636,8 +7522,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -7731,8 +7615,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -7777,8 +7659,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -7813,8 +7693,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnaSrdEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether ENA Express is enabled for the network interface that's attached to the\n\t\t\tinstance.

", "smithy.api#xmlName": "enaSrdEnabled" } @@ -7839,8 +7717,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnaSrdUdpEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, \n\t\t\tyou must first enable ENA Express.

", "smithy.api#xmlName": "enaSrdUdpEnabled" } @@ -7886,8 +7762,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Value", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The attribute value. The valid values are true or false.

", "smithy.api#xmlName": "value" } @@ -7944,8 +7818,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AccessAll", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the authorization rule grants access to all clients.

", "smithy.api#xmlName": "accessAll" } @@ -8020,8 +7892,6 @@ "AuthorizeAllGroups": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to grant access to all clients. Specify true to grant all\n clients who successfully establish a VPN connection access to the network. Must be set\n to true if AccessGroupId is not specified.

" } }, @@ -8041,8 +7911,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -8108,8 +7976,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -8151,8 +8017,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Not supported. Use a set of IP permissions to specify the port.

", "smithy.api#xmlName": "fromPort" } @@ -8169,8 +8033,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Not supported. Use a set of IP permissions to specify the port.

", "smithy.api#xmlName": "toPort" } @@ -8203,8 +8065,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -8269,8 +8129,6 @@ "FromPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the start of the port range.\n If the protocol is ICMP, this is the type number. A value of -1 indicates all ICMP types. \n If you specify all ICMP types, you must specify all ICMP codes.

\n

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

" } }, @@ -8313,8 +8171,6 @@ "ToPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the end of the port range.\n If the protocol is ICMP, this is the code. A value of -1 indicates all ICMP codes. \n If you specify all ICMP types, you must specify all ICMP codes.

\n

Alternatively, use a set of IP permissions to specify multiple rules and a description for the rule.

" } }, @@ -8322,8 +8178,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -8347,8 +8201,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -8632,8 +8484,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableVCpus", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of vCPUs available for launching instances onto the Dedicated Host.

", "smithy.api#xmlName": "availableVCpus" } @@ -8691,8 +8541,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum baseline bandwidth, in Mbps. If this parameter is not specified, there is no\n minimum limit.

", "smithy.api#xmlName": "min" } @@ -8701,8 +8549,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum baseline bandwidth, in Mbps. If this parameter is not specified, there is no\n maximum limit.

", "smithy.api#xmlName": "max" } @@ -8718,16 +8564,12 @@ "Min": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit\n this parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit\n this parameter.

" } } @@ -8889,10 +8731,7 @@ } }, "com.amazonaws.ec2#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.ec2#BootModeType": { "type": "enum", @@ -8993,8 +8832,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -9358,8 +9195,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -9447,8 +9282,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -9504,8 +9337,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -9521,8 +9352,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -9549,8 +9378,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -9636,8 +9463,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -9653,8 +9478,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -9688,8 +9511,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -9881,8 +9702,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -9902,7 +9721,6 @@ "traits": { "aws.protocols#ec2QueryName": "TerminateInstances", "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to terminate the associated instances when the Spot Fleet request is canceled. \n The default is to terminate the instances.

\n

To let the instances continue to run after the Spot Fleet request is canceled, specify\n no-terminate-instances.

", "smithy.api#required": {}, "smithy.api#xmlName": "terminateInstances" @@ -10053,8 +9871,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -10139,8 +9955,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Count", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of instance capacity associated with the usage. For example a value of \n\t\t\t4 indicates that instance capacity for 4 instances is currently in use.

", "smithy.api#xmlName": "count" } @@ -10230,8 +10044,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of instances for which the Capacity Reservation reserves capacity.

", "smithy.api#xmlName": "totalInstanceCount" } @@ -10240,8 +10052,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

", "smithy.api#xmlName": "availableInstanceCount" } @@ -10250,8 +10060,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides\n\t\t\tdedicated throughput to Amazon EBS and an optimized configuration stack to provide\n\t\t\toptimal I/O performance. This optimization isn't available with all instance types.\n\t\t\tAdditional usage charges apply when using an EBS- optimized instance.

", "smithy.api#xmlName": "ebsOptimized" } @@ -10260,8 +10068,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EphemeralStorage", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n Deprecated.\n

", "smithy.api#xmlName": "ephemeralStorage" } @@ -10390,8 +10196,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of capacity units for which the Capacity Reservation Fleet reserves capacity. \n\t\t\tFor more information, see Total target capacity \n\t\t\tin the Amazon EC2 User Guide.

", "smithy.api#xmlName": "totalTargetCapacity" } @@ -10400,8 +10204,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "TotalFulfilledCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The capacity units that have been fulfilled.

", "smithy.api#xmlName": "totalFulfilledCapacity" } @@ -11002,7 +10804,6 @@ "com.amazonaws.ec2#CarrierGatewayMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -11139,8 +10940,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ClassicLinkDnsSupported", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether ClassicLink DNS support is enabled for the VPC.

", "smithy.api#xmlName": "classicLinkDnsSupported" } @@ -11310,8 +11109,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether client connect options are enabled. The default is false (not enabled).

" } }, @@ -11333,8 +11130,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether client connect options are enabled.

", "smithy.api#xmlName": "enabled" } @@ -11378,8 +11173,6 @@ "UploadSize": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the uploaded disk image, in GiB.

" } }, @@ -11400,8 +11193,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Enable or disable a customizable text banner that will be displayed on\n\t\t\tAmazon Web Services provided clients when a VPN session is established.

\n

Valid values: true | false\n

\n

Default value: false\n

" } }, @@ -11423,8 +11214,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Current state of text banner feature.

\n

Valid values: true | false\n

", "smithy.api#xmlName": "enabled" } @@ -11867,8 +11656,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SplitTunnel", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether split-tunnel is enabled in the Client VPN endpoint.

\n

For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint \n\t\t\tin the Client VPN Administrator Guide.

", "smithy.api#xmlName": "splitTunnel" } @@ -11893,8 +11680,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VpnPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The port number for the Client VPN endpoint.

", "smithy.api#xmlName": "vpnPort" } @@ -11978,8 +11763,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SessionTimeoutHours", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum VPN session duration time in hours.

\n

Valid values: 8 | 10 | 12 | 24\n

\n

Default value: 24\n

", "smithy.api#xmlName": "sessionTimeoutHours" } @@ -12248,8 +12031,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "LogEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Status of VPN tunnel logging feature. Default value is False.

\n

Valid values: True | False\n

", "smithy.api#xmlName": "logEnabled" } @@ -12281,8 +12062,6 @@ "LogEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Enable or disable VPN tunnel logging feature. Default value is False.

\n

Valid values: True | False\n

" } }, @@ -12447,7 +12226,6 @@ "com.amazonaws.ec2#CoipPoolMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -12523,8 +12301,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -12549,8 +12325,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The return value of the request. Returns true if the specified product\n code is owned by the requester and associated with the specified instance.

", "smithy.api#xmlName": "return" } @@ -12566,8 +12340,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether connection logging is enabled.

" } }, @@ -12594,8 +12366,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether client connection logging is enabled for the Client VPN endpoint.

" } }, @@ -12880,8 +12650,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -12986,8 +12754,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the destination snapshots of the copied image should be encrypted. You\n can encrypt a copy of an unencrypted snapshot, but you cannot create an unencrypted copy of an\n encrypted snapshot. The default KMS key for Amazon EBS is used unless you specify a non-default\n Key Management Service (KMS) KMS key using KmsKeyId. For more information, see Amazon EBS encryption in the\n Amazon EC2 User Guide.

", "smithy.api#xmlName": "encrypted" } @@ -13034,8 +12800,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -13043,8 +12807,6 @@ "CopyImageTags": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include your user-defined AMI tags when copying the AMI.

\n

The following tags will not be copied:

\n \n

Default: Your user-defined AMI tags are not copied.

" } } @@ -13125,8 +12887,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled, \n enable encryption using this parameter. Otherwise, omit this parameter. Encrypted snapshots \n are encrypted, even if you omit this parameter and encryption by default is not enabled. You \n cannot set this parameter to false. For more information, see Amazon EBS encryption in the \n Amazon Elastic Compute Cloud User Guide.

", "smithy.api#xmlName": "encrypted" } @@ -13174,8 +12934,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -13280,8 +13038,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "CoreCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU cores for the instance.

", "smithy.api#xmlName": "coreCount" } @@ -13290,8 +13046,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ThreadsPerCore", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of threads per CPU core.

", "smithy.api#xmlName": "threadsPerCore" } @@ -13315,16 +13069,12 @@ "CoreCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU cores for the instance.

" } }, "ThreadsPerCore": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of threads per CPU core. To disable multithreading for the instance,\n specify a value of 1. Otherwise, specify the default value of\n 2.

" } }, @@ -13398,7 +13148,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of capacity units to be reserved by the Capacity Reservation Fleet. This \n\t\t\tvalue, together with the instance type weights that you assign to each instance type used by \n\t\t\tthe Fleet determine the number of instances for which the Fleet reserves capacity. Both values \n\t\t\tare based on units that make sense for your workload. For more information, see \n\t\t\t\tTotal target capacity in the Amazon EC2 User Guide.

", "smithy.api#required": {} } @@ -13425,8 +13174,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -13458,8 +13205,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of capacity units for which the Capacity Reservation Fleet reserves capacity.

", "smithy.api#xmlName": "totalTargetCapacity" } @@ -13468,8 +13213,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "TotalFulfilledCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The requested capacity units that have been successfully reserved.

", "smithy.api#xmlName": "totalFulfilledCapacity" } @@ -13582,7 +13325,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances for which to reserve capacity.

\n

Valid range: 1 - 1000

", "smithy.api#required": {} } @@ -13590,16 +13332,12 @@ "EbsOptimized": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides\n\t\t\tdedicated throughput to Amazon EBS and an optimized configuration stack to provide\n\t\t\toptimal I/O performance. This optimization isn't available with all instance types.\n\t\t\tAdditional usage charges apply when using an EBS- optimized instance.

" } }, "EphemeralStorage": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n Deprecated.\n

" } }, @@ -13630,8 +13368,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -13701,8 +13437,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -13797,8 +13531,6 @@ "VpnPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

\n

Valid Values: 443 | 1194\n

\n

Default Value: 443\n

" } }, @@ -13811,16 +13543,12 @@ "SplitTunnel": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether split-tunnel is enabled on the Client VPN endpoint.

\n

By default, split-tunnel on a VPN endpoint is disabled.

\n

For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the \n\t\t\tClient VPN Administrator Guide.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -13866,8 +13594,6 @@ "SessionTimeoutHours": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum VPN session duration time in hours.

\n

Valid values: 8 | 10 | 12 | 24\n

\n

Default value: 24\n

" } }, @@ -13969,8 +13695,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -14029,8 +13753,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -14088,8 +13810,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -14152,8 +13872,6 @@ "BgpAsn": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

For devices that support BGP, the customer gateway's BGP ASN.

\n

Default: 65000

" } }, @@ -14200,8 +13918,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -14255,16 +13971,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "Ipv6Native": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to create an IPv6 only subnet. If you already have a default subnet\n for this Availability Zone, you must delete it before you can create an IPv6 only subnet.

" } } @@ -14307,8 +14019,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -14404,8 +14114,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -14455,8 +14163,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -14628,8 +14334,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -14676,8 +14380,6 @@ "TerminateInstancesWithExpiration": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether running instances should be terminated when the EC2 Fleet expires.

" } }, @@ -14702,8 +14404,6 @@ "ReplaceUnhealthyInstances": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for\n fleets of type maintain. For more information, see EC2 Fleet\n health checks in the Amazon EC2 User Guide.

" } }, @@ -14775,8 +14475,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -14855,8 +14553,6 @@ "MaxAggregationInterval": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. \n The possible values are 60 seconds (1 minute) or 600 seconds (10 minutes).\n This parameter must be 60 seconds for transit gateway resource types.

\n

When a network interface is attached to a Nitro-based\n instance, the aggregation interval is always 60 seconds or less, regardless\n of the value that you specify.

\n

Default: 600

" } }, @@ -14921,8 +14617,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15029,8 +14723,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -15059,8 +14751,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "NoReboot", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not the instance should be automatically rebooted before creating \n the image. Specify one of the following values:

\n \n

Default: false\n

", "smithy.api#xmlName": "noReboot" } @@ -15111,8 +14801,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15134,8 +14822,6 @@ "PreserveClientIp": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether your client's IP address is preserved as the source. The value is true or false.

\n \n

Default: true\n

" } }, @@ -15200,8 +14886,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15372,8 +15056,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -15429,8 +15111,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15471,40 +15151,30 @@ "AutoImport": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If selected, IPAM will continuously look for resources within the CIDR range of this pool \n and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for\n these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import \n a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently \n marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM \n discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.\n

\n

A locale must be set on the pool for this feature to work.

" } }, "PubliclyAdvertisable": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Determines if the pool is publicly advertisable. This option is not available for pools with AddressFamily set to ipv4.

" } }, "AllocationMinNetmaskLength": { "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be \n less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

" } }, "AllocationMaxNetmaskLength": { "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be \n greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

" } }, "AllocationDefaultNetmaskLength": { "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, \n new allocations will default to 10.0.0.0/16.

" } }, @@ -15568,8 +15238,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15623,8 +15291,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15710,8 +15376,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -15800,8 +15464,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -15891,8 +15553,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -16019,8 +15679,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -16065,8 +15723,6 @@ "ResolveAlias": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, and if a Systems Manager parameter is specified for ImageId,\n the AMI ID is displayed in the response for imageID. For more information, see Use a Systems \n Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

\n

Default: false\n

" } } @@ -16137,8 +15793,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -16214,8 +15868,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -16281,8 +15933,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -16348,8 +15998,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -16392,8 +16040,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -16416,7 +16062,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of entries for the prefix list.

", "smithy.api#required": {} } @@ -16519,8 +16164,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -16568,8 +16211,6 @@ "SecondaryPrivateIpAddressCount": { "target": "com.amazonaws.ec2#PrivateIpAddressCount", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

[Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. \n For more information about secondary addresses, see Create a NAT gateway \n in the Amazon VPC User Guide.

" } } @@ -16693,8 +16334,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -16704,7 +16343,6 @@ "traits": { "aws.protocols#ec2QueryName": "Egress", "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

", "smithy.api#required": {}, "smithy.api#xmlName": "egress" @@ -16768,7 +16406,6 @@ "traits": { "aws.protocols#ec2QueryName": "RuleNumber", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number for the entry (for example, 100). ACL entries are processed in ascending order by rule number.

\n

Constraints: Positive integer from 1 to 32766. The range 32767 to 65535 is reserved for internal use.

", "smithy.api#required": {}, "smithy.api#xmlName": "ruleNumber" @@ -16786,8 +16423,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -16878,8 +16513,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -16964,8 +16597,6 @@ "DestinationPort": { "target": "com.amazonaws.ec2#Port", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The destination port.

" } }, @@ -16979,8 +16610,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -17084,8 +16713,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is DryRunOperation. \n\t\t\tOtherwise, it is UnauthorizedOperation.

" } } @@ -17127,8 +16754,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -17144,8 +16769,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Ipv6AddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 addresses to assign to a network interface. Amazon EC2\n automatically selects the IPv6 addresses from the subnet range.

\n

You can't specify a count of IPv6 addresses using this parameter if you've specified \n one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.

\n

If your subnet has the AssignIpv6AddressOnCreation attribute set, you can\n override that setting by specifying 0 as the IPv6 address count.

", "smithy.api#xmlName": "ipv6AddressCount" } @@ -17178,8 +16801,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SecondaryPrivateIpAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of secondary private IPv4 addresses to assign to a network interface. When\n you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses\n within the subnet's IPv4 CIDR range. You can't specify this option and specify more than\n one private IP address using privateIpAddresses.

\n

You can't specify a count of private IPv4 addresses if you've specified one of the following:\n specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.

", "smithy.api#xmlName": "secondaryPrivateIpAddressCount" } @@ -17194,8 +16815,6 @@ "Ipv4PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv4 prefixes that Amazon Web Services automatically assigns to the network interface.

\n

You can't specify a count of IPv4 prefixes if you've specified one of the following:\n specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4\n addresses.

" } }, @@ -17209,8 +16828,6 @@ "Ipv6PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface.

\n

You can't specify a count of IPv6 prefixes if you've specified one of the following:\n specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.

" } }, @@ -17247,8 +16864,6 @@ "EnablePrimaryIpv6": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If you’re creating a network interface in a dual-stack or IPv6-only subnet, you have\n the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA\n address associated with an ENI that you have enabled to use a primary IPv6 address. Use this option if the instance that\n this ENI will be attached to relies on its IPv6 address not changing. Amazon Web Services\n will automatically assign an IPv6 address associated with the ENI attached to your\n instance to be the primary IPv6 address. Once you enable an IPv6 GUA address to be a\n primary IPv6, you cannot disable it. When you enable an IPv6 GUA address to be a primary\n IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is\n terminated or the network interface is detached. If you have multiple IPv6 addresses\n associated with an ENI attached to your instance and you enable a primary IPv6 address,\n the first IPv6 GUA address associated with the ENI becomes the primary IPv6\n address.

" } } @@ -17311,8 +16926,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -17336,8 +16949,6 @@ "PartitionCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions. Valid only when Strategy is\n set to partition.

" } }, @@ -17393,8 +17004,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -17465,8 +17074,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -17486,8 +17093,6 @@ "DeleteReplacedRootVolume": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to automatically delete the original root volume after the root volume \n replacement task completes. To delete the original root volume, specify true. \n If you choose to keep the original root volume after the replacement task completes, you must \n manually delete it when you no longer need it.

" } } @@ -17542,7 +17147,6 @@ "traits": { "aws.protocols#ec2QueryName": "InstanceCount", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances that are a part of a Reserved Instance account to be listed in the Reserved Instance Marketplace. This number should be less than or equal to the instance count associated with the Reserved Instance ID specified in this call.

", "smithy.api#required": {}, "smithy.api#xmlName": "instanceCount" @@ -17638,8 +17242,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -17716,8 +17318,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -17822,8 +17422,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -17877,8 +17475,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -17984,8 +17580,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -18085,8 +17679,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -18141,8 +17733,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -18220,8 +17810,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -18298,8 +17886,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -18404,8 +17990,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -18489,8 +18073,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -18498,8 +18080,6 @@ "Ipv6Native": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to create an IPv6 only subnet.

" } } @@ -18560,8 +18140,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -18620,8 +18198,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -18696,7 +18272,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given\n direction. The rules are processed in ascending order by rule number.

", "smithy.api#required": {} } @@ -18724,8 +18299,6 @@ "Protocol": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The protocol, for example UDP, to assign to the Traffic Mirror rule.

\n

For information about the protocol value, see Protocol Numbers on the Internet Assigned Numbers Authority (IANA) website.

" } }, @@ -18754,8 +18327,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -18837,8 +18408,6 @@ "PacketLength": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. Do\n not specify this parameter when you want to mirror the entire packet. To mirror a subset of\n the packet, set this to the length (in bytes) that you want to mirror. For example, if you\n set this value to 100, then the first 100 bytes that meet the filter criteria are copied to\n the target.

\n

If you do not want to mirror the entire packet, use the PacketLength parameter to specify the number of bytes in each packet to mirror.

\n

For sessions with Network Load Balancer (NLB) Traffic Mirror targets the default PacketLength will be set to 8500. Valid values are 1-8500. Setting a PacketLength greater than 8500 will result in an error response.

" } }, @@ -18846,7 +18415,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

\n

Valid values are 1-32766.

", "smithy.api#required": {} } @@ -18854,8 +18422,6 @@ "VirtualNetworkId": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN\n protocol, see RFC 7348. If you do\n not specify a VirtualNetworkId, an account-wide unique id is chosen at\n random.

" } }, @@ -18875,8 +18441,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -18959,8 +18523,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -19091,8 +18653,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19146,8 +18706,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19227,8 +18785,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19342,8 +18898,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19414,8 +18968,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19480,16 +19032,12 @@ "Blackhole": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to drop traffic that matches this route.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19539,8 +19087,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19605,16 +19151,12 @@ "Blackhole": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to drop traffic that matches this route.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19692,8 +19234,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19738,8 +19278,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19818,8 +19356,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -19900,8 +19436,6 @@ "Port": { "target": "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IP port number.

" } } @@ -19922,8 +19456,6 @@ "Port": { "target": "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IP port number.

" } }, @@ -20044,8 +19576,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -20137,8 +19667,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -20207,16 +19735,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "FIPSEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Enable or disable support for Federal Information Processing Standards (FIPS) on the instance.

" } } @@ -20383,8 +19907,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -20517,8 +20039,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume should be encrypted. \n The effect of setting the encryption state to true depends on \nthe volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. \n For more information, see Encryption by default\n in the Amazon Elastic Compute Cloud User Guide.

\n

Encrypted Amazon EBS volumes must be attached to instances that support Amazon EBS encryption. \n For more information, see Supported\n instance types.

", "smithy.api#xmlName": "encrypted" } @@ -20526,8 +20046,6 @@ "Iops": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents \n the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline \n performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

\n

The following are the supported values for each volume type:

\n \n

\n io1 and io2 volumes support up to 64,000 IOPS only on \n Instances built on the Nitro System. Other instance families support performance \n up to 32,000 IOPS.

\n

This parameter is required for io1 and io2 volumes.\n The default for gp3 volumes is 3,000 IOPS.\n This parameter is not supported for gp2, st1, sc1, or standard volumes.

" } }, @@ -20546,8 +20064,6 @@ "Size": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size.\n If you specify a snapshot, the default is the snapshot size. You can specify a volume \n size that is equal to or larger than the snapshot size.

\n

The following are the supported volumes sizes for each volume type:

\n " } }, @@ -20567,8 +20083,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -20583,16 +20097,12 @@ "MultiAttachEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the \n \tvolume to up to 16 Instances built on the Nitro System in the same Availability Zone. This parameter is \n \tsupported with io1 and io2 volumes only. For more information, \n \tsee \n \t\tAmazon EBS Multi-Attach in the Amazon Elastic Compute Cloud User Guide.

" } }, "Throughput": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The throughput to provision for a volume, with a maximum of 1,000 MiB/s.

\n

This parameter is valid only for gp3 volumes.

\n

Valid Range: Minimum value of 125. Maximum value of 1000.

" } }, @@ -20668,8 +20178,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -20742,8 +20250,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -20817,8 +20323,6 @@ "PrivateDnsEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

(Interface endpoint) Indicates whether to associate a private hosted zone with the\n specified VPC. The private hosted zone contains a record set for the default public DNS\n name for the service for the Region (for example,\n kinesis.us-east-1.amazonaws.com), which resolves to the private IP\n addresses of the endpoint network interfaces in the VPC. This enables you to make\n requests to the default public DNS name for the service instead of the public DNS names\n that are automatically generated by the VPC endpoint service.

\n

To use a private hosted zone, you must set the following VPC attributes to\n true: enableDnsHostnames and\n enableDnsSupport. Use ModifyVpcAttribute to set the VPC\n attributes.

\n

Default: true\n

" } }, @@ -20883,16 +20387,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "AcceptanceRequired": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether requests from service consumers to create an endpoint to your service must\n be accepted manually.

" } }, @@ -20984,8 +20484,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -21063,8 +20561,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AmazonProvidedIpv6CidrBlock", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC.\n You cannot specify the range of IP addresses, or the size of the CIDR block.

", "smithy.api#xmlName": "amazonProvidedIpv6CidrBlock" } @@ -21109,8 +20605,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -21204,8 +20698,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -21324,8 +20816,6 @@ "AmazonSideAsn": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. If\n you're using a 16-bit ASN, it must be in the 64512 to 65534 range. If you're using a\n 32-bit ASN, it must be in the 4200000000 to 4294967294 range.

\n

Default: 64512

" } }, @@ -21333,8 +20823,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -21760,8 +21248,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -21812,8 +21298,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -21878,8 +21362,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -21938,8 +21420,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -21990,8 +21470,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -22052,8 +21530,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -22100,8 +21576,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -22129,8 +21603,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22154,8 +21626,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ReturnCode", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "returnCode" } @@ -22310,8 +21780,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22328,7 +21796,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to terminate the associated instances when the EC2 Fleet is deleted. The default is to\n terminate the instances.

\n

To let the instances continue to run after the EC2 Fleet is deleted, specify\n no-terminate-instances. Supported only for fleets of type\n maintain and request.

\n

For instant fleets, you cannot specify NoTerminateInstances. A\n deleted instant fleet with running instances is not supported.

", "smithy.api#required": {} } @@ -22380,8 +21847,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22433,8 +21898,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22458,8 +21921,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds, and an error otherwise.

", "smithy.api#xmlName": "return" } @@ -22487,8 +21948,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22539,16 +21998,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "ForceDelete": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specify true to force delete the event window. Use the force delete parameter\n if the event window is currently associated with targets.

" } }, @@ -22610,8 +22065,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -22661,8 +22114,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22701,8 +22152,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22717,8 +22166,6 @@ "Cascade": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Enables you to quickly delete an IPAM, private scopes, pools in private scopes, and\n any allocations in the pools in private scopes. You cannot delete the IPAM with this option if there is a pool in your public scope. If you use this option, IPAM does the following:

\n " } } @@ -22745,8 +22192,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22813,8 +22258,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -22887,8 +22330,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -22905,8 +22346,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds, and an error otherwise.

", "smithy.api#xmlName": "return" } @@ -22961,8 +22400,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -23039,8 +22476,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -23093,8 +22528,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "VersionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the launch template.

", "smithy.api#xmlName": "versionNumber" } @@ -23144,8 +22577,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "VersionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the launch template.

", "smithy.api#xmlName": "versionNumber" } @@ -23220,8 +22651,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -23278,8 +22707,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -23330,8 +22757,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -23382,8 +22807,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -23426,8 +22849,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -23490,8 +22911,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -23576,8 +22995,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -23587,7 +23004,6 @@ "traits": { "aws.protocols#ec2QueryName": "Egress", "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the rule is an egress rule.

", "smithy.api#required": {}, "smithy.api#xmlName": "egress" @@ -23608,7 +23024,6 @@ "traits": { "aws.protocols#ec2QueryName": "RuleNumber", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number of the entry to delete.

", "smithy.api#required": {}, "smithy.api#xmlName": "ruleNumber" @@ -23626,8 +23041,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -23685,8 +23098,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -23717,8 +23128,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -23769,8 +23178,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -23821,8 +23228,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -23902,16 +23307,12 @@ "Force": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specify true to remove the permission even if the network interface is\n\t\t\tattached to an instance.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is DryRunOperation. \n\t\t\tOtherwise, it is UnauthorizedOperation.

" } } @@ -23928,8 +23329,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds, otherwise returns an error.

", "smithy.api#xmlName": "return" } @@ -23947,8 +23346,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -23998,8 +23395,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24037,8 +23432,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -24062,8 +23455,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ReturnValue", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Information about the result of deleting the public IPv4 pool.

", "smithy.api#xmlName": "returnValue" } @@ -24153,8 +23544,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -24247,8 +23636,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24296,8 +23683,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24358,8 +23743,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24406,8 +23789,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24442,8 +23823,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24501,8 +23880,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24542,8 +23919,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24589,8 +23964,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -24644,8 +24017,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24696,8 +24067,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24748,8 +24117,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24800,8 +24167,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24876,8 +24241,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24916,8 +24279,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -24968,8 +24329,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25020,8 +24379,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25072,8 +24429,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25132,8 +24487,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25172,8 +24525,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25232,8 +24583,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25296,8 +24645,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25336,8 +24683,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25388,8 +24733,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25447,8 +24790,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25506,8 +24847,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -25558,8 +24897,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -25617,8 +24954,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -25687,8 +25022,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -25737,8 +25070,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -25790,8 +25121,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -25843,8 +25172,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -25897,8 +25224,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -25925,8 +25250,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -25951,8 +25274,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -25989,8 +25310,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -26065,8 +25384,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -26103,8 +25420,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -26147,8 +25462,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -26205,8 +25518,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -26291,8 +25602,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -26321,8 +25630,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -26361,8 +25668,6 @@ "IncludeAllTagsOfInstance": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to deregister all tag keys in the current Region. Specify false \n \t\tto deregister all tag keys.

" } }, @@ -26414,8 +25719,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -26476,8 +25779,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -26555,8 +25856,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -26603,7 +25902,6 @@ "com.amazonaws.ec2#DescribeAddressTransfersMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -26629,16 +25927,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeAddressTransfersMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of address transfers to return in one page of results.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -26751,16 +26045,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#AddressMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -26821,8 +26111,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -26866,8 +26154,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -26883,8 +26169,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "UseLongIdsAggregated", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether all resource types in the Region are configured to use longer IDs.\n This value is only true if all users are configured to use longer IDs for\n all resources types in the Region.

", "smithy.api#xmlName": "useLongIdsAggregated" } @@ -26975,8 +26259,6 @@ "AllAvailabilityZones": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Include all Availability Zones, Local Zones, and Wavelength Zones regardless of your\n opt-in status.

\n

If you do not use this parameter, the results include only the zones for the Regions where you have chosen the option to opt in.

" } }, @@ -26984,8 +26266,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -27035,8 +26315,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#MaxResultsParam", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -27056,8 +26334,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -27150,8 +26426,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -27198,7 +26472,6 @@ "com.amazonaws.ec2#DescribeByoipCidrsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -27211,8 +26484,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -27220,7 +26491,6 @@ "target": "com.amazonaws.ec2#DescribeByoipCidrsMaxResults", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#required": {} } @@ -27281,7 +26551,6 @@ "com.amazonaws.ec2#DescribeCapacityReservationFleetsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -27307,8 +26576,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeCapacityReservationFleetsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

" } }, @@ -27322,8 +26589,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -27377,7 +26642,6 @@ "com.amazonaws.ec2#DescribeCapacityReservationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -27403,8 +26667,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeCapacityReservationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

" } }, @@ -27418,8 +26680,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -27490,8 +26750,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#CarrierGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -27504,8 +26762,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -27559,7 +26815,6 @@ "com.amazonaws.ec2#DescribeClassicLinkInstancesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -27580,8 +26835,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -27597,8 +26850,6 @@ "target": "com.amazonaws.ec2#DescribeClassicLinkInstancesMaxResults", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

\n

Constraint: If the value is greater than 1000, we return only 1000 items.

", "smithy.api#xmlName": "maxResults" } @@ -27661,7 +26912,6 @@ "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -27682,8 +26932,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -27703,8 +26951,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeClientVpnAuthorizationRulesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

" } } @@ -27758,7 +27004,6 @@ "com.amazonaws.ec2#DescribeClientVpnConnectionsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -27792,16 +27037,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeClientVpnConnectionsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -27837,7 +27078,6 @@ "com.amazonaws.ec2#DescribeClientVpnEndpointMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -27875,8 +27115,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeClientVpnEndpointMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

" } }, @@ -27896,8 +27134,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -27951,7 +27187,6 @@ "com.amazonaws.ec2#DescribeClientVpnRoutesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -27979,8 +27214,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeClientVpnRoutesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

" } }, @@ -27993,8 +27226,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -28048,7 +27279,6 @@ "com.amazonaws.ec2#DescribeClientVpnTargetNetworksMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -28075,8 +27305,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeClientVpnTargetNetworksMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the nextToken value.

" } }, @@ -28096,8 +27324,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -28168,8 +27394,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#CoipPoolMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -28182,8 +27406,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -28319,8 +27541,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -28438,8 +27658,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -28519,7 +27737,6 @@ "com.amazonaws.ec2#DescribeDhcpOptionsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -28547,8 +27764,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -28562,8 +27777,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeDhcpOptionsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -28617,7 +27830,6 @@ "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 255 @@ -28630,8 +27842,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -28645,8 +27855,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeEgressOnlyInternetGatewaysMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } }, @@ -28707,7 +27915,6 @@ "com.amazonaws.ec2#DescribeElasticGpusMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 10, "max": 1000 @@ -28727,8 +27934,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -28742,8 +27947,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeElasticGpusMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value\n can be between 5 and 1000.

" } }, @@ -28773,8 +27976,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return. If the total number of items available is more\n than the value specified in max-items then a Next-Token will be provided in the output\n that you can use to resume pagination.

", "smithy.api#xmlName": "maxResults" } @@ -28813,7 +28014,6 @@ "com.amazonaws.ec2#DescribeExportImageTasksMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -28826,8 +28026,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -28848,8 +28046,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeExportImageTasksMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, @@ -29021,8 +28217,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -29103,8 +28297,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxParallelLaunches", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of instances that Amazon EC2 can launch at the same time to create \n\t\t\tpre-provisioned snapshots for Windows faster launching.

", "smithy.api#xmlName": "maxParallelLaunches" } @@ -29312,8 +28504,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -29404,8 +28594,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -29418,8 +28606,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -29516,16 +28702,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -29677,16 +28859,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -29763,8 +28941,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -29784,8 +28960,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } }, @@ -29842,8 +29016,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -29905,7 +29077,6 @@ "com.amazonaws.ec2#DescribeFpgaImagesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -29918,8 +29089,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -29953,8 +29122,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeFpgaImagesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } } @@ -30017,24 +29184,18 @@ "MaxDuration": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

This is the maximum duration of the reservation to purchase, specified in seconds.\n Reservations are available in one-year and three-year terms. The number of seconds\n specified must be the number of seconds in a year (365x24x60x60) times one of the\n supported durations (1 or 3). For example, specify 94608000 for three years.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#DescribeHostReservationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

" } }, "MinDuration": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

This is the minimum duration of the reservation you'd like to purchase, specified in\n seconds. Reservations are available in one-year and three-year terms. The number of\n seconds specified must be the number of seconds in a year (365x24x60x60) times one of\n the supported durations (1 or 3). For example, specify 31536000 for one year.

" } }, @@ -30100,7 +29261,6 @@ "com.amazonaws.ec2#DescribeHostReservationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 500 @@ -30125,8 +29285,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

" } }, @@ -30206,8 +29364,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

\n

You cannot specify this parameter and the host IDs parameter in the same\n request.

", "smithy.api#xmlName": "maxResults" } @@ -30294,7 +29450,6 @@ "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -30321,8 +29476,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeIamInstanceProfileAssociationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of\n items, make another request with the token returned in the output. For more information, \n see Pagination.

" } }, @@ -30510,8 +29663,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -30667,16 +29818,12 @@ "IncludeDeprecated": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include deprecated AMIs.

\n

Default: No deprecated AMIs are included in the response.

\n \n

If you are the AMI owner, all deprecated AMIs appear in the response regardless of what\n you specify for this parameter.

\n
" } }, "IncludeDisabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include disabled AMIs.

\n

Default: No disabled AMIs are included in the response.

" } }, @@ -30684,8 +29831,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -30693,8 +29838,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -30757,8 +29900,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -30779,8 +29920,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, @@ -30870,8 +30009,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -30892,8 +30029,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining results, make another call\n with the returned NextToken value.

" } }, @@ -30977,8 +30112,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -31022,16 +30155,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#InstanceConnectEndpointMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -31105,7 +30234,6 @@ "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -31118,8 +30246,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -31140,8 +30266,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeInstanceCreditSpecificationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

\n

You cannot specify this parameter and the instance IDs\n parameter in the same call.

" } }, @@ -31198,8 +30322,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -31248,8 +30370,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -31270,8 +30390,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#ResultRange", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value can\n be between 20 and 500. You cannot specify this parameter and the event window IDs parameter\n in the same call.

" } }, @@ -31431,8 +30549,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

\n

You cannot specify this parameter and the instance IDs parameter in the same request.

" } }, @@ -31446,8 +30562,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -31456,8 +30570,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IncludeAllInstances", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

When true, includes the health status for all instances. When\n false, includes the health status for running instances only.

\n

Default: false\n

", "smithy.api#xmlName": "includeAllInstances" } @@ -31515,8 +30627,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request,\n and provides an error response. If you have the required permissions, the error response is\n DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -31598,8 +30708,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request,\n and provides an error response. If you have the required permissions, the error response is\n DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -31856,8 +30964,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -31866,8 +30972,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

\n

You cannot specify this parameter and the instance IDs parameter in the same request.

", "smithy.api#xmlName": "maxResults" } @@ -31986,7 +31090,6 @@ "com.amazonaws.ec2#DescribeInternetGatewaysMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -32007,8 +31110,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -32030,8 +31131,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeInternetGatewaysMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -32088,8 +31187,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -32103,8 +31200,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the request.

" } }, @@ -32174,8 +31269,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -32195,8 +31288,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resource discoveries to return in one page of results.

" } }, @@ -32260,8 +31351,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -32281,8 +31370,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resource discovery associations to return in one page of results.

" } }, @@ -32346,8 +31433,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -32361,8 +31446,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the request.

" } }, @@ -32432,8 +31515,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -32447,8 +31528,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the request.

" } }, @@ -32531,16 +31610,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#Ipv6PoolMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -32665,8 +31740,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -32674,8 +31747,6 @@ "IncludePublicKey": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, the public key material is included in the response.

\n

Default: false\n

" } } @@ -32784,8 +31855,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -32829,8 +31898,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value\n can be between 1 and 200.

" } }, @@ -32844,8 +31911,6 @@ "ResolveAlias": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, and if a Systems Manager parameter is specified for ImageId,\n the AMI ID is displayed in the response for imageId.

\n

If false, and if a Systems Manager parameter is specified for ImageId,\n the parameter is displayed in the response for imageId.

\n

For more information, see Use a Systems \n Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

\n

Default: false\n

" } } @@ -32922,7 +31987,6 @@ "com.amazonaws.ec2#DescribeLaunchTemplatesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -32935,8 +31999,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -32970,8 +32032,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeLaunchTemplatesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value. This value\n can be between 1 and 200.

" } } @@ -33042,8 +32102,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#LocalGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33056,8 +32114,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -33128,8 +32184,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#LocalGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33142,8 +32196,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -33214,8 +32266,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#LocalGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33228,8 +32278,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -33300,8 +32348,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#LocalGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33314,8 +32360,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -33386,8 +32430,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#LocalGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33400,8 +32442,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -33472,8 +32512,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#LocalGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33486,8 +32524,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -33544,8 +32580,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -33559,8 +32593,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#PrefixListMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -33641,7 +32673,6 @@ "com.amazonaws.ec2#DescribeMovingAddressesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -33663,8 +32694,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -33673,8 +32702,6 @@ "target": "com.amazonaws.ec2#DescribeMovingAddressesMaxResults", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining\n results of the initial request can be seen by sending another request with the returned\n NextToken value. This value can be between 5 and 1000; if\n MaxResults is given a value outside of this range, an error is returned.

\n

Default: If no value is provided, the default is 1000.

", "smithy.api#xmlName": "maxResults" } @@ -33857,7 +32884,6 @@ "com.amazonaws.ec2#DescribeNatGatewaysMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -33870,8 +32896,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -33884,8 +32908,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeNatGatewaysMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } }, @@ -33996,7 +33018,6 @@ "com.amazonaws.ec2#DescribeNetworkAclsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -34017,8 +33038,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -34039,8 +33058,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeNetworkAclsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -34129,16 +33146,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#NetworkInsightsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -34215,16 +33228,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#NetworkInsightsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -34319,16 +33328,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#NetworkInsightsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -34405,16 +33410,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#NetworkInsightsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -34502,8 +33503,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -34594,7 +33593,6 @@ "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 255 @@ -34627,8 +33625,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeNetworkInterfacePermissionsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n\t\t\tmake another request with the token returned in the output. If this parameter is not specified, \n\t\t\tup to 50 results are returned by default. For more information, see\n\t\t\tPagination.

" } } @@ -34774,7 +33770,6 @@ "com.amazonaws.ec2#DescribeNetworkInterfacesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -34796,8 +33791,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -34818,8 +33811,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeNetworkInterfacesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n\t\t make another request with the token returned in the output. You cannot specify this\n\t\t parameter and the network interface IDs parameter in the same request. For more information, \n\t\t see Pagination.

" } } @@ -34879,8 +33870,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -34945,8 +33934,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -34960,8 +33947,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -35028,7 +34013,6 @@ "com.amazonaws.ec2#DescribePrincipalIdFormatMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -35041,8 +34025,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -35056,8 +34038,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribePrincipalIdFormatMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned NextToken value.

" } }, @@ -35133,8 +34113,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#PoolMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -35261,8 +34239,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -35270,8 +34246,6 @@ "AllRegions": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to display all Regions, including Regions that are disabled for your account.

" } } @@ -35317,7 +34291,6 @@ "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -35344,8 +34317,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeReplaceRootVolumeTasksMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output. \n\tFor more information, see Pagination.

" } }, @@ -35358,8 +34329,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -35575,8 +34544,6 @@ "IncludeMarketplace": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Include Reserved Instance Marketplace offerings in the response.

" } }, @@ -35589,24 +34556,18 @@ "MaxDuration": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum duration (in seconds) to filter when searching for offerings.

\n

Default: 94608000 (3 years)

" } }, "MaxInstanceCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of instances to filter when searching for offerings.

\n

Default: 20

" } }, "MinDuration": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum duration (in seconds) to filter when searching for offerings.

\n

Default: 2592000 (1 month)

" } }, @@ -35633,8 +34594,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -35651,8 +34610,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining\n\t\t\tresults of the initial request can be seen by sending another request with the returned\n\t\t\t\tNextToken value. The maximum is 100.

\n

Default: 100

", "smithy.api#xmlName": "maxResults" } @@ -35731,8 +34688,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -35824,7 +34779,6 @@ "com.amazonaws.ec2#DescribeRouteTablesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 100 @@ -35845,8 +34799,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -35867,8 +34819,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeRouteTablesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -35923,7 +34873,6 @@ "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 300 @@ -35936,8 +34885,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -35959,24 +34906,18 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeScheduledInstanceAvailabilityMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. \n This value can be between 5 and 300. The default value is 300.\n To retrieve the remaining results, make another call with the returned\n NextToken value.

" } }, "MaxSlotDurationInHours": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours\n and less than 1,720.

" } }, "MinSlotDurationInHours": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum available duration, in hours. The minimum required duration is 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

" } }, @@ -36049,8 +34990,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -36064,8 +35003,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. \n This value can be between 5 and 300. The default value is 100.\n To retrieve the remaining results, make another call with the returned\n NextToken value.

" } }, @@ -36157,8 +35094,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -36212,7 +35147,6 @@ "com.amazonaws.ec2#DescribeSecurityGroupRulesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -36239,8 +35173,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -36253,8 +35185,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeSecurityGroupRulesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of \n items, make another request with the token returned in the output. This value\n can be between 5 and 1000. If this parameter is not specified, then all items are\n returned. For more information, see Pagination.

" } } @@ -36346,7 +35276,6 @@ "com.amazonaws.ec2#DescribeSecurityGroupsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -36381,8 +35310,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -36396,8 +35323,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeSecurityGroupsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output. This value can be between 5 and 1000. \n If this parameter is not specified, then all items are returned. For more information, see \n Pagination.

" } } @@ -36479,8 +35404,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -36556,8 +35479,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -36686,8 +35607,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of snapshots to return for this request.\n This value can be between 5 and 1,000; if this value is larger than 1,000, only 1,000 results are returned. \n If this parameter is not used, then the request returns all snapshots. \n You cannot specify this parameter and the snapshot IDs parameter in the same request. For more information, \n see Pagination.

" } }, @@ -36722,8 +35641,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -36790,8 +35707,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -36853,7 +35768,6 @@ "com.amazonaws.ec2#DescribeSpotFleetInstancesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -36867,8 +35781,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -36877,8 +35789,6 @@ "target": "com.amazonaws.ec2#DescribeSpotFleetInstancesMaxResults", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -37002,7 +35912,6 @@ "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -37016,8 +35925,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -37034,8 +35941,6 @@ "target": "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryMaxResults", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -37202,8 +36107,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -37212,8 +36115,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -37425,8 +36326,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -37447,8 +36346,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } } @@ -37557,8 +36454,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -37582,8 +36477,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -37663,7 +36556,6 @@ "com.amazonaws.ec2#DescribeStaleSecurityGroupsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 255 @@ -37685,16 +36577,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#DescribeStaleSecurityGroupsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output. For more information, \n see Pagination.

" } }, @@ -37809,8 +36697,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -37830,8 +36716,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeStoreImageTasksRequestMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

\n

You cannot specify this parameter and the ImageIds parameter in the same\n call.

" } } @@ -37843,7 +36727,6 @@ "com.amazonaws.ec2#DescribeStoreImageTasksRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -37942,7 +36825,6 @@ "com.amazonaws.ec2#DescribeSubnetsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -37970,8 +36852,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -37985,8 +36865,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeSubnetsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -38076,8 +36954,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -38093,8 +36969,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. This value can be between 5 and 1000. \n To get the next page of items, make another request with the token returned in the output.\n For more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -38167,8 +37041,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -38182,8 +37054,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TrafficMirroringMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38253,8 +37123,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -38268,8 +37136,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TrafficMirroringMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38339,8 +37205,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -38354,8 +37218,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TrafficMirroringMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38431,8 +37293,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38445,8 +37305,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -38516,8 +37374,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38530,8 +37386,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -38601,8 +37455,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38615,8 +37467,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -38686,8 +37536,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38700,8 +37548,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -38771,8 +37617,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38785,8 +37629,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -38856,8 +37698,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38870,8 +37710,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -38941,8 +37779,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -38955,8 +37791,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39026,8 +37860,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39040,8 +37872,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39111,8 +37941,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39125,8 +37953,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39196,8 +38022,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39210,8 +38034,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39265,7 +38087,6 @@ "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 255 @@ -39285,8 +38106,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -39306,8 +38125,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeTrunkInterfaceAssociationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } } @@ -39361,7 +38178,6 @@ "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -39393,8 +38209,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVerifiedAccessEndpointsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39414,8 +38228,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39451,7 +38263,6 @@ "com.amazonaws.ec2#DescribeVerifiedAccessGroupMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -39495,8 +38306,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVerifiedAccessGroupMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39516,8 +38325,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39571,7 +38378,6 @@ "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -39591,8 +38397,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVerifiedAccessInstanceLoggingConfigurationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39612,8 +38416,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39667,7 +38469,6 @@ "com.amazonaws.ec2#DescribeVerifiedAccessInstancesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 200 @@ -39687,8 +38488,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVerifiedAccessInstancesMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39708,8 +38507,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39763,7 +38560,6 @@ "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 200 @@ -39783,8 +38579,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVerifiedAccessTrustProvidersMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -39804,8 +38598,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -39889,8 +38681,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -39997,8 +38787,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. To get the next page of items,\n make another request with the token returned in the output. This value can be between 5 and 1,000;\n if the value is larger than 1,000, only 1,000 results are returned. If this parameter is not used, \n then all items are returned. You cannot specify this parameter and the volume IDs parameter in the \n same request. For more information, see Pagination.

" } }, @@ -40019,8 +38807,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -40202,8 +38988,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -40230,8 +39014,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results (up to a limit of 500) to be returned in a paginated\n request. For more information, see Pagination.

" } } @@ -40285,8 +39067,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -40295,8 +39075,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of volumes to return for this request. \n This value can be between 5 and 500; if you specify a value larger than 500, only 500 items are returned. \n If this parameter is not used, then all items are returned. You cannot specify this parameter and the\n volume IDs parameter in the same request. For more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -40389,8 +39167,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -40473,7 +39249,6 @@ "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 255 @@ -40496,8 +39271,6 @@ "target": "com.amazonaws.ec2#DescribeVpcClassicLinkDnsSupportMaxResults", "traits": { "aws.protocols#ec2QueryName": "MaxResults", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

", "smithy.api#xmlName": "maxResults" } @@ -40560,8 +39333,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -40618,8 +39389,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -40639,8 +39408,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another request with the returned NextToken value.

" } }, @@ -40703,8 +39470,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -40718,8 +39483,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining\n results of the initial request can be seen by sending another request with the returned\n NextToken value. This value can be between 5 and 1,000; if\n MaxResults is given a value larger than 1,000, only 1,000 results are\n returned.

" } }, @@ -40782,8 +39545,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -40804,8 +39565,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining\n results of the initial request can be seen by sending another request with the returned\n NextToken value. This value can be between 5 and 1,000; if\n MaxResults is given a value larger than 1,000, only 1,000 results are\n returned.

" } }, @@ -40868,8 +39627,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -40891,8 +39648,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining\n results of the initial request can be seen by sending another request with the returned\n NextToken value. This value can be between 5 and 1,000; if\n MaxResults is given a value larger than 1,000, only 1,000 results are\n returned.

" } }, @@ -40949,8 +39704,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -40971,8 +39724,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

\n

Constraint: If the value is greater than 1,000, we return only 1,000 items.

" } }, @@ -41043,8 +39794,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -41065,8 +39814,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.

\n

Constraint: If the value is greater than 1,000, we return only 1,000 items.

" } }, @@ -41169,7 +39916,6 @@ "com.amazonaws.ec2#DescribeVpcPeeringConnectionsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -41190,8 +39936,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41212,8 +39956,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVpcPeeringConnectionsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -41333,7 +40075,6 @@ "com.amazonaws.ec2#DescribeVpcsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -41361,8 +40102,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41376,8 +40115,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#DescribeVpcsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output.\n\tFor more information, see Pagination.

" } } @@ -41505,8 +40242,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41567,8 +40302,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41625,16 +40358,12 @@ "HiveCompatiblePartitions": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.\n The default is false.

" } }, "PerHourPartition": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to partition the flow log per hour. This reduces the cost and response \n time for queries. The default is false.

" } } @@ -41658,8 +40387,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "HiveCompatiblePartitions", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.

", "smithy.api#xmlName": "hiveCompatiblePartitions" } @@ -41668,8 +40395,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PerHourPartition", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to partition the flow log per hour.

", "smithy.api#xmlName": "perHourPartition" } @@ -41698,8 +40423,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41736,8 +40459,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -41776,8 +40497,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41845,8 +40564,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -41855,8 +40572,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Force", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to force a detachment.

\n \n \n ", "smithy.api#xmlName": "force" } @@ -41908,8 +40623,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -41982,8 +40695,6 @@ "Force": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Forces detachment if the previous detachment attempt did not occur cleanly (for example,\n logging into an instance, unmounting the volume, and detaching normally). This option can lead\n to data loss or a corrupted file system. Use this option only as a last resort to detach a\n volume from a failed instance. The instance won't have an opportunity to flush file system\n caches or file system metadata. If you use this option, you must perform file system check and\n repair procedures.

" } }, @@ -42005,8 +40716,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -42051,8 +40760,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -42272,8 +40979,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -42340,8 +41045,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -42357,8 +41060,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Output", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the unsubscribe action was successful.

", "smithy.api#xmlName": "output" } @@ -42386,8 +41087,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -42403,8 +41102,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsEncryptionByDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The updated status of encryption by default.

", "smithy.api#xmlName": "ebsEncryptionByDefault" } @@ -42440,16 +41137,12 @@ "Force": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides \n\t\t\tany errors that are encountered while cleaning up resources in your account.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -42497,8 +41190,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxParallelLaunches", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of instances that Amazon EC2 can launch at the same time to \n\t\t\tcreate pre-provisioned snapshots for Windows faster launching.

", "smithy.api#xmlName": "maxParallelLaunches" } @@ -42771,8 +41462,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -42835,8 +41524,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -42887,8 +41574,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -42904,8 +41589,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -42929,8 +41612,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -42946,8 +41627,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -42975,8 +41654,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -43000,8 +41677,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Success", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The result of disabling the IPAM account.

", "smithy.api#xmlName": "success" } @@ -43029,8 +41704,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -43046,8 +41719,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SerialConsoleAccessEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, access to the EC2 serial console of all instances is enabled for\n\t\t\tyour account. If false, access to the EC2 serial console of all instances\n\t\t\tis disabled for your account.

", "smithy.api#xmlName": "serialConsoleAccessEnabled" } @@ -43089,8 +41760,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -43165,8 +41834,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -43222,8 +41889,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -43240,8 +41905,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -43268,8 +41931,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -43319,8 +41980,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -43364,8 +42023,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -43432,8 +42089,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -43449,8 +42104,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -43542,8 +42195,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -43602,8 +42253,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -43671,16 +42320,12 @@ "MaxDrainDurationSeconds": { "target": "com.amazonaws.ec2#DrainSeconds", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -43751,8 +42396,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -43858,8 +42501,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -43918,8 +42559,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -43978,8 +42617,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -44037,8 +42674,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -44054,8 +42689,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -44195,8 +42828,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Size", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the disk image, in GiB.

", "smithy.api#xmlName": "size" } @@ -44214,7 +42845,6 @@ "traits": { "aws.protocols#ec2QueryName": "Bytes", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the disk image, in GiB.

", "smithy.api#required": {}, "smithy.api#xmlName": "bytes" @@ -44289,8 +42919,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Size", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

", "smithy.api#xmlName": "size" } @@ -44432,8 +43060,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PrivateDnsOnlyForInboundResolverEndpoint", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to enable private DNS only for inbound endpoints.

", "smithy.api#xmlName": "privateDnsOnlyForInboundResolverEndpoint" } @@ -44455,8 +43081,6 @@ "PrivateDnsOnlyForInboundResolverEndpoint": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to enable private DNS only for inbound endpoints. This option is\n available only for services that support both gateway and interface endpoints. It routes\n traffic that originates from the VPC to the gateway endpoint and traffic that originates\n from on-premises to the interface endpoint.

" } } @@ -44506,8 +43130,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether DNS servers should be used. Specify False to delete the existing DNS \n\t\t\tservers.

" } } @@ -44551,10 +43173,7 @@ } }, "com.amazonaws.ec2#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.ec2#DoubleWithConstraints": { "type": "double", @@ -44568,7 +43187,6 @@ "com.amazonaws.ec2#DrainSeconds": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 4000 @@ -44599,8 +43217,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the EBS volume is deleted on instance termination. For more\n information, see Preserving Amazon EBS volumes on instance termination in the\n Amazon EC2 User Guide.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -44609,8 +43225,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Iops", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes,\n this represents the number of IOPS that are provisioned for the volume. For gp2\n volumes, this represents the baseline performance of the volume and the rate at which\n the volume accumulates I/O credits for bursting.

\n

The following are the supported values for each volume type:

\n \n

For io1 and io2 volumes, we guarantee 64,000 IOPS only for\n Instances built on the\n Nitro System. Other instance families guarantee performance up to\n 32,000 IOPS.

\n

This parameter is required for io1 and io2 volumes. The default for gp3 volumes\n is 3,000 IOPS. This parameter is not supported for gp2, st1, sc1, or standard\n volumes.

", "smithy.api#xmlName": "iops" } @@ -44627,8 +43241,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VolumeSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume\n size. If you specify a snapshot, the default is the snapshot size. You can specify a\n volume size that is equal to or larger than the snapshot size.

\n

The following are the supported volumes sizes for each volume type:

\n ", "smithy.api#xmlName": "volumeSize" } @@ -44653,8 +43265,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Throughput", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The throughput that the volume supports, in MiB/s.

\n

This parameter is valid only for gp3 volumes.

\n

Valid Range: Minimum value of 125. Maximum value of 1000.

", "smithy.api#xmlName": "throughput" } @@ -44671,8 +43281,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the encryption state of an EBS volume is changed while being\n restored from a backing snapshot. The effect of setting the encryption state to true depends on \nthe volume origin (new or from a snapshot), starting encryption state, ownership, and whether encryption by default is enabled. For more information, see Amazon EBS encryption in the Amazon EC2 User Guide.

\n

In no case can you remove encryption from an encrypted volume.

\n

Encrypted volumes can only be attached to instances that support Amazon EBS encryption. For\n more information, see Supported instance types.

\n

This parameter is not returned by DescribeImageAttribute.

\n

For CreateImage and RegisterImage, whether you can \n include this parameter, and the allowed values differ depending on the type of block \n device mapping you are creating.

\n ", "smithy.api#xmlName": "encrypted" } @@ -44754,8 +43362,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume is deleted on instance termination.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -44788,8 +43394,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume is deleted on instance termination.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -45012,8 +43616,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PreserveClientIp", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether your client's IP address is preserved as the source. The value is true or false.

\n \n

Default: true\n

", "smithy.api#xmlName": "preserveClientIp" } @@ -45415,8 +44017,6 @@ "Count": { "target": "com.amazonaws.ec2#ElasticInferenceAcceleratorCount", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of elastic inference accelerators to attach to the instance. \n

\n

Default: 1

" } } @@ -45477,7 +44077,6 @@ "com.amazonaws.ec2#ElasticInferenceAcceleratorCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -45501,8 +44100,6 @@ "EnaSrdEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether ENA Express is enabled for the network interface.

" } }, @@ -45526,8 +44123,6 @@ "EnaSrdUdpEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether UDP traffic uses ENA Express. To specify this setting, you must first enable ENA Express.

" } } @@ -45593,8 +44188,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -45661,8 +44254,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -45678,8 +44269,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Output", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the subscribe action was successful.

", "smithy.api#xmlName": "output" } @@ -45707,8 +44296,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -45724,8 +44311,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsEncryptionByDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The updated status of encryption by default.

", "smithy.api#xmlName": "ebsEncryptionByDefault" } @@ -45779,16 +44364,12 @@ "MaxParallelLaunches": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of instances that Amazon EC2 can launch at the same time to create \n\t\t\tpre-provisioned snapshots for Windows faster launching. Value must be \n\t\t\t6 or greater.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -45836,8 +44417,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxParallelLaunches", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of instances that Amazon EC2 can launch at the same time to \n\t\t\tcreate pre-provisioned snapshots for Windows faster launching.

", "smithy.api#xmlName": "maxParallelLaunches" } @@ -46110,8 +44689,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -46182,8 +44759,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -46242,8 +44817,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -46259,8 +44832,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -46284,8 +44855,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -46301,8 +44870,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -46330,8 +44897,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -46355,8 +44920,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Success", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The result of enabling the IPAM account.

", "smithy.api#xmlName": "success" } @@ -46384,8 +44947,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -46401,8 +44962,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ReturnValue", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "returnValue" } @@ -46430,8 +44989,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -46447,8 +45004,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SerialConsoleAccessEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, access to the EC2 serial console of all instances is enabled for\n\t\t\tyour account. If false, access to the EC2 serial console of all instances\n\t\t\tis disabled for your account.

", "smithy.api#xmlName": "serialConsoleAccessEnabled" } @@ -46490,8 +45045,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -46566,8 +45119,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -46605,8 +45156,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -46672,8 +45221,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -46690,8 +45237,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -46718,8 +45263,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -46736,8 +45279,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If this parameter is set to true, the instance is enabled for Amazon Web Services Nitro Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro\n Enclaves.

", "smithy.api#xmlName": "enabled" } @@ -46753,8 +45294,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to\n true.

" } } @@ -47114,8 +45653,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "LoadBalancerListenerPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The listener port of the load balancer.

", "smithy.api#xmlName": "loadBalancerListenerPort" } @@ -47148,8 +45685,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "LoadBalancerTargetPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target port.

", "smithy.api#xmlName": "loadBalancerTargetPort" } @@ -47206,8 +45741,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "Port", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The port.

", "smithy.api#xmlName": "port" } @@ -47444,8 +45977,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -47504,8 +46035,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -47592,8 +46121,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -48093,8 +46620,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -48274,8 +46799,6 @@ "TargetResourceCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.

" } } @@ -48291,8 +46814,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TargetResourceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI.

", "smithy.api#xmlName": "targetResourceCount" } @@ -48459,8 +46980,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the range.

", "smithy.api#xmlName": "fromPort" } @@ -48469,8 +46988,6 @@ "target": "com.amazonaws.ec2#Port", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the range.

", "smithy.api#xmlName": "toPort" } @@ -48638,8 +47155,6 @@ "target": "com.amazonaws.ec2#Priority", "traits": { "aws.protocols#ec2QueryName": "Priority", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule priority.

", "smithy.api#xmlName": "priority" } @@ -48725,8 +47240,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of instances for which the Capacity Reservation reserves capacity.

", "smithy.api#xmlName": "totalInstanceCount" } @@ -48735,8 +47248,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "FulfilledCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of capacity units fulfilled by the Capacity Reservation. For more information, see \n\t\t\t\n\t\t\t\tTotal target capacity in the Amazon EC2 User Guide.

", "smithy.api#xmlName": "fulfilledCapacity" } @@ -48745,8 +47256,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the Capacity Reservation reserves capacity for EBS-optimized instance types.

", "smithy.api#xmlName": "ebsOptimized" } @@ -48866,8 +47375,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "FulfilledCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units fulfilled by this request compared to the set target\n capacity.

", "smithy.api#xmlName": "fulfilledCapacity" } @@ -48876,8 +47383,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "FulfilledOnDemandCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units fulfilled by this request compared to the set target On-Demand\n capacity.

", "smithy.api#xmlName": "fulfilledOnDemandCapacity" } @@ -48902,8 +47407,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "TerminateInstancesWithExpiration", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether running instances should be terminated when the EC2 Fleet expires.

", "smithy.api#xmlName": "terminateInstancesWithExpiration" } @@ -48936,8 +47439,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ReplaceUnhealthyInstances", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether EC2 Fleet should replace unhealthy Spot Instances. Supported only for\n fleets of type maintain. For more information, see EC2 Fleet\n health checks in the Amazon EC2 User Guide.

", "smithy.api#xmlName": "replaceUnhealthyInstances" } @@ -49162,8 +47663,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "WeightedCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units provided by the specified instance type.

", "smithy.api#xmlName": "weightedCapacity" } @@ -49172,8 +47671,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Priority", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The priority for the launch template override. The highest priority is launched\n first.

\n

If the On-Demand AllocationStrategy is set to prioritized,\n EC2 Fleet uses priority to determine which launch template override to use first in fulfilling\n On-Demand capacity.

\n

If the Spot AllocationStrategy is set to\n capacity-optimized-prioritized, EC2 Fleet uses priority on a best-effort basis\n to determine which launch template override to use in fulfilling Spot capacity, but\n optimizes for capacity first.

\n

Valid values are whole numbers starting at 0. The lower the number, the\n higher the priority. If no number is set, the override has the lowest priority. You can set\n the same priority for different launch template overrides.

", "smithy.api#xmlName": "priority" } @@ -49255,16 +47752,12 @@ "WeightedCapacity": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units provided by the specified instance type.

" } }, "Priority": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The priority for the launch template override. The highest priority is launched\n first.

\n

If the On-Demand AllocationStrategy is set to prioritized,\n EC2 Fleet uses priority to determine which launch template override to use first in fulfilling\n On-Demand capacity.

\n

If the Spot AllocationStrategy is set to\n capacity-optimized-prioritized, EC2 Fleet uses priority on a best-effort basis\n to determine which launch template override to use in fulfilling Spot capacity, but\n optimizes for capacity first.

\n

Valid values are whole numbers starting at 0. The lower the number, the\n higher the priority. If no number is set, the launch template override has the lowest\n priority. You can set the same priority for different launch template overrides.

" } }, @@ -49407,8 +47900,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TerminationDelay", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot\n Instance after launching a new replacement Spot Instance.

\n

Required when ReplacementStrategy is set to launch-before-terminate.

\n

Not valid when ReplacementStrategy is set to launch.

\n

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

", "smithy.api#xmlName": "terminationDelay" } @@ -49430,8 +47921,6 @@ "TerminationDelay": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot\n Instance after launching a new replacement Spot Instance.

\n

Required when ReplacementStrategy is set to launch-before-terminate.

\n

Not valid when ReplacementStrategy is set to launch.

\n

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

" } } @@ -49541,10 +48030,7 @@ } }, "com.amazonaws.ec2#Float": { - "type": "float", - "traits": { - "smithy.api#default": 0 - } + "type": "float" }, "com.amazonaws.ec2#FlowLog": { "type": "structure", @@ -49665,8 +48151,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxAggregationInterval", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

\n

When a network interface is attached to a Nitro-based\n instance, the aggregation interval is always 60 seconds (1 minute) or less,\n regardless of the specified value.

\n

Valid Values: 60 | 600\n

", "smithy.api#xmlName": "maxAggregationInterval" } @@ -49937,8 +48421,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Public", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the AFI is public.

", "smithy.api#xmlName": "public" } @@ -49947,8 +48429,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DataRetentionSupport", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether data retention support is enabled for the AFI.

", "smithy.api#xmlName": "dataRetentionSupport" } @@ -50219,8 +48699,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -50283,16 +48761,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#Ipv6PoolMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -50368,8 +48842,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -50382,8 +48854,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -50448,16 +48918,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#GetCapacityReservationUsageRequestMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

\n

Valid range: Minimum value of 1. Maximum value of 1000.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -50469,7 +48935,6 @@ "com.amazonaws.ec2#GetCapacityReservationUsageRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -50507,8 +48972,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances for which the Capacity Reservation reserves capacity.

", "smithy.api#xmlName": "totalInstanceCount" } @@ -50517,8 +48980,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The remaining capacity. Indicates the number of instances that can be launched in the Capacity Reservation.

", "smithy.api#xmlName": "availableInstanceCount" } @@ -50577,8 +49038,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#CoipPoolMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -50591,8 +49050,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -50674,8 +49131,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -50683,8 +49138,6 @@ "Latest": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

When enabled, retrieves the latest console output for the instance.

\n

Default: disabled (false)

" } } @@ -50743,8 +49196,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -50759,8 +49210,6 @@ "WakeUp": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

When set to true, acts as keystroke input and wakes up an instance that's\n in standby or \"sleep\" mode.

" } } @@ -50811,8 +49260,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -50863,8 +49310,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -50907,8 +49352,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -50924,8 +49367,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsEncryptionByDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether encryption by default is enabled.

", "smithy.api#xmlName": "ebsEncryptionByDefault" } @@ -50961,8 +49402,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51050,16 +49489,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#GetGroupsForCapacityReservationRequestMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -51071,7 +49506,6 @@ "com.amazonaws.ec2#GetGroupsForCapacityReservationRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -51196,8 +49630,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -51246,8 +49678,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51280,8 +49710,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -51347,8 +49775,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -51405,8 +49831,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51447,8 +49871,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamAddressHistoryMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of historical results you would like returned per page. Defaults to 100.

" } }, @@ -51511,8 +49933,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51548,8 +49968,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of discovered accounts to return in one page of results.

" } } @@ -51606,8 +50024,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51643,8 +50059,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of discovered resource CIDRs to return in one page of results.

" } } @@ -51698,7 +50112,6 @@ "com.amazonaws.ec2#GetIpamPoolAllocationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 100000 @@ -51711,8 +50124,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51740,8 +50151,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#GetIpamPoolAllocationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results you would like returned per page.

" } }, @@ -51804,8 +50213,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51827,8 +50234,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the request.

" } }, @@ -51891,8 +50296,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -51906,8 +50309,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#IpamMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the request.

" } }, @@ -52061,8 +50462,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -52116,7 +50515,6 @@ "com.amazonaws.ec2#GetManagedPrefixListAssociationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 255 @@ -52129,8 +50527,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -52145,8 +50541,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#GetManagedPrefixListAssociationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -52209,8 +50603,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -52225,16 +50617,12 @@ "TargetVersion": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version of the prefix list for which to return the entries. The default is the current version.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#PrefixListMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -52305,8 +50693,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#NetworkInsightsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n To retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -52319,8 +50705,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -52395,8 +50779,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -52465,8 +50847,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -52526,8 +50906,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -52568,8 +50946,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsValidExchange", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, the exchange is valid. If false, the exchange cannot be completed.

", "smithy.api#xmlName": "isValidExchange" } @@ -52654,8 +51030,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -52671,8 +51045,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SerialConsoleAccessEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, access to the EC2 serial console of all instances is enabled for\n\t\t\tyour account. If false, access to the EC2 serial console of all instances\n\t\t\tis disabled for your account.

", "smithy.api#xmlName": "serialConsoleAccessEnabled" } @@ -52714,7 +51086,6 @@ "target": "com.amazonaws.ec2#SpotPlacementScoresTargetCapacity", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target capacity.

", "smithy.api#required": {} } @@ -52728,8 +51099,6 @@ "SingleAvailabilityZone": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specify true so that the response returns a list of scored Availability Zones.\n Otherwise, the response returns a list of scored Regions.

\n

A list of scored Availability Zones is useful if you want to launch all of your Spot\n capacity into a single Availability Zone.

" } }, @@ -52749,16 +51118,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "MaxResults": { "target": "com.amazonaws.ec2#SpotPlacementScoresMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return for this request.\n To get the next page of items, make another request with the token returned in the output.\n\t For more information, see Pagination.

" } }, @@ -52812,7 +51177,6 @@ "com.amazonaws.ec2#GetSubnetCidrReservationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -52840,8 +51204,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -52854,8 +51216,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#GetSubnetCidrReservationsMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } } @@ -52935,8 +51295,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -52949,8 +51307,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53022,8 +51378,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -53036,8 +51390,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53109,8 +51461,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -53123,8 +51473,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53190,8 +51538,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -53204,8 +51550,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53269,8 +51613,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -53283,8 +51625,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53356,8 +51696,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -53370,8 +51708,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53443,8 +51779,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -53457,8 +51791,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53517,8 +51849,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53534,8 +51864,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PolicyEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The status of the Verified Access policy.

", "smithy.api#xmlName": "policyEnabled" } @@ -53579,8 +51907,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -53596,8 +51922,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PolicyEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The status of the Verified Access policy.

", "smithy.api#xmlName": "policyEnabled" } @@ -53655,8 +51979,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -53717,8 +52039,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -53785,8 +52105,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -54031,8 +52349,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Configured", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, your instance is enabled for hibernation; otherwise, it is not\n enabled for hibernation.

", "smithy.api#xmlName": "configured" } @@ -54048,8 +52364,6 @@ "Configured": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Set to true to enable your instance for hibernation.

\n

Default: false\n

" } } @@ -54275,8 +52589,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "MemberOfServiceLinkedResourceGroup", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the Dedicated Host is in a host resource group. If memberOfServiceLinkedResourceGroup is true, the\n host is in a host resource group; otherwise, it is not.

", "smithy.api#xmlName": "memberOfServiceLinkedResourceGroup" } @@ -54392,8 +52704,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Duration", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the offering (in seconds).

", "smithy.api#xmlName": "duration" } @@ -54459,8 +52769,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Cores", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of cores on the Dedicated Host.

", "smithy.api#xmlName": "cores" } @@ -54485,8 +52793,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Sockets", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of sockets on the Dedicated Host.

", "smithy.api#xmlName": "sockets" } @@ -54495,8 +52801,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalVCpus", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of vCPUs on the Dedicated Host.

", "smithy.api#xmlName": "totalVCpus" } @@ -54530,8 +52834,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Count", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Dedicated Hosts the reservation is associated with.

", "smithy.api#xmlName": "count" } @@ -54548,8 +52850,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Duration", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The length of the reservation's term, specified in seconds. Can be 31536000 (1\n year) | 94608000 (3 years).

", "smithy.api#xmlName": "duration" } @@ -54705,7 +53005,6 @@ "com.amazonaws.ec2#Hour": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 23 @@ -54938,8 +53237,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Code", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The ICMP code. A value of -1 means all codes for the specified ICMP type.

", "smithy.api#xmlName": "code" } @@ -54948,8 +53245,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Type", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The ICMP type. A value of -1 means all types.

", "smithy.api#xmlName": "type" } @@ -54982,8 +53277,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "UseLongIds", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether longer IDs (17-character IDs) are enabled for the resource.

", "smithy.api#xmlName": "useLongIds" } @@ -55066,8 +53359,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsPublic", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the image has public launch permissions. The value is true if\n\t\t\t\tthis image has public launch permissions or false\n\t\t\t\tif it has only implicit and explicit launch permissions.

", "smithy.api#xmlName": "isPublic" } @@ -55156,8 +53447,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnaSupport", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether enhanced networking with ENA is enabled.

", "smithy.api#xmlName": "enaSupport" } @@ -55751,8 +54040,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -55768,8 +54055,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -55876,16 +54161,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "Encrypted": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the destination AMI of the imported image should be encrypted. The default KMS key for EBS is used\n unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the\n Amazon Elastic Compute Cloud User Guide.

" } }, @@ -55972,8 +54253,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the AMI is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -56110,8 +54389,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the image is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -56310,8 +54587,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Monitoring", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether monitoring is enabled.

", "smithy.api#xmlName": "monitoring" } @@ -56376,8 +54651,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -56476,8 +54749,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "BytesConverted", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes converted so far.

", "smithy.api#xmlName": "bytesConverted" } @@ -56555,8 +54826,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -56681,16 +54950,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "Encrypted": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the destination snapshot of the imported image should be encrypted. The default KMS key for EBS is\n used unless you specify a non-default KMS key using KmsKeyId. For more information, see Amazon EBS Encryption in the\n Amazon Elastic Compute Cloud User Guide.

" } }, @@ -56868,8 +55133,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -56930,8 +55193,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "BytesConverted", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes converted so far.

", "smithy.api#xmlName": "bytesConverted" } @@ -57079,8 +55340,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AmiLaunchIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The AMI launch index, which can be used to find this instance in the launch\n group.

", "smithy.api#xmlName": "amiLaunchIndex" } @@ -57265,8 +55524,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization\n provides dedicated throughput to Amazon EBS and an optimized configuration stack to\n provide optimal I/O performance. This optimization isn't available with all instance\n types. Additional usage charges apply when using an EBS Optimized instance.

", "smithy.api#xmlName": "ebsOptimized" } @@ -57275,8 +55532,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnaSupport", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether enhanced networking with ENA is enabled.

", "smithy.api#xmlName": "enaSupport" } @@ -57365,8 +55620,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SourceDestCheck", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether source/destination checking is enabled.

", "smithy.api#xmlName": "sourceDestCheck" } @@ -57912,8 +56165,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances that can be launched onto the Dedicated Host based on the\n host's available capacity.

", "smithy.api#xmlName": "availableCapacity" } @@ -57930,8 +56181,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of instances that can be launched onto the Dedicated Host if there\n are no instances running on it.

", "smithy.api#xmlName": "totalCapacity" } @@ -57947,7 +56196,6 @@ "com.amazonaws.ec2#InstanceConnectEndpointMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -57970,8 +56218,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of listed Reserved Instances in the state specified by the state.

", "smithy.api#xmlName": "instanceCount" } @@ -58311,8 +56557,6 @@ "target": "com.amazonaws.ec2#Hour", "traits": { "aws.protocols#ec2QueryName": "StartHour", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The hour when the time range begins.

", "smithy.api#xmlName": "startHour" } @@ -58329,8 +56573,6 @@ "target": "com.amazonaws.ec2#Hour", "traits": { "aws.protocols#ec2QueryName": "EndHour", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The hour when the time range ends.

", "smithy.api#xmlName": "endHour" } @@ -58361,8 +56603,6 @@ "StartHour": { "target": "com.amazonaws.ec2#Hour", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The hour when the time range begins.

" } }, @@ -58375,8 +56615,6 @@ "EndHour": { "target": "com.amazonaws.ec2#Hour", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The hour when the time range ends.

" } } @@ -58590,8 +56828,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsPrimaryIpv6", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. \n For more information, see RunInstances.

", "smithy.api#xmlName": "isPrimaryIpv6" } @@ -58797,8 +57033,6 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.

\n

Default: 1

\n

Possible values: Integers from 1 to 64

" } }, @@ -58848,8 +57082,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "HttpPutResponseHopLimit", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.

\n

Default: 1

\n

Possible values: Integers from 1 to 64

", "smithy.api#xmlName": "httpPutResponseHopLimit" } @@ -59062,8 +57294,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SourceDestCheck", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether source/destination checking is enabled.

", "smithy.api#xmlName": "sourceDestCheck" } @@ -59192,8 +57422,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is terminated.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -59202,8 +57430,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "DeviceIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the device on the instance for the network interface attachment.

", "smithy.api#xmlName": "deviceIndex" } @@ -59220,8 +57446,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "NetworkCardIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card.

", "smithy.api#xmlName": "networkCardIndex" } @@ -59247,8 +57471,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AssociatePublicIpAddress", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The\n public IP address can only be assigned to a network interface for eth0, and can only be\n assigned to a new network interface, not an existing one. You cannot specify more than one\n network interface in the request. If launching into a default subnet, the default value is\n true.

", "smithy.api#xmlName": "associatePublicIpAddress" } @@ -59257,8 +57479,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If set to true, the interface is deleted when the instance is terminated. You can\n specify true only if creating a new network interface when launching an\n instance.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -59275,8 +57495,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "DeviceIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The position of the network interface in the attachment order. \n A primary network interface has a device index of 0.

\n

If you specify a network interface when launching an instance, \n you must specify the device index.

", "smithy.api#xmlName": "deviceIndex" } @@ -59292,8 +57510,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Ipv6AddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses\n the IPv6 addresses from the range of the subnet. You cannot specify this option and the\n option to assign specific IPv6 addresses in the same request. You can specify this\n option if you've specified a minimum number of instances to launch.

", "smithy.api#xmlName": "ipv6AddressCount" } @@ -59334,8 +57550,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SecondaryPrivateIpAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're\n \tlaunching more than one instance in a RunInstances request.

", "smithy.api#xmlName": "secondaryPrivateIpAddressCount" } @@ -59351,8 +57565,6 @@ "AssociateCarrierIpAddress": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to assign a carrier IP address to the network interface.

\n

You can only assign a carrier IP address to a network interface that is in a subnet in\n a Wavelength Zone. For more information about carrier IP addresses, see Carrier IP address in the Amazon Web Services Wavelength Developer\n Guide.

" } }, @@ -59365,8 +57577,6 @@ "NetworkCardIndex": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card. Some instance types support multiple network cards. \n The primary network interface must be assigned to network card index 0. \n The default is network card index 0.

\n

If you are using RequestSpotInstances to create Spot Instances, omit this parameter because\n you can’t specify the network card index when using this API. To specify the network\n card index, use RunInstances.

" } }, @@ -59380,8 +57590,6 @@ "Ipv4PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv4 delegated prefixes to be automatically assigned to the network interface. \n You cannot use this option if you use the Ipv4Prefix option.

" } }, @@ -59395,16 +57603,12 @@ "Ipv6PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 delegated prefixes to be automatically assigned to the network interface. \n You cannot use this option if you use the Ipv6Prefix option.

" } }, "PrimaryIpv6": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

" } } @@ -59437,8 +57641,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Primary", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this IPv4 address is the primary private IP address of the network interface.

", "smithy.api#xmlName": "primary" } @@ -59528,8 +57730,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SpotMaxPricePercentageOverLowestPrice", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance,\n expressed as a percentage above the least expensive current generation M, C, or R instance type with your specified\n attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance\n types priced above your threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

To turn off price protection, specify a high value, such as 999999.

\n

This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements.

\n \n

If you set TargetCapacityUnitType to vcpu or\n memory-mib, the price protection threshold is applied based on the\n per-vCPU or per-memory price instead of the per-instance price.

\n
\n

Default: 100\n

", "smithy.api#xmlName": "spotMaxPricePercentageOverLowestPrice" } @@ -59538,8 +57738,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "OnDemandMaxPricePercentageOverLowestPrice", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance,\n expressed as a percentage above the least expensive current generation M, C, or R instance type with your specified\n attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance\n types priced above your threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

To turn off price protection, specify a high value, such as 999999.

\n

This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements.

\n \n

If you set TargetCapacityUnitType to vcpu or\n memory-mib, the price protection threshold is applied based on the\n per-vCPU or per-memory price instead of the per-instance price.

\n
\n

Default: 20\n

", "smithy.api#xmlName": "onDemandMaxPricePercentageOverLowestPrice" } @@ -59564,8 +57762,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "RequireHibernateSupport", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether instance types must support hibernation for On-Demand\n Instances.

\n

This parameter is not supported for GetSpotPlacementScores.

\n

Default: false\n

", "smithy.api#xmlName": "requireHibernateSupport" } @@ -59720,16 +57916,12 @@ "SpotMaxPricePercentageOverLowestPrice": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The price protection threshold for Spot Instance. This is the maximum you’ll pay for an Spot Instance,\n expressed as a percentage above the least expensive current generation M, C, or R instance type with your specified\n attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance\n types priced above your threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

To turn off price protection, specify a high value, such as 999999.

\n

This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements.

\n \n

If you set TargetCapacityUnitType to vcpu or\n memory-mib, the price protection threshold is applied based on the\n per-vCPU or per-memory price instead of the per-instance price.

\n
\n

Default: 100\n

" } }, "OnDemandMaxPricePercentageOverLowestPrice": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance,\n expressed as a percentage above the least expensive current generation M, C, or R instance type with your specified\n attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance\n types priced above your threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

To turn off price protection, specify a high value, such as 999999.

\n

This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements.

\n \n

If you set TargetCapacityUnitType to vcpu or\n memory-mib, the price protection threshold is applied based on the\n per-vCPU or per-memory price instead of the per-instance price.

\n
\n

Default: 20\n

" } }, @@ -59748,8 +57940,6 @@ "RequireHibernateSupport": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether instance types must support hibernation for On-Demand Instances.

\n

This parameter is not supported for GetSpotPlacementScores.

\n

Default: false\n

" } }, @@ -59877,8 +58067,6 @@ "ExcludeBootVolume": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Excludes the root volume from being snapshotted.

" } }, @@ -59901,8 +58089,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Code", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The state of the instance as a 16-bit unsigned integer.

\n

The high byte is all of the bits between 2^8 and (2^16)-1, which equals decimal values\n between 256 and 65,535. These numerical values are used for internal purposes and should\n be ignored.

\n

The low byte is all of the bits between 2^0 and (2^8)-1, which equals decimal values\n between 0 and 255.

\n

The valid values for instance-state-code will all be in the range of the low byte and\n they are:

\n \n

You can ignore the high byte value by zeroing out all of the bits above 2^8 or 256 in\n decimal.

", "smithy.api#xmlName": "code" } @@ -60289,8 +58475,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IncludeAllTagsOfInstance", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates wheter all tag keys in the current Region are registered to appear in scheduled event notifications. \n \ttrue indicates that all tag keys in the current Region are registered.

", "smithy.api#xmlName": "includeAllTagsOfInstance" } @@ -65289,8 +63473,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "UsedInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

", "smithy.api#xmlName": "usedInstanceCount" } @@ -65310,10 +63492,7 @@ } }, "com.amazonaws.ec2#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.ec2#IntegerWithConstraints": { "type": "integer", @@ -65524,8 +63703,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the start of the port range.\n If the protocol is ICMP or ICMPv6, this is the type number. A value of -1 indicates all ICMP/ICMPv6 types. \n If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.

", "smithy.api#xmlName": "fromPort" } @@ -65566,8 +63743,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the end of the port range.\n If the protocol is ICMP or ICMPv6, this is the code. A value of -1 indicates all ICMP/ICMPv6 codes. \n If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.

", "smithy.api#xmlName": "toPort" } @@ -65700,8 +63875,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ScopeCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of scopes in the IPAM. The scope quota is 5. For more information on quotas, see Quotas in IPAM in the Amazon VPC IPAM User Guide.\n

", "smithy.api#xmlName": "scopeCount" } @@ -65758,8 +63931,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ResourceDiscoveryAssociationCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IPAM's resource discovery association count.

", "smithy.api#xmlName": "resourceDiscoveryAssociationCount" } @@ -65772,7 +63943,6 @@ "com.amazonaws.ec2#IpamAddressHistoryMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -66215,7 +64385,6 @@ "com.amazonaws.ec2#IpamMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -66225,7 +64394,6 @@ "com.amazonaws.ec2#IpamNetmaskLength": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 128 @@ -66359,8 +64527,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PoolDepth", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The depth of pools in your IPAM pool. The pool depth quota is 10. For more information, see Quotas in IPAM in the Amazon VPC IPAM User Guide.\n

", "smithy.api#xmlName": "poolDepth" } @@ -66393,8 +64559,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AutoImport", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If selected, IPAM will continuously look for resources within the CIDR range of this pool \n and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for\n these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import \n a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently \n marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM \n discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.\n

\n

A locale must be set on the pool for this feature to work.

", "smithy.api#xmlName": "autoImport" } @@ -66403,8 +64567,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PubliclyAdvertisable", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Determines if a pool is publicly advertisable. This option is not available for pools with AddressFamily set to ipv4.

", "smithy.api#xmlName": "publiclyAdvertisable" } @@ -66421,8 +64583,6 @@ "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { "aws.protocols#ec2QueryName": "AllocationMinNetmaskLength", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. The minimum netmask length must be less than the maximum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

", "smithy.api#xmlName": "allocationMinNetmaskLength" } @@ -66431,8 +64591,6 @@ "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { "aws.protocols#ec2QueryName": "AllocationMaxNetmaskLength", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. The maximum netmask length must be greater than the minimum netmask length. Possible netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.

", "smithy.api#xmlName": "allocationMaxNetmaskLength" } @@ -66441,8 +64599,6 @@ "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { "aws.protocols#ec2QueryName": "AllocationDefaultNetmaskLength", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and \n you enter 16 here, new allocations will default to 10.0.0.0/16.

", "smithy.api#xmlName": "allocationDefaultNetmaskLength" } @@ -66648,8 +64804,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "NetmaskLength", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. \"NetmaskLength\" or \"Cidr\" is required.

", "smithy.api#xmlName": "netmaskLength" } @@ -67063,8 +65217,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Defines if the resource discovery is the default. The default resource discovery is the resource discovery automatically created when you create an IPAM.

", "smithy.api#xmlName": "isDefault" } @@ -67153,8 +65305,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Defines if the resource discovery is the default. When you create an IPAM, a default resource discovery is created for your IPAM and it's associated with your IPAM.

", "smithy.api#xmlName": "isDefault" } @@ -67471,8 +65621,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Defines if the scope is the default scope or not.

", "smithy.api#xmlName": "isDefault" } @@ -67489,8 +65637,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PoolCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of pools in the scope.

", "smithy.api#xmlName": "poolCount" } @@ -67915,7 +66061,6 @@ "com.amazonaws.ec2#Ipv6PoolMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -68374,8 +66519,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

\n

Default: false\n

", "smithy.api#xmlName": "ebsOptimized" } @@ -68512,8 +66655,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "DefaultVersionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the default version of the launch template.

", "smithy.api#xmlName": "defaultVersionNumber" } @@ -68522,8 +66663,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "LatestVersionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the latest version of the launch template.

", "smithy.api#xmlName": "latestVersionNumber" } @@ -68756,8 +66895,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "CoreCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU cores for the instance.

", "smithy.api#xmlName": "coreCount" } @@ -68766,8 +66903,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ThreadsPerCore", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of threads per CPU core.

", "smithy.api#xmlName": "threadsPerCore" } @@ -68791,16 +66926,12 @@ "CoreCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU cores for the instance.

" } }, "ThreadsPerCore": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of threads per CPU core. To disable multithreading for the instance,\n specify a value of 1. Otherwise, specify the default value of\n 2.

" } }, @@ -68822,8 +66953,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the EBS volume is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -68832,8 +66961,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the EBS volume is deleted on instance termination.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -68842,8 +66969,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Iops", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of I/O operations per second (IOPS) that the volume supports.

", "smithy.api#xmlName": "iops" } @@ -68868,8 +66993,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VolumeSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

", "smithy.api#xmlName": "volumeSize" } @@ -68886,8 +67009,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Throughput", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The throughput that the volume supports, in MiB/s.

", "smithy.api#xmlName": "throughput" } @@ -68903,24 +67024,18 @@ "Encrypted": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the EBS volume is encrypted. Encrypted volumes can only be attached\n to instances that support Amazon EBS encryption. If you are creating a volume from a\n snapshot, you can't specify an encryption value.

" } }, "DeleteOnTermination": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the EBS volume is deleted on instance termination.

" } }, "Iops": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of I/O operations per second (IOPS). For gp3,\n io1, and io2 volumes, this represents the number of IOPS that\n are provisioned for the volume. For gp2 volumes, this represents the\n baseline performance of the volume and the rate at which the volume accumulates I/O\n credits for bursting.

\n

The following are the supported values for each volume type:

\n \n

For io1 and io2 volumes, we guarantee\n 64,000 IOPS only for Instances built on the\n Nitro System. Other instance families guarantee performance up to\n 32,000 IOPS.

\n

This parameter is supported for io1, io2, and gp3 volumes only. This parameter\n is not supported for gp2, st1, sc1, or standard volumes.

" } }, @@ -68939,8 +67054,6 @@ "VolumeSize": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiBs. You must specify either a snapshot ID or a volume\n size. The following are the supported volumes sizes for each volume type:

\n " } }, @@ -68953,8 +67066,6 @@ "Throughput": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The throughput to provision for a gp3 volume, with a maximum of 1,000\n MiB/s.

\n

Valid Range: Minimum value of 125. Maximum value of 1000.

" } } @@ -68977,8 +67088,6 @@ "Count": { "target": "com.amazonaws.ec2#LaunchTemplateElasticInferenceAcceleratorCount", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of elastic inference accelerators to attach to the instance.

\n

Default: 1

" } } @@ -68990,7 +67099,6 @@ "com.amazonaws.ec2#LaunchTemplateElasticInferenceAcceleratorCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -69020,8 +67128,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Count", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of elastic inference accelerators to attach to the instance.

\n

Default: 1

", "smithy.api#xmlName": "count" } @@ -69047,8 +67153,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If this parameter is set to true, the instance is enabled for Amazon Web Services Nitro\n Enclaves; otherwise, it is not enabled for Amazon Web Services Nitro Enclaves.

", "smithy.api#xmlName": "enabled" } @@ -69064,8 +67168,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

To enable the instance for Amazon Web Services Nitro Enclaves, set this parameter to\n true.

" } } @@ -69122,8 +67224,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Configured", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If this parameter is set to true, the instance is enabled for\n hibernation; otherwise, it is not enabled for hibernation.

", "smithy.api#xmlName": "configured" } @@ -69139,8 +67239,6 @@ "Configured": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If you set this parameter to true, the instance is enabled for\n hibernation.

\n

Default: false\n

" } } @@ -69336,8 +67434,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "HttpPutResponseHopLimit", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.

\n

Default: 1

\n

Possible values: Integers from 1 to 64

", "smithy.api#xmlName": "httpPutResponseHopLimit" } @@ -69383,8 +67479,6 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.

\n

Default: 1\n

\n

Possible values: Integers from 1 to 64

" } }, @@ -69469,8 +67563,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AssociateCarrierIpAddress", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to associate a Carrier IP address with eth0 for a new network\n interface.

\n

Use this option when you launch an instance in a Wavelength Zone and want to associate\n a Carrier IP address with the network interface. For more information about Carrier IP\n addresses, see Carrier IP addresses in the Wavelength Developer\n Guide.

", "smithy.api#xmlName": "associateCarrierIpAddress" } @@ -69479,8 +67571,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AssociatePublicIpAddress", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to associate a public IPv4 address with eth0 for a new network\n interface.

", "smithy.api#xmlName": "associatePublicIpAddress" } @@ -69489,8 +67579,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is\n terminated.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -69507,8 +67595,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "DeviceIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The device index for the network interface attachment.

", "smithy.api#xmlName": "deviceIndex" } @@ -69533,8 +67619,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Ipv6AddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 addresses for the network interface.

", "smithy.api#xmlName": "ipv6AddressCount" } @@ -69575,8 +67659,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SecondaryPrivateIpAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of secondary private IPv4 addresses for the network interface.

", "smithy.api#xmlName": "secondaryPrivateIpAddressCount" } @@ -69593,8 +67675,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "NetworkCardIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card.

", "smithy.api#xmlName": "networkCardIndex" } @@ -69611,8 +67691,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Ipv4PrefixCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network\n interface.

", "smithy.api#xmlName": "ipv4PrefixCount" } @@ -69629,8 +67707,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Ipv6PrefixCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network\n interface.

", "smithy.api#xmlName": "ipv6PrefixCount" } @@ -69639,8 +67715,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PrimaryIpv6", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

", "smithy.api#xmlName": "primaryIpv6" } @@ -69665,24 +67739,18 @@ "AssociateCarrierIpAddress": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Associates a Carrier IP address with eth0 for a new network interface.

\n

Use this option when you launch an instance in a Wavelength Zone and want to associate\n a Carrier IP address with the network interface. For more information about Carrier IP\n addresses, see Carrier IP addresses in the Wavelength Developer\n Guide.

" } }, "AssociatePublicIpAddress": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Associates a public IPv4 address with eth0 for a new network interface.

" } }, "DeleteOnTermination": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is\n terminated.

" } }, @@ -69695,8 +67763,6 @@ "DeviceIndex": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The device index for the network interface attachment.

" } }, @@ -69716,8 +67782,6 @@ "Ipv6AddressCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 addresses to assign to a network interface. Amazon EC2\n automatically selects the IPv6 addresses from the subnet range. You can't use this\n option if specifying specific IPv6 addresses.

" } }, @@ -69748,8 +67812,6 @@ "SecondaryPrivateIpAddressCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of secondary private IPv4 addresses to assign to a network\n interface.

" } }, @@ -69762,8 +67824,6 @@ "NetworkCardIndex": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card. Some instance types support multiple network cards. The\n primary network interface must be assigned to network card index 0. The default is\n network card index 0.

" } }, @@ -69777,8 +67837,6 @@ "Ipv4PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv4 prefixes to be automatically assigned to the network interface. You\n cannot use this option if you use the Ipv4Prefix option.

" } }, @@ -69792,16 +67850,12 @@ "Ipv6PrefixCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 prefixes to be automatically assigned to the network interface. You\n cannot use this option if you use the Ipv6Prefix option.

" } }, "PrimaryIpv6": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

" } } @@ -69925,8 +67979,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "WeightedCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units provided by the specified instance type.

", "smithy.api#xmlName": "weightedCapacity" } @@ -69935,8 +67987,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Priority", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The priority for the launch template override. The highest priority is launched\n first.

\n

If OnDemandAllocationStrategy is set to prioritized, Spot Fleet\n uses priority to determine which launch template override to use first in fulfilling\n On-Demand capacity.

\n

If the Spot AllocationStrategy is set to\n capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis\n to determine which launch template override to use in fulfilling Spot capacity, but\n optimizes for capacity first.

\n

Valid values are whole numbers starting at 0. The lower the number, the\n higher the priority. If no number is set, the launch template override has the lowest\n priority. You can set the same priority for different launch template overrides.

", "smithy.api#xmlName": "priority" } @@ -70026,8 +68076,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PartitionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the partition the instance should launch in. Valid only if the placement\n group strategy is set to partition.

", "smithy.api#xmlName": "partitionNumber" } @@ -70093,8 +68141,6 @@ "PartitionNumber": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the partition the instance should launch in. Valid only if the placement\n group strategy is set to partition.

" } }, @@ -70124,8 +68170,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableResourceNameDnsARecord", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A\n records.

", "smithy.api#xmlName": "enableResourceNameDnsARecord" } @@ -70134,8 +68178,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableResourceNameDnsAAAARecord", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA\n records.

", "smithy.api#xmlName": "enableResourceNameDnsAAAARecord" } @@ -70157,16 +68199,12 @@ "EnableResourceNameDnsARecord": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A\n records.

" } }, "EnableResourceNameDnsAAAARecord": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA\n records.

" } } @@ -70233,8 +68271,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "BlockDurationMinutes", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The required duration for the Spot Instances (also known as Spot blocks), in minutes.\n This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

", "smithy.api#xmlName": "blockDurationMinutes" } @@ -70278,8 +68314,6 @@ "BlockDurationMinutes": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated.

" } }, @@ -70386,8 +68420,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "VersionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

", "smithy.api#xmlName": "versionNumber" } @@ -70420,8 +68452,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DefaultVersion", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the version is the default version.

", "smithy.api#xmlName": "defaultVersion" } @@ -70455,8 +68485,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is\n enabled.

", "smithy.api#xmlName": "enabled" } @@ -70472,8 +68500,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specify true to enable detailed monitoring. Otherwise, basic monitoring\n is enabled.

" } } @@ -70582,8 +68608,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -70668,8 +68692,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -70932,7 +68954,6 @@ "com.amazonaws.ec2#LocalGatewayMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -71432,8 +69453,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Vlan", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

", "smithy.api#xmlName": "vlan" } @@ -71458,8 +69477,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "LocalBgpAsn", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway.

", "smithy.api#xmlName": "localBgpAsn" } @@ -71468,8 +69485,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PeerBgpAsn", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The peer BGP ASN.

", "smithy.api#xmlName": "peerBgpAsn" } @@ -71690,10 +69705,7 @@ } }, "com.amazonaws.ec2#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.ec2#MaintenanceDetails": { "type": "structure", @@ -71782,8 +69794,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxEntries", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of entries for the prefix list.

", "smithy.api#xmlName": "maxEntries" } @@ -71792,8 +69802,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Version", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version of the prefix list.

", "smithy.api#xmlName": "version" } @@ -71854,7 +69862,6 @@ "com.amazonaws.ec2#MaxResultsParam": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -71900,8 +69907,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of memory per vCPU, in GiB. If this parameter is not specified, there is\n no minimum limit.

", "smithy.api#xmlName": "min" } @@ -71910,8 +69915,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of memory per vCPU, in GiB. If this parameter is not specified, there is\n no maximum limit.

", "smithy.api#xmlName": "max" } @@ -71927,16 +69930,12 @@ "Min": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, omit this\n parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, omit this\n parameter.

" } } @@ -71968,8 +69967,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of memory, in MiB. If this parameter is not specified, there is no minimum\n limit.

", "smithy.api#xmlName": "min" } @@ -71978,8 +69975,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of memory, in MiB. If this parameter is not specified, there is no\n maximum limit.

", "smithy.api#xmlName": "max" } @@ -71996,7 +69991,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of memory, in MiB. To specify no minimum limit, specify\n 0.

", "smithy.api#required": {} } @@ -72004,8 +69998,6 @@ "Max": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of memory, in MiB. To specify no maximum limit, omit this\n parameter.

" } } @@ -72040,8 +70032,6 @@ "target": "com.amazonaws.ec2#Float", "traits": { "aws.protocols#ec2QueryName": "Value", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#xmlName": "value" } }, @@ -72113,8 +70103,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -72173,8 +70161,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -72190,8 +70176,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds, and an error otherwise.

", "smithy.api#xmlName": "return" } @@ -72256,8 +70240,6 @@ "TotalTargetCapacity": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of capacity units to be reserved by the Capacity Reservation Fleet. This value, \n\t\t\ttogether with the instance type weights that you assign to each instance type used by the Fleet \n\t\t\tdetermine the number of instances for which the Fleet reserves capacity. Both values are based on \n\t\t\tunits that make sense for your workload. For more information, see Total target capacity \n\t\t\tin the Amazon EC2 User Guide.

" } }, @@ -72270,16 +70252,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, "RemoveEndDate": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to remove the end date from the Capacity Reservation Fleet. If you remove the \n\t\t\tend date, the Capacity Reservation Fleet does not expire and it remains active until you explicitly \n\t\t\tcancel it using the CancelCapacityReservationFleet action.

\n

You can't specify RemoveEndDate and \n\t\t\tEndDate in the same request.

" } } @@ -72295,8 +70273,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -72320,8 +70296,6 @@ "InstanceCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances for which to reserve capacity. The number of instances can't be increased or \n\t\t \tdecreased by more than 1000 in a single request.

" } }, @@ -72340,16 +70314,12 @@ "Accept": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Reserved. Capacity Reservations you have created are accepted by default.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -72371,8 +70341,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -72426,8 +70394,6 @@ "VpnPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The port number to assign to the Client VPN endpoint for TCP and UDP traffic.

\n

Valid Values: 443 | 1194\n

\n

Default Value: 443\n

" } }, @@ -72440,16 +70406,12 @@ "SplitTunnel": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the VPN is split-tunnel.

\n

For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the \n \tClient VPN Administrator Guide.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } }, @@ -72481,8 +70443,6 @@ "SessionTimeoutHours": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum VPN session duration time in hours.

\n

Valid values: 8 | 10 | 12 | 24\n

\n

Default value: 24\n

" } }, @@ -72504,8 +70464,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -72533,8 +70491,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -72601,8 +70557,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -72645,8 +70599,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -72695,8 +70647,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If the request succeeds, the response returns true. If the request fails,\n no response is returned, and instead an error message is returned.

", "smithy.api#xmlName": "return" } @@ -72724,8 +70674,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -72922,7 +70870,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicate whether the resource should use longer IDs (17-character IDs).

", "smithy.api#required": {} } @@ -72972,7 +70919,6 @@ "traits": { "aws.protocols#ec2QueryName": "UseLongIds", "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the resource should use longer IDs (17-character IDs)

", "smithy.api#required": {}, "smithy.api#xmlName": "useLongIds" @@ -73078,8 +71024,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -73172,8 +71116,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -73312,8 +71254,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -73329,8 +71269,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -73358,8 +71296,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -73425,8 +71361,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -73493,8 +71427,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -73578,8 +71510,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -73644,8 +71574,6 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel. If no parameter is specified,\n the existing state is maintained.

\n

Possible values: Integers from 1 to 64

" } }, @@ -73658,8 +71586,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -73762,8 +71688,6 @@ "PartitionNumber": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the partition in which to place the instance. Valid only if the\n placement group strategy is set to partition.

" } }, @@ -73791,8 +71715,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds, and an error otherwise.

", "smithy.api#xmlName": "return" } @@ -73832,8 +71754,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -73854,40 +71774,30 @@ "AutoImport": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, IPAM will continuously look for resources within the CIDR range of this pool \n and automatically import them as allocations into your IPAM. The CIDRs that will be allocated for\n these resources must not already be allocated to other resources in order for the import to succeed. IPAM will import \n a CIDR regardless of its compliance with the pool's allocation rules, so a resource might be imported and subsequently \n marked as noncompliant. If IPAM discovers multiple CIDRs that overlap, IPAM will import the largest CIDR only. If IPAM \n discovers multiple CIDRs with matching CIDRs, IPAM will randomly import one of them only.\n

\n

A locale must be set on the pool for this feature to work.

" } }, "AllocationMinNetmaskLength": { "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum netmask length required for CIDR allocations in this IPAM pool to be compliant. Possible \n netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128. The minimum netmask \n length must be less than the maximum netmask length.

" } }, "AllocationMaxNetmaskLength": { "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum netmask length possible for CIDR allocations in this IPAM pool to be compliant. Possible \n netmask lengths for IPv4 addresses are 0 - 32. Possible netmask lengths for IPv6 addresses are 0 - 128.The maximum netmask \n length must be greater than the minimum netmask length.

" } }, "AllocationDefaultNetmaskLength": { "target": "com.amazonaws.ec2#IpamNetmaskLength", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The default netmask length for allocations added to this pool. If, for example, the CIDR assigned to this pool is 10.0.0.0/8 and you enter 16 here, new allocations will default to 10.0.0.0/16.

" } }, "ClearAllocationDefaultNetmaskLength": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Clear the default netmask length allocation rule for this pool.

" } }, @@ -73932,8 +71842,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -73988,8 +71896,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -74035,7 +71941,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.

", "smithy.api#required": {} } @@ -74079,8 +71984,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -74167,8 +72070,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -74245,8 +72146,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -74340,8 +72239,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -74390,8 +72287,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -74406,8 +72301,6 @@ "CurrentVersion": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the prefix list.

" } }, @@ -74434,8 +72327,6 @@ "MaxEntries": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of entries for the prefix list. You cannot modify the entries \n of a prefix list and modify the size of a prefix list at the same time.

\n

If any of the resources that reference the prefix list cannot support the new\n maximum size, the modify operation fails. Check the state message for the IDs of \n the first ten resources that do not support the new maximum size.

" } } @@ -74508,8 +72399,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -74548,8 +72437,6 @@ "EnablePrimaryIpv6": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If you’re modifying a network interface in a dual-stack or IPv6-only subnet, you have\n the option to assign a primary IPv6 IP address. A primary IPv6 address is an IPv6 GUA\n address associated with an ENI that you have enabled to use a primary IPv6 address. Use\n this option if the instance that this ENI will be attached to relies on its IPv6 address\n not changing. Amazon Web Services will automatically assign an IPv6 address associated\n with the ENI attached to your instance to be the primary IPv6 address. Once you enable\n an IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6\n GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6\n address until the instance is terminated or the network interface is detached. If you\n have multiple IPv6 addresses associated with an ENI attached to your instance and you\n enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI\n becomes the primary IPv6 address.

" } } @@ -74577,8 +72464,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, @@ -74599,16 +72484,12 @@ "EnableResourceNameDnsARecord": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A\n records.

" } }, "EnableResourceNameDnsAAAARecord": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA\n records.

" } } @@ -74624,8 +72505,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an\n error.

", "smithy.api#xmlName": "return" } @@ -74734,8 +72613,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -74751,8 +72628,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -74836,8 +72711,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -74879,8 +72752,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -74970,8 +72841,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the fleet.

", "smithy.api#xmlName": "targetCapacity" } @@ -74979,8 +72848,6 @@ "OnDemandTargetCapacity": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of On-Demand Instances in the fleet.

" } }, @@ -75003,8 +72870,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If the request succeeds, the response returns true. If the request fails,\n no response is returned, and instead an error message is returned.

", "smithy.api#xmlName": "return" } @@ -75103,8 +72968,6 @@ "EnableLniAtDeviceIndex": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the device position for local network interfaces in this subnet. For example, \n 1 indicates local network interfaces in this subnet are the secondary \n network interface (eth1). A local network interface cannot be the primary network\n interface (eth0).\n

" } }, @@ -75159,8 +73022,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75217,8 +73078,6 @@ "RuleNumber": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given\n direction. The rules are processed in ascending order by rule number.

" } }, @@ -75243,8 +73102,6 @@ "Protocol": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The protocol, for example TCP, to assign to the Traffic Mirror rule.

" } }, @@ -75276,8 +73133,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75340,24 +73195,18 @@ "PacketLength": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

\n

For sessions with Network Load Balancer (NLB) traffic mirror targets, the default PacketLength will be set to 8500. Valid values are 1-8500. Setting a PacketLength greater than 8500 will result in an error response.

" } }, "SessionNumber": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

\n

Valid values are 1-32766.

" } }, "VirtualNetworkId": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The virtual network ID of the Traffic Mirror session.

" } }, @@ -75377,8 +73226,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75475,8 +73322,6 @@ "AmazonSideAsn": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. \n The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.

\n

The modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.

" } } @@ -75525,16 +73370,12 @@ "Blackhole": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to drop traffic that matches this route.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75585,8 +73426,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75655,8 +73494,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75731,8 +73568,6 @@ "Port": { "target": "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IP port number.

" } } @@ -75760,8 +73595,6 @@ "Port": { "target": "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IP port number.

" } } @@ -75796,8 +73629,6 @@ "PolicyEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The status of the Verified Access policy.

" } }, @@ -75817,8 +73648,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -75840,8 +73669,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PolicyEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The status of the Verified Access policy.

", "smithy.api#xmlName": "policyEnabled" } @@ -75912,8 +73739,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -75985,8 +73810,6 @@ "PolicyEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The status of the Verified Access policy.

" } }, @@ -76006,8 +73829,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76029,8 +73850,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PolicyEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The status of the Verified Access policy.

", "smithy.api#xmlName": "policyEnabled" } @@ -76089,8 +73908,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -76161,8 +73978,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76214,8 +74029,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76335,8 +74148,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76433,8 +74244,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -76450,8 +74259,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76466,8 +74273,6 @@ "Size": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target size of the volume, in GiB. The target volume size must be greater than or\n equal to the existing size of the volume.

\n

The following are the supported volumes sizes for each volume type:

\n \n

Default: The existing size is retained.

" } }, @@ -76480,24 +74285,18 @@ "Iops": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes.

\n

The following are the supported values for each volume type:

\n \n

Default: The existing value is retained if you keep the same volume type. If you change\n the volume type to io1, io2, or gp3, the default is 3,000.

" } }, "Throughput": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes. \n The maximum value is 1,000.

\n

Default: The existing value is retained if the source and target volume type is gp3.\n Otherwise, the default value is 125.

\n

Valid Range: Minimum value of 125. Maximum value of 1000.

" } }, "MultiAttachEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the \n\t\tvolume to up to 16 \n\t\t\tNitro-based instances in the same Availability Zone. This parameter is \n\t\tsupported with io1 and io2 volumes only. For more information, see \n\t\t\n\t\t\tAmazon EBS Multi-Attach in the Amazon Elastic Compute Cloud User Guide.

" } } @@ -76612,8 +74411,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76649,8 +74446,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -76666,8 +74461,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76682,8 +74475,6 @@ "ResetPolicy": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

(Gateway endpoint) Specify true to reset the policy document to the\n default policy. The default policy allows full access to the service.

" } }, @@ -76750,8 +74541,6 @@ "PrivateDnsEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.

" } }, @@ -76774,8 +74563,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -76803,8 +74590,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76825,16 +74610,12 @@ "RemovePrivateDnsName": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

(Interface endpoint configuration) Removes the private DNS name of the endpoint service.

" } }, "AcceptanceRequired": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether requests to create an endpoint to your service must be accepted.

" } }, @@ -76892,8 +74673,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -76921,8 +74700,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -76954,8 +74731,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -76983,8 +74758,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -77028,8 +74801,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -77063,8 +74834,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -77145,8 +74914,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -77162,8 +74929,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an\n error.

", "smithy.api#xmlName": "return" } @@ -77235,8 +75000,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -77293,8 +75056,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -77353,8 +75114,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } } @@ -77421,16 +75180,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

" } }, "SkipTunnelReplacement": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Choose whether or not to trigger immediate tunnel replacement.

\n

Valid values: True | False\n

" } } @@ -77479,48 +75234,36 @@ "Phase1LifetimeSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 1 of the IKE negotiation, in seconds.

\n

Constraints: A value between 900 and 28,800.

\n

Default: 28800\n

" } }, "Phase2LifetimeSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 2 of the IKE negotiation, in seconds.

\n

Constraints: A value between 900 and 3,600. The value must be less than the value for\n Phase1LifetimeSeconds.

\n

Default: 3600\n

" } }, "RekeyMarginTimeSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The margin time, in seconds, before the phase 2 lifetime expires, during which the\n Amazon Web Services side of the VPN connection performs an IKE rekey. The exact time\n of the rekey is randomly selected based on the value for\n RekeyFuzzPercentage.

\n

Constraints: A value between 60 and half of Phase2LifetimeSeconds.

\n

Default: 540\n

" } }, "RekeyFuzzPercentage": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the rekey window (determined by RekeyMarginTimeSeconds)\n during which the rekey time is randomly selected.

\n

Constraints: A value between 0 and 100.

\n

Default: 100\n

" } }, "ReplayWindowSize": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of packets in an IKE replay window.

\n

Constraints: A value between 64 and 2048.

\n

Default: 1024\n

" } }, "DPDTimeoutSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which a DPD timeout occurs.

\n

Constraints: A value greater than or equal to 30.

\n

Default: 30\n

" } }, @@ -77594,8 +75337,6 @@ "EnableTunnelLifecycleControl": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Turn on or off tunnel endpoint lifecycle control feature.

" } } @@ -77633,8 +75374,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -77736,8 +75475,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -77799,8 +75536,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -78067,8 +75802,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsPrimary", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Defines if the IP address is the primary address.

", "smithy.api#xmlName": "isPrimary" } @@ -78226,8 +75959,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Default", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the default network ACL for the VPC.

", "smithy.api#xmlName": "default" } @@ -78328,8 +76059,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Egress", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

", "smithy.api#xmlName": "egress" } @@ -78378,8 +76107,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "RuleNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number for the entry. ACL entries are processed in ascending order by rule number.

", "smithy.api#xmlName": "ruleNumber" } @@ -78426,8 +76153,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no minimum\n limit.

", "smithy.api#xmlName": "min" } @@ -78436,8 +76161,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of network bandwidth, in Gbps. If this parameter is not specified, there is no\n maximum limit.

", "smithy.api#xmlName": "max" } @@ -78453,16 +76176,12 @@ "Min": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of network bandwidth, in Gbps. To specify no minimum limit, omit this\n parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of network bandwidth, in Gbps. To specify no maximum limit, omit this\n parameter.

" } } @@ -78770,8 +76489,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AnalyzedEniCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of network interfaces analyzed.

", "smithy.api#xmlName": "analyzedEniCount" } @@ -78942,8 +76659,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "NetworkPathFound", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the destination is reachable from the source.

", "smithy.api#xmlName": "networkPathFound" } @@ -79025,7 +76740,6 @@ "com.amazonaws.ec2#NetworkInsightsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -79119,8 +76833,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "DestinationPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The destination port.

", "smithy.api#xmlName": "destinationPort" } @@ -79321,8 +77033,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "RequesterManaged", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is being managed by Amazon Web Services.

", "smithy.api#xmlName": "requesterManaged" } @@ -79331,8 +77041,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SourceDestCheck", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether source/destination checking is enabled.

", "smithy.api#xmlName": "sourceDestCheck" } @@ -79373,8 +77081,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DenyAllIgwTraffic", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a network interface with an IPv6 address is unreachable from the \n public internet. If the value is true, inbound traffic from the internet \n is dropped and you cannot assign an elastic IP address to the network interface. The \n network interface is reachable from peered VPCs and resources connected through a \n transit gateway, including on-premises networks.

", "smithy.api#xmlName": "denyAllIgwTraffic" } @@ -79383,8 +77089,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Ipv6Native", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is an IPv6 only network interface.

", "smithy.api#xmlName": "ipv6Native" } @@ -79489,8 +77193,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is terminated.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -79499,8 +77201,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "DeviceIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The device index of the network interface attachment on the instance.

", "smithy.api#xmlName": "deviceIndex" } @@ -79509,8 +77209,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "NetworkCardIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the network card.

", "smithy.api#xmlName": "networkCardIndex" } @@ -79567,8 +77265,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is terminated.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -79617,8 +77313,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of network interfaces. If this parameter is not specified, there is no\n minimum limit.

", "smithy.api#xmlName": "min" } @@ -79627,8 +77321,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of network interfaces. If this parameter is not specified, there is no\n maximum limit.

", "smithy.api#xmlName": "max" } @@ -79644,16 +77336,12 @@ "Min": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of network interfaces. To specify no minimum limit, omit this\n parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of network interfaces. To specify no maximum limit, omit this\n parameter.

" } } @@ -79721,8 +77409,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsPrimaryIpv6", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see ModifyNetworkInterfaceAttribute.

", "smithy.api#xmlName": "isPrimaryIpv6" } @@ -79892,8 +77578,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Primary", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this IPv4 address is the primary private IPv4 address of the network interface.

", "smithy.api#xmlName": "primary" } @@ -80353,8 +78037,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SingleInstanceType", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the\n fleet.

\n

Supported only for fleets of type instant.

", "smithy.api#xmlName": "singleInstanceType" } @@ -80363,8 +78045,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SingleAvailabilityZone", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.

\n

Supported only for fleets of type instant.

", "smithy.api#xmlName": "singleAvailabilityZone" } @@ -80373,8 +78053,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MinTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is\n not reached, the fleet launches no instances.

\n

Supported only for fleets of type instant.

\n

At least one of the following must be specified: SingleAvailabilityZone |\n SingleInstanceType\n

", "smithy.api#xmlName": "minTargetCapacity" } @@ -80410,24 +78088,18 @@ "SingleInstanceType": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet uses a single instance type to launch all On-Demand Instances in the\n fleet.

\n

Supported only for fleets of type instant.

" } }, "SingleAvailabilityZone": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet launches all On-Demand Instances into a single Availability Zone.

\n

Supported only for fleets of type instant.

" } }, "MinTargetCapacity": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is\n not reached, the fleet launches no instances.

\n

Supported only for fleets of type instant.

\n

At least one of the following must be specified: SingleAvailabilityZone |\n SingleInstanceType\n

" } }, @@ -80655,8 +78327,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SequenceNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The sequence number.

", "smithy.api#xmlName": "sequenceNumber" } @@ -81043,8 +78713,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowDnsResolutionFromRemoteVpc", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, the public DNS hostnames of instances in the specified VPC resolve to private\n IP addresses when queried from instances in the peer VPC.

", "smithy.api#xmlName": "allowDnsResolutionFromRemoteVpc" } @@ -81053,8 +78721,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowEgressFromLocalClassicLinkToRemoteVpc", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Deprecated.

", "smithy.api#xmlName": "allowEgressFromLocalClassicLinkToRemoteVpc" } @@ -81063,8 +78729,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowEgressFromLocalVpcToRemoteClassicLink", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Deprecated.

", "smithy.api#xmlName": "allowEgressFromLocalVpcToRemoteClassicLink" } @@ -81080,24 +78744,18 @@ "AllowDnsResolutionFromRemoteVpc": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If true, enables a local VPC to resolve public DNS hostnames to private IP addresses \n when queried from instances in the peer VPC.

" } }, "AllowEgressFromLocalClassicLinkToRemoteVpc": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Deprecated.

" } }, "AllowEgressFromLocalVpcToRemoteClassicLink": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Deprecated.

" } } @@ -81214,8 +78872,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Value", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The Diffie-Hellmann group number.

", "smithy.api#xmlName": "value" } @@ -81240,8 +78896,6 @@ "Value": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The Diffie-Hellmann group number.

" } } @@ -81362,8 +79016,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Value", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The Diffie-Hellmann group number.

", "smithy.api#xmlName": "value" } @@ -81388,8 +79040,6 @@ "Value": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The Diffie-Hellmann group number.

" } } @@ -81525,8 +79175,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PartitionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the partition that the instance is in. Valid only if the placement group\n strategy is set to partition.

\n

This parameter is not supported for CreateFleet.

", "smithy.api#xmlName": "partitionNumber" } @@ -81607,8 +79255,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PartitionCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions. Valid only if strategy is\n set to partition.

", "smithy.api#xmlName": "partitionCount" } @@ -81841,7 +79487,6 @@ "com.amazonaws.ec2#PoolMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -81851,7 +79496,6 @@ "com.amazonaws.ec2#Port": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -81865,8 +79509,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "From", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the range.

", "smithy.api#xmlName": "from" } @@ -81875,8 +79517,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "To", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the range.

", "smithy.api#xmlName": "to" } @@ -82038,7 +79678,6 @@ "com.amazonaws.ec2#PrefixListMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -82150,8 +79789,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Active", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The current price schedule, as determined by the term remaining for the Reserved Instance in the listing.

\n

A specific price schedule is always in effect, but only one price schedule can be active at any time. Take, for example, a Reserved Instance listing that has five months remaining in its term. When you specify price schedules for five months and two months, this means that schedule 1, covering the first three months of the remaining term, will be active during months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active for months 2 and 1.

", "smithy.api#xmlName": "active" } @@ -82168,8 +79805,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Price", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price for the term.

", "smithy.api#xmlName": "price" } @@ -82178,8 +79813,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Term", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

", "smithy.api#xmlName": "term" } @@ -82213,8 +79846,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Price", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price for the term.

", "smithy.api#xmlName": "price" } @@ -82223,8 +79854,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Term", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

", "smithy.api#xmlName": "term" } @@ -82250,8 +79879,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Count", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of reservations available for the price.

", "smithy.api#xmlName": "count" } @@ -82260,8 +79887,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Price", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The price per instance.

", "smithy.api#xmlName": "price" } @@ -82357,7 +79982,6 @@ "com.amazonaws.ec2#Priority": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": -1, "max": 65535 @@ -82444,8 +80068,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableResourceNameDnsARecord", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A\n records.

", "smithy.api#xmlName": "enableResourceNameDnsARecord" } @@ -82454,8 +80076,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableResourceNameDnsAAAARecord", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostname with DNS AAAA\n records.

", "smithy.api#xmlName": "enableResourceNameDnsAAAARecord" } @@ -82477,16 +80097,12 @@ "EnableResourceNameDnsARecord": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A\n records.

" } }, "EnableResourceNameDnsAAAARecord": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA\n records.

" } } @@ -82510,8 +80126,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableResourceNameDnsARecord", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS A\n records.

", "smithy.api#xmlName": "enableResourceNameDnsARecord" } @@ -82520,8 +80134,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableResourceNameDnsAAAARecord", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA\n records.

", "smithy.api#xmlName": "enableResourceNameDnsAAAARecord" } @@ -82543,7 +80155,6 @@ "com.amazonaws.ec2#PrivateIpAddressCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 31 @@ -82557,8 +80168,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Primary", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the private IPv4 address is the primary private IPv4 address. Only\n one IPv4 address can be designated as primary.

", "smithy.api#xmlName": "primary" } @@ -82739,7 +80348,6 @@ "com.amazonaws.ec2#ProtocolInt": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 255 @@ -82807,8 +80415,6 @@ "PubliclyAdvertisable": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

(IPv6 only) Indicate whether the address range will be publicly advertised to the\n internet.

\n

Default: true

" } }, @@ -82821,8 +80427,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -82836,8 +80440,6 @@ "MultiRegion": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Reserved.

" } } @@ -82880,8 +80482,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -82908,8 +80508,6 @@ "NetmaskLength": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either \"NetmaskLength\" or \"Cidr\" is required.

" } }, @@ -82959,8 +80557,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -82984,7 +80580,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The netmask length of the CIDR you would like to allocate to the public IPv4 pool.

", "smithy.api#required": {} } @@ -83141,8 +80736,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of addresses.

", "smithy.api#xmlName": "totalAddressCount" } @@ -83151,8 +80744,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalAvailableAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of available addresses.

", "smithy.api#xmlName": "totalAvailableAddressCount" } @@ -83210,8 +80801,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of addresses in the range.

", "smithy.api#xmlName": "addressCount" } @@ -83220,8 +80809,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of available addresses in the range.

", "smithy.api#xmlName": "availableAddressCount" } @@ -83264,8 +80851,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Duration", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the reservation's term in seconds.

", "smithy.api#xmlName": "duration" } @@ -83439,7 +81024,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances.

", "smithy.api#required": {} } @@ -83490,7 +81074,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Reserved Instances to purchase.

", "smithy.api#required": {} } @@ -83507,8 +81090,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -83575,8 +81156,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -83711,8 +81290,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -83729,8 +81306,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Amount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of the recurring charge.

", "smithy.api#xmlName": "amount" } @@ -83926,8 +81501,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -83936,8 +81509,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnaSupport", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Set to true to enable enhanced networking with ENA for the AMI and any instances that you launch from the AMI.

\n

This option is supported only for HVM AMIs. Specifying this option with a PV AMI can make instances launched from the AMI unreachable.

", "smithy.api#xmlName": "enaSupport" } @@ -84064,8 +81635,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -84104,8 +81673,6 @@ "IncludeAllTagsOfInstance": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to register all tag keys in the current Region. Specify true \n \tto register all tag keys.

" } }, @@ -84161,8 +81728,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -84227,8 +81792,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -84289,8 +81852,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -84341,8 +81902,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -84393,8 +81952,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -84437,8 +81994,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -84499,8 +82054,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -84527,8 +82080,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -84584,8 +82135,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -84667,8 +82216,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A check for whether you have the required permissions for the action without actually making the request \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -84708,8 +82255,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Success", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the release was successful.

", "smithy.api#xmlName": "success" } @@ -84867,8 +82412,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -84949,8 +82492,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -84960,7 +82501,6 @@ "traits": { "aws.protocols#ec2QueryName": "Egress", "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to replace the egress rule.

\n

Default: If no value is specified, we replace the ingress rule.

", "smithy.api#required": {}, "smithy.api#xmlName": "egress" @@ -85024,7 +82564,6 @@ "traits": { "aws.protocols#ec2QueryName": "RuleNumber", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number of the entry to replace.

", "smithy.api#required": {}, "smithy.api#xmlName": "ruleNumber" @@ -85106,8 +82645,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteReplacedRootVolume", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the original root volume is to be deleted after the root volume \n replacement task completes.

", "smithy.api#xmlName": "deleteReplacedRootVolume" } @@ -85231,8 +82768,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -85270,8 +82805,6 @@ "LocalTarget": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to reset the local route to its default target (local).

" } }, @@ -85380,8 +82913,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -85465,16 +82996,12 @@ "Blackhole": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether traffic matching this route is to be dropped.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -85533,16 +83060,12 @@ "ApplyPendingMaintenance": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Trigger pending tunnel endpoint maintenance.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -85558,8 +83081,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Confirmation of replace tunnel operation.

", "smithy.api#xmlName": "return" } @@ -85672,8 +83193,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -85752,16 +83271,12 @@ "FromPort": { "target": "com.amazonaws.ec2#Port", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the range.

" } }, "ToPort": { "target": "com.amazonaws.ec2#Port", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the range.

" } } @@ -85841,8 +83356,6 @@ "EbsOptimized": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization\n provides dedicated throughput to Amazon EBS and an optimized configuration stack to\n provide optimal Amazon EBS I/O performance. This optimization isn't available with all\n instance types. Additional usage charges apply when using an EBS-optimized\n instance.

" } }, @@ -85905,8 +83418,6 @@ "DisableApiTermination": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If you set this parameter to true, you can't terminate the instance using\n the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after\n launch, use ModifyInstanceAttribute. Alternatively, if you set\n InstanceInitiatedShutdownBehavior to terminate, you can\n terminate the instance by running the shutdown command from the instance.

" } }, @@ -86027,8 +83538,6 @@ "DisableApiStop": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to enable the instance for stop protection. For more information,\n see Stop\n protection in the Amazon Elastic Compute Cloud User Guide.

" } } @@ -86088,8 +83597,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -86179,8 +83686,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "BlockDurationMinutes", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated.

", "smithy.api#xmlName": "blockDurationMinutes" } @@ -86197,8 +83702,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually\n making the request, and provides an error response. If you have the required\n permissions, the error response is DryRunOperation. Otherwise, it is\n UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -86207,8 +83710,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of Spot Instances to launch.

\n

Default: 1

", "smithy.api#xmlName": "instanceCount" } @@ -86332,8 +83833,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

\n

Default: false\n

", "smithy.api#xmlName": "ebsOptimized" } @@ -86532,8 +84031,6 @@ "EbsOptimized": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This \n\t\t\toptimization provides dedicated throughput to Amazon EBS and an optimized configuration stack \n\t\t\tto provide optimal I/O performance. This optimization isn't available with all instance types. Additional \n\t\t\tusage charges apply when using EBS-optimized instance types.

" } }, @@ -86643,8 +84140,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Amount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).

", "smithy.api#xmlName": "amount" } @@ -86751,8 +84246,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Duration", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the Reserved Instance, in seconds.

", "smithy.api#xmlName": "duration" } @@ -86769,8 +84262,6 @@ "target": "com.amazonaws.ec2#Float", "traits": { "aws.protocols#ec2QueryName": "FixedPrice", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The purchase price of the Reserved Instance.

", "smithy.api#xmlName": "fixedPrice" } @@ -86779,8 +84270,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of reservations purchased.

", "smithy.api#xmlName": "instanceCount" } @@ -86829,8 +84318,6 @@ "target": "com.amazonaws.ec2#Float", "traits": { "aws.protocols#ec2QueryName": "UsagePrice", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The usage price of the Reserved Instance, per hour.

", "smithy.api#xmlName": "usagePrice" } @@ -86911,8 +84398,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of modified Reserved Instances.

\n \n

This is a required field for a request.

\n
", "smithy.api#xmlName": "instanceCount" } @@ -87238,8 +84723,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Duration", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the Reserved Instance, in seconds.

", "smithy.api#xmlName": "duration" } @@ -87248,8 +84731,6 @@ "target": "com.amazonaws.ec2#Float", "traits": { "aws.protocols#ec2QueryName": "FixedPrice", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The purchase price of the Reserved Instance.

", "smithy.api#xmlName": "fixedPrice" } @@ -87282,8 +84763,6 @@ "target": "com.amazonaws.ec2#Float", "traits": { "aws.protocols#ec2QueryName": "UsagePrice", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The usage price of the Reserved Instance, per hour.

", "smithy.api#xmlName": "usagePrice" } @@ -87308,8 +84787,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Marketplace", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the offering is available through the Reserved Instance Marketplace (resale) or Amazon Web Services. \n If it's a Reserved Instance Marketplace offering, this is true.

", "smithy.api#xmlName": "marketplace" } @@ -87420,8 +84897,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -87464,8 +84939,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -87519,8 +84992,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -87550,8 +85021,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds, and an error otherwise.

", "smithy.api#xmlName": "return" } @@ -87618,8 +85087,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -87670,8 +85137,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -87710,8 +85175,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -87786,8 +85249,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -88445,8 +85906,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is optimized for Amazon EBS I/O.

", "smithy.api#xmlName": "ebsOptimized" } @@ -88527,8 +85986,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DisableApiTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If set to true, indicates that the instance cannot be terminated using\n the Amazon EC2 console, command line tool, or API.

", "smithy.api#xmlName": "disableApiTermination" } @@ -88681,8 +86138,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DisableApiStop", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is enabled for stop protection. For more information,\n see Stop\n protection in the Amazon Elastic Compute Cloud User Guide.

", "smithy.api#xmlName": "disableApiStop" } @@ -88717,8 +86172,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -88788,8 +86241,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n\t\t\tand provides an error response. If you have the required permissions, the error response is \n\t\t\tDryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -88805,8 +86256,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -88834,8 +86283,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -88851,7 +86298,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The version to restore.

", "smithy.api#required": {} } @@ -88860,7 +86306,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The current version number for the prefix list.

", "smithy.api#required": {} } @@ -88912,8 +86357,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -88953,8 +86396,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the snapshot is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -89003,8 +86444,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VolumeSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

", "smithy.api#xmlName": "volumeSize" } @@ -89054,16 +86493,12 @@ "PermanentRestore": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to permanently restore an archived snapshot. To permanently restore \n an archived snapshot, specify true and omit the \n RestoreSnapshotTierRequest$TemporaryRestoreDays parameter.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -89098,8 +86533,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "RestoreDuration", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

For temporary restores only. The number of days for which the archived snapshot \n is temporarily restored.

", "smithy.api#xmlName": "restoreDuration" } @@ -89108,8 +86541,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsPermanentRestore", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the snapshot is permanently restored. true indicates a permanent \n restore. false indicates a temporary restore.

", "smithy.api#xmlName": "isPermanentRestore" } @@ -89122,7 +86553,6 @@ "com.amazonaws.ec2#ResultRange": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 20, "max": 500 @@ -89169,16 +86599,12 @@ "RevokeAllGroups": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether access should be revoked for all clients.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -89222,8 +86648,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -89265,8 +86689,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Not supported. Use a set of IP permissions to specify the port.

", "smithy.api#xmlName": "fromPort" } @@ -89283,8 +86705,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Not supported. Use a set of IP permissions to specify the port.

", "smithy.api#xmlName": "toPort" } @@ -89317,8 +86737,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -89360,8 +86778,6 @@ "FromPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the start of the port range.\n If the protocol is ICMP, this is the type number. A value of -1 indicates all ICMP types.

" } }, @@ -89404,8 +86820,6 @@ "ToPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the end of the port range.\n If the protocol is ICMP, this is the code. A value of -1 indicates all ICMP codes.

" } }, @@ -89413,8 +86827,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -89438,8 +86850,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -89745,8 +87155,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Main", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the main route table.

", "smithy.api#xmlName": "main" } @@ -90061,7 +87469,6 @@ "traits": { "aws.protocols#ec2QueryName": "Enabled", "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether detailed monitoring is enabled. Otherwise, basic monitoring is\n enabled.

", "smithy.api#required": {}, "smithy.api#xmlName": "enabled" @@ -90097,8 +87504,6 @@ "Ipv6AddressCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 addresses to associate with the primary network\n interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet. You\n cannot specify this option and the option to assign specific IPv6 addresses in the same\n request. You can specify this option if you've specified a minimum number of instances\n to launch.

\n

You cannot specify this option and the network interfaces option in the same\n request.

" } }, @@ -90125,7 +87530,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of instances to launch. If you specify more instances than Amazon\n EC2 can launch in the target Availability Zone, Amazon EC2 launches the largest possible\n number of instances above MinCount.

\n

Constraints: Between 1 and the maximum number you're allowed for the specified\n instance type. For more information about the default limits, and how to request an\n increase, see How many instances can I\n run in Amazon EC2 in the Amazon EC2 FAQ.

", "smithy.api#required": {} } @@ -90134,7 +87538,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of instances to launch. If you specify a minimum that is more\n instances than Amazon EC2 can launch in the target Availability Zone, Amazon EC2\n launches no instances.

\n

Constraints: Between 1 and the maximum number you're allowed for the specified\n instance type. For more information about the default limits, and how to request an\n increase, see How many instances can I\n run in Amazon EC2 in the Amazon EC2 General FAQ.

", "smithy.api#required": {} } @@ -90204,8 +87607,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DisableApiTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If you set this parameter to true, you can't terminate the instance using\n the Amazon EC2 console, CLI, or API; otherwise, you can. To change this attribute after\n launch, use ModifyInstanceAttribute. Alternatively, if you set\n InstanceInitiatedShutdownBehavior to terminate, you can\n terminate the instance by running the shutdown command from the instance.

\n

Default: false\n

", "smithy.api#xmlName": "disableApiTermination" } @@ -90214,8 +87615,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -90224,8 +87623,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization\n provides dedicated throughput to Amazon EBS and an optimized configuration stack to\n provide optimal Amazon EBS I/O performance. This optimization isn't available with all\n instance types. Additional usage charges apply when using an EBS-optimized\n instance.

\n

Default: false\n

", "smithy.api#xmlName": "ebsOptimized" } @@ -90352,16 +87749,12 @@ "DisableApiStop": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether an instance is enabled for stop protection. For more information,\n see Stop\n protection.

" } }, "EnablePrimaryIpv6": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If you’re launching an instance into a dual-stack or IPv6-only subnet, you can enable\n assigning a primary IPv6 address. A primary IPv6 address is an IPv6 GUA address\n associated with an ENI that you have enabled to use a primary IPv6 address. Use this\n option if an instance relies on its IPv6 address not changing. When you launch the\n instance, Amazon Web Services will automatically assign an IPv6 address associated with\n the ENI attached to your instance to be the primary IPv6 address. Once you enable an\n IPv6 GUA address to be a primary IPv6, you cannot disable it. When you enable an IPv6\n GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6\n address until the instance is terminated or the network interface is detached. If you\n have multiple IPv6 addresses associated with an ENI attached to your instance and you\n enable a primary IPv6 address, the first IPv6 GUA address associated with the ENI\n becomes the primary IPv6 address.

" } } @@ -90401,16 +87794,12 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, "InstanceCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances.

\n

Default: 1

" } }, @@ -90588,8 +87977,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances.

", "smithy.api#xmlName": "instanceCount" } @@ -90654,8 +88041,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SlotDurationInHours", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of hours in the schedule.

", "smithy.api#xmlName": "slotDurationInHours" } @@ -90680,8 +88065,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalScheduledInstanceHours", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of hours for a single instance for the entire term.

", "smithy.api#xmlName": "totalScheduledInstanceHours" } @@ -90706,8 +88089,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableInstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of available instances.

", "smithy.api#xmlName": "availableInstanceCount" } @@ -90740,8 +88121,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MaxTermDurationInDays", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum term. The only possible value is 365 days.

", "smithy.api#xmlName": "maxTermDurationInDays" } @@ -90750,8 +88129,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MinTermDurationInDays", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum term. The only possible value is 365 days.

", "smithy.api#xmlName": "minTermDurationInDays" } @@ -90792,8 +88169,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SlotDurationInHours", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of hours in the schedule.

", "smithy.api#xmlName": "slotDurationInHours" } @@ -90802,8 +88177,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalScheduledInstanceHours", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of hours for a single instance for the entire term.

", "smithy.api#xmlName": "totalScheduledInstanceHours" } @@ -90849,8 +88222,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Interval", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The interval quantity. The interval unit depends on the value of frequency. For example, every 2\n weeks or every 2 months.

", "smithy.api#xmlName": "interval" } @@ -90867,8 +88238,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "OccurrenceRelativeToEnd", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the occurrence is relative to the end of the specified week or month.

", "smithy.api#xmlName": "occurrenceRelativeToEnd" } @@ -90898,8 +88267,6 @@ "Interval": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The interval quantity. The interval unit depends on the value of Frequency. For example, every 2 \n weeks or every 2 months.

" } }, @@ -90913,8 +88280,6 @@ "OccurrenceRelativeToEnd": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the occurrence is relative to the end of the specified week or month. You can't specify this value with a daily schedule.

" } }, @@ -90985,24 +88350,18 @@ "DeleteOnTermination": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume is deleted on instance termination.

" } }, "Encrypted": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.

" } }, "Iops": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of I/O operations per second (IOPS) to provision for an io1 or io2 volume, with a maximum\n \t\tratio of 50 IOPS/GiB for io1, and 500 IOPS/GiB for io2. Range is 100 to 64,000 IOPS for\n \t\tvolumes in most Regions. Maximum IOPS of 64,000 is guaranteed only on\n \t\tinstances built on the Nitro System. Other instance families guarantee performance up to\n \t\t32,000 IOPS. For more information, see Amazon EBS volume types in the\n \t\tAmazon EC2 User Guide.

\n

This parameter is valid only for Provisioned IOPS SSD (io1 and io2) volumes.

" } }, @@ -91015,8 +88374,6 @@ "VolumeSize": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

\n

Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.

" } }, @@ -91087,8 +88444,6 @@ "EbsOptimized": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS-optimized instance.

\n

Default: false\n

" } }, @@ -91180,8 +88535,6 @@ "Enabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether monitoring is enabled.

" } } @@ -91196,16 +88549,12 @@ "AssociatePublicIpAddress": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to assign a public IPv4 address to instances launched in a VPC. The\n public IPv4 address can only be assigned to a network interface for eth0, and can only be\n assigned to a new network interface, not an existing one. You cannot specify more than one\n network interface in the request. If launching into a default subnet, the default value is\n true.

" } }, "DeleteOnTermination": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to delete the interface when the instance is terminated.

" } }, @@ -91218,8 +88567,6 @@ "DeviceIndex": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the device for the network interface attachment.

" } }, @@ -91233,8 +88580,6 @@ "Ipv6AddressCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.

" } }, @@ -91267,8 +88612,6 @@ "SecondaryPrivateIpAddressCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of secondary private IPv4 addresses.

" } }, @@ -91318,8 +88661,6 @@ "Primary": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.

" } }, @@ -91394,8 +88735,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -91467,8 +88806,6 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call.\n\tTo retrieve the remaining results, make another call with the returned nextToken value.

" } }, @@ -91481,8 +88818,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -91550,16 +88885,12 @@ "MaxResults": { "target": "com.amazonaws.ec2#TransitGatewayMaxResults", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of routes to return.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -91583,8 +88914,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AdditionalRoutesAvailable", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there are additional routes available.

", "smithy.api#xmlName": "additionalRoutesAvailable" } @@ -91819,8 +89148,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsEgress", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the security group rule is an outbound rule.

", "smithy.api#xmlName": "isEgress" } @@ -91837,8 +89164,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the start of the port range.\n If the protocol is ICMP or ICMPv6, this is the type number. A value of -1 indicates all ICMP/ICMPv6 types. \n If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.

", "smithy.api#xmlName": "fromPort" } @@ -91847,8 +89172,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the end of the port range.\n If the protocol is ICMP or ICMPv6, this is the type number. A value of -1 indicates all ICMP/ICMPv6 codes. \n If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.

", "smithy.api#xmlName": "toPort" } @@ -91968,16 +89291,12 @@ "FromPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the start of the port range.\n If the protocol is ICMP or ICMPv6, this is the type number. A value of -1 indicates all ICMP/ICMPv6 types. \n If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.

" } }, "ToPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

If the protocol is TCP or UDP, this is the end of the port range.\n If the protocol is ICMP or ICMPv6, this is the code. A value of -1 indicates all ICMP/ICMPv6 codes. \n If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.

" } }, @@ -92099,8 +89418,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -92168,8 +89485,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AcceptanceRequired", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

", "smithy.api#xmlName": "acceptanceRequired" } @@ -92178,8 +89493,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ManagesVpcEndpoints", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the service manages its VPC endpoints. Management of the service VPC\n endpoints using the VPC endpoint API is restricted.

", "smithy.api#xmlName": "managesVpcEndpoints" } @@ -92350,8 +89663,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "VpcEndpointPolicySupported", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the service supports endpoint policies.

", "smithy.api#xmlName": "vpcEndpointPolicySupported" } @@ -92360,8 +89671,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AcceptanceRequired", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

", "smithy.api#xmlName": "acceptanceRequired" } @@ -92370,8 +89679,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ManagesVpcEndpoints", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the service manages its VPC endpoints. Management of the service VPC\n endpoints using the VPC endpoint API is restricted.

", "smithy.api#xmlName": "managesVpcEndpoints" } @@ -92589,8 +89896,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the snapshot is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -92663,8 +89968,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VolumeSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

", "smithy.api#xmlName": "volumeSize" } @@ -92762,8 +90065,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "DiskImageSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the disk in the snapshot, in GiB.

", "smithy.api#xmlName": "diskImageSize" } @@ -92905,8 +90206,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the snapshot is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -92931,8 +90230,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VolumeSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Size of the volume from which this snapshot was created.

", "smithy.api#xmlName": "volumeSize" } @@ -93115,8 +90412,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "DiskImageSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the disk in the snapshot, in GiB.

", "smithy.api#xmlName": "diskImageSize" } @@ -93125,8 +90420,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the snapshot is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -93263,8 +90556,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "LastTieringProgress", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The progress of the last archive or restore process, as a percentage.

", "smithy.api#xmlName": "lastTieringProgress" } @@ -93356,8 +90647,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TerminationDelay", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time (in seconds) that Amazon EC2 waits before terminating the old Spot\n Instance after launching a new replacement Spot Instance.

\n

Required when ReplacementStrategy is set to launch-before-terminate.

\n

Not valid when ReplacementStrategy is set to launch.

\n

Valid values: Minimum value of 120 seconds. Maximum value of 7200 seconds.

", "smithy.api#xmlName": "terminationDelay" } @@ -93446,8 +90735,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EbsOptimized", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the instances are optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal EBS I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

\n

Default: false\n

", "smithy.api#xmlName": "ebsOptimized" } @@ -93552,8 +90839,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "WeightedCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

\n

If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

", "smithy.api#xmlName": "weightedCapacity" } @@ -93586,8 +90871,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Enables monitoring for the instance.

\n

Default: false\n

", "smithy.api#xmlName": "enabled" } @@ -93700,8 +90983,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "FulfilledCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units fulfilled by this request compared to the set target capacity. You\n cannot set this value.

", "smithy.api#xmlName": "fulfilledCapacity" } @@ -93710,8 +90991,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "OnDemandFulfilledCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of On-Demand units fulfilled by this request compared to the set target\n On-Demand capacity.

", "smithy.api#xmlName": "onDemandFulfilledCapacity" } @@ -93755,7 +91034,6 @@ "traits": { "aws.protocols#ec2QueryName": "TargetCapacity", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units to request for the Spot Fleet. You can choose to set the target\n capacity in terms of instances or a performance characteristic that is important to your\n application workload, such as vCPUs, memory, or I/O. If the request type is\n maintain, you can specify a target capacity of 0 and add capacity\n later.

", "smithy.api#required": {}, "smithy.api#xmlName": "targetCapacity" @@ -93765,8 +91043,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "OnDemandTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of On-Demand units to request. You can choose to set the target capacity in\n terms of instances or a performance characteristic that is important to your application\n workload, such as vCPUs, memory, or I/O. If the request type is maintain,\n you can specify a target capacity of 0 and add capacity later.

", "smithy.api#xmlName": "onDemandTargetCapacity" } @@ -93791,8 +91067,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "TerminateInstancesWithExpiration", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether running Spot Instances are terminated when the Spot Fleet request\n expires.

", "smithy.api#xmlName": "terminateInstancesWithExpiration" } @@ -93825,8 +91099,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ReplaceUnhealthyInstances", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Spot Fleet should replace unhealthy instances.

", "smithy.api#xmlName": "replaceUnhealthyInstances" } @@ -93851,8 +91123,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstancePoolsToUseCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Spot pools across which to allocate your target Spot capacity. Valid\n only when Spot AllocationStrategy is set to\n lowest-price. Spot Fleet selects the cheapest Spot pools and evenly\n allocates your target Spot capacity across the number of Spot pools that you\n specify.

\n

Note that Spot Fleet attempts to draw Spot Instances from the number of pools that you specify on a\n best effort basis. If a pool runs out of Spot capacity before fulfilling your target\n capacity, Spot Fleet will continue to fulfill your request by drawing from the next cheapest\n pool. To ensure that your target capacity is met, you might receive Spot Instances from more than\n the number of pools that you specified. Similarly, if most of the pools have no Spot\n capacity, you might receive your full target capacity from fewer than the number of\n pools that you specified.

", "smithy.api#xmlName": "instancePoolsToUseCount" } @@ -93985,8 +91255,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "BlockDurationMinutes", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated.

", "smithy.api#xmlName": "blockDurationMinutes" } @@ -94293,8 +91561,6 @@ "BlockDurationMinutes": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated.

" } }, @@ -94346,8 +91612,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstancePoolsToUseCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Spot pools across which to allocate your target Spot capacity. Supported\n only when AllocationStrategy is set to lowest-price. EC2 Fleet selects\n the cheapest Spot pools and evenly allocates your target Spot capacity across the number of\n Spot pools that you specify.

\n

Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a\n best effort basis. If a pool runs out of Spot capacity before fulfilling your target\n capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest\n pool. To ensure that your target capacity is met, you might receive Spot Instances from more than\n the number of pools that you specified. Similarly, if most of the pools have no Spot\n capacity, you might receive your full target capacity from fewer than the number of pools\n that you specified.

", "smithy.api#xmlName": "instancePoolsToUseCount" } @@ -94356,8 +91620,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SingleInstanceType", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet uses a single instance type to launch all Spot Instances in the\n fleet.

\n

Supported only for fleets of type instant.

", "smithy.api#xmlName": "singleInstanceType" } @@ -94366,8 +91628,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "SingleAvailabilityZone", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet launches all Spot Instances into a single Availability Zone.

\n

Supported only for fleets of type instant.

", "smithy.api#xmlName": "singleAvailabilityZone" } @@ -94376,8 +91636,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "MinTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is\n not reached, the fleet launches no instances.

\n

Supported only for fleets of type instant.

\n

At least one of the following must be specified: SingleAvailabilityZone |\n SingleInstanceType\n

", "smithy.api#xmlName": "minTargetCapacity" } @@ -94419,32 +91677,24 @@ "InstancePoolsToUseCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Spot pools across which to allocate your target Spot capacity. Supported\n only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet\n selects the cheapest Spot pools and evenly allocates your target Spot capacity across the\n number of Spot pools that you specify.

\n

Note that EC2 Fleet attempts to draw Spot Instances from the number of pools that you specify on a\n best effort basis. If a pool runs out of Spot capacity before fulfilling your target\n capacity, EC2 Fleet will continue to fulfill your request by drawing from the next cheapest\n pool. To ensure that your target capacity is met, you might receive Spot Instances from more than\n the number of pools that you specified. Similarly, if most of the pools have no Spot\n capacity, you might receive your full target capacity from fewer than the number of pools\n that you specified.

" } }, "SingleInstanceType": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet uses a single instance type to launch all Spot Instances in the\n fleet.

\n

Supported only for fleets of type instant.

" } }, "SingleAvailabilityZone": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the fleet launches all Spot Instances into a single Availability Zone.

\n

Supported only for fleets of type instant.

" } }, "MinTargetCapacity": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum target capacity for Spot Instances in the fleet. If the minimum target capacity is\n not reached, the fleet launches no instances.

\n

Supported only for fleets of type instant.

\n

At least one of the following must be specified: SingleAvailabilityZone |\n SingleInstanceType\n

" } }, @@ -94514,8 +91764,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Score", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The placement score, on a scale from 1 to 10. A score of\n 10 indicates that your Spot request is highly likely to succeed in this\n Region or Availability Zone. A score of 1 indicates that your Spot request is\n not likely to succeed.

", "smithy.api#xmlName": "score" } @@ -94537,7 +91785,6 @@ "com.amazonaws.ec2#SpotPlacementScoresMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 10, "max": 1000 @@ -94547,7 +91794,6 @@ "com.amazonaws.ec2#SpotPlacementScoresTargetCapacity": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2000000000 @@ -94635,8 +91881,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The start of the port range for the TCP and UDP protocols, or an ICMP type number. A value of\n -1 indicates all ICMP types.

", "smithy.api#xmlName": "fromPort" } @@ -94669,8 +91913,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The end of the port range for the TCP and UDP protocols, or an ICMP type number. A value of\n -1 indicates all ICMP types.

", "smithy.api#xmlName": "toPort" } @@ -94824,8 +92066,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -94877,8 +92117,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -94959,8 +92197,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -95019,8 +92255,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -95044,8 +92278,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, it returns an error.

", "smithy.api#xmlName": "return" } @@ -95276,8 +92508,6 @@ "Hibernate": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Hibernates the instance if the instance was enabled for hibernation at launch. If the\n instance cannot hibernate successfully, a normal shutdown occurs. For more information,\n see Hibernate\n your instance in the Amazon EC2 User Guide.

\n

Default: false\n

" } }, @@ -95285,8 +92515,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -95295,8 +92523,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Force", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Forces the instances to stop. The instances do not have an opportunity to flush file\n system caches or file system metadata. If you use this option, you must perform file\n system check and repair procedures. This option is not recommended for Windows\n instances.

\n

Default: false\n

", "smithy.api#xmlName": "force" } @@ -95413,8 +92639,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ProgressPercentage", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The progress of the task as a percentage.

", "smithy.api#xmlName": "progressPercentage" } @@ -95493,8 +92717,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AvailableIpAddressCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any\n\t\t\tstopped instances are considered unavailable.

", "smithy.api#xmlName": "availableIpAddressCount" } @@ -95511,8 +92733,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DefaultForAz", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the default subnet for the Availability Zone.

", "smithy.api#xmlName": "defaultForAz" } @@ -95521,8 +92741,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "EnableLniAtDeviceIndex", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the device position for local network interfaces in this subnet. For example, \n 1 indicates local network interfaces in this subnet are the secondary \n network interface (eth1). \n

", "smithy.api#xmlName": "enableLniAtDeviceIndex" } @@ -95531,8 +92749,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "MapPublicIpOnLaunch", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether instances launched in this subnet receive a public IPv4 address.

", "smithy.api#xmlName": "mapPublicIpOnLaunch" } @@ -95541,8 +92757,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "MapCustomerOwnedIpOnLaunch", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a network interface created in this subnet (including a network\n interface created by RunInstances) receives a customer-owned IPv4 address.

", "smithy.api#xmlName": "mapCustomerOwnedIpOnLaunch" } @@ -95591,8 +92805,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AssignIpv6AddressOnCreation", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a network interface created in this subnet (including a network\n interface created by RunInstances) receives an IPv6 address.

", "smithy.api#xmlName": "assignIpv6AddressOnCreation" } @@ -95633,8 +92845,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableDns64", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet \n should return synthetic IPv6 addresses for IPv4-only destinations.

", "smithy.api#xmlName": "enableDns64" } @@ -95643,8 +92853,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Ipv6Native", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is an IPv6 only subnet.

", "smithy.api#xmlName": "ipv6Native" } @@ -96271,8 +93479,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TotalTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units to request, filled using\n DefaultTargetCapacityType.

", "smithy.api#xmlName": "totalTargetCapacity" } @@ -96281,8 +93487,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "OnDemandTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of On-Demand units to request. If you specify a target capacity for Spot units, you cannot specify a target capacity for On-Demand units.

", "smithy.api#xmlName": "onDemandTargetCapacity" } @@ -96291,8 +93495,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SpotTargetCapacity", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of Spot units to launch. If you specify a target capacity for On-Demand units, you cannot specify a target capacity for Spot units.

", "smithy.api#xmlName": "spotTargetCapacity" } @@ -96325,7 +93527,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of units to request, filled using\n DefaultTargetCapacityType.

", "smithy.api#required": {} } @@ -96333,16 +93534,12 @@ "OnDemandTargetCapacity": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of On-Demand units to request.

" } }, "SpotTargetCapacity": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Spot units to request.

" } }, @@ -96393,8 +93590,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "InstanceCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is \n reserved and cannot be specified in a request

", "smithy.api#xmlName": "instanceCount" } @@ -96418,8 +93613,6 @@ "InstanceCount": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances the Convertible Reserved Instance offering can be applied to. This parameter is reserved and cannot \n be specified in a request

" } }, @@ -96679,8 +93872,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

" } } @@ -96816,8 +94007,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -96969,8 +94158,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of total local storage, in GB. If this parameter is not specified, there is\n no minimum limit.

", "smithy.api#xmlName": "min" } @@ -96979,8 +94166,6 @@ "target": "com.amazonaws.ec2#Double", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of total local storage, in GB. If this parameter is not specified, there is\n no maximum limit.

", "smithy.api#xmlName": "max" } @@ -96996,16 +94181,12 @@ "Min": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of total local storage, in GB. To specify no minimum limit, omit this\n parameter.

" } }, "Max": { "target": "com.amazonaws.ec2#Double", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of total local storage, in GB. To specify no maximum limit, omit this\n parameter.

" } } @@ -97141,8 +94322,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "RuleNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number of the Traffic Mirror rule.

", "smithy.api#xmlName": "ruleNumber" } @@ -97159,8 +94338,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Protocol", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The protocol assigned to the Traffic Mirror rule.

", "smithy.api#xmlName": "protocol" } @@ -97293,8 +94470,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "FromPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The start of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

", "smithy.api#xmlName": "fromPort" } @@ -97303,8 +94478,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ToPort", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The end of the Traffic Mirror port range. This applies to the TCP and UDP protocols.

", "smithy.api#xmlName": "toPort" } @@ -97320,16 +94493,12 @@ "FromPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

" } }, "ToPort": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the Traffic Mirror port range. This applies to the TCP and UDP protocols.

" } } @@ -97402,8 +94571,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "PacketLength", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes in each packet to mirror. These are the bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet

", "smithy.api#xmlName": "packetLength" } @@ -97412,8 +94579,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "SessionNumber", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

\n

Valid values are 1-32766.

", "smithy.api#xmlName": "sessionNumber" } @@ -97422,8 +94587,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VirtualNetworkId", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The virtual network ID associated with the Traffic Mirror session.

", "smithy.api#xmlName": "virtualNetworkId" } @@ -97618,7 +94781,6 @@ "com.amazonaws.ec2#TrafficMirroringMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -97919,8 +95081,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "TransitGatewayAsn", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The transit gateway Autonomous System Number (ASN).

", "smithy.api#xmlName": "transitGatewayAsn" } @@ -97929,8 +95089,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "PeerAsn", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The peer Autonomous System Number (ASN).

", "smithy.api#xmlName": "peerAsn" } @@ -98406,8 +95564,6 @@ "PeerAsn": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The peer Autonomous System Number (ASN).

" } } @@ -98440,7 +95596,6 @@ "com.amazonaws.ec2#TransitGatewayMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 1000 @@ -98888,8 +96043,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "GroupMember", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the resource is a transit gateway multicast group member.

", "smithy.api#xmlName": "groupMember" } @@ -98898,8 +96051,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "GroupSource", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the resource is a transit gateway multicast group member.

", "smithy.api#xmlName": "groupSource" } @@ -99014,8 +96165,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "AmazonSideAsn", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. \n The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.

", "smithy.api#xmlName": "amazonSideAsn" } @@ -99549,8 +96698,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Blackhole", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether traffic that matches this route is dropped.

", "smithy.api#xmlName": "blackhole" } @@ -99697,8 +96844,6 @@ "AmazonSideAsn": { "target": "com.amazonaws.ec2#Long", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. \n The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512.

" } }, @@ -99921,8 +97066,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DefaultAssociationRouteTable", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the default association route table for the transit gateway.

", "smithy.api#xmlName": "defaultAssociationRouteTable" } @@ -99931,8 +97074,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DefaultPropagationRouteTable", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the default propagation route table for the transit gateway.

", "smithy.api#xmlName": "defaultPropagationRouteTable" } @@ -100591,8 +97732,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "VlanId", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN when you use the VLAN protocol.

", "smithy.api#xmlName": "vlanId" } @@ -100601,8 +97740,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "GreKey", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The application key when you use the GRE protocol.

", "smithy.api#xmlName": "greKey" } @@ -100714,8 +97851,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Phase1LifetimeSeconds", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 1 of the IKE negotiation, in seconds.

", "smithy.api#xmlName": "phase1LifetimeSeconds" } @@ -100724,8 +97859,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Phase2LifetimeSeconds", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 2 of the IKE negotiation, in seconds.

", "smithy.api#xmlName": "phase2LifetimeSeconds" } @@ -100734,8 +97867,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "RekeyMarginTimeSeconds", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The margin time, in seconds, before the phase 2 lifetime expires, during which the\n Amazon Web Services side of the VPN connection performs an IKE rekey.

", "smithy.api#xmlName": "rekeyMarginTimeSeconds" } @@ -100744,8 +97875,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "RekeyFuzzPercentage", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the rekey window determined by RekeyMarginTimeSeconds\n during which the rekey time is randomly selected.

", "smithy.api#xmlName": "rekeyFuzzPercentage" } @@ -100754,8 +97883,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "ReplayWindowSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of packets in an IKE replay window.

", "smithy.api#xmlName": "replayWindowSize" } @@ -100764,8 +97891,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "DpdTimeoutSeconds", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which a DPD timeout occurs.

", "smithy.api#xmlName": "dpdTimeoutSeconds" } @@ -100854,8 +97979,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableTunnelLifecycleControl", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Status of tunnel endpoint lifecycle control feature.

", "smithy.api#xmlName": "enableTunnelLifecycleControl" } @@ -101044,16 +98167,12 @@ "MaxDrainDurationSeconds": { "target": "com.amazonaws.ec2#DrainSeconds", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.

" } }, "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } @@ -101143,8 +98262,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DryRun", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

", "smithy.api#xmlName": "dryRun" } @@ -101363,8 +98480,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -101405,8 +98520,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -101457,8 +98570,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } }, @@ -101499,8 +98610,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Return", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Returns true if the request succeeds; otherwise, returns an error.

", "smithy.api#xmlName": "return" } @@ -101724,8 +98833,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Min", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of vCPUs. If the value is 0, there is no minimum\n limit.

", "smithy.api#xmlName": "min" } @@ -101734,8 +98841,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Max", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of vCPUs. If this parameter is not specified, there is no maximum\n limit.

", "smithy.api#xmlName": "max" } @@ -101752,7 +98857,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of vCPUs. To specify no minimum limit, specify 0.

", "smithy.api#required": {} } @@ -101760,8 +98864,6 @@ "Max": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of vCPUs. To specify no maximum limit, omit this parameter.

" } } @@ -102061,8 +99163,6 @@ "target": "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber", "traits": { "aws.protocols#ec2QueryName": "Port", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IP port number.

", "smithy.api#xmlName": "port" } @@ -102108,8 +99208,6 @@ "target": "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber", "traits": { "aws.protocols#ec2QueryName": "Port", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The IP port number.

", "smithy.api#xmlName": "port" } @@ -102138,7 +99236,6 @@ "com.amazonaws.ec2#VerifiedAccessEndpointPortNumber": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -102411,8 +99508,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "FipsEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Describes whether support for Federal Information Processing Standards (FIPS) is enabled on the instance.

", "smithy.api#xmlName": "fipsEnabled" } @@ -102483,8 +99578,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

", "smithy.api#xmlName": "enabled" } @@ -102517,7 +99610,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

", "smithy.api#required": {} } @@ -102581,8 +99673,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

", "smithy.api#xmlName": "enabled" } @@ -102615,7 +99705,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

", "smithy.api#required": {} } @@ -102661,8 +99750,6 @@ "IncludeTrustContext": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n\t\t Include trust data sent by trust providers into the logs. \n\t

" } } @@ -102678,8 +99765,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Enabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

", "smithy.api#xmlName": "enabled" } @@ -102728,7 +99813,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

", "smithy.api#required": {} } @@ -102795,8 +99879,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IncludeTrustContext", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n\t\t Describes current setting for including trust data into the logs.\n\t

", "smithy.api#xmlName": "includeTrustContext" } @@ -102812,8 +99894,6 @@ "CustomerManagedKeyEnabled": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n Enable or disable the use of customer managed KMS keys for server side encryption.\n

\n

Valid values: True | False\n

" } }, @@ -102835,8 +99915,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "CustomerManagedKeyEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

\n Describes the use of customer managed KMS keys for server side encryption.\n

\n

Valid values: True | False\n

", "smithy.api#xmlName": "customerManagedKeyEnabled" } @@ -103061,8 +100139,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "AcceptedRouteCount", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of accepted routes.

", "smithy.api#xmlName": "acceptedRouteCount" } @@ -103193,8 +100269,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "Encrypted", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume is encrypted.

", "smithy.api#xmlName": "encrypted" } @@ -103219,8 +100293,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Size", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiBs.

", "smithy.api#xmlName": "size" } @@ -103253,8 +100325,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Iops", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents \n the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline \n performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

", "smithy.api#xmlName": "iops" } @@ -103279,8 +100349,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "FastRestored", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the volume was created using fast snapshot restore.

", "smithy.api#xmlName": "fastRestored" } @@ -103289,8 +100357,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "MultiAttachEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon EBS Multi-Attach is enabled.

", "smithy.api#xmlName": "multiAttachEnabled" } @@ -103299,8 +100365,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "Throughput", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The throughput that the volume supports, in MiB/s.

", "smithy.api#xmlName": "throughput" } @@ -103365,8 +100429,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "DeleteOnTermination", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the EBS volume is deleted on instance termination.

", "smithy.api#xmlName": "deleteOnTermination" } @@ -103445,7 +100507,6 @@ "traits": { "aws.protocols#ec2QueryName": "Size", "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

", "smithy.api#required": {}, "smithy.api#xmlName": "size" @@ -103511,8 +100572,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TargetSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target size of the volume, in GiB.

", "smithy.api#xmlName": "targetSize" } @@ -103521,8 +100580,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TargetIops", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target IOPS rate of the volume.

", "smithy.api#xmlName": "targetIops" } @@ -103539,8 +100596,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "TargetThroughput", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The target throughput of the volume, in MiB/s.

", "smithy.api#xmlName": "targetThroughput" } @@ -103549,8 +100604,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "TargetMultiAttachEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The target setting for Amazon EBS Multi-Attach.

", "smithy.api#xmlName": "targetMultiAttachEnabled" } @@ -103559,8 +100612,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "OriginalSize", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The original size of the volume, in GiB.

", "smithy.api#xmlName": "originalSize" } @@ -103569,8 +100620,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "OriginalIops", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The original IOPS rate of the volume.

", "smithy.api#xmlName": "originalIops" } @@ -103587,8 +100636,6 @@ "target": "com.amazonaws.ec2#Integer", "traits": { "aws.protocols#ec2QueryName": "OriginalThroughput", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The original throughput of the volume, in MiB/s.

", "smithy.api#xmlName": "originalThroughput" } @@ -103597,8 +100644,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "OriginalMultiAttachEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The original setting for Amazon EBS Multi-Attach.

", "smithy.api#xmlName": "originalMultiAttachEnabled" } @@ -103607,8 +100652,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "Progress", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The modification progress, from 0 to 100 percent complete.

", "smithy.api#xmlName": "progress" } @@ -104148,8 +101191,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "IsDefault", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the VPC is the default VPC.

", "smithy.api#xmlName": "isDefault" } @@ -104339,8 +101380,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "ClassicLinkEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the VPC is enabled for ClassicLink.

", "smithy.api#xmlName": "classicLinkEnabled" } @@ -104479,8 +101518,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "PrivateDnsEnabled", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

", "smithy.api#xmlName": "privateDnsEnabled" } @@ -104489,8 +101526,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "RequesterManaged", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the endpoint is being managed by its service.

", "smithy.api#xmlName": "requesterManaged" } @@ -104904,8 +101939,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowDnsResolutionFromRemoteVpc", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses \n when queried from instances in a peer VPC.

", "smithy.api#xmlName": "allowDnsResolutionFromRemoteVpc" } @@ -104914,8 +101947,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowEgressFromLocalClassicLinkToRemoteVpc", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Deprecated.

", "smithy.api#xmlName": "allowEgressFromLocalClassicLinkToRemoteVpc" } @@ -104924,8 +101955,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AllowEgressFromLocalVpcToRemoteClassicLink", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Deprecated.

", "smithy.api#xmlName": "allowEgressFromLocalVpcToRemoteClassicLink" } @@ -105324,8 +102353,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "EnableAcceleration", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether acceleration is enabled for the VPN connection.

", "smithy.api#xmlName": "enableAcceleration" } @@ -105334,8 +102361,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "StaticRoutesOnly", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the VPN connection uses static routes only. Static routes must be\n used for devices that don't support BGP.

", "smithy.api#xmlName": "staticRoutesOnly" } @@ -105415,8 +102440,6 @@ "EnableAcceleration": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicate whether to enable acceleration for the VPN connection.

\n

Default: false\n

" } }, @@ -105424,8 +102447,6 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "StaticRoutesOnly", - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Indicate whether the VPN connection uses static routes only. If you are creating a VPN\n connection for a device that does not support BGP, you must specify true.\n Use CreateVpnConnectionRoute to create a static route.

\n

Default: false\n

", "smithy.api#xmlName": "staticRoutesOnly" } @@ -105547,8 +102568,6 @@ "target": "com.amazonaws.ec2#Long", "traits": { "aws.protocols#ec2QueryName": "AmazonSideAsn", - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The private Autonomous System Number (ASN) for the Amazon side of a BGP\n session.

", "smithy.api#xmlName": "amazonSideAsn" } @@ -105733,48 +102752,36 @@ "Phase1LifetimeSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 1 of the IKE negotiation, in seconds.

\n

Constraints: A value between 900 and 28,800.

\n

Default: 28800\n

" } }, "Phase2LifetimeSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 2 of the IKE negotiation, in seconds.

\n

Constraints: A value between 900 and 3,600. The value must be less than the value for\n Phase1LifetimeSeconds.

\n

Default: 3600\n

" } }, "RekeyMarginTimeSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The margin time, in seconds, before the phase 2 lifetime expires, during which the\n Amazon Web Services side of the VPN connection performs an IKE rekey. The exact time\n of the rekey is randomly selected based on the value for\n RekeyFuzzPercentage.

\n

Constraints: A value between 60 and half of Phase2LifetimeSeconds.

\n

Default: 540\n

" } }, "RekeyFuzzPercentage": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the rekey window (determined by RekeyMarginTimeSeconds)\n during which the rekey time is randomly selected.

\n

Constraints: A value between 0 and 100.

\n

Default: 100\n

" } }, "ReplayWindowSize": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of packets in an IKE replay window.

\n

Constraints: A value between 64 and 2048.

\n

Default: 1024\n

" } }, "DPDTimeoutSeconds": { "target": "com.amazonaws.ec2#Integer", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which a DPD timeout occurs.

\n

Constraints: A value greater than or equal to 30.

\n

Default: 30\n

" } }, @@ -105848,8 +102855,6 @@ "EnableTunnelLifecycleControl": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Turn on or off tunnel endpoint lifecycle control feature.

" } } @@ -105937,8 +102942,6 @@ "DryRun": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#clientOptional": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" } } diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json index 1ac55643aa5..620c0a0b889 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json @@ -52,6 +52,7 @@ "Type": { "target": "com.amazonaws.elasticloadbalancingv2#ActionTypeEnum", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of action.

", "smithy.api#required": {} } @@ -182,6 +183,7 @@ "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", "smithy.api#required": {} } @@ -189,6 +191,7 @@ "Certificates": { "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The certificate to add. You can specify one certificate per call. Set\n CertificateArn to the certificate ARN but do not set\n IsDefault.

", "smithy.api#required": {} } @@ -271,6 +274,7 @@ "ResourceArns": { "target": "com.amazonaws.elasticloadbalancingv2#ResourceArns", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", "smithy.api#required": {} } @@ -278,6 +282,7 @@ "Tags": { "target": "com.amazonaws.elasticloadbalancingv2#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags.

", "smithy.api#required": {} } @@ -367,6 +372,7 @@ "UserPoolArn": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Cognito user pool.

", "smithy.api#required": {} } @@ -374,6 +380,7 @@ "UserPoolClientId": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolClientId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Cognito user pool client.

", "smithy.api#required": {} } @@ -381,6 +388,7 @@ "UserPoolDomain": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolDomain", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.

", "smithy.api#required": {} } @@ -491,6 +499,7 @@ "Issuer": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionIssuer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS\n protocol, the domain, and the path.

", "smithy.api#required": {} } @@ -498,6 +507,7 @@ "AuthorizationEndpoint": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionAuthorizationEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authorization endpoint of the IdP. This must be a full URL, including the HTTPS\n protocol, the domain, and the path.

", "smithy.api#required": {} } @@ -505,6 +515,7 @@ "TokenEndpoint": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionTokenEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the\n domain, and the path.

", "smithy.api#required": {} } @@ -512,6 +523,7 @@ "UserInfoEndpoint": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUserInfoEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol,\n the domain, and the path.

", "smithy.api#required": {} } @@ -519,6 +531,7 @@ "ClientId": { "target": "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionClientId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OAuth 2.0 client identifier.

", "smithy.api#required": {} } @@ -707,7 +720,6 @@ "Priority": { "target": "com.amazonaws.elasticloadbalancingv2#CipherPriority", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The priority of the cipher.

" } } @@ -720,10 +732,7 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#CipherPriority": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.elasticloadbalancingv2#Ciphers": { "type": "list", @@ -847,6 +856,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -878,6 +888,7 @@ "DefaultActions": { "target": "com.amazonaws.elasticloadbalancingv2#Actions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The actions for the default rule.

", "smithy.api#required": {} } @@ -1015,6 +1026,7 @@ "Name": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the load balancer.

\n

This name must be unique per region per account, can have a maximum of 32 characters, must\n contain only alphanumeric characters or hyphens, must not begin or end with a hyphen, and must\n not begin with \"internal-\".

", "smithy.api#required": {} } @@ -1198,6 +1210,7 @@ "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", "smithy.api#required": {} } @@ -1205,6 +1218,7 @@ "Conditions": { "target": "com.amazonaws.elasticloadbalancingv2#RuleConditionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The conditions.

", "smithy.api#required": {} } @@ -1212,6 +1226,7 @@ "Priority": { "target": "com.amazonaws.elasticloadbalancingv2#RulePriority", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The rule priority. A listener can't have multiple rules with the same priority.

", "smithy.api#required": {} } @@ -1219,6 +1234,7 @@ "Actions": { "target": "com.amazonaws.elasticloadbalancingv2#Actions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The actions.

", "smithy.api#required": {} } @@ -1313,6 +1329,7 @@ "Name": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the target group.

\n

This name must be unique per region per account, can have a maximum of 32 characters, must\n contain only alphanumeric characters or hyphens, and must not begin or end with a\n hyphen.

", "smithy.api#required": {} } @@ -1486,6 +1503,7 @@ "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", "smithy.api#required": {} } @@ -1540,6 +1558,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -1591,6 +1610,7 @@ "RuleArn": { "target": "com.amazonaws.elasticloadbalancingv2#RuleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rule.

", "smithy.api#required": {} } @@ -1639,6 +1659,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -1695,6 +1716,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -1702,6 +1724,7 @@ "Targets": { "target": "com.amazonaws.elasticloadbalancingv2#TargetDescriptions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The targets. If you specified a port override when you registered a target, you must\n specify both the target ID and the port when you deregister it.

", "smithy.api#required": {} } @@ -1793,6 +1816,7 @@ "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the listener.

", "smithy.api#required": {} } @@ -1997,6 +2021,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -2548,6 +2573,7 @@ "ResourceArns": { "target": "com.amazonaws.elasticloadbalancingv2#ResourceArns", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Names (ARN) of the resources. You can specify up to 20 resources in a\n single call.

", "smithy.api#required": {} } @@ -2623,6 +2649,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -2874,6 +2901,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -3141,7 +3169,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3184,7 +3211,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3197,7 +3225,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3211,7 +3238,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3234,7 +3260,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3269,7 +3294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3280,14 +3304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3301,14 +3327,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3317,18 +3341,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -3337,7 +3360,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -3357,14 +3381,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3378,7 +3404,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3398,7 +3423,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3409,14 +3433,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3427,9 +3453,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4153,6 +4181,7 @@ "StatusCode": { "target": "com.amazonaws.elasticloadbalancingv2#FixedResponseActionStatusCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The HTTP response code (2XX, 4XX, or 5XX).

", "smithy.api#required": {} } @@ -4462,10 +4491,7 @@ } }, "com.amazonaws.elasticloadbalancingv2#IsDefault": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#Limit": { "type": "structure", @@ -5026,6 +5052,7 @@ "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", "smithy.api#required": {} } @@ -5150,6 +5177,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -5157,6 +5185,7 @@ "Attributes": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The load balancer attributes.

", "smithy.api#required": {} } @@ -5273,6 +5302,7 @@ "RuleArn": { "target": "com.amazonaws.elasticloadbalancingv2#RuleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the rule.

", "smithy.api#required": {} } @@ -5423,6 +5453,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -5430,6 +5461,7 @@ "Attributes": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The attributes.

", "smithy.api#required": {} } @@ -5459,6 +5491,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -5746,6 +5779,7 @@ "StatusCode": { "target": "com.amazonaws.elasticloadbalancingv2#RedirectActionStatusCodeEnum", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The HTTP redirect code. The redirect is either permanent (HTTP 301) or temporary (HTTP\n 302).

", "smithy.api#required": {} } @@ -5857,6 +5891,7 @@ "TargetGroupArn": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the target group.

", "smithy.api#required": {} } @@ -5864,6 +5899,7 @@ "Targets": { "target": "com.amazonaws.elasticloadbalancingv2#TargetDescriptions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The targets.

", "smithy.api#required": {} } @@ -5906,6 +5942,7 @@ "ListenerArn": { "target": "com.amazonaws.elasticloadbalancingv2#ListenerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the listener.

", "smithy.api#required": {} } @@ -5913,6 +5950,7 @@ "Certificates": { "target": "com.amazonaws.elasticloadbalancingv2#CertificateList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The certificate to remove. You can specify one certificate per call. Set\n CertificateArn to the certificate ARN but do not set\n IsDefault.

", "smithy.api#required": {} } @@ -5979,6 +6017,7 @@ "ResourceArns": { "target": "com.amazonaws.elasticloadbalancingv2#ResourceArns", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource.

", "smithy.api#required": {} } @@ -5986,6 +6025,7 @@ "TagKeys": { "target": "com.amazonaws.elasticloadbalancingv2#TagKeys", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag keys for the tags to remove.

", "smithy.api#required": {} } @@ -6058,7 +6098,6 @@ "IsDefault": { "target": "com.amazonaws.elasticloadbalancingv2#IsDefault", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the default rule.

" } } @@ -6251,6 +6290,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -6258,6 +6298,7 @@ "IpAddressType": { "target": "com.amazonaws.elasticloadbalancingv2#IpAddressType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IP address type. The possible values are ipv4 (for IPv4 addresses) and\n dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer\n with a UDP or TCP_UDP listener.

", "smithy.api#required": {} } @@ -6347,6 +6388,7 @@ "RulePriorities": { "target": "com.amazonaws.elasticloadbalancingv2#RulePriorityList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The rule priorities.

", "smithy.api#required": {} } @@ -6416,6 +6458,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -6423,6 +6466,7 @@ "SecurityGroups": { "target": "com.amazonaws.elasticloadbalancingv2#SecurityGroups", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the security groups.

", "smithy.api#required": {} } @@ -6521,6 +6565,7 @@ "LoadBalancerArn": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", "smithy.api#required": {} } @@ -6717,6 +6762,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key of the tag.

", "smithy.api#required": {} } @@ -6801,6 +6847,7 @@ "Id": { "target": "com.amazonaws.elasticloadbalancingv2#TargetId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the target. If the target type of the target group is instance,\n specify an instance ID. If the target type is ip, specify an IP address. If the\n target type is lambda, specify the ARN of the Lambda function. If the target type\n is alb, specify the ARN of the Application Load Balancer target.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing.json index 3e50cb0c8eb..a246f7688e6 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing.json @@ -476,7 +476,6 @@ "InstancePort": { "target": "com.amazonaws.elasticloadbalancing#InstancePort", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the EC2 instance is listening.

" } }, @@ -2416,7 +2415,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2459,7 +2457,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2472,7 +2471,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2486,7 +2484,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2509,7 +2506,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2544,7 +2540,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2555,14 +2550,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2576,14 +2573,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2592,18 +2587,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -2612,7 +2606,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -2632,14 +2627,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2653,7 +2650,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2673,7 +2669,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2684,14 +2679,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2702,9 +2699,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3447,7 +3446,6 @@ "Interval": { "target": "com.amazonaws.elasticloadbalancing#HealthCheckInterval", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The approximate interval, in seconds, between health checks of an individual instance.

", "smithy.api#required": {} } @@ -3455,7 +3453,6 @@ "Timeout": { "target": "com.amazonaws.elasticloadbalancing#HealthCheckTimeout", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, during which no response means a failed health check.

\n

This value must be less than the Interval value.

", "smithy.api#required": {} } @@ -3463,7 +3460,6 @@ "UnhealthyThreshold": { "target": "com.amazonaws.elasticloadbalancing#UnhealthyThreshold", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health check failures required before moving the instance to the Unhealthy state.

", "smithy.api#required": {} } @@ -3471,7 +3467,6 @@ "HealthyThreshold": { "target": "com.amazonaws.elasticloadbalancing#HealthyThreshold", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health checks successes required before moving the instance to the Healthy state.

", "smithy.api#required": {} } @@ -3484,7 +3479,6 @@ "com.amazonaws.elasticloadbalancing#HealthCheckInterval": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 300 @@ -3497,7 +3491,6 @@ "com.amazonaws.elasticloadbalancing#HealthCheckTimeout": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 60 @@ -3507,7 +3500,6 @@ "com.amazonaws.elasticloadbalancing#HealthyThreshold": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 @@ -3543,7 +3535,6 @@ "com.amazonaws.elasticloadbalancing#InstancePort": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -3758,7 +3749,6 @@ "InstancePort": { "target": "com.amazonaws.elasticloadbalancing#InstancePort", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the instance is listening.

", "smithy.api#required": {} } @@ -5028,7 +5018,6 @@ "com.amazonaws.elasticloadbalancing#UnhealthyThreshold": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 diff --git a/codegen/sdk-codegen/aws-models/elasticache.json b/codegen/sdk-codegen/aws-models/elasticache.json index 3b678d9c797..0bc2cc99ef9 100644 --- a/codegen/sdk-codegen/aws-models/elasticache.json +++ b/codegen/sdk-codegen/aws-models/elasticache.json @@ -156,6 +156,7 @@ "ResourceName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for\n example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or\n arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot.\n ElastiCache resources are cluster and\n snapshot.

\n

For more information about ARNs, see Amazon Resource Names (ARNs)\n and Amazon Service Namespaces.

", "smithy.api#required": {} } @@ -163,6 +164,7 @@ "Tags": { "target": "com.amazonaws.elasticache#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must\n be accompanied by a tag value, although null is accepted.

", "smithy.api#required": {} } @@ -466,7 +468,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -509,7 +510,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -522,7 +524,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -536,7 +537,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -559,7 +559,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -594,7 +593,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -605,14 +603,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -626,14 +626,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -642,18 +640,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -662,7 +659,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -682,14 +680,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -703,7 +703,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -723,7 +722,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -734,14 +732,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -752,9 +752,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1626,6 +1628,7 @@ "CacheSecurityGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cache security group that allows network ingress.

", "smithy.api#required": {} } @@ -1633,6 +1636,7 @@ "EC2SecurityGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 security group to be authorized for ingress to the cache security\n group.

", "smithy.api#required": {} } @@ -1640,6 +1644,7 @@ "EC2SecurityGroupOwnerId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon account number of the Amazon EC2 security group owner. Note that this is\n not the same thing as an Amazon access key ID - you must provide a valid Amazon account\n number for this parameter.

", "smithy.api#required": {} } @@ -1754,6 +1759,7 @@ "ServiceUpdateName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of the service update

", "smithy.api#required": {} } @@ -1801,6 +1807,7 @@ "ServiceUpdateName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of the service update

", "smithy.api#required": {} } @@ -1811,10 +1818,7 @@ } }, "com.amazonaws.elasticache#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.elasticache#BooleanOptional": { "type": "boolean" @@ -1930,7 +1934,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

 If you are running Redis engine version 6.0 or later, set this parameter to yes if\n you want to opt-in to the next auto minor version upgrade campaign. This parameter is\n disabled for previous versions. 

" } }, @@ -1991,7 +1994,6 @@ "ReplicationGroupLogDeliveryEnabled": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether log delivery is enabled for the replication\n group.

" } }, @@ -2278,7 +2280,6 @@ "IsModifiable": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them\n from being changed.

" } }, @@ -2432,7 +2433,6 @@ "IsGlobal": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the parameter group is associated with a Global datastore

" } }, @@ -3019,6 +3019,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the replication group to which data is being migrated.

", "smithy.api#required": {} } @@ -3026,7 +3027,6 @@ "Force": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Forces the migration to stop without ensuring that data is in sync. It is recommended\n to use this option only to abort the migration and not recommended when application\n wants to continue migration to ElastiCache.

" } } @@ -3052,6 +3052,7 @@ "NodeGroupId": { "target": "com.amazonaws.elasticache#AllowedNodeGroupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The 4-digit id for the node group you are configuring. For Redis (cluster mode\n disabled) replication groups, the node group id is always 0001. To find a Redis (cluster\n mode enabled)'s node group's (shard's) id, see Finding a Shard's\n Id.

", "smithy.api#required": {} } @@ -3059,7 +3060,7 @@ "NewReplicaCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of replicas you want in this node group at the end of this operation.\n The maximum value for NewReplicaCount is 5. The minimum value depends upon\n the type of Redis replication group you are working with.

\n

The minimum number of replicas in a shard or replication group is:

\n ", "smithy.api#required": {} } @@ -3163,6 +3164,7 @@ "SourceSnapshotName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of an existing snapshot from which to make a copy.

", "smithy.api#required": {} } @@ -3170,6 +3172,7 @@ "TargetSnapshotName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the snapshot copy. ElastiCache does not permit overwriting a snapshot,\n therefore this name must be unique within its context - ElastiCache or an Amazon S3\n bucket if exporting.

", "smithy.api#required": {} } @@ -3309,6 +3312,7 @@ "CacheClusterId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The node group (shard) identifier. This parameter is stored as a lowercase\n string.

\n

\n Constraints:\n

\n ", "smithy.api#required": {} } @@ -3560,6 +3564,7 @@ "CacheParameterGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A user-specified name for the cache parameter group.

", "smithy.api#required": {} } @@ -3567,6 +3572,7 @@ "CacheParameterGroupFamily": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache parameter group family that the cache parameter group can be\n used with.

\n

Valid values are: memcached1.4 | memcached1.5 |\n memcached1.6 | redis2.6 | redis2.8 |\n redis3.2 | redis4.0 | redis5.0 |\n redis6.x | redis7\n

", "smithy.api#required": {} } @@ -3574,6 +3580,7 @@ "Description": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A user-specified description for the cache parameter group.

", "smithy.api#required": {} } @@ -3646,6 +3653,7 @@ "CacheSecurityGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the cache security group. This value is stored as a lowercase\n string.

\n

Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word\n \"Default\".

\n

Example: mysecuritygroup\n

", "smithy.api#required": {} } @@ -3653,6 +3661,7 @@ "Description": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the cache security group.

", "smithy.api#required": {} } @@ -3760,6 +3769,7 @@ "CacheSubnetGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the cache subnet group. This value is stored as a lowercase string.

\n

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

\n

Example: mysubnetgroup\n

", "smithy.api#required": {} } @@ -3767,6 +3777,7 @@ "CacheSubnetGroupDescription": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the cache subnet group.

", "smithy.api#required": {} } @@ -3774,6 +3785,7 @@ "SubnetIds": { "target": "com.amazonaws.elasticache#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of VPC subnet IDs for the cache subnet group.

", "smithy.api#required": {} } @@ -3836,6 +3848,7 @@ "GlobalReplicationGroupIdSuffix": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The suffix name of a Global datastore. Amazon ElastiCache automatically applies a\n prefix to the Global datastore ID when it is created. Each Amazon Region has its own\n prefix. For instance, a Global datastore ID created in the US-West-1 region will begin\n with \"dsdfu\" along with the suffix name you provide. The suffix, combined with the\n auto-generated prefix, guarantees uniqueness of the Global datastore name across\n multiple regions.

\n

For a full list of Amazon Regions and their respective Global datastore iD prefixes,\n see Using the Amazon CLI with Global datastores .

", "smithy.api#required": {} } @@ -3849,6 +3862,7 @@ "PrimaryReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the primary cluster that accepts writes and will replicate updates to the\n secondary cluster.

", "smithy.api#required": {} } @@ -3977,6 +3991,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The replication group identifier. This parameter is stored as a lowercase\n string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3984,6 +3999,7 @@ "ReplicationGroupDescription": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A user-created description for the replication group.

", "smithy.api#required": {} } @@ -4322,6 +4338,7 @@ "SnapshotName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the snapshot being created.

", "smithy.api#required": {} } @@ -4434,6 +4451,7 @@ "UserGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user group.

", "smithy.api#required": {} } @@ -4441,6 +4459,7 @@ "Engine": { "target": "com.amazonaws.elasticache#EngineType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current supported value is Redis.

", "smithy.api#required": {} } @@ -4468,6 +4487,7 @@ "UserId": { "target": "com.amazonaws.elasticache#UserId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user.

", "smithy.api#required": {} } @@ -4475,6 +4495,7 @@ "UserName": { "target": "com.amazonaws.elasticache#UserName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The username of the user.

", "smithy.api#required": {} } @@ -4482,6 +4503,7 @@ "Engine": { "target": "com.amazonaws.elasticache#EngineType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current supported value is Redis.

", "smithy.api#required": {} } @@ -4495,6 +4517,7 @@ "AccessString": { "target": "com.amazonaws.elasticache#AccessString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Access permissions string used for this user.

", "smithy.api#required": {} } @@ -4597,6 +4620,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -4604,7 +4628,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of node groups (shards) that results from the modification of the shard\n configuration

", "smithy.api#required": {} } @@ -4624,7 +4648,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates that the shard reconfiguration process begins immediately. At present, the\n only permitted value for this parameter is true.

", "smithy.api#required": {} } @@ -4701,6 +4725,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The id of the replication group from which you want to remove replica\n nodes.

", "smithy.api#required": {} } @@ -4726,7 +4751,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If True, the number of replica nodes is decreased immediately.\n ApplyImmediately=False is not currently supported.

", "smithy.api#required": {} } @@ -4858,6 +4883,7 @@ "CacheClusterId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier for the cluster to be deleted. This parameter is not case\n sensitive.

", "smithy.api#required": {} } @@ -4926,6 +4952,7 @@ "CacheParameterGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache parameter group to delete.

\n \n

The specified cache security group must not be associated with any\n clusters.

\n
", "smithy.api#required": {} } @@ -4977,6 +5004,7 @@ "CacheSecurityGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache security group to delete.

\n \n

You cannot delete the default security group.

\n
", "smithy.api#required": {} } @@ -5022,6 +5050,7 @@ "CacheSubnetGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache subnet group to delete.

\n

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

", "smithy.api#required": {} } @@ -5061,6 +5090,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -5068,7 +5098,7 @@ "RetainPrimaryReplicationGroup": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The primary replication group is retained as a standalone replication group.

", "smithy.api#required": {} } @@ -5149,6 +5179,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the cluster to be deleted. This parameter is not case\n sensitive.

", "smithy.api#required": {} } @@ -5253,6 +5284,7 @@ "SnapshotName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the snapshot to be deleted.

", "smithy.api#required": {} } @@ -5335,6 +5367,7 @@ "UserGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user group.

", "smithy.api#required": {} } @@ -5350,6 +5383,7 @@ "UserId": { "target": "com.amazonaws.elasticache#UserId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user.

", "smithy.api#required": {} } @@ -5756,7 +5790,6 @@ "DefaultOnly": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, specifies that only the default version of the specified engine\n or engine and major version combination is to be returned.

" } } @@ -6274,6 +6307,7 @@ "CacheParameterGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a specific cache parameter group to return details for.

", "smithy.api#required": {} } @@ -7104,6 +7138,7 @@ "CacheParameterGroupFamily": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache parameter group family.

\n

Valid values are: memcached1.4 | memcached1.5 |\n memcached1.6 | redis2.6 | redis2.8 |\n redis3.2 | redis4.0 | redis5.0 |\n redis6.x | redis6.2 | redis7\n

", "smithy.api#required": {} } @@ -8490,6 +8525,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -8497,6 +8533,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the secondary cluster you wish to remove from the Global datastore

", "smithy.api#required": {} } @@ -8504,6 +8541,7 @@ "ReplicationGroupRegion": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon region of secondary cluster you wish to remove from the Global\n datastore

", "smithy.api#required": {} } @@ -8525,10 +8563,7 @@ } }, "com.amazonaws.elasticache#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.elasticache#DuplicateUserNameFault": { "type": "structure", @@ -8594,7 +8629,6 @@ "Port": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number that the cache engine is listening on.

" } } @@ -8738,6 +8772,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -8745,6 +8780,7 @@ "PrimaryRegion": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon region of the primary cluster of the Global datastore

", "smithy.api#required": {} } @@ -8752,6 +8788,7 @@ "PrimaryReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the primary replication group

", "smithy.api#required": {} } @@ -8778,6 +8815,7 @@ "Name": { "target": "com.amazonaws.elasticache#FilterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The property being filtered. For example, UserId.

", "smithy.api#required": {} } @@ -8785,6 +8823,7 @@ "Values": { "target": "com.amazonaws.elasticache#FilterValueList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The property values to filter on. For example, \"user-123\".

", "smithy.api#required": {} } @@ -9086,6 +9125,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -9093,7 +9133,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Total number of node groups you want

", "smithy.api#required": {} } @@ -9107,7 +9147,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates that the process begins immediately. At present, the only permitted value\n for this parameter is true.

", "smithy.api#required": {} } @@ -9184,6 +9224,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The id of the replication group to which you want to add replica nodes.

", "smithy.api#required": {} } @@ -9203,7 +9244,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If True, the number of replica nodes is increased immediately.\n ApplyImmediately=False is not currently supported.

", "smithy.api#required": {} } @@ -9265,10 +9306,7 @@ } }, "com.amazonaws.elasticache#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.elasticache#IntegerOptional": { "type": "integer" @@ -9696,6 +9734,7 @@ "ResourceName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource for which you want the list of tags,\n for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or\n arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot.

\n

For more information about ARNs, see Amazon Resource Names (ARNs)\n and Amazon Web\n Services Service Namespaces.

", "smithy.api#required": {} } @@ -9964,6 +10003,7 @@ "CacheClusterId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier. This value is stored as a lowercase string.

", "smithy.api#required": {} } @@ -10031,7 +10071,6 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, this parameter causes the modifications in this request and any\n pending modifications to be applied, asynchronously and as soon as possible, regardless\n of the PreferredMaintenanceWindow setting for the cluster.

\n

If false, changes to the cluster are applied on the next maintenance\n reboot, or the next failure reboot, whichever occurs first.

\n \n

If you perform a ModifyCacheCluster before a pending modification is\n applied, the pending modification is replaced by the newer modification.

\n
\n

Valid values: true | false\n

\n

Default: false\n

" } }, @@ -10163,6 +10202,7 @@ "CacheParameterGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache parameter group to modify.

", "smithy.api#required": {} } @@ -10170,6 +10210,7 @@ "ParameterNameValues": { "target": "com.amazonaws.elasticache#ParameterNameValueList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of parameter names and values for the parameter update. You must supply at\n least one parameter name and value; subsequent arguments are optional. A maximum of 20\n parameters may be modified per request.

", "smithy.api#required": {} } @@ -10266,6 +10307,7 @@ "CacheSubnetGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the cache subnet group. This value is stored as a lowercase\n string.

\n

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

\n

Example: mysubnetgroup\n

", "smithy.api#required": {} } @@ -10328,6 +10370,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -10335,7 +10378,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This parameter causes the modifications in this request and any pending modifications\n to be applied, asynchronously and as soon as possible. Modifications to Global\n Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.\n

", "smithy.api#required": {} } @@ -10524,6 +10567,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the replication group to modify.

", "smithy.api#required": {} } @@ -10604,7 +10648,6 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, this parameter causes the modifications in this request and any\n pending modifications to be applied, asynchronously and as soon as possible, regardless\n of the PreferredMaintenanceWindow setting for the replication group.

\n

If false, changes to the nodes in the replication group are applied on\n the next maintenance reboot, or the next failure reboot, whichever occurs first.

\n

Valid values: true | false\n

\n

Default: false\n

" } }, @@ -10765,6 +10808,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Redis (cluster mode enabled) cluster (replication group) on which the\n shards are to be configured.

", "smithy.api#required": {} } @@ -10772,7 +10816,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of node groups (shards) that results from the modification of the shard\n configuration.

", "smithy.api#required": {} } @@ -10780,7 +10824,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates that the shard reconfiguration process begins immediately. At present, the\n only permitted value for this parameter is true.

\n

Value: true

", "smithy.api#required": {} } @@ -10893,6 +10937,7 @@ "UserGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user group.

", "smithy.api#required": {} } @@ -10920,6 +10965,7 @@ "UserId": { "target": "com.amazonaws.elasticache#UserId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user.

", "smithy.api#required": {} } @@ -11584,7 +11630,6 @@ "IsModifiable": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them\n from being changed.

" } }, @@ -11871,6 +11916,7 @@ "ReservedCacheNodesOfferingId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the reserved cache node offering to purchase.

\n

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706\n

", "smithy.api#required": {} } @@ -11939,6 +11985,7 @@ "GlobalReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Global datastore

", "smithy.api#required": {} } @@ -11946,7 +11993,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If True, redistribution is applied immediately.

", "smithy.api#required": {} } @@ -12033,6 +12080,7 @@ "CacheClusterId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -12040,6 +12088,7 @@ "CacheNodeIdsToReboot": { "target": "com.amazonaws.elasticache#CacheNodeIdsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002,\n etc.). To reboot an entire cluster, specify all of the cache node IDs.

", "smithy.api#required": {} } @@ -12067,7 +12116,6 @@ "RecurringChargeAmount": { "target": "com.amazonaws.elasticache#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The monetary amount of the recurring charge.

" } }, @@ -12097,6 +12145,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the secondary cluster

", "smithy.api#required": {} } @@ -12104,6 +12153,7 @@ "ReplicationGroupRegion": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon region where the cluster is stored

", "smithy.api#required": {} } @@ -12111,6 +12161,7 @@ "ReshardingConfiguration": { "target": "com.amazonaws.elasticache#ReshardingConfigurationList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of PreferredAvailabilityZones objects that specifies the\n configuration of a node group in the resharded cluster.

", "smithy.api#required": {} } @@ -12229,6 +12280,7 @@ "ResourceName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource from which you want the tags removed,\n for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster or\n arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot.

\n

For more information about ARNs, see Amazon Resource Names (ARNs)\n and Amazon Service Namespaces.

", "smithy.api#required": {} } @@ -12236,6 +12288,7 @@ "TagKeys": { "target": "com.amazonaws.elasticache#KeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of TagKeys identifying the tags you want removed from the named\n resource.

", "smithy.api#required": {} } @@ -12417,7 +12470,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If you are running Redis engine version 6.0 or later, set this parameter to yes if you\n want to opt-in to the next auto minor version upgrade campaign. This parameter is\n disabled for previous versions.

" } }, @@ -12661,28 +12713,24 @@ "Duration": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the reservation in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.elasticache#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price charged for this reserved cache node.

" } }, "UsagePrice": { "target": "com.amazonaws.elasticache#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The hourly price charged for this reserved cache node.

" } }, "CacheNodeCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of cache nodes that have been reserved.

" } }, @@ -12820,21 +12868,18 @@ "Duration": { "target": "com.amazonaws.elasticache#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the offering. in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.elasticache#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price charged for this offering.

" } }, "UsagePrice": { "target": "com.amazonaws.elasticache#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The hourly price charged for this offering.

" } }, @@ -12956,6 +13001,7 @@ "CacheParameterGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache parameter group to reset.

", "smithy.api#required": {} } @@ -12963,7 +13009,6 @@ "ResetAllParameters": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, all parameters in the cache parameter group are reset to their\n default values. If false, only the parameters listed by\n ParameterNameValues are reset to their default values.

\n

Valid values: true | false\n

" } }, @@ -13068,6 +13113,7 @@ "CacheSecurityGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cache security group to revoke ingress from.

", "smithy.api#required": {} } @@ -13075,6 +13121,7 @@ "EC2SecurityGroupName": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon EC2 security group to revoke access from.

", "smithy.api#required": {} } @@ -13082,6 +13129,7 @@ "EC2SecurityGroupOwnerId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon account number of the Amazon EC2 security group owner. Note that this is\n not the same thing as an Amazon access key ID - you must provide a valid Amazon account\n number for this parameter.

", "smithy.api#required": {} } @@ -13385,7 +13433,6 @@ "ProgressPercentage": { "target": "com.amazonaws.elasticache#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the slot migration that is complete.

" } } @@ -13514,7 +13561,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

 If you are running Redis engine version 6.0 or later, set this parameter to yes if\n you want to opt-in to the next auto minor version upgrade campaign. This parameter is\n disabled for previous versions. 

" } }, @@ -13736,6 +13782,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the replication group to which data should be migrated.

", "smithy.api#required": {} } @@ -13743,6 +13790,7 @@ "CustomerNodeEndpointList": { "target": "com.amazonaws.elasticache#CustomerNodeEndpointList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of endpoints from which data should be migrated. For Redis (cluster mode\n disabled), list should have only one element.

", "smithy.api#required": {} } @@ -13991,6 +14039,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the replication group (console: cluster) whose automatic failover is being\n tested by this operation.

", "smithy.api#required": {} } @@ -13998,6 +14047,7 @@ "NodeGroupId": { "target": "com.amazonaws.elasticache#AllowedNodeGroupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the node group (called shard in the console) in this replication group on\n which automatic failover is to be tested. You may test automatic failover on up to 5\n node groups in any rolling 24-hour period.

", "smithy.api#required": {} } @@ -14067,6 +14117,7 @@ "ReplicationGroupId": { "target": "com.amazonaws.elasticache#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the replication group to which data is to be migrated.

", "smithy.api#required": {} } @@ -14074,6 +14125,7 @@ "CustomerNodeEndpointList": { "target": "com.amazonaws.elasticache#CustomerNodeEndpointList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of endpoints from which data should be migrated. List should have only one\n element.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/elasticsearch-service.json b/codegen/sdk-codegen/aws-models/elasticsearch-service.json index 055e35ee74f..606b9e70c1f 100644 --- a/codegen/sdk-codegen/aws-models/elasticsearch-service.json +++ b/codegen/sdk-codegen/aws-models/elasticsearch-service.json @@ -566,7 +566,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -609,7 +608,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -622,7 +622,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -636,7 +635,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -659,7 +657,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -694,7 +691,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -705,14 +701,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -726,14 +724,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -742,11 +738,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -757,14 +753,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -778,7 +776,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -798,7 +795,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -809,14 +805,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -827,9 +825,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4561,7 +4561,6 @@ "Value": { "target": "com.amazonaws.elasticsearchservice#DurationValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

" } }, @@ -4579,7 +4578,6 @@ "com.amazonaws.elasticsearchservice#DurationValue": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

", "smithy.api#range": { "min": 1, @@ -5982,7 +5980,6 @@ "com.amazonaws.elasticsearchservice#InstanceCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of EC2 instances in the Elasticsearch domain.

", "smithy.api#range": { "min": 1 @@ -7565,7 +7562,6 @@ "InstanceCount": { "target": "com.amazonaws.elasticsearchservice#InstanceCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Elasticsearch instances to reserve.

" } } diff --git a/codegen/sdk-codegen/aws-models/emr.json b/codegen/sdk-codegen/aws-models/emr.json index 942be6f9d05..dd2505de1e6 100644 --- a/codegen/sdk-codegen/aws-models/emr.json +++ b/codegen/sdk-codegen/aws-models/emr.json @@ -84,6 +84,7 @@ "ClusterId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster.

", "smithy.api#required": {} } @@ -91,6 +92,7 @@ "InstanceFleet": { "target": "com.amazonaws.emr#InstanceFleetConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the configuration of the instance fleet.

", "smithy.api#required": {} } @@ -149,6 +151,7 @@ "InstanceGroups": { "target": "com.amazonaws.emr#InstanceGroupConfigList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Instance groups to add.

", "smithy.api#required": {} } @@ -156,6 +159,7 @@ "JobFlowId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Job flow in which to add the instance groups.

", "smithy.api#required": {} } @@ -216,6 +220,7 @@ "JobFlowId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.\n

", "smithy.api#required": {} } @@ -223,6 +228,7 @@ "Steps": { "target": "com.amazonaws.emr#StepConfigList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of StepConfig to be executed by the job flow.

", "smithy.api#required": {} } @@ -280,6 +286,7 @@ "ResourceId": { "target": "com.amazonaws.emr#ResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EMR resource identifier to which tags will be added. For example, a\n cluster identifier or an Amazon EMR Studio ID.

", "smithy.api#required": {} } @@ -287,6 +294,7 @@ "Tags": { "target": "com.amazonaws.emr#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of tags to associate with a resource. Tags are user-defined key-value pairs that\n consist of a required key string with a maximum of 128 characters, and an optional value\n string with a maximum of 256 characters.

", "smithy.api#required": {} } @@ -398,6 +406,7 @@ "Constraints": { "target": "com.amazonaws.emr#ScalingConstraints", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The upper and lower Amazon EC2 instance limits for an automatic scaling policy.\n Automatic scaling activity will not cause an instance group to grow above or below these\n limits.

", "smithy.api#required": {} } @@ -405,6 +414,7 @@ "Rules": { "target": "com.amazonaws.emr#ScalingRuleList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The scale-in and scale-out rules that comprise the automatic scaling policy.

", "smithy.api#required": {} } @@ -550,7 +560,6 @@ "IdleTimeout": { "target": "com.amazonaws.emr#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the amount of idle time in seconds after which the cluster automatically\n terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven\n days).

" } } @@ -565,7 +574,7 @@ "BlockPublicSecurityGroupRules": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether Amazon EMR block public access is enabled (true)\n or disabled (false). By default, the value is false for accounts\n that have created Amazon EMR clusters before July 2019. For accounts created after\n this, the default is true.

", "smithy.api#required": {} } @@ -605,6 +614,7 @@ "CreationDateTime": { "target": "com.amazonaws.emr#Date", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the configuration was created.

", "smithy.api#required": {} } @@ -612,6 +622,7 @@ "CreatedByArn": { "target": "com.amazonaws.emr#ArnType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name that created or last modified the configuration.

", "smithy.api#required": {} } @@ -622,10 +633,7 @@ } }, "com.amazonaws.emr#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.emr#BooleanObject": { "type": "boolean" @@ -636,6 +644,7 @@ "Name": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the bootstrap action.

", "smithy.api#required": {} } @@ -643,6 +652,7 @@ "ScriptBootstrapAction": { "target": "com.amazonaws.emr#ScriptBootstrapActionConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The script run by the bootstrap action.

", "smithy.api#required": {} } @@ -736,6 +746,7 @@ "ClusterId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ClusterID for the specified steps that will be canceled. Use RunJobFlow and ListClusters to get ClusterIDs.

", "smithy.api#required": {} } @@ -743,6 +754,7 @@ "StepIds": { "target": "com.amazonaws.emr#StepIdsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of StepIDs to cancel. Use ListSteps to get steps\n and their states for the specified cluster.

", "smithy.api#required": {} } @@ -797,6 +809,7 @@ "ComparisonOperator": { "target": "com.amazonaws.emr#ComparisonOperator", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Determines how the metric specified by MetricName is compared to the value\n specified by Threshold.

", "smithy.api#required": {} } @@ -810,6 +823,7 @@ "MetricName": { "target": "com.amazonaws.emr#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the CloudWatch metric that is watched to determine an alarm\n condition.

", "smithy.api#required": {} } @@ -823,6 +837,7 @@ "Period": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The period, in seconds, over which the statistic is applied. CloudWatch metrics for\n Amazon EMR are emitted every five minutes (300 seconds), so if you specify a\n CloudWatch metric, specify 300.

", "smithy.api#required": {} } @@ -836,6 +851,7 @@ "Threshold": { "target": "com.amazonaws.emr#NonNegativeDouble", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value against which the specified statistic is compared.

", "smithy.api#required": {} } @@ -923,21 +939,18 @@ "AutoTerminate": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster should terminate after completing all steps.

" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 instances from being terminated by an API call or user intervention, or in\n the event of a cluster error.

" } }, "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster\n actions on the cluster that their IAM policies allow. When\n false, only the IAM principal that created the cluster and\n the Amazon Web Services account root user can perform Amazon EMR actions, regardless\n of IAM permissions policies attached to other IAM\n principals.

\n

The default value is true if a value is not provided when creating a\n cluster using the Amazon EMR API RunJobFlow command, the CLI\n create-cluster command, or the Amazon Web Services Management Console.

" } }, @@ -1358,6 +1371,7 @@ "UnitType": { "target": "com.amazonaws.emr#ComputeLimitsUnitType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unit type used for specifying a managed scaling policy.

", "smithy.api#required": {} } @@ -1365,6 +1379,7 @@ "MinimumCapacityUnits": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The lower boundary of Amazon EC2 units. It is measured through vCPU cores or\n instances for instance groups and measured through units for instance fleets. Managed\n scaling activities are not allowed beyond this boundary. The limit only applies to the core\n and task nodes. The master node cannot be scaled after initial configuration.

", "smithy.api#required": {} } @@ -1372,6 +1387,7 @@ "MaximumCapacityUnits": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The upper boundary of Amazon EC2 units. It is measured through vCPU cores or\n instances for instance groups and measured through units for instance fleets. Managed\n scaling activities are not allowed beyond this boundary. The limit only applies to the core\n and task nodes. The master node cannot be scaled after initial configuration.

", "smithy.api#required": {} } @@ -1474,6 +1490,7 @@ "Name": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the security configuration.

", "smithy.api#required": {} } @@ -1481,6 +1498,7 @@ "SecurityConfiguration": { "target": "com.amazonaws.emr#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The security configuration details in JSON format. For JSON parameters and examples, see\n Use Security\n Configurations to Set Up Cluster Security in the Amazon EMR\n Management Guide.

", "smithy.api#required": {} } @@ -1496,6 +1514,7 @@ "Name": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the security configuration.

", "smithy.api#required": {} } @@ -1503,6 +1522,7 @@ "CreationDateTime": { "target": "com.amazonaws.emr#Date", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time the security configuration was created.

", "smithy.api#required": {} } @@ -1538,6 +1558,7 @@ "Name": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive name for the Amazon EMR Studio.

", "smithy.api#required": {} } @@ -1551,6 +1572,7 @@ "AuthMode": { "target": "com.amazonaws.emr#AuthMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether the Studio authenticates users using IAM or IAM Identity Center.

", "smithy.api#required": {} } @@ -1558,6 +1580,7 @@ "VpcId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the\n Studio.

", "smithy.api#required": {} } @@ -1565,6 +1588,7 @@ "SubnetIds": { "target": "com.amazonaws.emr#SubnetIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of subnet IDs to associate with the Amazon EMR Studio. A Studio can have\n a maximum of 5 subnets. The subnets must belong to the VPC specified by VpcId.\n Studio users can create a Workspace in any of the specified subnets.

", "smithy.api#required": {} } @@ -1572,6 +1596,7 @@ "ServiceRole": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IAM role that the Amazon EMR Studio assumes. The service role\n provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services\n services.

", "smithy.api#required": {} } @@ -1585,6 +1610,7 @@ "WorkspaceSecurityGroupId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio Workspace security group. The Workspace security\n group allows outbound network traffic to resources in the Engine security group, and it\n must be in the same VPC specified by VpcId.

", "smithy.api#required": {} } @@ -1592,6 +1618,7 @@ "EngineSecurityGroupId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio Engine security group. The Engine security group\n allows inbound network traffic from the Workspace security group, and it must be in the\n same VPC specified by VpcId.

", "smithy.api#required": {} } @@ -1599,6 +1626,7 @@ "DefaultS3Location": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location to back up Amazon EMR Studio Workspaces and\n notebook files.

", "smithy.api#required": {} } @@ -1672,6 +1700,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio to which the user or group will be\n mapped.

", "smithy.api#required": {} } @@ -1691,6 +1720,7 @@ "IdentityType": { "target": "com.amazonaws.emr#IdentityType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether the identity to map to the Amazon EMR Studio is a user or a\n group.

", "smithy.api#required": {} } @@ -1698,6 +1728,7 @@ "SessionPolicyArn": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the session policy that will be applied to the user\n or group. You should specify the ARN for the session policy that you want to apply, not the\n ARN of your user role. For more information, see Create an Amazon EMR\n Studio User Role with Session Policies.

", "smithy.api#required": {} } @@ -1750,6 +1781,7 @@ "Name": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the security configuration.

", "smithy.api#required": {} } @@ -1792,6 +1824,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio.

", "smithy.api#required": {} } @@ -1827,6 +1860,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio.

", "smithy.api#required": {} } @@ -1846,6 +1880,7 @@ "IdentityType": { "target": "com.amazonaws.emr#IdentityType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether the identity to delete from the Amazon EMR Studio is a user or\n a group.

", "smithy.api#required": {} } @@ -1963,6 +1998,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to describe.

", "smithy.api#required": {} } @@ -2080,6 +2116,7 @@ "NotebookExecutionId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the notebook execution.

", "smithy.api#required": {} } @@ -2207,6 +2244,7 @@ "Name": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the security configuration.

", "smithy.api#required": {} } @@ -2305,6 +2343,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster with steps to describe.

", "smithy.api#required": {} } @@ -2312,6 +2351,7 @@ "StepId": { "target": "com.amazonaws.emr#StepId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the step to describe.

", "smithy.api#required": {} } @@ -2363,6 +2403,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EMR Studio ID.

", "smithy.api#required": {} } @@ -2424,6 +2465,7 @@ "VolumeSpecification": { "target": "com.amazonaws.emr#VolumeSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

EBS volume specifications such as volume type, IOPS, size (GiB) and throughput (MiB/s)\n that are requested for the EBS volume attached to an Amazon EC2 instance in the\n cluster.

", "smithy.api#required": {} } @@ -2798,7 +2840,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2841,7 +2882,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2854,7 +2896,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2868,7 +2909,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2891,7 +2931,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2926,7 +2965,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2937,14 +2975,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2958,14 +2998,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2974,18 +3012,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -2994,7 +3031,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -3014,14 +3052,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3035,7 +3075,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3055,7 +3094,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3066,14 +3104,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3084,9 +3124,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3853,6 +3895,7 @@ "Id": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the execution engine. For an Amazon EMR cluster, this\n is the cluster ID.

", "smithy.api#required": {} } @@ -3918,10 +3961,7 @@ } }, "com.amazonaws.emr#Float": { - "type": "float", - "traits": { - "smithy.api#default": 0 - } + "type": "float" }, "com.amazonaws.emr#GetAutoTerminationPolicy": { "type": "operation", @@ -3941,6 +3981,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the Amazon EMR cluster for which the auto-termination policy\n will be fetched.

", "smithy.api#required": {} } @@ -3997,6 +4038,7 @@ "BlockPublicAccessConfiguration": { "target": "com.amazonaws.emr#BlockPublicAccessConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A configuration for Amazon EMR block public access. The configuration applies to\n all clusters created in your account for the current Region. The configuration specifies\n whether block public access is enabled. If block public access is enabled, security groups\n associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or\n ::/0 on a port, unless the port is specified as an exception using\n PermittedPublicSecurityGroupRuleRanges in the\n BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception,\n and public access is allowed on this port. You can change this by updating the block public\n access configuration to remove the exception.

\n \n

For accounts that created clusters in a Region before November 25, 2019, block public\n access is disabled by default in that Region. To use this feature, you must manually\n enable and configure it. For accounts that did not create an Amazon EMR cluster\n in a Region before this date, block public access is enabled by default in that\n Region.

\n
", "smithy.api#required": {} } @@ -4004,6 +4046,7 @@ "BlockPublicAccessConfigurationMetadata": { "target": "com.amazonaws.emr#BlockPublicAccessConfigurationMetadata", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Properties that describe the Amazon Web Services principal that created the\n BlockPublicAccessConfiguration using the\n PutBlockPublicAccessConfiguration action as well as the date and time that\n the configuration was created. Each time a configuration for block public access is\n updated, Amazon EMR updates this metadata.

", "smithy.api#required": {} } @@ -4039,6 +4082,7 @@ "ClusterId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster.

", "smithy.api#required": {} } @@ -4046,6 +4090,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.emr#ArnType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the runtime role for interactive workload submission\n on the cluster. The runtime role can be a cross-account IAM role. The\n runtime role ARN is a combination of account ID, role name, and role type using the\n following format: arn:partition:service:region:account:resource.

", "smithy.api#required": {} } @@ -4093,6 +4138,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the cluster for which the managed scaling policy will be fetched.\n

", "smithy.api#required": {} } @@ -4142,6 +4188,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio.

", "smithy.api#required": {} } @@ -4161,6 +4208,7 @@ "IdentityType": { "target": "com.amazonaws.emr#IdentityType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether the identity to fetch is a user or a group.

", "smithy.api#required": {} } @@ -4196,6 +4244,7 @@ "Jar": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A path to a JAR file run during the step.

", "smithy.api#required": {} } @@ -4459,6 +4508,7 @@ "InstanceFleetType": { "target": "com.amazonaws.emr#InstanceFleetType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The node type that the instance fleet hosts. Valid values are MASTER, CORE, and\n TASK.

", "smithy.api#required": {} } @@ -4519,6 +4569,7 @@ "InstanceFleetId": { "target": "com.amazonaws.emr#InstanceFleetId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the instance fleet.

", "smithy.api#required": {} } @@ -4823,7 +4874,6 @@ "ConfigurationsVersion": { "target": "com.amazonaws.emr#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the requested configuration specification for this instance\n group.

" } }, @@ -4836,7 +4886,6 @@ "LastSuccessfullyAppliedConfigurationsVersion": { "target": "com.amazonaws.emr#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of a configuration specification that was successfully applied for an\n instance group last time.

" } }, @@ -4893,6 +4942,7 @@ "InstanceRole": { "target": "com.amazonaws.emr#InstanceRoleType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The role of the instance group in the cluster.

", "smithy.api#required": {} } @@ -4906,6 +4956,7 @@ "InstanceType": { "target": "com.amazonaws.emr#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 instance type for all instances in the instance group.

", "smithy.api#required": {} } @@ -4913,6 +4964,7 @@ "InstanceCount": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Target number of instances for the instance group.

", "smithy.api#required": {} } @@ -4970,6 +5022,7 @@ "Market": { "target": "com.amazonaws.emr#MarketType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Market type of the Amazon EC2 instances used to create a cluster node.

", "smithy.api#required": {} } @@ -4977,6 +5030,7 @@ "InstanceRole": { "target": "com.amazonaws.emr#InstanceRoleType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Instance group role in the cluster

", "smithy.api#required": {} } @@ -4990,6 +5044,7 @@ "InstanceType": { "target": "com.amazonaws.emr#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon EC2 instance type.

", "smithy.api#required": {} } @@ -4997,6 +5052,7 @@ "InstanceRequestCount": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Target number of instances to run in the instance group.

", "smithy.api#required": {} } @@ -5004,6 +5060,7 @@ "InstanceRunningCount": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Actual count of running instances.

", "smithy.api#required": {} } @@ -5011,6 +5068,7 @@ "State": { "target": "com.amazonaws.emr#InstanceGroupState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

State of instance group. The following values are no longer supported: STARTING,\n TERMINATED, and FAILED.

", "smithy.api#required": {} } @@ -5024,6 +5082,7 @@ "CreationDateTime": { "target": "com.amazonaws.emr#Date", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date/time the instance group was created.

", "smithy.api#required": {} } @@ -5084,6 +5143,7 @@ "InstanceGroupId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Unique ID of the instance group to modify.

", "smithy.api#required": {} } @@ -5552,6 +5612,7 @@ "InstanceType": { "target": "com.amazonaws.emr#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An Amazon EC2 instance type, such as m3.xlarge.

", "smithy.api#required": {} } @@ -5723,6 +5784,7 @@ "JobFlowId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job flow identifier.

", "smithy.api#required": {} } @@ -5730,6 +5792,7 @@ "Name": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job flow.

", "smithy.api#required": {} } @@ -5755,6 +5818,7 @@ "ExecutionStatusDetail": { "target": "com.amazonaws.emr#JobFlowExecutionStatusDetail", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the execution status of the job flow.

", "smithy.api#required": {} } @@ -5762,6 +5826,7 @@ "Instances": { "target": "com.amazonaws.emr#JobFlowInstancesDetail", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the Amazon EC2 instances of the job flow.

", "smithy.api#required": {} } @@ -5787,7 +5852,6 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals in the Amazon Web Services account can perform Amazon EMR cluster\n actions that their IAM policies allow. When false, only the\n IAM principal that created the cluster and the Amazon Web Services account\n root user can perform Amazon EMR actions, regardless of IAM\n permissions policies attached to other IAM principals.

\n

The default value is true if a value is not provided when creating a\n cluster using the Amazon EMR API RunJobFlow command, the CLI\n create-cluster command, or the Amazon Web Services Management Console.

" } }, @@ -5894,6 +5958,7 @@ "State": { "target": "com.amazonaws.emr#JobFlowExecutionState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The state of the job flow.

", "smithy.api#required": {} } @@ -5901,6 +5966,7 @@ "CreationDateTime": { "target": "com.amazonaws.emr#Date", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation date and time of the job flow.

", "smithy.api#required": {} } @@ -5982,14 +6048,12 @@ "KeepJobFlowAliveWhenNoSteps": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster should remain available after completing all steps.\n Defaults to true. For more information about configuring cluster termination,\n see Control Cluster Termination in the EMR Management\n Guide.

" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to lock the cluster to prevent the Amazon EC2 instances from\n being terminated by API call, user intervention, or in the event of a job-flow\n error.

" } }, @@ -6052,6 +6116,7 @@ "MasterInstanceType": { "target": "com.amazonaws.emr#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 master node instance type.

", "smithy.api#required": {} } @@ -6071,6 +6136,7 @@ "SlaveInstanceType": { "target": "com.amazonaws.emr#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 core and task node instance type.

", "smithy.api#required": {} } @@ -6078,6 +6144,7 @@ "InstanceCount": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of Amazon EC2 instances in the cluster. If the value is 1, the same\n instance serves as both the master and core and task node. If the value is greater than 1,\n one instance is the master node and all others are core and task nodes.

", "smithy.api#required": {} } @@ -6115,14 +6182,12 @@ "KeepJobFlowAliveWhenNoSteps": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster should remain available after completing all steps.

" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Amazon EC2 instances in the cluster are protected from\n termination by API calls, user intervention, or in the event of a job-flow error.

" } }, @@ -6143,6 +6208,7 @@ "Realm": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Kerberos realm to which all nodes in a cluster belong. For example,\n EC2.INTERNAL.

", "smithy.api#required": {} } @@ -6150,6 +6216,7 @@ "KdcAdminPassword": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The password used within the cluster for the kadmin service on the cluster-dedicated\n KDC, which maintains Kerberos principals, password policies, and keytabs for the\n cluster.

", "smithy.api#required": {} } @@ -6234,6 +6301,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier for the bootstrap actions to list.

", "smithy.api#required": {} } @@ -6381,6 +6449,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster.

", "smithy.api#required": {} } @@ -6447,6 +6516,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster for which to list the instance groups.

", "smithy.api#required": {} } @@ -6515,6 +6585,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster for which to list the instances.

", "smithy.api#required": {} } @@ -6832,6 +6903,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster for which to list the steps.

", "smithy.api#required": {} } @@ -7041,6 +7113,7 @@ "ReleaseLabel": { "target": "com.amazonaws.emr#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EMR release label determines the versions of open-source\n application packages that Amazon EMR has installed on the cluster.\n Release labels are in the format emr-x.x.x, where x.x.x is an Amazon EMR release number such as emr-6.10.0. For more information about Amazon EMR releases and their included application versions and features, see the\n \n Amazon EMR Release\n Guide\n .

", "smithy.api#required": {} } @@ -7077,10 +7150,7 @@ } }, "com.amazonaws.emr#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.emr#ManagedScalingPolicy": { "type": "structure", @@ -7177,6 +7247,7 @@ "ClusterId": { "target": "com.amazonaws.emr#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster.

", "smithy.api#required": {} } @@ -7232,6 +7303,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster.

", "smithy.api#required": {} } @@ -7239,6 +7311,7 @@ "InstanceFleet": { "target": "com.amazonaws.emr#InstanceFleetModifyConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration parameters of the instance fleet.

", "smithy.api#required": {} } @@ -7668,6 +7741,7 @@ "AllocationStrategy": { "target": "com.amazonaws.emr#OnDemandProvisioningAllocationStrategy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the strategy to use in launching On-Demand instance fleets. Currently, the\n only option is lowest-price (the default), which launches the lowest price\n first.

", "smithy.api#required": {} } @@ -7689,6 +7763,7 @@ "TimeoutDurationMinutes": { "target": "com.amazonaws.emr#WholeNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

On-Demand resize timeout in minutes. If On-Demand Instances are not provisioned within\n this time, the resize workflow stops. The minimum value is 5 minutes, and the maximum value\n is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance\n Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the\n customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or\n Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.

", "smithy.api#required": {} } @@ -7764,6 +7839,7 @@ "InstanceRole": { "target": "com.amazonaws.emr#InstanceRoleType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Role of the instance in the cluster.

\n

Starting with Amazon EMR release 5.23.0, the only supported instance role is\n MASTER.

", "smithy.api#required": {} } @@ -7849,6 +7925,7 @@ "MinRange": { "target": "com.amazonaws.emr#Port", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The smallest port number in a specified range of port numbers.

", "smithy.api#required": {} } @@ -7888,6 +7965,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of a cluster. The instance group to which the automatic scaling policy\n is applied is within this cluster.

", "smithy.api#required": {} } @@ -7895,6 +7973,7 @@ "InstanceGroupId": { "target": "com.amazonaws.emr#InstanceGroupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the instance group to which the automatic scaling policy is\n applied.

", "smithy.api#required": {} } @@ -7902,6 +7981,7 @@ "AutoScalingPolicy": { "target": "com.amazonaws.emr#AutoScalingPolicy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the definition of the automatic scaling policy.

", "smithy.api#required": {} } @@ -7961,6 +8041,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the Amazon EMR cluster to which the auto-termination policy\n will be attached.

", "smithy.api#required": {} } @@ -8009,6 +8090,7 @@ "BlockPublicAccessConfiguration": { "target": "com.amazonaws.emr#BlockPublicAccessConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A configuration for Amazon EMR block public access. The configuration applies to\n all clusters created in your account for the current Region. The configuration specifies\n whether block public access is enabled. If block public access is enabled, security groups\n associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or\n ::/0 on a port, unless the port is specified as an exception using\n PermittedPublicSecurityGroupRuleRanges in the\n BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception,\n and public access is allowed on this port. You can change this by updating\n BlockPublicSecurityGroupRules to remove the exception.

\n \n

For accounts that created clusters in a Region before November 25, 2019, block public\n access is disabled by default in that Region. To use this feature, you must manually\n enable and configure it. For accounts that did not create an Amazon EMR cluster\n in a Region before this date, block public access is enabled by default in that\n Region.

\n
", "smithy.api#required": {} } @@ -8043,6 +8125,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of an Amazon EMR cluster where the managed scaling policy is\n attached.

", "smithy.api#required": {} } @@ -8050,6 +8133,7 @@ "ManagedScalingPolicy": { "target": "com.amazonaws.emr#ManagedScalingPolicy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the constraints for the managed scaling policy.

", "smithy.api#required": {} } @@ -8121,6 +8205,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of a cluster. The instance group to which the automatic scaling policy\n is applied is within this cluster.

", "smithy.api#required": {} } @@ -8128,6 +8213,7 @@ "InstanceGroupId": { "target": "com.amazonaws.emr#InstanceGroupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the instance group to which the scaling policy is applied.

", "smithy.api#required": {} } @@ -8162,6 +8248,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the Amazon EMR cluster from which the auto-termination\n policy will be removed.

", "smithy.api#required": {} } @@ -8196,6 +8283,7 @@ "ClusterId": { "target": "com.amazonaws.emr#ClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ID of the cluster from which the managed scaling policy will be removed.\n

", "smithy.api#required": {} } @@ -8238,6 +8326,7 @@ "ResourceId": { "target": "com.amazonaws.emr#ResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EMR resource identifier from which tags will be removed. For example,\n a cluster identifier or an Amazon EMR Studio ID.

", "smithy.api#required": {} } @@ -8245,6 +8334,7 @@ "TagKeys": { "target": "com.amazonaws.emr#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of tag keys to remove from the resource.

", "smithy.api#required": {} } @@ -8306,6 +8396,7 @@ "Name": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job flow.

", "smithy.api#required": {} } @@ -8343,6 +8434,7 @@ "Instances": { "target": "com.amazonaws.emr#JobFlowInstancesConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A specification of the number and type of Amazon EC2 instances.

", "smithy.api#required": {} } @@ -8386,7 +8478,6 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "\n

The VisibleToAllUsers parameter is no longer supported. By default, the value is set\n to true. Setting it to false now has no effect.

\n
\n

Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform Amazon EMR actions on\n the cluster that their IAM policies allow. This value defaults to\n true for clusters created using the Amazon EMR API or the CLI\n create-cluster command.

\n

When set to false, only the IAM principal that created the\n cluster and the Amazon Web Services account root user can perform Amazon EMR actions\n for the cluster, regardless of the IAM permissions policies attached to\n other IAM principals. For more information, see Understanding the Amazon EMR cluster VisibleToAllUsers setting in the\n Amazon EMR Management Guide.

" } }, @@ -8533,6 +8624,7 @@ "SimpleScalingPolicyConfiguration": { "target": "com.amazonaws.emr#SimpleScalingPolicyConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of adjustment the automatic scaling activity makes when triggered, and the\n periodicity of the adjustment.

", "smithy.api#required": {} } @@ -8548,6 +8640,7 @@ "MinCapacity": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The lower boundary of Amazon EC2 instances in an instance group below which\n scaling activities are not allowed to shrink. Scale-in activities will not terminate\n instances below this boundary.

", "smithy.api#required": {} } @@ -8555,6 +8648,7 @@ "MaxCapacity": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The upper boundary of Amazon EC2 instances in an instance group beyond which\n scaling activities are not allowed to grow. Scale-out activities will not add instances\n beyond this boundary.

", "smithy.api#required": {} } @@ -8570,6 +8664,7 @@ "Name": { "target": "com.amazonaws.emr#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name used to identify an automatic scaling rule. Rule names must be unique within a\n scaling policy.

", "smithy.api#required": {} } @@ -8583,6 +8678,7 @@ "Action": { "target": "com.amazonaws.emr#ScalingAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The conditions that trigger an automatic scaling activity.

", "smithy.api#required": {} } @@ -8590,6 +8686,7 @@ "Trigger": { "target": "com.amazonaws.emr#ScalingTrigger", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The CloudWatch alarm definition that determines when automatic scaling activity is\n triggered.

", "smithy.api#required": {} } @@ -8611,6 +8708,7 @@ "CloudWatchAlarmDefinition": { "target": "com.amazonaws.emr#CloudWatchAlarmDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The definition of a CloudWatch metric alarm. When the defined alarm conditions are met\n along with other trigger parameters, scaling activity begins.

", "smithy.api#required": {} } @@ -8626,6 +8724,7 @@ "Path": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Location in Amazon S3 of the script to run during a bootstrap action.

", "smithy.api#required": {} } @@ -8796,6 +8895,7 @@ "JobFlowIds": { "target": "com.amazonaws.emr#XmlStringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of strings that uniquely identify the clusters to protect. This identifier is\n returned by RunJobFlow and can also be obtained from DescribeJobFlows .

", "smithy.api#required": {} } @@ -8803,7 +8903,7 @@ "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or\n job-flow error.

", "smithy.api#required": {} } @@ -8837,6 +8937,7 @@ "JobFlowIds": { "target": "com.amazonaws.emr#XmlStringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the job flow (cluster).

", "smithy.api#required": {} } @@ -8844,7 +8945,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value of true indicates that an IAM principal in the\n Amazon Web Services account can perform Amazon EMR actions on the cluster that\n the IAM policies attached to the principal allow. A value of\n false indicates that only the IAM principal that created the\n cluster and the Amazon Web Services root user can perform Amazon EMR actions on the\n cluster.

", "smithy.api#required": {} } @@ -8887,6 +8988,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The amount by which to scale in or scale out, based on the specified\n AdjustmentType. A positive value adds to the instance group's Amazon EC2 instance count while a negative number removes instances. If\n AdjustmentType is set to EXACT_CAPACITY, the number should\n only be a positive integer. If AdjustmentType is set to\n PERCENT_CHANGE_IN_CAPACITY, the value should express the percentage as an\n integer. For example, -20 indicates a decrease in 20% increments of cluster\n capacity.

", "smithy.api#required": {} } @@ -8963,6 +9065,7 @@ "TimeoutDurationMinutes": { "target": "com.amazonaws.emr#WholeNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Spot provisioning timeout period in minutes. If Spot Instances are not provisioned\n within this time period, the TimeOutAction is taken. Minimum value is 5 and\n maximum value is 1440. The timeout applies only during initial provisioning, when the\n cluster is first created.

", "smithy.api#required": {} } @@ -8970,6 +9073,7 @@ "TimeoutAction": { "target": "com.amazonaws.emr#SpotProvisioningTimeoutAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action to take when TargetSpotCapacity has not been fulfilled when the\n TimeoutDurationMinutes has expired; that is, when all Spot Instances could\n not be provisioned within the Spot provisioning timeout. Valid values are\n TERMINATE_CLUSTER and SWITCH_TO_ON_DEMAND. SWITCH_TO_ON_DEMAND\n specifies that if no Spot Instances are available, On-Demand Instances should be\n provisioned to fulfill any remaining Spot capacity.

", "smithy.api#required": {} } @@ -9014,6 +9118,7 @@ "TimeoutDurationMinutes": { "target": "com.amazonaws.emr#WholeNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Spot resize timeout in minutes. If Spot Instances are not provisioned within this time,\n the resize workflow will stop provisioning of Spot instances. Minimum value is 5 minutes\n and maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows\n on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling\n or by the customer (via Amazon EMR Console, Amazon EMR CLI\n modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.

", "smithy.api#required": {} } @@ -9073,6 +9178,7 @@ "ExecutionEngine": { "target": "com.amazonaws.emr#ExecutionEngineConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the execution engine (cluster) that runs the notebook execution.

", "smithy.api#required": {} } @@ -9080,6 +9186,7 @@ "ServiceRole": { "target": "com.amazonaws.emr#XmlString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or ARN of the IAM role that is used as the service role for\n Amazon EMR (the Amazon EMR role) for the notebook execution.

", "smithy.api#required": {} } @@ -9241,6 +9348,7 @@ "Name": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the step.

", "smithy.api#required": {} } @@ -9254,6 +9362,7 @@ "HadoopJarStep": { "target": "com.amazonaws.emr#HadoopJarStepConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The JAR file used for the step.

", "smithy.api#required": {} } @@ -9275,6 +9384,7 @@ "StepConfig": { "target": "com.amazonaws.emr#StepConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The step configuration.

", "smithy.api#required": {} } @@ -9282,6 +9392,7 @@ "ExecutionStatusDetail": { "target": "com.amazonaws.emr#StepExecutionStatusDetail", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of the step status.

", "smithy.api#required": {} } @@ -9350,6 +9461,7 @@ "State": { "target": "com.amazonaws.emr#StepExecutionState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The state of the step.

", "smithy.api#required": {} } @@ -9357,6 +9469,7 @@ "CreationDateTime": { "target": "com.amazonaws.emr#Date", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation date and time of the step.

", "smithy.api#required": {} } @@ -9605,6 +9718,7 @@ "NotebookExecutionId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the notebook execution.

", "smithy.api#required": {} } @@ -9816,7 +9930,6 @@ "MemoryGB": { "target": "com.amazonaws.emr#Float", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of memory that is available to Amazon EMR from the SupportedInstanceType. The kernel and hypervisor\n software consume some memory, so this value might be lower than the overall memory for the\n instance type.

" } }, @@ -9835,7 +9948,6 @@ "Is64BitsOnly": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the SupportedInstanceType only supports 64-bit\n architecture.

" } }, @@ -9848,14 +9960,12 @@ "EbsOptimizedAvailable": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the SupportedInstanceType supports Amazon EBS\n optimization.

" } }, "EbsOptimizedByDefault": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the SupportedInstanceType uses Amazon EBS\n optimization by default.

" } }, @@ -9868,7 +9978,6 @@ "EbsStorageOnly": { "target": "com.amazonaws.emr#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the SupportedInstanceType only supports Amazon EBS.

" } }, @@ -9964,6 +10073,7 @@ "JobFlowIds": { "target": "com.amazonaws.emr#XmlStringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of job flows to be shut down.

", "smithy.api#required": {} } @@ -10175,6 +10285,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio to update.

", "smithy.api#required": {} } @@ -10234,6 +10345,7 @@ "StudioId": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon EMR Studio.

", "smithy.api#required": {} } @@ -10253,6 +10365,7 @@ "IdentityType": { "target": "com.amazonaws.emr#IdentityType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether the identity to update is a user or a group.

", "smithy.api#required": {} } @@ -10260,6 +10373,7 @@ "SessionPolicyArn": { "target": "com.amazonaws.emr#XmlStringMaxLen256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the session policy to associate with the specified\n user or group.

", "smithy.api#required": {} } @@ -10306,6 +10420,7 @@ "VolumeType": { "target": "com.amazonaws.emr#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and\n standard.

", "smithy.api#required": {} } @@ -10319,6 +10434,7 @@ "SizeInGB": { "target": "com.amazonaws.emr#Integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume\n type is EBS-optimized, the minimum value is 10.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/finspace-data.json b/codegen/sdk-codegen/aws-models/finspace-data.json index 7c27b7cda55..6c9e2724795 100644 --- a/codegen/sdk-codegen/aws-models/finspace-data.json +++ b/codegen/sdk-codegen/aws-models/finspace-data.json @@ -184,7 +184,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -227,7 +226,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -240,7 +240,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -254,7 +253,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -312,7 +309,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -323,14 +319,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -344,14 +342,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -360,11 +356,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -375,14 +371,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -396,7 +394,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -416,7 +413,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -427,14 +423,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -445,9 +443,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3466,7 +3466,6 @@ "durationInMinutes": { "target": "com.amazonaws.finspacedata#SessionDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The time duration in which the credentials remain valid.

", "smithy.api#httpQuery": "durationInMinutes" } @@ -3497,7 +3496,6 @@ "durationInMinutes": { "target": "com.amazonaws.finspacedata#SessionDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Returns the duration in which the credentials will remain valid.

" } } @@ -3860,7 +3858,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults" } @@ -3960,7 +3957,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults" } @@ -4044,7 +4040,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults" } @@ -4168,7 +4163,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -4212,7 +4206,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -4335,7 +4328,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -4379,7 +4371,6 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -4742,7 +4733,6 @@ "com.amazonaws.finspacedata#ResultLimit": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4858,7 +4848,6 @@ "com.amazonaws.finspacedata#SessionDuration": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 diff --git a/codegen/sdk-codegen/aws-models/finspace.json b/codegen/sdk-codegen/aws-models/finspace.json index 8e943529a2d..fe92ded48c4 100644 --- a/codegen/sdk-codegen/aws-models/finspace.json +++ b/codegen/sdk-codegen/aws-models/finspace.json @@ -192,7 +192,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +234,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -248,7 +248,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -262,7 +261,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -285,7 +283,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -320,7 +317,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -331,14 +327,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -352,14 +350,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -368,11 +364,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -383,14 +379,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -404,7 +402,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -424,7 +421,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -435,14 +431,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -453,9 +451,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4491,7 +4491,6 @@ "size": { "target": "com.amazonaws.finspace#KxSavedownStorageSize", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of temporary storage in gibibytes.

", "smithy.api#required": {} } @@ -4504,7 +4503,6 @@ "com.amazonaws.finspace#KxSavedownStorageSize": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 4, "max": 16000 @@ -5308,7 +5306,6 @@ "ruleNumber": { "target": "com.amazonaws.finspace#RuleNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number.\n \n

", "smithy.api#required": {} } @@ -5499,7 +5496,6 @@ "com.amazonaws.finspace#RuleNumber": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 32766 diff --git a/codegen/sdk-codegen/aws-models/fis.json b/codegen/sdk-codegen/aws-models/fis.json index ef0adce9d2c..a8d8ef40605 100644 --- a/codegen/sdk-codegen/aws-models/fis.json +++ b/codegen/sdk-codegen/aws-models/fis.json @@ -1953,7 +1953,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1996,7 +1995,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2009,7 +2009,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2023,7 +2022,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2046,7 +2044,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2081,7 +2078,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2092,14 +2088,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2113,14 +2111,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2129,18 +2125,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -2149,7 +2144,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -2169,14 +2165,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2190,7 +2188,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2210,7 +2207,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2221,14 +2217,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2239,9 +2237,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2845,7 +2845,6 @@ "com.amazonaws.fis#ListActionsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2858,7 +2857,6 @@ "maxResults": { "target": "com.amazonaws.fis#ListActionsMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -2925,7 +2923,6 @@ "com.amazonaws.fis#ListExperimentTemplatesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2938,7 +2935,6 @@ "maxResults": { "target": "com.amazonaws.fis#ListExperimentTemplatesMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -3005,7 +3001,6 @@ "com.amazonaws.fis#ListExperimentsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3018,7 +3013,6 @@ "maxResults": { "target": "com.amazonaws.fis#ListExperimentsMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -3132,7 +3126,6 @@ "com.amazonaws.fis#ListTargetResourceTypesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3145,7 +3138,6 @@ "maxResults": { "target": "com.amazonaws.fis#ListTargetResourceTypesMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } diff --git a/codegen/sdk-codegen/aws-models/fms.json b/codegen/sdk-codegen/aws-models/fms.json index 69f08090654..59156a45a25 100644 --- a/codegen/sdk-codegen/aws-models/fms.json +++ b/codegen/sdk-codegen/aws-models/fms.json @@ -232,7 +232,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -275,7 +274,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -288,7 +288,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -302,7 +301,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -325,7 +323,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -360,7 +357,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -371,14 +367,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -392,14 +390,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -408,11 +404,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -423,14 +419,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -444,7 +442,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -464,7 +461,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -475,14 +471,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -493,9 +491,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -7456,7 +7456,6 @@ "Priority": { "target": "com.amazonaws.fms#StatelessRuleGroupPriority", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.

" } } @@ -7474,7 +7473,6 @@ "com.amazonaws.fms#StatelessRuleGroupPriority": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 diff --git a/codegen/sdk-codegen/aws-models/fsx.json b/codegen/sdk-codegen/aws-models/fsx.json index 7dbb7fc75a5..68d8f9a789c 100644 --- a/codegen/sdk-codegen/aws-models/fsx.json +++ b/codegen/sdk-codegen/aws-models/fsx.json @@ -227,7 +227,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -270,7 +269,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -283,7 +283,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +296,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -320,7 +318,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -355,7 +352,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -366,14 +362,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -387,14 +385,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -403,11 +399,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -418,14 +414,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -439,7 +437,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -459,7 +456,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -470,14 +466,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -488,9 +486,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1195,6 +1195,7 @@ "ActiveDirectoryId": { "target": "com.amazonaws.fsx#DirectoryId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The directory ID of the directory that an error pertains to.

", "smithy.api#required": {} } @@ -1552,6 +1553,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the file system with which you want to associate one or more DNS aliases.

", "smithy.api#required": {} } @@ -1559,6 +1561,7 @@ "Aliases": { "target": "com.amazonaws.fsx#AlternateDNSNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of one or more DNS alias names to associate with the file system. \n The alias name has to comply with the following formatting requirements:

\n \n

For DNS alias names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: \n as uppercase letters, lowercase letters, or the corresponding letters in escape codes.

", "smithy.api#required": {} } @@ -1647,6 +1650,7 @@ "Type": { "target": "com.amazonaws.fsx#AutocommitPeriodType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the type of time for the autocommit period of a file in an FSx for ONTAP SnapLock volume. \n Setting this value to NONE disables autocommit. The default value is NONE.

", "smithy.api#required": {} } @@ -1728,6 +1732,7 @@ "BackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the backup.

", "smithy.api#required": {} } @@ -1735,6 +1740,7 @@ "Lifecycle": { "target": "com.amazonaws.fsx#BackupLifecycle", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The lifecycle status of the backup.

\n ", "smithy.api#required": {} } @@ -1748,6 +1754,7 @@ "Type": { "target": "com.amazonaws.fsx#BackupType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the file-system backup.

", "smithy.api#required": {} } @@ -1758,6 +1765,7 @@ "CreationTime": { "target": "com.amazonaws.fsx#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time when a particular backup was created.

", "smithy.api#required": {} } @@ -1783,6 +1791,7 @@ "FileSystem": { "target": "com.amazonaws.fsx#FileSystem", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metadata of the file system associated with the backup. This metadata is persisted\n even if the file system is deleted.

", "smithy.api#required": {} } @@ -2054,6 +2063,7 @@ "TaskId": { "target": "com.amazonaws.fsx#TaskId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the data repository task to cancel.

", "smithy.api#required": {} } @@ -2110,6 +2120,7 @@ "Enabled": { "target": "com.amazonaws.fsx#Flag", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Set Enabled to True to generate a CompletionReport when the task completes. \n If set to true, then you need to provide a report Scope, Path, and Format. \n Set Enabled to False if you do not want a CompletionReport generated when the task completes.

", "smithy.api#required": {} } @@ -2246,6 +2257,7 @@ "SourceBackupId": { "target": "com.amazonaws.fsx#SourceBackupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the source backup. Specifies the ID of the backup that's being copied.

", "smithy.api#required": {} } @@ -2414,6 +2426,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -2426,6 +2439,7 @@ "DataRepositoryPath": { "target": "com.amazonaws.fsx#ArchivePath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The path to the Amazon S3 data repository that will be linked to the file\n system. The path can be an S3 bucket or prefix in the format\n s3://myBucket/myPrefix/. This path specifies where in the S3\n data repository files will be imported from or exported to.

", "smithy.api#required": {} } @@ -2518,6 +2532,7 @@ "Type": { "target": "com.amazonaws.fsx#DataRepositoryTaskType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the type of data repository task to create.

\n ", "smithy.api#required": {} } @@ -2531,12 +2546,14 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Report": { "target": "com.amazonaws.fsx#CompletionReport", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. \n A CompletionReport provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the \n Scope parameter. For more information, see \n Working with Task Completion Reports.

", "smithy.api#required": {} } @@ -2635,6 +2652,7 @@ "PerUnitStorageThroughput": { "target": "com.amazonaws.fsx#PerUnitStorageThroughput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provisions the amount of read and write throughput for each 1 tebibyte (TiB)\n of cache storage capacity, in MB/s/TiB. The only supported\n value is 1000.

", "smithy.api#required": {} } @@ -2642,6 +2660,7 @@ "DeploymentType": { "target": "com.amazonaws.fsx#FileCacheLustreDeploymentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the cache deployment type, which must be CACHE_1.

", "smithy.api#required": {} } @@ -2652,6 +2671,7 @@ "MetadataConfiguration": { "target": "com.amazonaws.fsx#FileCacheLustreMetadataConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for a Lustre MDT (Metadata Target) storage volume.

", "smithy.api#required": {} } @@ -2674,6 +2694,7 @@ "FileCacheType": { "target": "com.amazonaws.fsx#FileCacheType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of cache that you're creating, which\n must be LUSTRE.

", "smithy.api#required": {} } @@ -2681,6 +2702,7 @@ "FileCacheTypeVersion": { "target": "com.amazonaws.fsx#FileSystemTypeVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets the Lustre version for the cache that you're creating,\n which must be 2.12.

", "smithy.api#required": {} } @@ -2688,6 +2710,7 @@ "StorageCapacity": { "target": "com.amazonaws.fsx#StorageCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The storage capacity of the cache in gibibytes (GiB). Valid values\n are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

", "smithy.api#required": {} } @@ -2695,6 +2718,7 @@ "SubnetIds": { "target": "com.amazonaws.fsx#SubnetIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -2841,6 +2865,7 @@ "BackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -2854,6 +2879,7 @@ "SubnetIds": { "target": "com.amazonaws.fsx#SubnetIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For Windows MULTI_AZ_1 \n file system deployment types, provide exactly two subnet IDs, one for the preferred file server \n and one for the standby file server. You specify one of these subnets as the preferred subnet \n using the WindowsConfiguration > PreferredSubnetID property.

\n

Windows SINGLE_AZ_1 and SINGLE_AZ_2 file system deployment\n types, Lustre file systems, and OpenZFS file systems provide exactly one subnet ID. The\n file server is launched in that subnet's Availability Zone.

", "smithy.api#required": {} } @@ -3028,6 +3054,7 @@ "DeploymentType": { "target": "com.amazonaws.fsx#OntapDeploymentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the FSx for ONTAP file system deployment type to use in creating\n the file system.

\n \n

For information about the use cases for Multi-AZ and Single-AZ deployments, refer to\n Choosing a file system deployment type.

", "smithy.api#required": {} } @@ -3065,6 +3092,7 @@ "ThroughputCapacity": { "target": "com.amazonaws.fsx#MegabytesPerSecond", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets the throughput capacity for the file system that you're creating. Valid values\n are 128, 256, 512, 1024, 2048, and 4096 MBps.

", "smithy.api#required": {} } @@ -3101,6 +3129,7 @@ "DeploymentType": { "target": "com.amazonaws.fsx#OpenZFSDeploymentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the file system deployment type. Single AZ deployment types are configured\n for redundancy within a single Availability Zone in an Amazon Web Services Region .\n Valid values are the following:

\n \n

For more information, see Deployment type availability\n and File system performance\n in the Amazon FSx for OpenZFS User Guide.

", "smithy.api#required": {} } @@ -3108,6 +3137,7 @@ "ThroughputCapacity": { "target": "com.amazonaws.fsx#MegabytesPerSecond", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the throughput of an Amazon FSx for OpenZFS file system, measured in megabytes per second (MBps). Valid values depend on the DeploymentType you choose, as follows:

\n \n

You pay for additional throughput capacity that you provision.

", "smithy.api#required": {} } @@ -3160,6 +3190,7 @@ "FileSystemType": { "target": "com.amazonaws.fsx#FileSystemType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of Amazon FSx file system to create. Valid values are\n WINDOWS, LUSTRE, ONTAP, and\n OPENZFS.

", "smithy.api#required": {} } @@ -3167,6 +3198,7 @@ "StorageCapacity": { "target": "com.amazonaws.fsx#StorageCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets the storage capacity of the file system that you're creating, in gibibytes (GiB).

\n

\n FSx for Lustre file systems - The amount of\n storage capacity that you can configure depends on the value that you set for\n StorageType and the Lustre DeploymentType, as\n follows:

\n \n

\n FSx for ONTAP file systems - The amount of storage capacity \n that you can configure is from 1024 GiB up to 196,608 GiB (192 TiB).

\n

\n FSx for OpenZFS file systems - The amount of storage capacity that \n you can configure is from 64 GiB up to 524,288 GiB (512 TiB).

\n

\n FSx for Windows File Server file systems - The amount\n of storage capacity that you can configure depends on the value that you set for\n StorageType as follows:

\n ", "smithy.api#required": {} } @@ -3180,6 +3212,7 @@ "SubnetIds": { "target": "com.amazonaws.fsx#SubnetIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the IDs of the subnets that the file system will be accessible from. For\n Windows and ONTAP MULTI_AZ_1 deployment types,provide exactly two subnet\n IDs, one for the preferred file server and one for the standby file server. You specify\n one of these subnets as the preferred subnet using the WindowsConfiguration >\n PreferredSubnetID or OntapConfiguration > PreferredSubnetID\n properties. For more information about Multi-AZ file system configuration, see \n Availability and durability: Single-AZ and Multi-AZ file systems in the\n Amazon FSx for Windows User Guide and \n Availability and durability in the Amazon FSx for ONTAP User\n Guide.

\n

For Windows SINGLE_AZ_1 and SINGLE_AZ_2 and all Lustre \n deployment types, provide exactly one subnet ID.\n The file server is launched in that subnet's Availability Zone.

", "smithy.api#required": {} } @@ -3271,6 +3304,7 @@ "ThroughputCapacity": { "target": "com.amazonaws.fsx#MegabytesPerSecond", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets the throughput capacity of an Amazon FSx file system, measured in megabytes per second (MB/s), in 2 to\n the nth increments, between 2^3 (8) and 2^11 (2048).

", "smithy.api#required": {} } @@ -3340,6 +3374,7 @@ "SizeInMegabytes": { "target": "com.amazonaws.fsx#VolumeCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the size of the volume, in megabytes (MB), that you are creating.

", "smithy.api#required": {} } @@ -3353,6 +3388,7 @@ "StorageVirtualMachineId": { "target": "com.amazonaws.fsx#StorageVirtualMachineId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the ONTAP SVM in which to create the volume.

", "smithy.api#required": {} } @@ -3395,12 +3431,14 @@ "SnapshotARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "CopyStrategy": { "target": "com.amazonaws.fsx#OpenZFSCopyStrategy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The strategy used when copying data from the snapshot to the new volume.

\n ", "smithy.api#required": {} } @@ -3416,6 +3454,7 @@ "ParentVolumeId": { "target": "com.amazonaws.fsx#VolumeId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the volume to use as the parent volume of the volume that you are creating.

", "smithy.api#required": {} } @@ -3509,6 +3548,7 @@ "SnaplockType": { "target": "com.amazonaws.fsx#SnaplockType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the retention mode of an FSx for ONTAP SnapLock volume. After it is set, it can't be changed. \n You can choose one of the following retention modes:

\n ", "smithy.api#required": {} } @@ -3563,6 +3603,7 @@ "Name": { "target": "com.amazonaws.fsx#SnapshotName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the snapshot.

", "smithy.api#required": {} } @@ -3570,6 +3611,7 @@ "VolumeId": { "target": "com.amazonaws.fsx#VolumeId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the volume that you are taking a snapshot of.

", "smithy.api#required": {} } @@ -3649,12 +3691,14 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Name": { "target": "com.amazonaws.fsx#StorageVirtualMachineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the SVM.

", "smithy.api#required": {} } @@ -3699,6 +3743,7 @@ "NetBiosName": { "target": "com.amazonaws.fsx#NetBiosAlias", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The NetBIOS name of the Active Directory computer object that will be created for your SVM.

", "smithy.api#required": {} } @@ -3793,6 +3838,7 @@ "BackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -3805,6 +3851,7 @@ "Name": { "target": "com.amazonaws.fsx#VolumeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new volume you're creating.

", "smithy.api#required": {} } @@ -3849,6 +3896,7 @@ "VolumeType": { "target": "com.amazonaws.fsx#VolumeType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the type of volume to create; ONTAP and OPENZFS are\n the only valid volume types.

", "smithy.api#required": {} } @@ -3856,6 +3904,7 @@ "Name": { "target": "com.amazonaws.fsx#VolumeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the name of the volume that you're creating.

", "smithy.api#required": {} } @@ -4173,6 +4222,7 @@ "TaskId": { "target": "com.amazonaws.fsx#TaskId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The system-generated, unique 17-digit ID of the data repository task.

", "smithy.api#required": {} } @@ -4180,6 +4230,7 @@ "Lifecycle": { "target": "com.amazonaws.fsx#DataRepositoryTaskLifecycle", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The lifecycle status of the data repository task, as follows:

\n \n \n

You cannot delete an FSx for Lustre file system if there are data \n repository tasks for the file system in the PENDING or EXECUTING states.\n Please retry when the data repository task is finished (with a status of CANCELED, SUCCEEDED, or FAILED). \n You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately.

\n
", "smithy.api#required": {} } @@ -4187,6 +4238,7 @@ "Type": { "target": "com.amazonaws.fsx#DataRepositoryTaskType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of data repository task.

\n ", "smithy.api#required": {} } @@ -4194,6 +4246,7 @@ "CreationTime": { "target": "com.amazonaws.fsx#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -4592,6 +4645,7 @@ "BackupId": { "target": "com.amazonaws.fsx#BackupId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the backup that you want to delete.

", "smithy.api#required": {} } @@ -4669,6 +4723,7 @@ "AssociationId": { "target": "com.amazonaws.fsx#DataRepositoryAssociationId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the data repository association that you want to delete.

", "smithy.api#required": {} } @@ -4752,6 +4807,7 @@ "FileCacheId": { "target": "com.amazonaws.fsx#FileCacheId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the cache that's being deleted.

", "smithy.api#required": {} } @@ -4939,6 +4995,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the file system that you want to delete.

", "smithy.api#required": {} } @@ -5100,6 +5157,7 @@ "SnapshotId": { "target": "com.amazonaws.fsx#SnapshotId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the snapshot that you want to delete.

", "smithy.api#required": {} } @@ -5167,6 +5225,7 @@ "StorageVirtualMachineId": { "target": "com.amazonaws.fsx#StorageVirtualMachineId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the SVM that you want to delete.

", "smithy.api#required": {} } @@ -5288,6 +5347,7 @@ "VolumeId": { "target": "com.amazonaws.fsx#VolumeId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the volume that you are deleting.

", "smithy.api#required": {} } @@ -5681,6 +5741,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the file system to return the associated DNS aliases for\n (String).

", "smithy.api#required": {} } @@ -6081,6 +6142,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the file system from which to disassociate the DNS aliases.

", "smithy.api#required": {} } @@ -6088,6 +6150,7 @@ "Aliases": { "target": "com.amazonaws.fsx#AlternateDNSNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of one or more DNS alias names to disassociate, or remove, from the file system.

", "smithy.api#required": {} } @@ -6437,6 +6500,7 @@ "FileCachePath": { "target": "com.amazonaws.fsx#Namespace", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A path on the cache that points to a high-level directory (such\n as /ns1/) or subdirectory (such as /ns1/subdir/)\n that will be mapped 1-1 with DataRepositoryPath.\n The leading forward slash in the name is required. Two data repository\n associations cannot have overlapping cache paths. For example, if\n a data repository is associated with cache path /ns1/,\n then you cannot link another data repository with cache\n path /ns1/ns2.

\n

This path specifies where in your cache files will be exported\n from. This cache directory can be linked to only one data repository,\n and no data repository other can be linked to the directory.

\n \n

The cache path can only be set to root (/) on an NFS DRA when\n DataRepositorySubdirectories is specified. If you\n specify root (/) as the cache path, you can create only one DRA\n on the cache.

\n

The cache path cannot be set to root (/) for an S3 DRA.

\n
", "smithy.api#required": {} } @@ -6444,6 +6508,7 @@ "DataRepositoryPath": { "target": "com.amazonaws.fsx#ArchivePath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The path to the S3 or NFS data repository that links to the\n cache. You must provide one of the following paths:

\n ", "smithy.api#required": {} } @@ -6594,6 +6659,7 @@ "StorageCapacity": { "target": "com.amazonaws.fsx#MetadataStorageCapacity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The storage capacity of the Lustre MDT (Metadata Target) storage\n volume in gibibytes (GiB). The only supported value is 2400 GiB.

", "smithy.api#required": {} } @@ -6609,6 +6675,7 @@ "Version": { "target": "com.amazonaws.fsx#NfsVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the NFS (Network File System) protocol of the\n NFS data repository. The only supported value is NFS3,\n which indicates that the data repository must support the NFSv3 protocol.

", "smithy.api#required": {} } @@ -7171,6 +7238,7 @@ "Parameter": { "target": "com.amazonaws.fsx#Parameter", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A parameter that is incompatible with the earlier request.

", "smithy.api#required": {} } @@ -7499,6 +7567,7 @@ "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the Amazon FSx resource that will have its tags listed.

", "smithy.api#required": {} } @@ -7687,6 +7756,7 @@ "Level": { "target": "com.amazonaws.fsx#LustreAccessAuditLogLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data repository events that are logged by Amazon FSx.

\n \n

Note that Amazon File Cache uses a default setting of WARN_ERROR,\n which can't be changed.

", "smithy.api#required": {} } @@ -7708,6 +7778,7 @@ "Level": { "target": "com.amazonaws.fsx#LustreAccessAuditLogLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets which data repository events are logged by Amazon FSx.

\n ", "smithy.api#required": {} } @@ -7855,6 +7926,7 @@ "Version": { "target": "com.amazonaws.fsx#NfsVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the NFS (Network File System) protocol of the\n NFS data repository. Currently, the only supported value is\n NFS3, which indicates that the data repository must\n support the NFSv3 protocol.

", "smithy.api#required": {} } @@ -7948,6 +8020,7 @@ "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the non-Amazon FSx resource.

", "smithy.api#required": {} } @@ -8164,6 +8237,7 @@ "Clients": { "target": "com.amazonaws.fsx#OpenZFSClients", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies who can mount the file system. You can provide a wildcard\n character (*), an IP address (0.0.0.0), or a CIDR address\n (192.0.2.0/24). By default, Amazon FSx uses the wildcard\n character when specifying the client.

", "smithy.api#required": {} } @@ -8171,6 +8245,7 @@ "Options": { "target": "com.amazonaws.fsx#OpenZFSNfsExportOptions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The options to use when mounting the file system. For a list of options that you can\n use with Network File System (NFS), see the exports(5) - Linux man page. When\n choosing your options, consider the following:

\n ", "smithy.api#required": {} } @@ -8389,6 +8464,7 @@ "ClientConfigurations": { "target": "com.amazonaws.fsx#OpenZFSClientConfigurations", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of configuration objects that contain the client and options for mounting the\n OpenZFS file system.

", "smithy.api#required": {} } @@ -8484,6 +8560,7 @@ "Type": { "target": "com.amazonaws.fsx#OpenZFSQuotaType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies whether the quota applies to a user or group.

", "smithy.api#required": {} } @@ -8491,6 +8568,7 @@ "Id": { "target": "com.amazonaws.fsx#IntegerNoMax", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the user or group.

", "smithy.api#required": {} } @@ -8498,6 +8576,7 @@ "StorageCapacityQuotaGiB": { "target": "com.amazonaws.fsx#IntegerNoMax", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The amount of storage that the user or group can use in gibibytes (GiB).

", "smithy.api#required": {} } @@ -8723,6 +8802,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -8805,6 +8885,7 @@ "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that doesn't support\n tagging.

", "smithy.api#required": {} } @@ -8824,6 +8905,7 @@ "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource ARN of the resource that can't be found.

", "smithy.api#required": {} } @@ -8919,6 +9001,7 @@ "VolumeId": { "target": "com.amazonaws.fsx#VolumeId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the volume that you are restoring.

", "smithy.api#required": {} } @@ -8926,6 +9009,7 @@ "SnapshotId": { "target": "com.amazonaws.fsx#SnapshotId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the source snapshot. Specifies the snapshot that you are restoring\n from.

", "smithy.api#required": {} } @@ -8973,6 +9057,7 @@ "Type": { "target": "com.amazonaws.fsx#RetentionPeriodType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the type of time for the retention period of an FSx for ONTAP SnapLock volume. \n Set it to \n one of the valid types. If you set it to INFINITE, the files are retained forever. If you set it to \n UNSPECIFIED, the files are retained until you set an explicit retention period.

", "smithy.api#required": {} } @@ -9183,6 +9268,7 @@ "DomainName": { "target": "com.amazonaws.fsx#ActiveDirectoryFullyQualifiedName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The fully qualified domain name of the self-managed AD directory, such as\n corp.example.com.

", "smithy.api#required": {} } @@ -9202,6 +9288,7 @@ "UserName": { "target": "com.amazonaws.fsx#DirectoryUserName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user name for the service account on your self-managed AD domain that Amazon FSx\n will use to join to your AD domain. This account must have the permission to join\n computers to the domain in the organizational unit provided in\n OrganizationalUnitDistinguishedName, or in the default location of your\n AD domain.

", "smithy.api#required": {} } @@ -9209,6 +9296,7 @@ "Password": { "target": "com.amazonaws.fsx#DirectoryPassword", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The password for the service account on your self-managed AD domain that Amazon FSx\n will use to join to your AD domain.

", "smithy.api#required": {} } @@ -9216,6 +9304,7 @@ "DnsIps": { "target": "com.amazonaws.fsx#DnsIps", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of up to three IP addresses of DNS servers or domain controllers in the\n self-managed AD directory.

", "smithy.api#required": {} } @@ -9343,6 +9432,7 @@ "Limit": { "target": "com.amazonaws.fsx#ServiceLimit", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enumeration of the service limit that was exceeded.

", "smithy.api#required": {} } @@ -9406,6 +9496,7 @@ "DefaultRetention": { "target": "com.amazonaws.fsx#RetentionPeriod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The retention period assigned to a write once, read many (WORM) file by default if an explicit retention period is not set for an \n FSx for ONTAP SnapLock volume. The default retention period must be greater than or equal to \n the minimum retention period and less than or equal to the maximum retention period.

", "smithy.api#required": {} } @@ -9413,6 +9504,7 @@ "MinimumRetention": { "target": "com.amazonaws.fsx#RetentionPeriod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The shortest retention period that can be assigned to a WORM file on an FSx for ONTAP SnapLock volume.

", "smithy.api#required": {} } @@ -9420,6 +9512,7 @@ "MaximumRetention": { "target": "com.amazonaws.fsx#RetentionPeriod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The longest retention period that can be assigned to a WORM file on \n an FSx for ONTAP SnapLock volume.

", "smithy.api#required": {} } @@ -9721,6 +9814,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -10207,6 +10301,7 @@ "Key": { "target": "com.amazonaws.fsx#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies the TagKey, the name of the tag. Tag keys must\n be unique for the resource to which they are attached.

", "smithy.api#required": {} } @@ -10214,6 +10309,7 @@ "Value": { "target": "com.amazonaws.fsx#TagValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies the TagValue, the value assigned to the\n corresponding tag key. Tag values can be null and don't have to be unique in a tag set.\n For example, you can have a key-value pair in a tag set of finances : April\n and also of payroll : April.

", "smithy.api#required": {} } @@ -10298,6 +10394,7 @@ "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to\n tag.

", "smithy.api#required": {} } @@ -10305,6 +10402,7 @@ "Tags": { "target": "com.amazonaws.fsx#Tags", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of tags for the resource. If a tag with a given key already exists, the\n value is replaced by the one specified in this parameter.

", "smithy.api#required": {} } @@ -10502,6 +10600,7 @@ "ResourceARN": { "target": "com.amazonaws.fsx#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the Amazon FSx resource to untag.

", "smithy.api#required": {} } @@ -10509,6 +10608,7 @@ "TagKeys": { "target": "com.amazonaws.fsx#TagKeys", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of keys of tags on the resource to untag. In case the tag key doesn't exist,\n the call will still succeed to be idempotent.

", "smithy.api#required": {} } @@ -10563,6 +10663,7 @@ "AssociationId": { "target": "com.amazonaws.fsx#DataRepositoryAssociationId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the data repository association that you are updating.

", "smithy.api#required": {} } @@ -10657,6 +10758,7 @@ "FileCacheId": { "target": "com.amazonaws.fsx#FileCacheId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the cache that you are updating.

", "smithy.api#required": {} } @@ -10880,6 +10982,7 @@ "FileSystemId": { "target": "com.amazonaws.fsx#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the file system that you are updating.

", "smithy.api#required": {} } @@ -11169,6 +11272,7 @@ "Name": { "target": "com.amazonaws.fsx#SnapshotName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the snapshot to update.

", "smithy.api#required": {} } @@ -11176,6 +11280,7 @@ "SnapshotId": { "target": "com.amazonaws.fsx#SnapshotId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the snapshot that you want to update, in the format\n fsvolsnap-0123456789abcdef0.

", "smithy.api#required": {} } @@ -11246,6 +11351,7 @@ "StorageVirtualMachineId": { "target": "com.amazonaws.fsx#StorageVirtualMachineId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the SVM that you want to update, in the format svm-0123456789abcdef0.

", "smithy.api#required": {} } @@ -11330,6 +11436,7 @@ "VolumeId": { "target": "com.amazonaws.fsx#VolumeId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the volume that you want to update, in the format\n fsvol-0123456789abcdef0.

", "smithy.api#required": {} } @@ -11711,6 +11818,7 @@ "FileAccessAuditLogLevel": { "target": "com.amazonaws.fsx#WindowsAccessAuditLogLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets which attempt type is logged by Amazon FSx for file and folder accesses.

\n ", "smithy.api#required": {} } @@ -11718,6 +11826,7 @@ "FileShareAccessAuditLogLevel": { "target": "com.amazonaws.fsx#WindowsAccessAuditLogLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets which attempt type is logged by Amazon FSx for file share accesses.

\n ", "smithy.api#required": {} } @@ -11739,6 +11848,7 @@ "FileAccessAuditLogLevel": { "target": "com.amazonaws.fsx#WindowsAccessAuditLogLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets which attempt type is logged by Amazon FSx for file and folder accesses.

\n ", "smithy.api#required": {} } @@ -11746,6 +11856,7 @@ "FileShareAccessAuditLogLevel": { "target": "com.amazonaws.fsx#WindowsAccessAuditLogLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets which attempt type is logged by Amazon FSx for file share accesses.

\n ", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/gamelift.json b/codegen/sdk-codegen/aws-models/gamelift.json index d64148fa0c6..f9411471096 100644 --- a/codegen/sdk-codegen/aws-models/gamelift.json +++ b/codegen/sdk-codegen/aws-models/gamelift.json @@ -61,6 +61,7 @@ "TicketId": { "target": "com.amazonaws.gamelift#MatchmakingIdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this\n request will fail.

", "smithy.api#required": {} } @@ -68,6 +69,7 @@ "PlayerIds": { "target": "com.amazonaws.gamelift#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a player delivering the response. This parameter can include one or multiple player\n IDs.

", "smithy.api#required": {} } @@ -75,6 +77,7 @@ "AcceptanceType": { "target": "com.amazonaws.gamelift#AcceptanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Player response to the proposed match.

", "smithy.api#required": {} } @@ -197,6 +200,7 @@ "Cost": { "target": "com.amazonaws.gamelift#NonNegativeLimitedLengthDouble", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cost to run your fleet per hour. Amazon GameLift uses the provided cost of your fleet to\n balance usage in queues. For more information about queues, see Setting\n up queues in the Amazon GameLift Developer Guide.

", "smithy.api#required": {} } @@ -443,6 +447,7 @@ "CertificateType": { "target": "com.amazonaws.gamelift#CertificateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether a TLS/SSL certificate is generated for a fleet.

\n

Valid values include:

\n ", "smithy.api#required": {} } @@ -521,6 +526,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group where the game server is running. If you are not specifying a game server to claim, this value identifies\n where you want Amazon GameLift FleetIQ to look for an available game server to claim.

", "smithy.api#required": {} } @@ -807,6 +813,7 @@ "Name": { "target": "com.amazonaws.gamelift#NonBlankAndLengthConstraintString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with an alias. Alias names do not need to be unique.

", "smithy.api#required": {} } @@ -820,6 +827,7 @@ "RoutingStrategy": { "target": "com.amazonaws.gamelift#RoutingStrategy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The routing configuration, including routing type and fleet target, for the alias.\n

", "smithy.api#required": {} } @@ -992,6 +1000,7 @@ "Name": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with a fleet. Fleet names do not need to be unique.

", "smithy.api#required": {} } @@ -1171,6 +1180,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to add locations to. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -1178,6 +1188,7 @@ "Locations": { "target": "com.amazonaws.gamelift#LocationConfigurationList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of locations to deploy additional instances to and manage as part of the fleet.\n You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an\n Amazon Web Services Region code such as us-west-2.

", "smithy.api#required": {} } @@ -1268,6 +1279,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An identifier for the new game server group. This value is used to generate unique ARN\n identifiers for the Amazon EC2 Auto Scaling group and the Amazon GameLift FleetIQ game server group. The name\n must be unique per Region per Amazon Web Services account.

", "smithy.api#required": {} } @@ -1275,6 +1287,7 @@ "RoleArn": { "target": "com.amazonaws.gamelift#IamRoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for an IAM role that\n allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.

", "smithy.api#required": {} } @@ -1282,6 +1295,7 @@ "MinSize": { "target": "com.amazonaws.gamelift#WholeNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum number of instances allowed in the Amazon EC2 Auto Scaling group. During\n automatic scaling events, Amazon GameLift FleetIQ and Amazon EC2 do not scale down the group below this\n minimum. In production, this value should be set to at least 1. After the Auto Scaling\n group is created, update this value directly in the Auto Scaling group using the Amazon Web Services\n console or APIs.

", "smithy.api#required": {} } @@ -1289,6 +1303,7 @@ "MaxSize": { "target": "com.amazonaws.gamelift#PositiveInteger", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum number of instances allowed in the Amazon EC2 Auto Scaling group. During\n automatic scaling events, Amazon GameLift FleetIQ and EC2 do not scale up the group above this maximum.\n After the Auto Scaling group is created, update this value directly in the Auto Scaling\n group using the Amazon Web Services console or APIs.

", "smithy.api#required": {} } @@ -1296,6 +1311,7 @@ "LaunchTemplate": { "target": "com.amazonaws.gamelift#LaunchTemplateSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 launch template that contains configuration settings and game server code to\n be deployed to all instances in the game server group. You can specify the template\n using either the template name or ID. For help with creating a launch template, see\n Creating a Launch\n Template for an Auto Scaling Group in the Amazon Elastic Compute Cloud Auto Scaling\n User Guide. After the Auto Scaling group is created, update this value\n directly in the Auto Scaling group using the Amazon Web Services console or APIs.

\n \n

If you specify network interfaces in your launch template, you must explicitly set\n the property AssociatePublicIpAddress to \"true\". If no network\n interface is specified in the launch template, Amazon GameLift FleetIQ uses your account's default\n VPC.

\n
", "smithy.api#required": {} } @@ -1303,6 +1319,7 @@ "InstanceDefinitions": { "target": "com.amazonaws.gamelift#InstanceDefinitions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 instance types and sizes to use in the Auto Scaling group. The instance\n definitions must specify at least two different instance types that are supported by\n Amazon GameLift FleetIQ. For more information on instance types, see EC2 Instance Types in the\n Amazon Elastic Compute Cloud User Guide. You can optionally specify capacity\n weighting for each instance type. If no weight value is specified for an instance type,\n it is set to the default value \"1\". For more information about capacity weighting, see\n Instance Weighting for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

", "smithy.api#required": {} } @@ -1421,6 +1438,7 @@ "MaximumPlayerSessionCount": { "target": "com.amazonaws.gamelift#WholeNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum number of players that can be connected simultaneously to the game session.

", "smithy.api#required": {} } @@ -1524,6 +1542,7 @@ "Name": { "target": "com.amazonaws.gamelift#GameSessionQueueName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with game session queue. Queue names must be unique within each Region.

", "smithy.api#required": {} } @@ -1633,6 +1652,7 @@ "LocationName": { "target": "com.amazonaws.gamelift#CustomInputLocationStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive name for the custom location.

", "smithy.api#required": {} } @@ -1700,6 +1720,7 @@ "Name": { "target": "com.amazonaws.gamelift#MatchmakingIdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the matchmaking configuration. This name is used to identify the configuration associated with a matchmaking\n request or ticket.

", "smithy.api#required": {} } @@ -1719,6 +1740,7 @@ "RequestTimeoutSeconds": { "target": "com.amazonaws.gamelift#MatchmakingRequestTimeoutInteger", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum duration, in seconds, that a matchmaking ticket can remain in process\n before timing out. Requests that fail due to timing out can be resubmitted as\n needed.

", "smithy.api#required": {} } @@ -1732,6 +1754,7 @@ "AcceptanceRequired": { "target": "com.amazonaws.gamelift#BooleanModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A flag that determines whether a match that was created with this configuration must\n be accepted by the matched players. To require acceptance, set to TRUE.\n With this option enabled, matchmaking tickets use the status\n REQUIRES_ACCEPTANCE to indicate when a completed potential match is\n waiting for player acceptance.

", "smithy.api#required": {} } @@ -1739,6 +1762,7 @@ "RuleSetName": { "target": "com.amazonaws.gamelift#MatchmakingRuleSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the matchmaking rule set to use with this configuration. You can use either the rule set name or ARN\n value. A matchmaking configuration can only use rule sets that are defined in the same\n Region.

", "smithy.api#required": {} } @@ -1845,6 +1869,7 @@ "Name": { "target": "com.amazonaws.gamelift#MatchmakingIdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it uses by this name\n value. Note that the rule set name is different from the optional name\n field in the rule set body.

", "smithy.api#required": {} } @@ -1852,6 +1877,7 @@ "RuleSetBody": { "target": "com.amazonaws.gamelift#RuleSetBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collection of matchmaking rules, formatted as a JSON string. Comments are not\n allowed in JSON, but most elements support a description field.

", "smithy.api#required": {} } @@ -1873,6 +1899,7 @@ "RuleSet": { "target": "com.amazonaws.gamelift#MatchmakingRuleSet", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The newly created matchmaking rule set.

", "smithy.api#required": {} } @@ -1923,6 +1950,7 @@ "GameSessionId": { "target": "com.amazonaws.gamelift#ArnStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game session to add a player to.

", "smithy.api#required": {} } @@ -1930,6 +1958,7 @@ "PlayerId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a player. Player IDs are developer-defined.

", "smithy.api#required": {} } @@ -2000,6 +2029,7 @@ "GameSessionId": { "target": "com.amazonaws.gamelift#ArnStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game session to add players to.

", "smithy.api#required": {} } @@ -2007,6 +2037,7 @@ "PlayerIds": { "target": "com.amazonaws.gamelift#PlayerIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of unique identifiers for the players to be added.

", "smithy.api#required": {} } @@ -2149,6 +2180,7 @@ "GameLiftAwsAccountId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. \n You can find your Account ID in the Amazon Web Services Management Console under account settings.

", "smithy.api#required": {} } @@ -2156,6 +2188,7 @@ "PeerVpcId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The\n VPC must be in the same Region as your fleet. To look up a VPC ID, use the \n VPC Dashboard in the Amazon Web Services Management Console. \n Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.

", "smithy.api#required": {} } @@ -2211,6 +2244,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet. You can use either the fleet ID or ARN value. This tells Amazon GameLift which GameLift\n VPC to peer with.

", "smithy.api#required": {} } @@ -2218,6 +2252,7 @@ "PeerVpcAwsAccountId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the Amazon Web Services account with the VPC that you want to peer your\n Amazon GameLift fleet with. You can find your Account ID in the Amazon Web Services Management Console under account\n settings.

", "smithy.api#required": {} } @@ -2225,6 +2260,7 @@ "PeerVpcId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The\n VPC must be in the same Region as your fleet. To look up a VPC ID, use the \n VPC Dashboard in the Amazon Web Services Management Console. \n Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.

", "smithy.api#required": {} } @@ -2305,6 +2341,7 @@ "AliasId": { "target": "com.amazonaws.gamelift#AliasIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier of the alias that you want to delete. You can use either the alias\n ID or ARN value.

", "smithy.api#required": {} } @@ -2349,6 +2386,7 @@ "BuildId": { "target": "com.amazonaws.gamelift#BuildIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the build to delete. You can use either the build ID or ARN value.

", "smithy.api#required": {} } @@ -2396,6 +2434,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -2440,6 +2479,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to delete locations for. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -2447,6 +2487,7 @@ "Locations": { "target": "com.amazonaws.gamelift#LocationList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of fleet locations to delete. Specify locations in the form of an Amazon Web Services\n Region code, such as us-west-2.

", "smithy.api#required": {} } @@ -2514,6 +2555,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group. Use either the name or ARN value.

", "smithy.api#required": {} } @@ -2578,6 +2620,7 @@ "Name": { "target": "com.amazonaws.gamelift#GameSessionQueueNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.

", "smithy.api#required": {} } @@ -2626,6 +2669,7 @@ "LocationName": { "target": "com.amazonaws.gamelift#CustomLocationNameOrArnModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location name of the custom location to be deleted.

", "smithy.api#required": {} } @@ -2677,6 +2721,7 @@ "Name": { "target": "com.amazonaws.gamelift#MatchmakingConfigurationName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the matchmaking configuration. You can use either the configuration name or ARN value.

", "smithy.api#required": {} } @@ -2728,6 +2773,7 @@ "Name": { "target": "com.amazonaws.gamelift#MatchmakingRuleSetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the matchmaking rule set to be deleted. (Note: The rule set name is different from the optional \"name\"\n field in the rule set body.) You can use either the rule set name or ARN value.

", "smithy.api#required": {} } @@ -2776,6 +2822,7 @@ "Name": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique.

", "smithy.api#required": {} } @@ -2783,6 +2830,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to be deleted. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -2827,6 +2875,7 @@ "ScriptId": { "target": "com.amazonaws.gamelift#ScriptIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the Realtime script to delete. You can use either the script ID or ARN value.

", "smithy.api#required": {} } @@ -2868,6 +2917,7 @@ "GameLiftAwsAccountId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the Amazon Web Services account that you use to manage your Amazon GameLift fleet. \n You can find your Account ID in the Amazon Web Services Management Console under account settings.

", "smithy.api#required": {} } @@ -2875,6 +2925,7 @@ "PeerVpcId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a VPC with resources to be accessed by your Amazon GameLift fleet. The\n VPC must be in the same Region as your fleet. To look up a VPC ID, use the \n VPC Dashboard in the Amazon Web Services Management Console. \n Learn more about VPC peering in VPC Peering with Amazon GameLift Fleets.

", "smithy.api#required": {} } @@ -2923,6 +2974,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet. This fleet specified must match the fleet referenced in the VPC peering\n connection record. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -2930,6 +2982,7 @@ "VpcPeeringConnectionId": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a VPC peering connection.

", "smithy.api#required": {} } @@ -2978,6 +3031,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet the compute resource is currently registered to.

", "smithy.api#required": {} } @@ -2985,6 +3039,7 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the compute resource to remove from the specified Anywhere fleet.

", "smithy.api#required": {} } @@ -3033,6 +3088,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group where the game server is running.

", "smithy.api#required": {} } @@ -3040,6 +3096,7 @@ "GameServerId": { "target": "com.amazonaws.gamelift#GameServerId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom string that uniquely identifies the game server to deregister.

", "smithy.api#required": {} } @@ -3081,6 +3138,7 @@ "AliasId": { "target": "com.amazonaws.gamelift#AliasIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the fleet alias that you want to retrieve. You can use\n either the alias ID or ARN value.

", "smithy.api#required": {} } @@ -3136,6 +3194,7 @@ "BuildId": { "target": "com.amazonaws.gamelift#BuildIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the build to retrieve properties for. You can use either the build ID or ARN value.\n

", "smithy.api#required": {} } @@ -3191,6 +3250,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet that the compute is registered to. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -3198,6 +3258,7 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the compute resource to retrieve properties for. For an\n Anywhere fleet compute, use the registered compute name. For a managed EC2 fleet\n instance, use the instance ID.

", "smithy.api#required": {} } @@ -3475,6 +3536,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to get event logs for. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -3568,6 +3630,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to retrieve remote locations for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -3662,6 +3725,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to request location capacity for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -3669,6 +3733,7 @@ "Location": { "target": "com.amazonaws.gamelift#LocationStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The fleet location to retrieve capacity information for. Specify a location in the\n form of an Amazon Web Services Region code, such as us-west-2.

", "smithy.api#required": {} } @@ -3727,6 +3792,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to request location utilization for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -3734,6 +3800,7 @@ "Location": { "target": "com.amazonaws.gamelift#LocationStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The fleet location to retrieve utilization information for. Specify a location in the\n form of an Amazon Web Services Region code, such as us-west-2.

", "smithy.api#required": {} } @@ -3792,6 +3859,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to retrieve port settings for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -3981,6 +4049,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group. Use either the name or ARN value.

", "smithy.api#required": {} } @@ -4010,6 +4079,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group where the game server is running.

", "smithy.api#required": {} } @@ -4017,6 +4087,7 @@ "GameServerId": { "target": "com.amazonaws.gamelift#GameServerId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom string that uniquely identifies the game server information to be retrieved.

", "smithy.api#required": {} } @@ -4064,6 +4135,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group. Use either the name or ARN value.

", "smithy.api#required": {} } @@ -4265,6 +4337,7 @@ "PlacementId": { "target": "com.amazonaws.gamelift#IdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a game session placement to retrieve.

", "smithy.api#required": {} } @@ -4515,6 +4588,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to retrieve instance information for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -4678,6 +4752,7 @@ "TicketIds": { "target": "com.amazonaws.gamelift#MatchmakingIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a matchmaking ticket. You can include up to 10 ID values.

", "smithy.api#required": {} } @@ -4765,6 +4840,7 @@ "RuleSets": { "target": "com.amazonaws.gamelift#MatchmakingRuleSetList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collection of requested matchmaking rule set objects.

", "smithy.api#required": {} } @@ -4908,6 +4984,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to get the runtime configuration for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -4972,6 +5049,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet for which to retrieve scaling policies. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -5057,6 +5135,7 @@ "ScriptId": { "target": "com.amazonaws.gamelift#ScriptIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the Realtime script to retrieve properties for. You can use either the script ID or ARN\n value.

", "smithy.api#required": {} } @@ -5218,10 +5297,7 @@ } }, "com.amazonaws.gamelift#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.gamelift#DoubleObject": { "type": "double" @@ -7092,10 +7168,7 @@ } }, "com.amazonaws.gamelift#Float": { - "type": "float", - "traits": { - "smithy.api#default": 0 - } + "type": "float" }, "com.amazonaws.gamelift#FreeText": { "type": "string" @@ -7476,7 +7549,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -7519,7 +7591,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -7532,7 +7605,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -7546,7 +7618,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -7569,7 +7640,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -7604,7 +7674,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -7615,14 +7684,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -7636,14 +7707,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -7652,11 +7721,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -7667,14 +7736,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -7688,7 +7759,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -7708,7 +7778,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -7719,14 +7788,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -7737,9 +7808,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -8352,6 +8425,7 @@ "Key": { "target": "com.amazonaws.gamelift#GamePropertyKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The game property identifier.

", "smithy.api#required": {} } @@ -8359,6 +8433,7 @@ "Value": { "target": "com.amazonaws.gamelift#GamePropertyValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The game property value.

", "smithy.api#required": {} } @@ -8628,6 +8703,7 @@ "TargetTrackingConfiguration": { "target": "com.amazonaws.gamelift#TargetTrackingConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Settings for a target-based scaling policy applied to Auto Scaling group. These\n settings are used to create a target-based policy that tracks the Amazon GameLift FleetIQ metric\n \"PercentUtilizedGameServers\" and specifies a target value for the\n metric. As player usage changes, the policy triggers to adjust the game server group\n capacity so that the metric returns to the target value.

", "smithy.api#required": {} } @@ -9985,6 +10061,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet that contains the compute resource you want to connect to. You can use either\n the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -9992,6 +10069,7 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the compute resource that you want to connect to. You can use\n either a registered compute name or an instance ID.

", "smithy.api#required": {} } @@ -10071,6 +10149,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet that the compute is registered to.

", "smithy.api#required": {} } @@ -10078,6 +10157,7 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the compute resource you are requesting the authentication token\n for.

", "smithy.api#required": {} } @@ -10163,6 +10243,7 @@ "GameSessionId": { "target": "com.amazonaws.gamelift#ArnStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game session to get logs for.

", "smithy.api#required": {} } @@ -10218,6 +10299,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet that contains the instance you want to access. You can request access to\n instances in EC2 fleets with the following statuses: ACTIVATING,\n ACTIVE, or ERROR. Use either a fleet ID or an ARN value.

\n \n

You can access fleets in ERROR status for a short period of time before Amazon GameLift deletes them.

\n
", "smithy.api#required": {} } @@ -10225,6 +10307,7 @@ "InstanceId": { "target": "com.amazonaws.gamelift#InstanceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the instance you want to access. You can access an instance in any status.

", "smithy.api#required": {} } @@ -10413,6 +10496,7 @@ "InstanceType": { "target": "com.amazonaws.gamelift#GameServerGroupInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An Amazon EC2 instance type designation.

", "smithy.api#required": {} } @@ -10476,10 +10560,7 @@ } }, "com.amazonaws.gamelift#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.gamelift#InternalServiceException": { "type": "structure", @@ -10545,6 +10626,7 @@ "FromPort": { "target": "com.amazonaws.gamelift#PortNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A starting value for a range of allowed port numbers.

\n

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

\n

For fleets using Windows builds, only ports 1026-60000 are valid.

", "smithy.api#required": {} } @@ -10552,6 +10634,7 @@ "ToPort": { "target": "com.amazonaws.gamelift#PortNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An ending value for a range of allowed port numbers. Port numbers are end-inclusive.\n This value must be equal to or greater than FromPort.

\n

For fleets using Linux builds, only ports 22 and 1026-60000 are valid.

\n

For fleets using Windows builds, only ports 1026-60000 are valid.

", "smithy.api#required": {} } @@ -10559,6 +10642,7 @@ "IpRange": { "target": "com.amazonaws.gamelift#NonBlankString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A range of allowed IP addresses. This value must be expressed in CIDR notation.\n Example: \"000.000.000.000/[subnet mask]\" or optionally the shortened\n version \"0.0.0.0/[subnet mask]\".

", "smithy.api#required": {} } @@ -10566,6 +10650,7 @@ "Protocol": { "target": "com.amazonaws.gamelift#IpProtocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The network communication protocol used by the fleet.

", "smithy.api#required": {} } @@ -10901,6 +10986,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to retrieve compute resources for.

", "smithy.api#required": {} } @@ -11136,6 +11222,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An identifier for the game server group to retrieve a list of game servers from. Use\n either the name or ARN value.

", "smithy.api#required": {} } @@ -11368,6 +11455,7 @@ "ResourceARN": { "target": "com.amazonaws.gamelift#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies\n the Amazon GameLift resource that you want to retrieve tags for. Amazon GameLift includes resource ARNs in\n the data object for the resource. You can retrieve the ARN by calling a\n List or Describe operation for the resource type.

", "smithy.api#required": {} } @@ -11439,6 +11527,7 @@ "Location": { "target": "com.amazonaws.gamelift#LocationStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An Amazon Web Services Region code, such as us-west-2.

", "smithy.api#required": {} } @@ -11853,6 +11942,7 @@ "RuleSetBody": { "target": "com.amazonaws.gamelift#RuleSetBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collection of matchmaking rules, formatted as a JSON string. Comments are not\n allowed in JSON, but most elements support a description field.

", "smithy.api#required": {} } @@ -12339,7 +12429,6 @@ "LatencyInMilliseconds": { "target": "com.amazonaws.gamelift#Float", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Amount of time that represents the time lag experienced by the player when connected\n to the specified Region.

" } } @@ -12676,6 +12765,7 @@ "Name": { "target": "com.amazonaws.gamelift#NonZeroAndMaxString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with a fleet's scaling policy. Policy names do not need to be unique. A fleet can have only one scaling policy with the same name.

", "smithy.api#required": {} } @@ -12683,6 +12773,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to apply this policy to. You can use either the fleet ID or ARN value. The fleet\n cannot be in any of the following statuses: ERROR or DELETING.

", "smithy.api#required": {} } @@ -12690,7 +12781,6 @@ "ScalingAdjustment": { "target": "com.amazonaws.gamelift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Amount of adjustment to make, based on the scaling adjustment type.

" } }, @@ -12703,7 +12793,6 @@ "Threshold": { "target": "com.amazonaws.gamelift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Metric value used to trigger a scaling event.

" } }, @@ -12722,6 +12811,7 @@ "MetricName": { "target": "com.amazonaws.gamelift#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the Amazon GameLift-defined metric that is used to trigger a scaling adjustment. For\n detailed descriptions of fleet metrics, see Monitor Amazon GameLift\n with Amazon CloudWatch.

\n ", "smithy.api#required": {} } @@ -12815,6 +12905,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to register the compute to. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -12822,6 +12913,7 @@ "ComputeName": { "target": "com.amazonaws.gamelift#ComputeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label for the compute resource.

", "smithy.api#required": {} } @@ -12904,6 +12996,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group where the game server is running.

", "smithy.api#required": {} } @@ -12911,6 +13004,7 @@ "GameServerId": { "target": "com.amazonaws.gamelift#GameServerId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom string that uniquely identifies the game server to register. Game server IDs are developer-defined and must be unique\n across all game server groups in your Amazon Web Services account.

", "smithy.api#required": {} } @@ -12918,6 +13012,7 @@ "InstanceId": { "target": "com.amazonaws.gamelift#GameServerInstanceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the instance where the game server is running. This ID is\n available in the instance metadata. EC2 instance IDs \n use a 17-character format, for example: i-1234567890abcdef0.

", "smithy.api#required": {} } @@ -12985,6 +13080,7 @@ "BuildId": { "target": "com.amazonaws.gamelift#BuildIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the build to get credentials for. You can use either the build ID or ARN value.

", "smithy.api#required": {} } @@ -13049,6 +13145,7 @@ "AliasId": { "target": "com.amazonaws.gamelift#AliasIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the alias that you want to retrieve a fleet ID for. You can\n use either the alias ID or ARN value.

", "smithy.api#required": {} } @@ -13130,6 +13227,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group. Use either the name or ARN value.

", "smithy.api#required": {} } @@ -13137,6 +13235,7 @@ "ResumeActions": { "target": "com.amazonaws.gamelift#GameServerGroupActions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The activity to resume for this game server group.

", "smithy.api#required": {} } @@ -13332,7 +13431,6 @@ "ScalingAdjustment": { "target": "com.amazonaws.gamelift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Amount of adjustment to make, based on the scaling adjustment type.

" } }, @@ -13351,7 +13449,6 @@ "Threshold": { "target": "com.amazonaws.gamelift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Metric value used to trigger a scaling event.

" } }, @@ -13637,6 +13734,7 @@ "LaunchPath": { "target": "com.amazonaws.gamelift#LaunchPathStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of a game build executable or Realtime script. Game builds and Realtime\n scripts are installed on instances at the root:

\n \n \n

Amazon GameLift doesn't support the use of setup scripts that launch the game executable.\n For custom game builds, this parameter must indicate the executable that calls the\n server SDK operations initSDK() and ProcessReady().\n

\n
", "smithy.api#required": {} } @@ -13650,6 +13748,7 @@ "ConcurrentExecutions": { "target": "com.amazonaws.gamelift#PositiveInteger", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of server processes using this configuration that run concurrently on each\n instance.

", "smithy.api#required": {} } @@ -13744,6 +13843,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to restart actions on. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -13751,6 +13851,7 @@ "Actions": { "target": "com.amazonaws.gamelift#FleetActionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of actions to restart on the fleet.

", "smithy.api#required": {} } @@ -13818,6 +13919,7 @@ "PlacementId": { "target": "com.amazonaws.gamelift#IdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier to assign to the new game session placement. This value is\n developer-defined. The value must be unique across all Regions and cannot be\n reused.

", "smithy.api#required": {} } @@ -13825,6 +13927,7 @@ "GameSessionQueueName": { "target": "com.amazonaws.gamelift#GameSessionQueueNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the queue to use to place the new game session. You can use either the queue\n name or ARN value.

", "smithy.api#required": {} } @@ -13838,6 +13941,7 @@ "MaximumPlayerSessionCount": { "target": "com.amazonaws.gamelift#WholeNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum number of players that can be connected simultaneously to the game session.

", "smithy.api#required": {} } @@ -13923,6 +14027,7 @@ "ConfigurationName": { "target": "com.amazonaws.gamelift#MatchmakingConfigurationName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the matchmaker to use for this request. You can use either the configuration\n name or ARN value. The ARN of the matchmaker that was used with the original game\n session is listed in the GameSession object, MatchmakerData\n property.

", "smithy.api#required": {} } @@ -13936,6 +14041,7 @@ "Players": { "target": "com.amazonaws.gamelift#PlayerList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Match information on all players that are currently assigned to the game session. This\n information is used by the matchmaker to find new players and add them to the existing\n game.

\n

You can include up to 199 Players in a StartMatchBackfill\n request.

\n ", "smithy.api#required": {} } @@ -13997,6 +14103,7 @@ "ConfigurationName": { "target": "com.amazonaws.gamelift#MatchmakingConfigurationName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the matchmaking configuration to use for this request. Matchmaking\n configurations must exist in the same Region as this request. You can use either the\n configuration name or ARN value.

", "smithy.api#required": {} } @@ -14004,6 +14111,7 @@ "Players": { "target": "com.amazonaws.gamelift#PlayerList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information on each player to be matched. This information must include a player ID,\n and may contain player attributes and latency data to be used in the matchmaking\n process. After a successful match, Player objects contain the name of the\n team the player is assigned to.

\n

You can include up to 10 Players in a StartMatchmaking\n request.

", "smithy.api#required": {} } @@ -14062,6 +14170,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to stop actions on. You can use either the fleet ID or ARN value.

", "smithy.api#required": {} } @@ -14069,6 +14178,7 @@ "Actions": { "target": "com.amazonaws.gamelift#FleetActionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of actions to suspend on the fleet.

", "smithy.api#required": {} } @@ -14136,6 +14246,7 @@ "PlacementId": { "target": "com.amazonaws.gamelift#IdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a game session placement to stop.

", "smithy.api#required": {} } @@ -14191,6 +14302,7 @@ "TicketId": { "target": "com.amazonaws.gamelift#MatchmakingIdStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a matchmaking ticket.

", "smithy.api#required": {} } @@ -14248,6 +14360,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group. Use either the name or ARN value.

", "smithy.api#required": {} } @@ -14255,6 +14368,7 @@ "SuspendActions": { "target": "com.amazonaws.gamelift#GameServerGroupActions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The activity to suspend for this game server group.

", "smithy.api#required": {} } @@ -14284,6 +14398,7 @@ "Key": { "target": "com.amazonaws.gamelift#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key for a developer-defined key value pair for tagging an Amazon Web Services resource.

", "smithy.api#required": {} } @@ -14291,6 +14406,7 @@ "Value": { "target": "com.amazonaws.gamelift#TagValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value for a developer-defined key value pair for tagging an Amazon Web Services resource.

", "smithy.api#required": {} } @@ -14365,6 +14481,7 @@ "ResourceARN": { "target": "com.amazonaws.gamelift#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies\n the Amazon GameLift resource that you want to assign tags to. Amazon GameLift includes resource ARNs in\n the data object for the resource. You can retrieve the ARN by calling a\n List or Describe operation for the resource type.

", "smithy.api#required": {} } @@ -14372,6 +14489,7 @@ "Tags": { "target": "com.amazonaws.gamelift#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of one or more tags to assign to the specified Amazon GameLift resource. Tags are\n developer-defined and structured as key-value pairs. The maximum tag limit may be lower\n than stated. See \n Tagging Amazon Web Services Resources for tagging limits.

", "smithy.api#required": {} } @@ -14415,7 +14533,7 @@ "TargetValue": { "target": "com.amazonaws.gamelift#Double", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Desired value to use with a target-based scaling policy. The value must be relevant\n for whatever metric the scaling policy is using. For example, in a policy using the\n metric PercentAvailableGameSessions, the target value should be the preferred size of\n the fleet's buffer (the percent of capacity that should be idle and ready for new game\n sessions).

", "smithy.api#required": {} } @@ -14431,6 +14549,7 @@ "TargetValue": { "target": "com.amazonaws.gamelift#NonNegativeDouble", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Desired value to use with a game server group target-based scaling policy.

", "smithy.api#required": {} } @@ -14511,6 +14630,7 @@ "ResourceARN": { "target": "com.amazonaws.gamelift#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies\n the Amazon GameLift resource that you want to remove tags from. Amazon GameLift includes resource ARNs in\n the data object for the resource. You can retrieve the ARN by calling a\n List or Describe operation for the resource type.

", "smithy.api#required": {} } @@ -14518,6 +14638,7 @@ "TagKeys": { "target": "com.amazonaws.gamelift#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of one or more tag keys to remove from the specified Amazon GameLift resource.

", "smithy.api#required": {} } @@ -14566,6 +14687,7 @@ "AliasId": { "target": "com.amazonaws.gamelift#AliasIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the alias that you want to update. You can use either the\n alias ID or ARN value.

", "smithy.api#required": {} } @@ -14639,6 +14761,7 @@ "BuildId": { "target": "com.amazonaws.gamelift#BuildIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the build to update. You can use either the build ID or ARN value.

", "smithy.api#required": {} } @@ -14715,6 +14838,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to update attribute metadata for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -14824,6 +14948,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to update capacity settings for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -14924,6 +15049,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to update port settings for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -15023,6 +15149,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group. Use either the name or ARN value.

", "smithy.api#required": {} } @@ -15076,6 +15203,7 @@ "GameServerGroupName": { "target": "com.amazonaws.gamelift#GameServerGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game server group where the game server is running.

", "smithy.api#required": {} } @@ -15083,6 +15211,7 @@ "GameServerId": { "target": "com.amazonaws.gamelift#GameServerId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom string that uniquely identifies the game server to update.

", "smithy.api#required": {} } @@ -15162,6 +15291,7 @@ "GameSessionId": { "target": "com.amazonaws.gamelift#ArnStringModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the game session to update.

", "smithy.api#required": {} } @@ -15241,6 +15371,7 @@ "Name": { "target": "com.amazonaws.gamelift#GameSessionQueueNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A descriptive label that is associated with game session queue. Queue names must be unique within each Region. You can use either the queue ID or ARN value.

", "smithy.api#required": {} } @@ -15338,6 +15469,7 @@ "Name": { "target": "com.amazonaws.gamelift#MatchmakingConfigurationName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the matchmaking configuration to update. You can use either the configuration name or ARN value.

", "smithy.api#required": {} } @@ -15474,6 +15606,7 @@ "FleetId": { "target": "com.amazonaws.gamelift#FleetIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN\n value.

", "smithy.api#required": {} } @@ -15481,6 +15614,7 @@ "RuntimeConfiguration": { "target": "com.amazonaws.gamelift#RuntimeConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Instructions for launching server processes on each instance in the fleet. Server\n processes run either a custom game build executable or a Realtime Servers script. The runtime\n configuration lists the types of server processes to run on an instance, how to launch\n them, and the number of processes to run concurrently.

", "smithy.api#required": {} } @@ -15536,6 +15670,7 @@ "ScriptId": { "target": "com.amazonaws.gamelift#ScriptIdOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the Realtime script to update. You can use either the script ID or ARN value.

", "smithy.api#required": {} } @@ -15612,6 +15747,7 @@ "RuleSetBody": { "target": "com.amazonaws.gamelift#RuleSetBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collection of matchmaking rules to validate, formatted as a JSON string.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index daa5cdd29e2..2e78f46491a 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -696,7 +696,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -739,7 +738,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -752,7 +752,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -766,7 +765,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -789,7 +787,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -824,7 +821,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -835,14 +831,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -856,14 +854,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -872,11 +868,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -887,14 +883,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -908,7 +906,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -928,7 +925,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -939,14 +935,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -957,9 +955,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3400,7 +3400,6 @@ "com.amazonaws.glue#BatchSize": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -8752,21 +8751,18 @@ "SchemaCheckpoint": { "target": "com.amazonaws.glue#SchemaCheckpointNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the checkpoint (the last time the compatibility mode was changed).

" } }, "LatestSchemaVersion": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The latest version of the schema associated with the returned schema definition.

" } }, "NextSchemaVersion": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The next version of the schema associated with the returned schema definition.

" } }, @@ -13341,7 +13337,6 @@ "BatchSize": { "target": "com.amazonaws.glue#BatchSize", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.

", "smithy.api#required": {} } @@ -17545,21 +17540,18 @@ "SchemaCheckpoint": { "target": "com.amazonaws.glue#SchemaCheckpointNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the checkpoint (the last time the compatibility mode was changed).

" } }, "LatestSchemaVersion": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The latest version of the schema associated with the returned schema definition.

" } }, "NextSchemaVersion": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The next version of the schema associated with the returned schema definition.

" } }, @@ -17668,7 +17660,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the schema.

" } }, @@ -25814,7 +25805,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the schema.

" } }, @@ -25974,7 +25964,6 @@ "MaxResults": { "target": "com.amazonaws.glue#QuerySchemaVersionMetadataMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of results required per page. If the value is not supplied, this will be defaulted to 25 per page.

" } }, @@ -25992,7 +25981,6 @@ "com.amazonaws.glue#QuerySchemaVersionMetadataMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -26315,7 +26303,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version of this schema (for sync flow only, in case this is the first version).

" } }, @@ -26533,7 +26520,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the schema.

" } }, @@ -28113,7 +28099,6 @@ "com.amazonaws.glue#SchemaCheckpointNumber": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100000 @@ -28274,7 +28259,6 @@ "SchemaVersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The version number of the schema.

" } } @@ -28334,7 +28318,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the schema.

" } }, @@ -28389,7 +28372,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the schema.

" } }, @@ -28423,7 +28405,6 @@ "VersionNumber": { "target": "com.amazonaws.glue#VersionLongNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the schema.

" } } @@ -28632,7 +28613,6 @@ "TotalSegments": { "target": "com.amazonaws.glue#TotalSegmentsInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of segments.

", "smithy.api#required": {} } @@ -31925,7 +31905,6 @@ "com.amazonaws.glue#TotalSegmentsInteger": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -34714,7 +34693,6 @@ "com.amazonaws.glue#VersionLongNumber": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100000 diff --git a/codegen/sdk-codegen/aws-models/greengrass.json b/codegen/sdk-codegen/aws-models/greengrass.json index 89464773c0b..d7dd7e0482e 100644 --- a/codegen/sdk-codegen/aws-models/greengrass.json +++ b/codegen/sdk-codegen/aws-models/greengrass.json @@ -68,6 +68,7 @@ "RoleArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the role you wish to associate with this group. The existence of the role is not validated.", "smithy.api#required": {} } @@ -122,6 +123,7 @@ "RoleArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the service role you wish to associate with your account.", "smithy.api#required": {} } @@ -386,6 +388,7 @@ "ConnectorArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the connector.", "smithy.api#required": {} } @@ -393,6 +396,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A descriptive or arbitrary ID for the connector. This value must be unique within the connector definition version. Max length is 128 characters with pattern [a-zA-Z0-9:_-]+.", "smithy.api#required": {} } @@ -428,6 +432,7 @@ "CertificateArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the certificate associated with the core.", "smithy.api#required": {} } @@ -435,6 +440,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A descriptive or arbitrary ID for the core. This value must be unique within the core definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.", "smithy.api#required": {} } @@ -448,6 +454,7 @@ "ThingArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the thing which is the core.", "smithy.api#required": {} } @@ -889,6 +896,7 @@ "DeploymentType": { "target": "com.amazonaws.greengrass#DeploymentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' and ''Redeployment'' are valid.", "smithy.api#required": {} } @@ -1418,6 +1426,7 @@ "Name": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the group.", "smithy.api#required": {} } @@ -2016,12 +2025,14 @@ "S3UrlSignerRole": { "target": "com.amazonaws.greengrass#S3UrlSignerRole", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "SoftwareToUpdate": { "target": "com.amazonaws.greengrass#SoftwareToUpdate", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -2031,18 +2042,21 @@ "UpdateTargets": { "target": "com.amazonaws.greengrass#UpdateTargets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "UpdateTargetsArchitecture": { "target": "com.amazonaws.greengrass#UpdateTargetsArchitecture", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "UpdateTargetsOperatingSystem": { "target": "com.amazonaws.greengrass#UpdateTargetsOperatingSystem", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -2764,6 +2778,7 @@ "CertificateArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the certificate associated with the device.", "smithy.api#required": {} } @@ -2771,6 +2786,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A descriptive or arbitrary ID for the device. This value must be unique within the device definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.", "smithy.api#required": {} } @@ -2784,6 +2800,7 @@ "ThingArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The thing ARN of the device.", "smithy.api#required": {} } @@ -2969,6 +2986,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A descriptive or arbitrary ID for the function. This value must be unique within the function definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.", "smithy.api#required": {} } @@ -5527,7 +5545,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5570,7 +5587,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5583,7 +5601,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5597,7 +5614,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5620,7 +5636,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5655,7 +5670,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -5666,14 +5680,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5687,14 +5703,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -5703,11 +5717,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5756,14 +5770,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5777,7 +5793,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5797,7 +5812,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -5808,14 +5822,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5880,9 +5896,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -7994,6 +8012,7 @@ "Component": { "target": "com.amazonaws.greengrass#LoggerComponent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The component that will be subject to logging.", "smithy.api#required": {} } @@ -8001,6 +8020,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.", "smithy.api#required": {} } @@ -8008,6 +8028,7 @@ "Level": { "target": "com.amazonaws.greengrass#LoggerLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The level of the logs.", "smithy.api#required": {} } @@ -8021,6 +8042,7 @@ "Type": { "target": "com.amazonaws.greengrass#LoggerType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of log output which will be used.", "smithy.api#required": {} } @@ -8211,6 +8233,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The resource ID, used to refer to a resource in the Lambda function configuration. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.", "smithy.api#required": {} } @@ -8218,6 +8241,7 @@ "Name": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The descriptive resource name, which is displayed on the AWS IoT Greengrass console. Max length 128 characters with pattern ''[a-zA-Z0-9:_-]+''. This must be unique within a Greengrass group.", "smithy.api#required": {} } @@ -8225,6 +8249,7 @@ "ResourceDataContainer": { "target": "com.amazonaws.greengrass#ResourceDataContainer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A container of data for all resource types.", "smithy.api#required": {} } @@ -8246,6 +8271,7 @@ "ResourceId": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)", "smithy.api#required": {} } @@ -8313,6 +8339,7 @@ "GroupOwner": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The group owner of the resource. This is the name of an existing Linux OS group on the system or a GID. The group's permissions are added to the Lambda process.", "smithy.api#required": {} } @@ -8320,6 +8347,7 @@ "GroupPermission": { "target": "com.amazonaws.greengrass#Permission", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The permissions that the group owner has to the resource. Valid values are ''rw'' (read/write) or ''ro'' (read-only).", "smithy.api#required": {} } @@ -8470,6 +8498,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the execution role to associate with the bulk deployment operation. This IAM role must allow the ''greengrass:CreateDeployment'' action for all group versions that are listed in the input file. This IAM role must have access to the S3 bucket containing the input file.", "smithy.api#required": {} } @@ -8477,6 +8506,7 @@ "InputFileUri": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The URI of the input file contained in the S3 bucket. The execution role must have ''getObject'' permissions on this bucket to access the input file. The input file is a JSON-serialized, line delimited file with UTF-8 encoding that provides a list of group and version IDs and the deployment type. This file must be less than 100 MB. Currently, AWS IoT Greengrass supports only ''NewDeployment'' deployment types.", "smithy.api#required": {} } @@ -8563,6 +8593,7 @@ "Id": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.", "smithy.api#required": {} } @@ -8570,6 +8601,7 @@ "Source": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.", "smithy.api#required": {} } @@ -8577,6 +8609,7 @@ "Subject": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The MQTT topic used to route the message.", "smithy.api#required": {} } @@ -8584,6 +8617,7 @@ "Target": { "target": "com.amazonaws.greengrass#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.", "smithy.api#required": {} } @@ -8690,6 +8724,7 @@ "Telemetry": { "target": "com.amazonaws.greengrass#Telemetry", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Configure telemetry to be on or off.", "smithy.api#required": {} } @@ -8705,6 +8740,7 @@ "Telemetry": { "target": "com.amazonaws.greengrass#Telemetry", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Configure telemetry to be on or off.", "smithy.api#required": {} } @@ -8750,6 +8786,7 @@ "TagKeys": { "target": "com.amazonaws.greengrass#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "An array of tag keys to delete", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/greengrassv2.json b/codegen/sdk-codegen/aws-models/greengrassv2.json index c90c9366588..80822331e3c 100644 --- a/codegen/sdk-codegen/aws-models/greengrassv2.json +++ b/codegen/sdk-codegen/aws-models/greengrassv2.json @@ -1255,7 +1255,6 @@ "com.amazonaws.greengrassv2#DefaultMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2776,7 +2775,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2819,7 +2817,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2832,7 +2831,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2846,7 +2844,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2869,7 +2866,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2904,7 +2900,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2915,14 +2910,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2936,14 +2933,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2952,11 +2947,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3005,14 +3000,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3026,7 +3023,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3046,7 +3042,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3057,14 +3052,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3129,9 +3126,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3907,7 +3906,6 @@ "minNumberOfExecutedThings": { "target": "com.amazonaws.greengrassv2#IoTJobMinimumNumberOfExecutedThings", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of things that receive the configuration before the job can\n cancel.

", "smithy.api#required": {} } @@ -3978,7 +3976,6 @@ "maximumPerMinute": { "target": "com.amazonaws.greengrassv2#IoTJobMaxExecutionsPerMin", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of devices that receive a pending job notification, per minute.

" } } @@ -3993,7 +3990,6 @@ "baseRatePerMinute": { "target": "com.amazonaws.greengrassv2#IoTJobRolloutBaseRatePerMinute", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of devices that receive a pending job notification, per minute, when\n the job starts. This parameter defines the initial rollout rate of the job.

", "smithy.api#required": {} } @@ -4001,7 +3997,6 @@ "incrementFactor": { "target": "com.amazonaws.greengrassv2#IoTJobRolloutIncrementFactor", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The exponential factor to increase the rollout rate for the job.

\n

This parameter supports up to one digit after the decimal (for example, you can specify\n 1.5, but not 1.55).

", "smithy.api#required": {} } @@ -4036,7 +4031,6 @@ "com.amazonaws.greengrassv2#IoTJobMaxExecutionsPerMin": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -4046,7 +4040,6 @@ "com.amazonaws.greengrassv2#IoTJobMinimumNumberOfExecutedThings": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4055,7 +4048,6 @@ "com.amazonaws.greengrassv2#IoTJobNumberOfThings": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4067,14 +4059,12 @@ "numberOfNotifiedThings": { "target": "com.amazonaws.greengrassv2#IoTJobNumberOfThings", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of devices to receive the job notification before the rollout rate\n increases.

" } }, "numberOfSucceededThings": { "target": "com.amazonaws.greengrassv2#IoTJobNumberOfThings", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of devices to successfully run the configuration job before the rollout rate\n increases.

" } } @@ -4086,7 +4076,6 @@ "com.amazonaws.greengrassv2#IoTJobRolloutBaseRatePerMinute": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -4096,7 +4085,6 @@ "com.amazonaws.greengrassv2#IoTJobRolloutIncrementFactor": { "type": "double", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 5 @@ -4570,7 +4558,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -4661,7 +4648,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -4751,7 +4737,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -4845,7 +4830,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -4946,7 +4930,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -5037,7 +5020,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -5128,7 +5110,6 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } diff --git a/codegen/sdk-codegen/aws-models/guardduty.json b/codegen/sdk-codegen/aws-models/guardduty.json index a62f6a46021..bf857dfc210 100644 --- a/codegen/sdk-codegen/aws-models/guardduty.json +++ b/codegen/sdk-codegen/aws-models/guardduty.json @@ -69,6 +69,7 @@ "AdministratorId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account ID of the GuardDuty administrator account whose invitation you're\n accepting.

", "smithy.api#jsonName": "administratorId", "smithy.api#required": {} @@ -77,6 +78,7 @@ "InvitationId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value that is used to validate the administrator account to the member\n account.

", "smithy.api#jsonName": "invitationId", "smithy.api#required": {} @@ -137,6 +139,7 @@ "MasterId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account ID of the GuardDuty administrator account whose invitation you're\n accepting.

", "smithy.api#jsonName": "masterId", "smithy.api#required": {} @@ -145,6 +148,7 @@ "InvitationId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value that is used to validate the administrator account to the member\n account.

", "smithy.api#jsonName": "invitationId", "smithy.api#required": {} @@ -174,7 +178,6 @@ "AllowsPublicReadAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public read access for the bucket is enabled through an\n Access Control List (ACL).

", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -182,7 +185,6 @@ "AllowsPublicWriteAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public write access for the bucket is enabled through an\n Access Control List (ACL).

", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -258,6 +260,7 @@ "AccountId": { "target": "com.amazonaws.guardduty#AccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The member account ID.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -266,6 +269,7 @@ "Email": { "target": "com.amazonaws.guardduty#Email", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the member account.

", "smithy.api#jsonName": "email", "smithy.api#required": {} @@ -583,6 +587,7 @@ "FindingIds": { "target": "com.amazonaws.guardduty#FindingIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the findings that you want to archive.

", "smithy.api#jsonName": "findingIds", "smithy.api#required": {} @@ -724,7 +729,6 @@ "IgnorePublicAcls": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to IgnorePublicAcls.

", "smithy.api#jsonName": "ignorePublicAcls" } @@ -732,7 +736,6 @@ "RestrictPublicBuckets": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to RestrictPublicBuckets.

", "smithy.api#jsonName": "restrictPublicBuckets" } @@ -740,7 +743,6 @@ "BlockPublicAcls": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to BlockPublicAcls.

", "smithy.api#jsonName": "blockPublicAcls" } @@ -748,7 +750,6 @@ "BlockPublicPolicy": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to BlockPublicPolicy.

", "smithy.api#jsonName": "blockPublicPolicy" } @@ -759,10 +760,7 @@ } }, "com.amazonaws.guardduty#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.guardduty#BucketLevelPermissions": { "type": "structure", @@ -799,7 +797,6 @@ "AllowsPublicReadAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public read access for the bucket is enabled through a\n bucket policy.

", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -807,7 +804,6 @@ "AllowsPublicWriteAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public write access for the bucket is enabled through a\n bucket policy.

", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -847,6 +843,7 @@ "Status": { "target": "com.amazonaws.guardduty#DataSourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes whether CloudTrail is enabled as a data source for the detector.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -879,7 +876,6 @@ "Gt": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a greater than condition to be applied to a single field\n when querying for findings.

", "smithy.api#jsonName": "gt" @@ -888,7 +884,6 @@ "Gte": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a greater than or equal condition to be applied to a\n single field when querying for findings.

", "smithy.api#jsonName": "gte" @@ -897,7 +892,6 @@ "Lt": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a less than condition to be applied to a single field when\n querying for findings.

", "smithy.api#jsonName": "lt" @@ -906,7 +900,6 @@ "Lte": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a less than or equal condition to be applied to a single\n field when querying for findings.

", "smithy.api#jsonName": "lte" @@ -929,7 +922,6 @@ "GreaterThan": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents a greater than condition to be applied to a single field\n when querying for findings.

", "smithy.api#jsonName": "greaterThan" } @@ -937,7 +929,6 @@ "GreaterThanOrEqual": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents a greater than or equal condition to be applied to a\n single field when querying for findings.

", "smithy.api#jsonName": "greaterThanOrEqual" } @@ -945,7 +936,6 @@ "LessThan": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents a less than condition to be applied to a single field when\n querying for findings.

", "smithy.api#jsonName": "lessThan" } @@ -953,7 +943,6 @@ "LessThanOrEqual": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents a less than or equal condition to be applied to a single\n field when querying for findings.

", "smithy.api#jsonName": "lessThanOrEqual" } @@ -1112,7 +1101,6 @@ "CoveredNodes": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents the nodes within the EKS cluster that have a HEALTHY coverage\n status.

", "smithy.api#jsonName": "coveredNodes" } @@ -1120,7 +1108,6 @@ "CompatibleNodes": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents all the nodes within the EKS cluster in your account.

", "smithy.api#jsonName": "compatibleNodes" } @@ -1509,7 +1496,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Boolean value that specifies whether the detector is to be enabled.

", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -1621,6 +1608,7 @@ "Name": { "target": "com.amazonaws.guardduty#FilterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the filter. Valid characters include period (.), underscore (_), dash (-), and\n alphanumeric characters. A whitespace is considered to be an invalid character.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1643,7 +1631,6 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.

", "smithy.api#jsonName": "rank" } @@ -1651,6 +1638,7 @@ "FindingCriteria": { "target": "com.amazonaws.guardduty#FindingCriteria", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the criteria to be used in the filter for querying findings.

\n

You can only use the following attributes to query findings:

\n ", "smithy.api#jsonName": "findingCriteria", "smithy.api#required": {} @@ -1682,6 +1670,7 @@ "Name": { "target": "com.amazonaws.guardduty#FilterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the successfully created filter.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1732,6 +1721,7 @@ "Name": { "target": "com.amazonaws.guardduty#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user-friendly name to identify the IPSet.

\n

Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1740,6 +1730,7 @@ "Format": { "target": "com.amazonaws.guardduty#IpSetFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the file that contains the IPSet.

", "smithy.api#jsonName": "format", "smithy.api#required": {} @@ -1748,6 +1739,7 @@ "Location": { "target": "com.amazonaws.guardduty#Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the file that contains the IPSet.

", "smithy.api#jsonName": "location", "smithy.api#required": {} @@ -1756,7 +1748,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Boolean value that indicates whether GuardDuty is to start using the uploaded\n IPSet.

", "smithy.api#jsonName": "activate", "smithy.api#required": {} @@ -1788,6 +1780,7 @@ "IpSetId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the IPSet resource.

", "smithy.api#jsonName": "ipSetId", "smithy.api#required": {} @@ -1838,6 +1831,7 @@ "AccountDetails": { "target": "com.amazonaws.guardduty#AccountDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account ID and email address pairs of the accounts that you want to associate\n with the GuardDuty administrator account.

", "smithy.api#jsonName": "accountDetails", "smithy.api#required": {} @@ -1854,6 +1848,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that include the accountIds of the unprocessed accounts and\n a result string that explains why each was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -1904,6 +1899,7 @@ "DestinationType": { "target": "com.amazonaws.guardduty#DestinationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of resource for the publishing destination. Currently only Amazon S3 buckets are\n supported.

", "smithy.api#jsonName": "destinationType", "smithy.api#required": {} @@ -1912,6 +1908,7 @@ "DestinationProperties": { "target": "com.amazonaws.guardduty#DestinationProperties", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The properties of the publishing destination, including the ARNs for the destination and\n the KMS key used for encryption.

", "smithy.api#jsonName": "destinationProperties", "smithy.api#required": {} @@ -1936,6 +1933,7 @@ "DestinationId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the publishing destination that is created.

", "smithy.api#jsonName": "destinationId", "smithy.api#required": {} @@ -2042,6 +2040,7 @@ "Name": { "target": "com.amazonaws.guardduty#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A user-friendly ThreatIntelSet name displayed in all findings that are generated by\n activity that involves IP addresses included in this ThreatIntelSet.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -2050,6 +2049,7 @@ "Format": { "target": "com.amazonaws.guardduty#ThreatIntelSetFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the file that contains the ThreatIntelSet.

", "smithy.api#jsonName": "format", "smithy.api#required": {} @@ -2058,6 +2058,7 @@ "Location": { "target": "com.amazonaws.guardduty#Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the file that contains the ThreatIntelSet.

", "smithy.api#jsonName": "location", "smithy.api#required": {} @@ -2066,7 +2067,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Boolean value that indicates whether GuardDuty is to start using the uploaded\n ThreatIntelSet.

", "smithy.api#jsonName": "activate", "smithy.api#required": {} @@ -2098,6 +2099,7 @@ "ThreatIntelSetId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the ThreatIntelSet resource.

", "smithy.api#jsonName": "threatIntelSetId", "smithy.api#required": {} @@ -2170,6 +2172,7 @@ "Status": { "target": "com.amazonaws.guardduty#DataSourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Denotes whether DNS logs is enabled as a data source.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -2256,6 +2259,7 @@ "CloudTrail": { "target": "com.amazonaws.guardduty#CloudTrailConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that contains information on the status of CloudTrail as a data source.

", "smithy.api#jsonName": "cloudTrail", "smithy.api#required": {} @@ -2264,6 +2268,7 @@ "DNSLogs": { "target": "com.amazonaws.guardduty#DNSLogsConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that contains information on the status of DNS logs as a data source.

", "smithy.api#jsonName": "dnsLogs", "smithy.api#required": {} @@ -2272,6 +2277,7 @@ "FlowLogs": { "target": "com.amazonaws.guardduty#FlowLogsConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that contains information on the status of VPC flow logs as a data\n source.

", "smithy.api#jsonName": "flowLogs", "smithy.api#required": {} @@ -2280,6 +2286,7 @@ "S3Logs": { "target": "com.amazonaws.guardduty#S3LogsConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that contains information on the status of S3 Data event logs as a data\n source.

", "smithy.api#jsonName": "s3Logs", "smithy.api#required": {} @@ -2310,7 +2317,6 @@ "FreeTrialDaysRemaining": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A value that specifies the number of days left to use each enabled data source.

", "smithy.api#jsonName": "freeTrialDaysRemaining" } @@ -2430,6 +2436,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member\n account that you want to decline invitations from.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -2446,6 +2453,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain the unprocessed account and a result string that explains\n why it was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -2674,6 +2682,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member\n account that you want to delete invitations from.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -2690,6 +2699,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain the unprocessed account and a result string that explains\n why it was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -2740,6 +2750,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the GuardDuty member accounts that you want to delete.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -2756,6 +2767,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The accounts that could not be processed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -2935,7 +2947,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#IntegerValueWithMax", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#jsonName": "maxResults" } @@ -2965,6 +2976,7 @@ "Scans": { "target": "com.amazonaws.guardduty#Scans", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Contains information about malware scans.

", "smithy.api#jsonName": "scans", "smithy.api#required": {} @@ -3027,7 +3039,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -3052,7 +3063,6 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#deprecated": { "message": "This field is deprecated, use AutoEnableOrganizationMembers instead" }, @@ -3063,7 +3073,7 @@ "MemberAccountLimitReached": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether the maximum number of allowed member accounts are already associated\n with the delegated administrator account for your organization.

", "smithy.api#jsonName": "memberAccountLimitReached", "smithy.api#required": {} @@ -3162,6 +3172,7 @@ "DestinationId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the publishing destination.

", "smithy.api#jsonName": "destinationId", "smithy.api#required": {} @@ -3170,6 +3181,7 @@ "DestinationType": { "target": "com.amazonaws.guardduty#DestinationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of publishing destination. Currently, only Amazon S3 buckets are\n supported.

", "smithy.api#jsonName": "destinationType", "smithy.api#required": {} @@ -3178,6 +3190,7 @@ "Status": { "target": "com.amazonaws.guardduty#PublishingStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the publishing destination.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -3186,7 +3199,7 @@ "PublishingFailureStartTimestamp": { "target": "com.amazonaws.guardduty#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time, in epoch millisecond format, at which GuardDuty was first unable to publish\n findings to the destination.

", "smithy.api#jsonName": "publishingFailureStartTimestamp", "smithy.api#required": {} @@ -3195,6 +3208,7 @@ "DestinationProperties": { "target": "com.amazonaws.guardduty#DestinationProperties", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A DestinationProperties object that includes the DestinationArn\n and KmsKeyArn of the publishing destination.

", "smithy.api#jsonName": "destinationProperties", "smithy.api#required": {} @@ -3211,6 +3225,7 @@ "DestinationId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of the publishing destination.

", "smithy.api#jsonName": "destinationId", "smithy.api#required": {} @@ -3219,6 +3234,7 @@ "DestinationType": { "target": "com.amazonaws.guardduty#DestinationType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of resource used for the publishing destination. Currently, only Amazon S3\n buckets are supported.

", "smithy.api#jsonName": "destinationType", "smithy.api#required": {} @@ -3227,6 +3243,7 @@ "Status": { "target": "com.amazonaws.guardduty#PublishingStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the publishing destination.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -3597,6 +3614,7 @@ "AdminAccountId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services Account ID for the organizations account to be disabled as a GuardDuty delegated\n administrator.

", "smithy.api#jsonName": "adminAccountId", "smithy.api#required": {} @@ -3761,6 +3779,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the GuardDuty member accounts that you want to disassociate from\n the administrator account.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -3777,6 +3796,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain the unprocessed account and a result string that explains\n why it was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -3807,7 +3827,6 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the targeted port is blocked.

", "smithy.api#jsonName": "blocked" } @@ -3840,10 +3859,7 @@ } }, "com.amazonaws.guardduty#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.guardduty#EbsSnapshotPreservation": { "type": "enum", @@ -3990,7 +4006,6 @@ "ActiveServicesCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of services that are running on the cluster in an ACTIVE state.

", "smithy.api#jsonName": "activeServicesCount" } @@ -3998,7 +4013,6 @@ "RegisteredContainerInstancesCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of container instances registered into the cluster.

", "smithy.api#jsonName": "registeredContainerInstancesCount" } @@ -4006,7 +4020,6 @@ "RunningTasksCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.

", "smithy.api#jsonName": "runningTasksCount" } @@ -4198,6 +4211,7 @@ "AdminAccountId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID for the organization account to be enabled as a GuardDuty delegated\n administrator.

", "smithy.api#jsonName": "adminAccountId", "smithy.api#required": {} @@ -4329,7 +4343,6 @@ "GreaterThan": { "target": "com.amazonaws.guardduty#LongValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents a greater than condition to be applied to a single field\n when querying for scan entries.

", "smithy.api#jsonName": "greaterThan" } @@ -4337,7 +4350,6 @@ "LessThan": { "target": "com.amazonaws.guardduty#LongValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents a less than condition to be applied to a single field when\n querying for scan entries.

", "smithy.api#jsonName": "lessThan" } @@ -4429,7 +4441,6 @@ "com.amazonaws.guardduty#FilterRank": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4442,6 +4453,7 @@ "AccountId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the account in which the finding was generated.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -4450,6 +4462,7 @@ "Arn": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the finding.

", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -4458,7 +4471,6 @@ "Confidence": { "target": "com.amazonaws.guardduty#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The confidence score for the finding.

", "smithy.api#jsonName": "confidence" } @@ -4466,6 +4478,7 @@ "CreatedAt": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time and date when the finding was created.

", "smithy.api#jsonName": "createdAt", "smithy.api#required": {} @@ -4481,6 +4494,7 @@ "Id": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the finding.

", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -4496,6 +4510,7 @@ "Region": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Region where the finding was generated.

", "smithy.api#jsonName": "region", "smithy.api#required": {} @@ -4504,6 +4519,7 @@ "Resource": { "target": "com.amazonaws.guardduty#Resource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "resource", "smithy.api#required": {} } @@ -4511,6 +4527,7 @@ "SchemaVersion": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the schema used for the finding.

", "smithy.api#jsonName": "schemaVersion", "smithy.api#required": {} @@ -4525,7 +4542,7 @@ "Severity": { "target": "com.amazonaws.guardduty#Double", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The severity of the finding.

", "smithy.api#jsonName": "severity", "smithy.api#required": {} @@ -4541,6 +4558,7 @@ "Type": { "target": "com.amazonaws.guardduty#FindingType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of finding.

", "smithy.api#jsonName": "type", "smithy.api#required": {} @@ -4549,6 +4567,7 @@ "UpdatedAt": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time and date when the finding was last updated.

", "smithy.api#jsonName": "updatedAt", "smithy.api#required": {} @@ -4701,6 +4720,7 @@ "Status": { "target": "com.amazonaws.guardduty#DataSourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Denotes whether VPC flow logs is enabled as a data source.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -4724,7 +4744,6 @@ "FreeTrialDaysRemaining": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the remaining free trial days for the feature.

", "smithy.api#jsonName": "freeTrialDaysRemaining" } @@ -4805,7 +4824,6 @@ "Lat": { "target": "com.amazonaws.guardduty#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The latitude information of the remote IP address.

", "smithy.api#jsonName": "lat" } @@ -4813,7 +4831,6 @@ "Lon": { "target": "com.amazonaws.guardduty#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The longitude information of the remote IP address.

", "smithy.api#jsonName": "lon" } @@ -4871,6 +4888,7 @@ "Administrator": { "target": "com.amazonaws.guardduty#Administrator", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The administrator account details.

", "smithy.api#jsonName": "administrator", "smithy.api#required": {} @@ -4928,6 +4946,7 @@ "StatisticsType": { "target": "com.amazonaws.guardduty#CoverageStatisticsTypeList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the statistics type used to aggregate the coverage details.

", "smithy.api#jsonName": "statisticsType", "smithy.api#required": {} @@ -5015,6 +5034,7 @@ "ServiceRole": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The GuardDuty service role.

", "smithy.api#jsonName": "serviceRole", "smithy.api#required": {} @@ -5023,6 +5043,7 @@ "Status": { "target": "com.amazonaws.guardduty#DetectorStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The detector status.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -5121,6 +5142,7 @@ "Name": { "target": "com.amazonaws.guardduty#FilterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the filter.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -5136,6 +5158,7 @@ "Action": { "target": "com.amazonaws.guardduty#FilterAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the action that is to be applied to the findings that match the filter.

", "smithy.api#jsonName": "action", "smithy.api#required": {} @@ -5144,7 +5167,6 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.

", "smithy.api#jsonName": "rank" } @@ -5152,6 +5174,7 @@ "FindingCriteria": { "target": "com.amazonaws.guardduty#FindingCriteria", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the criteria to be used in the filter for querying findings.

", "smithy.api#jsonName": "findingCriteria", "smithy.api#required": {} @@ -5209,6 +5232,7 @@ "FindingIds": { "target": "com.amazonaws.guardduty#FindingIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the findings that you want to retrieve.

", "smithy.api#jsonName": "findingIds", "smithy.api#required": {} @@ -5232,6 +5256,7 @@ "Findings": { "target": "com.amazonaws.guardduty#Findings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of findings.

", "smithy.api#jsonName": "findings", "smithy.api#required": {} @@ -5282,6 +5307,7 @@ "FindingStatisticTypes": { "target": "com.amazonaws.guardduty#FindingStatisticTypes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The types of finding statistics to retrieve.

", "smithy.api#jsonName": "findingStatisticTypes", "smithy.api#required": {} @@ -5305,6 +5331,7 @@ "FindingStatistics": { "target": "com.amazonaws.guardduty#FindingStatistics", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The finding statistics object.

", "smithy.api#jsonName": "findingStatistics", "smithy.api#required": {} @@ -5372,6 +5399,7 @@ "Name": { "target": "com.amazonaws.guardduty#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user-friendly name for the IPSet.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -5380,6 +5408,7 @@ "Format": { "target": "com.amazonaws.guardduty#IpSetFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the file that contains the IPSet.

", "smithy.api#jsonName": "format", "smithy.api#required": {} @@ -5388,6 +5417,7 @@ "Location": { "target": "com.amazonaws.guardduty#Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the file that contains the IPSet.

", "smithy.api#jsonName": "location", "smithy.api#required": {} @@ -5396,6 +5426,7 @@ "Status": { "target": "com.amazonaws.guardduty#IpSetStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of IPSet file that was uploaded.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -5451,7 +5482,6 @@ "InvitationsCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of received invitations.

", "smithy.api#jsonName": "invitationsCount" } @@ -5579,6 +5609,7 @@ "Master": { "target": "com.amazonaws.guardduty#Master", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The administrator account details.

", "smithy.api#jsonName": "master", "smithy.api#required": {} @@ -5632,6 +5663,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account ID of the member account.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -5648,6 +5680,7 @@ "MemberDataSourceConfigurations": { "target": "com.amazonaws.guardduty#MemberDataSourceConfigurations", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that describes which data sources are enabled for a member account.

", "smithy.api#jsonName": "members", "smithy.api#required": {} @@ -5656,6 +5689,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of member account IDs that were unable to be processed along with an explanation\n for why they were not processed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -5706,6 +5740,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the GuardDuty member accounts that you want to describe.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -5722,6 +5757,7 @@ "Members": { "target": "com.amazonaws.guardduty#Members", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of members.

", "smithy.api#jsonName": "members", "smithy.api#required": {} @@ -5730,6 +5766,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain the unprocessed account and a result string that explains\n why it was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -5868,6 +5905,7 @@ "Name": { "target": "com.amazonaws.guardduty#Name", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A user-friendly ThreatIntelSet name displayed in all findings that are generated by\n activity that involves IP addresses included in this ThreatIntelSet.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -5876,6 +5914,7 @@ "Format": { "target": "com.amazonaws.guardduty#ThreatIntelSetFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the threatIntelSet.

", "smithy.api#jsonName": "format", "smithy.api#required": {} @@ -5884,6 +5923,7 @@ "Location": { "target": "com.amazonaws.guardduty#Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the file that contains the ThreatIntelSet.

", "smithy.api#jsonName": "location", "smithy.api#required": {} @@ -5892,6 +5932,7 @@ "Status": { "target": "com.amazonaws.guardduty#ThreatIntelSetStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of threatIntelSet file uploaded.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -5954,6 +5995,7 @@ "UsageStatisticType": { "target": "com.amazonaws.guardduty#UsageStatisticType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of usage statistics to retrieve.

", "smithy.api#jsonName": "usageStatisticsType", "smithy.api#required": {} @@ -5962,6 +6004,7 @@ "UsageCriteria": { "target": "com.amazonaws.guardduty#UsageCriteria", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the criteria used for querying usage.

", "smithy.api#jsonName": "usageCriteria", "smithy.api#required": {} @@ -5977,7 +6020,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#jsonName": "maxResults" } @@ -7277,7 +7319,6 @@ "Count": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total number of infected files with the highest severity threat detected.

", "smithy.api#jsonName": "count" } @@ -7430,15 +7471,11 @@ } }, "com.amazonaws.guardduty#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.guardduty#IntegerValueWithMax": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -7557,6 +7594,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the accounts that you want to invite to GuardDuty as\n members.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -7565,7 +7603,6 @@ "DisableEmailNotification": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether you want to disable email notification to the\n accounts that you are inviting to GuardDuty as members.

", "smithy.api#jsonName": "disableEmailNotification" } @@ -7588,6 +7625,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain the unprocessed account and a result string that explains\n why it was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -7756,7 +7794,6 @@ "StatusCode": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The resulting HTTP response code of the Kubernetes API call action.

", "smithy.api#jsonName": "statusCode" } @@ -7779,7 +7816,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of Kubernetes audit logs as a data source.

", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -7796,6 +7833,7 @@ "Status": { "target": "com.amazonaws.guardduty#DataSourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that describes whether Kubernetes audit logs are enabled as a data source.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -7812,6 +7850,7 @@ "AuditLogs": { "target": "com.amazonaws.guardduty#KubernetesAuditLogsConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of Kubernetes audit logs as a data source.

", "smithy.api#jsonName": "auditLogs", "smithy.api#required": {} @@ -7828,6 +7867,7 @@ "AuditLogs": { "target": "com.amazonaws.guardduty#KubernetesAuditLogsConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes whether Kubernetes audit logs are enabled as a data source.

", "smithy.api#jsonName": "auditLogs", "smithy.api#required": {} @@ -7945,7 +7985,6 @@ "HostNetwork": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the hostNetwork flag is enabled for the pods included in the workload.

", "smithy.api#jsonName": "hostNetwork" } @@ -8059,7 +8098,6 @@ "NamespacePid": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The process ID of the child process.

", "smithy.api#jsonName": "namespacePid" } @@ -8067,7 +8105,6 @@ "UserId": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The user ID of the user that executed the process.

", "smithy.api#jsonName": "userId" } @@ -8082,7 +8119,6 @@ "Pid": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the process.

", "smithy.api#jsonName": "pid" } @@ -8104,7 +8140,6 @@ "Euid": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The effective user ID that was used to execute the process.

", "smithy.api#jsonName": "euid" } @@ -8174,7 +8209,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#jsonName": "maxResults" } @@ -8204,6 +8238,7 @@ "Resources": { "target": "com.amazonaws.guardduty#CoverageResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of resources and their attributes providing cluster details.

", "smithy.api#jsonName": "resources", "smithy.api#required": {} @@ -8258,7 +8293,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8283,6 +8317,7 @@ "DetectorIds": { "target": "com.amazonaws.guardduty#DetectorIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of detector IDs.

", "smithy.api#jsonName": "detectorIds", "smithy.api#required": {} @@ -8346,7 +8381,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8371,6 +8405,7 @@ "FilterNames": { "target": "com.amazonaws.guardduty#FilterNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of filter names.

", "smithy.api#jsonName": "filterNames", "smithy.api#required": {} @@ -8448,7 +8483,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#jsonName": "maxResults" } @@ -8471,6 +8505,7 @@ "FindingIds": { "target": "com.amazonaws.guardduty#FindingIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the findings that you're listing.

", "smithy.api#jsonName": "findingIds", "smithy.api#required": {} @@ -8534,7 +8569,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8559,6 +8593,7 @@ "IpSetIds": { "target": "com.amazonaws.guardduty#IpSetIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the IPSet resources.

", "smithy.api#jsonName": "ipSetIds", "smithy.api#required": {} @@ -8613,7 +8648,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8700,7 +8734,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8786,7 +8819,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8872,7 +8904,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -8897,6 +8928,7 @@ "Destinations": { "target": "com.amazonaws.guardduty#Destinations", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Destinations object that includes information about each publishing\n destination returned.

", "smithy.api#jsonName": "destinations", "smithy.api#required": {} @@ -9020,7 +9052,6 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -9045,6 +9076,7 @@ "ThreatIntelSetIds": { "target": "com.amazonaws.guardduty#ThreatIntelSetIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the ThreatIntelSet resources.

", "smithy.api#jsonName": "threatIntelSetIds", "smithy.api#required": {} @@ -9083,7 +9115,6 @@ "Port": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number of the local connection.

", "smithy.api#jsonName": "port" } @@ -9129,7 +9160,6 @@ "FailedLoginAttempts": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents the sum of failed (unsuccessful) login attempts made to establish a connection\n to the database instance.

", "smithy.api#jsonName": "failedLoginAttempts" } @@ -9137,7 +9167,6 @@ "SuccessfulLoginAttempts": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents the sum of successful connections (a correct combination of login attributes)\n made to the database instance by the actor.

", "smithy.api#jsonName": "successfulLoginAttempts" } @@ -9154,16 +9183,10 @@ } }, "com.amazonaws.guardduty#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.guardduty#LongValue": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.guardduty#MalwareProtectionConfiguration": { "type": "structure", @@ -9279,7 +9302,6 @@ "com.amazonaws.guardduty#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -9292,6 +9314,7 @@ "AccountId": { "target": "com.amazonaws.guardduty#AccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the member account.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -9307,6 +9330,7 @@ "MasterId": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The administrator account ID.

", "smithy.api#jsonName": "masterId", "smithy.api#required": {} @@ -9315,6 +9339,7 @@ "Email": { "target": "com.amazonaws.guardduty#Email", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address of the member account.

", "smithy.api#jsonName": "email", "smithy.api#required": {} @@ -9323,6 +9348,7 @@ "RelationshipStatus": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the relationship between the member and the administrator.

", "smithy.api#jsonName": "relationshipStatus", "smithy.api#required": {} @@ -9338,6 +9364,7 @@ "UpdatedAt": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last-updated timestamp of the member.

", "smithy.api#jsonName": "updatedAt", "smithy.api#required": {} @@ -9424,6 +9451,7 @@ "AccountId": { "target": "com.amazonaws.guardduty#AccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account ID for the member account.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -9579,7 +9607,6 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether EC2 blocked the network connection to your instance.

", "smithy.api#jsonName": "blocked" } @@ -9949,6 +9976,7 @@ "S3Logs": { "target": "com.amazonaws.guardduty#OrganizationS3LogsConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes whether S3 data event logs are enabled as a data source.

", "smithy.api#jsonName": "s3Logs", "smithy.api#required": {} @@ -9979,7 +10007,6 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether scanning EBS volumes should be auto-enabled for new members joining the\n organization.

", "smithy.api#jsonName": "autoEnable" } @@ -9995,7 +10022,6 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

An object that contains the status of whether scanning EBS volumes should be auto-enabled\n for new members joining the organization.

", "smithy.api#jsonName": "autoEnable" } @@ -10081,7 +10107,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that contains information on whether Kubernetes audit logs should be enabled\n automatically as a data source for the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -10098,7 +10124,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether Kubernetes audit logs data source should be auto-enabled for new members joining\n the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -10115,6 +10141,7 @@ "AuditLogs": { "target": "com.amazonaws.guardduty#OrganizationKubernetesAuditLogsConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether Kubernetes audit logs data source should be auto-enabled for new members joining\n the organization.

", "smithy.api#jsonName": "auditLogs", "smithy.api#required": {} @@ -10131,6 +10158,7 @@ "AuditLogs": { "target": "com.amazonaws.guardduty#OrganizationKubernetesAuditLogsConfigurationResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current configuration of Kubernetes audit logs as a data source for the\n organization.

", "smithy.api#jsonName": "auditLogs", "smithy.api#required": {} @@ -10177,7 +10205,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that contains information on whether S3 data event logs will be enabled\n automatically as a data source for the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -10194,7 +10222,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that describes whether S3 data event logs are automatically enabled for new\n members of the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -10278,7 +10306,6 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.

", "smithy.api#jsonName": "blocked" } @@ -10333,7 +10360,6 @@ "com.amazonaws.guardduty#PositiveLong": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -10394,7 +10420,6 @@ "NamespacePid": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the child process.

", "smithy.api#jsonName": "namespacePid" } @@ -10409,7 +10434,6 @@ "Pid": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the process.

", "smithy.api#jsonName": "pid" } @@ -10445,7 +10469,6 @@ "UserId": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The unique ID of the user that executed the process.

", "smithy.api#jsonName": "userId" } @@ -10453,7 +10476,6 @@ "Euid": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The effective user ID of the user that executed the process.

", "smithy.api#jsonName": "euid" } @@ -10681,7 +10703,6 @@ "Affiliated": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty\n environment. If this value is True the API caller is affiliated to your account\n in some way. If it is False the API caller is from outside your\n environment.

", "smithy.api#jsonName": "affiliated" } @@ -10740,7 +10761,6 @@ "Port": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number of the remote connection.

", "smithy.api#jsonName": "port" } @@ -11018,7 +11038,6 @@ "IanaProtocolNumber": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies a particular protocol within the address family. Usually there is a single\n protocol in address families. For example, the address family AF_INET only has\n the IP protocol.

", "smithy.api#jsonName": "ianaProtocolNumber" } @@ -11133,7 +11152,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of S3 data event logs as a data source.

", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -11150,6 +11169,7 @@ "Status": { "target": "com.amazonaws.guardduty#DataSourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that describes whether S3 data event logs are automatically enabled for new\n members of the organization.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -11243,7 +11263,6 @@ "TotalBytes": { "target": "com.amazonaws.guardduty#PositiveLong", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents total bytes that were scanned.

", "smithy.api#jsonName": "totalBytes" } @@ -11251,7 +11270,6 @@ "FileCount": { "target": "com.amazonaws.guardduty#PositiveLong", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Represents the number of files that were scanned.

", "smithy.api#jsonName": "fileCount" } @@ -11281,6 +11299,7 @@ "MapEquals": { "target": "com.amazonaws.guardduty#MapEquals", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents an mapEqual\n condition to be applied\n to a single field when triggering for malware scan.

", "smithy.api#jsonName": "mapEquals", "smithy.api#required": {} @@ -11297,6 +11316,7 @@ "Key": { "target": "com.amazonaws.guardduty#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the key in the map condition.

", "smithy.api#jsonName": "key", "smithy.api#required": {} @@ -11382,7 +11402,6 @@ "EbsVolumes": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Describes the configuration for scanning EBS volumes as data source.

", "smithy.api#jsonName": "ebsVolumes" } @@ -11546,7 +11565,6 @@ "ItemCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total number of files infected with given threat.

", "smithy.api#jsonName": "itemCount" } @@ -11592,7 +11610,6 @@ "TotalGb": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total GB of files scanned for malware.

", "smithy.api#jsonName": "totalGb" } @@ -11600,7 +11617,6 @@ "Files": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of files scanned.

", "smithy.api#jsonName": "files" } @@ -11608,7 +11624,6 @@ "Volumes": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total number of scanned volumes.

", "smithy.api#jsonName": "volumes" } @@ -11630,7 +11645,6 @@ "Privileged": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is privileged.

", "smithy.api#jsonName": "privileged" } @@ -11688,7 +11702,6 @@ "Archived": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this finding is archived.

", "smithy.api#jsonName": "archived" } @@ -11696,7 +11709,6 @@ "Count": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total count of the occurrences of this finding type.

", "smithy.api#jsonName": "count" } @@ -11872,6 +11884,7 @@ "ResourceArn": { "target": "com.amazonaws.guardduty#ResourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon Resource Name (ARN) of the resource for which you invoked the API.

", "smithy.api#jsonName": "resourceArn", "smithy.api#required": {} @@ -11937,6 +11950,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs of the GuardDuty member accounts to start monitoring.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -11953,6 +11967,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain the unprocessed account and a result string that explains\n why it was unprocessed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -12003,6 +12018,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of account IDs for the member accounts to stop monitoring.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -12019,6 +12035,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of objects that contain an accountId for each account that could not be processed,\n and a result string that indicates why the account was not processed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -12140,6 +12157,7 @@ "Tags": { "target": "com.amazonaws.guardduty#TagMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to be added to a resource.

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -12178,7 +12196,6 @@ "ItemCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total number of infected files identified.

", "smithy.api#jsonName": "itemCount" } @@ -12186,7 +12203,6 @@ "UniqueThreatNameCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total number of unique threats by name identified, as part of the malware scan.

", "smithy.api#jsonName": "uniqueThreatNameCount" } @@ -12194,7 +12210,6 @@ "Shortened": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Flag to determine if the finding contains every single infected file-path and/or every\n threat.

", "smithy.api#jsonName": "shortened" } @@ -12363,7 +12378,6 @@ "Files": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Total number of infected files.

", "smithy.api#jsonName": "files" } @@ -12460,6 +12474,7 @@ "FindingIds": { "target": "com.amazonaws.guardduty#FindingIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the findings to unarchive.

", "smithy.api#jsonName": "findingIds", "smithy.api#required": {} @@ -12483,6 +12498,7 @@ "AccountId": { "target": "com.amazonaws.guardduty#AccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -12491,6 +12507,7 @@ "Result": { "target": "com.amazonaws.guardduty#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A reason why the account hasn't been processed.

", "smithy.api#jsonName": "result", "smithy.api#required": {} @@ -12570,6 +12587,7 @@ "TagKeys": { "target": "com.amazonaws.guardduty#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag keys to remove from the resource.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#jsonName": "tagKeys", @@ -12628,7 +12646,6 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the detector is enabled or not enabled.

", "smithy.api#jsonName": "enable" } @@ -12732,7 +12749,6 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.

", "smithy.api#jsonName": "rank" } @@ -12755,6 +12771,7 @@ "Name": { "target": "com.amazonaws.guardduty#FilterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the filter.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -12805,6 +12822,7 @@ "FindingIds": { "target": "com.amazonaws.guardduty#FindingIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the findings that you want to mark as useful or not useful.

", "smithy.api#jsonName": "findingIds", "smithy.api#required": {} @@ -12813,6 +12831,7 @@ "Feedback": { "target": "com.amazonaws.guardduty#Feedback", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The feedback for the finding.

", "smithy.api#jsonName": "feedback", "smithy.api#required": {} @@ -12900,7 +12919,6 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

The updated Boolean value that specifies whether the IPSet is active or not.

", "smithy.api#jsonName": "activate" } @@ -13020,6 +13038,7 @@ "AccountIds": { "target": "com.amazonaws.guardduty#AccountIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of member account IDs to be updated.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -13053,6 +13072,7 @@ "UnprocessedAccounts": { "target": "com.amazonaws.guardduty#UnprocessedAccounts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of member account IDs that were unable to be processed along with an explanation\n for why they were not processed.

", "smithy.api#jsonName": "unprocessedAccounts", "smithy.api#required": {} @@ -13103,7 +13123,6 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#deprecated": { "message": "This field is deprecated, use AutoEnableOrganizationMembers instead" }, @@ -13275,7 +13294,6 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

The updated Boolean value that specifies whether the ThreateIntelSet is active or\n not.

", "smithy.api#jsonName": "activate" } @@ -13634,7 +13652,6 @@ "VolumeSizeInGB": { "target": "com.amazonaws.guardduty#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

EBS volume size in GB.

", "smithy.api#jsonName": "volumeSizeInGB" } diff --git a/codegen/sdk-codegen/aws-models/honeycode.json b/codegen/sdk-codegen/aws-models/honeycode.json index 42d4199f3ed..b1c6d908a55 100644 --- a/codegen/sdk-codegen/aws-models/honeycode.json +++ b/codegen/sdk-codegen/aws-models/honeycode.json @@ -2422,7 +2422,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2465,7 +2464,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2478,7 +2478,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2492,7 +2491,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2515,7 +2513,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2550,7 +2547,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2561,14 +2557,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2582,14 +2580,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2598,11 +2594,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2613,14 +2609,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2634,7 +2632,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2654,7 +2651,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2665,14 +2661,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2683,9 +2681,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3026,7 +3026,6 @@ "com.amazonaws.honeycode#SourceDataColumnIndex": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -3038,7 +3037,6 @@ "columnIndex": { "target": "com.amazonaws.honeycode#SourceDataColumnIndex", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The index of the column in the input file.

" } } diff --git a/codegen/sdk-codegen/aws-models/imagebuilder.json b/codegen/sdk-codegen/aws-models/imagebuilder.json index 40641fb4539..a5309131504 100644 --- a/codegen/sdk-codegen/aws-models/imagebuilder.json +++ b/codegen/sdk-codegen/aws-models/imagebuilder.json @@ -6471,7 +6471,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6583,7 +6582,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6688,7 +6686,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6787,7 +6784,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6893,7 +6889,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6996,7 +6991,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7105,7 +7099,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7204,7 +7197,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7309,7 +7301,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7502,7 +7493,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7614,7 +7604,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7719,7 +7708,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7870,7 +7858,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -7982,7 +7969,6 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -8813,7 +8799,6 @@ "com.amazonaws.imagebuilder#RestrictedInteger": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -10460,7 +10445,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10503,7 +10487,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -10516,7 +10501,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10530,7 +10514,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10553,7 +10536,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10588,7 +10570,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -10599,14 +10580,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -10620,14 +10603,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -10636,18 +10617,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -10656,7 +10636,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -10676,14 +10657,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -10697,7 +10680,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10717,7 +10699,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -10728,14 +10709,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -10746,9 +10729,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/inspector.json b/codegen/sdk-codegen/aws-models/inspector.json index d997c4b0a6e..3d38b389259 100644 --- a/codegen/sdk-codegen/aws-models/inspector.json +++ b/codegen/sdk-codegen/aws-models/inspector.json @@ -558,7 +558,6 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the assessment run.

", "smithy.api#required": {} } @@ -706,7 +705,6 @@ "com.amazonaws.inspector#AssessmentRunDuration": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 180, "max": 86400 @@ -1163,7 +1161,6 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration in seconds specified for this assessment template. The default value is\n 3600 seconds (one hour). The maximum value is 86400 seconds (one day).

", "smithy.api#required": {} } @@ -1593,7 +1590,6 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the assessment run in seconds.

", "smithy.api#required": {} } @@ -2428,14 +2424,12 @@ "minSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value of the duration range. Must be greater than zero.

" } }, "maxSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value of the duration range. Must be less than or equal to 604800 seconds\n (1 week).

" } } @@ -3506,7 +3500,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3549,7 +3542,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3562,7 +3556,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3576,7 +3569,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3599,7 +3591,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3634,7 +3625,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3645,14 +3635,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3666,14 +3658,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3682,11 +3672,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3697,14 +3687,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3718,7 +3710,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3738,7 +3729,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3749,14 +3739,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3767,9 +3759,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json b/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json index 598653219e8..5f09660ca51 100644 --- a/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json +++ b/codegen/sdk-codegen/aws-models/iot-1click-devices-service.json @@ -733,7 +733,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -776,7 +775,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -789,7 +789,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -803,7 +802,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -826,7 +824,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -861,7 +858,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -872,14 +868,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -893,14 +891,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -909,11 +905,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -924,14 +920,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -945,7 +943,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -965,7 +962,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -976,14 +972,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -994,9 +992,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1366,6 +1366,7 @@ "FromTimeStamp": { "target": "com.amazonaws.iot1clickdevicesservice#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The start date for the device event query, in ISO8061 format. For example,\n 2018-03-28T15:45:12.880Z\n

", "smithy.api#httpQuery": "fromTimeStamp", "smithy.api#required": {} @@ -1388,6 +1389,7 @@ "ToTimeStamp": { "target": "com.amazonaws.iot1clickdevicesservice#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The end date for the device event query, in ISO8061 format. For example,\n 2018-03-28T15:45:12.880Z\n

", "smithy.api#httpQuery": "toTimeStamp", "smithy.api#required": {} @@ -1698,6 +1700,7 @@ "Tags": { "target": "com.amazonaws.iot1clickdevicesservice#__mapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collection of key/value pairs defining the resource tags. For example, {\n \"tags\": {\"key1\": \"value1\", \"key2\": \"value2\"} }. For more information, see AWS\n Tagging Strategies.

\n \n

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -1809,6 +1812,7 @@ "TagKeys": { "target": "com.amazonaws.iot1clickdevicesservice#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collections of tag keys. For example, {\"key1\",\"key2\"}

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/iot-data-plane.json b/codegen/sdk-codegen/aws-models/iot-data-plane.json index 1a0d5601267..08866867f5f 100644 --- a/codegen/sdk-codegen/aws-models/iot-data-plane.json +++ b/codegen/sdk-codegen/aws-models/iot-data-plane.json @@ -431,7 +431,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -474,7 +473,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -487,7 +487,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -501,7 +500,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -524,7 +522,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -559,7 +556,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -570,14 +566,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -591,14 +589,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -607,11 +603,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -755,14 +751,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -776,7 +774,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -796,7 +793,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -807,14 +803,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -919,9 +917,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1714,7 +1714,6 @@ "maxResults": { "target": "com.amazonaws.iotdataplane#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return at one time.

", "smithy.api#httpQuery": "maxResults" } @@ -1747,7 +1746,6 @@ "com.amazonaws.iotdataplane#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 diff --git a/codegen/sdk-codegen/aws-models/iot-wireless.json b/codegen/sdk-codegen/aws-models/iot-wireless.json index 26831b943ae..13d81ff2af0 100644 --- a/codegen/sdk-codegen/aws-models/iot-wireless.json +++ b/codegen/sdk-codegen/aws-models/iot-wireless.json @@ -10592,7 +10592,6 @@ "com.amazonaws.iotwireless#PresetFreq": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -12326,7 +12325,6 @@ "com.amazonaws.iotwireless#SubBand": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A subset of supported frequency channels in a certain RFRegion.

", "smithy.api#range": { "min": 1, @@ -15459,7 +15457,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15502,7 +15499,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15515,7 +15513,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15529,7 +15526,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15552,7 +15548,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15587,7 +15582,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15598,14 +15592,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15619,14 +15615,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -15635,11 +15629,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15650,14 +15644,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15671,7 +15667,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15691,7 +15686,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15702,14 +15696,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -15720,9 +15716,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/iot.json b/codegen/sdk-codegen/aws-models/iot.json index 53422a6cff7..357301ba5fb 100644 --- a/codegen/sdk-codegen/aws-models/iot.json +++ b/codegen/sdk-codegen/aws-models/iot.json @@ -840,7 +840,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -883,7 +882,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -896,7 +896,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -910,7 +909,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -933,7 +931,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -968,7 +965,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -979,14 +975,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1000,14 +998,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -1016,11 +1012,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1031,14 +1027,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1052,7 +1050,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1072,7 +1069,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1083,14 +1079,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1176,9 +1174,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -16002,7 +16002,6 @@ "incrementFactor": { "target": "com.amazonaws.iot#IncrementFactor", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The exponential factor to increase the rate of rollout for a job.

\n

Amazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).

", "smithy.api#required": {} } @@ -18229,7 +18228,6 @@ "com.amazonaws.iot#IncrementFactor": { "type": "double", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1.1, "max": 5 @@ -25459,7 +25457,6 @@ "com.amazonaws.iot#MaxBuckets": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10000 @@ -31018,7 +31015,6 @@ "maxBuckets": { "target": "com.amazonaws.iot#MaxBuckets", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of buckets to return in the response. Default to 10.

" } } diff --git a/codegen/sdk-codegen/aws-models/iotanalytics.json b/codegen/sdk-codegen/aws-models/iotanalytics.json index 20a762f4f33..21626984fb0 100644 --- a/codegen/sdk-codegen/aws-models/iotanalytics.json +++ b/codegen/sdk-codegen/aws-models/iotanalytics.json @@ -192,7 +192,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +234,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -248,7 +248,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -262,7 +261,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -285,7 +283,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -320,7 +317,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -331,14 +327,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -352,14 +350,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -368,11 +364,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -383,14 +379,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -404,7 +402,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -424,7 +421,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -435,14 +431,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -453,9 +451,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -5181,7 +5181,6 @@ "volumeSizeInGB": { "target": "com.amazonaws.iotanalytics#VolumeSizeInGB", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size, in GB, of the persistent storage available to the resource instance used to\n execute the containerAction (min: 1, max: 50).

", "smithy.api#required": {} } @@ -6338,7 +6337,6 @@ "com.amazonaws.iotanalytics#VolumeSizeInGB": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json b/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json index 14af55eda5f..0ca5e6ae2f2 100644 --- a/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json +++ b/codegen/sdk-codegen/aws-models/iotdeviceadvisor.json @@ -102,6 +102,7 @@ "suiteDefinitionConfiguration": { "target": "com.amazonaws.iotdeviceadvisor#SuiteDefinitionConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Creates a Device Advisor test suite with suite definition configuration.

", "smithy.api#required": {} } @@ -666,10 +667,7 @@ } }, "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.iotdeviceadvisor#InternalServerException": { "type": "structure", @@ -790,7 +788,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -833,7 +830,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -846,7 +844,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -860,7 +857,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -883,7 +879,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -918,7 +913,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -929,14 +923,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -950,14 +946,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -966,11 +960,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -981,14 +975,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1002,7 +998,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1022,7 +1017,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -1033,14 +1027,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1051,9 +1047,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1418,10 +1416,7 @@ } }, "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.iotdeviceadvisor#ListSuiteDefinitions": { "type": "operation", @@ -1459,7 +1454,6 @@ "maxResults": { "target": "com.amazonaws.iotdeviceadvisor#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return at once.

", "smithy.api#httpQuery": "maxResults" } @@ -1546,7 +1540,6 @@ "maxResults": { "target": "com.amazonaws.iotdeviceadvisor#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return at once.

", "smithy.api#httpQuery": "maxResults" } @@ -1647,7 +1640,6 @@ "com.amazonaws.iotdeviceadvisor#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -1664,10 +1656,7 @@ } }, "com.amazonaws.iotdeviceadvisor#ParallelRun": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.iotdeviceadvisor#Protocol": { "type": "enum", @@ -1786,6 +1775,7 @@ "suiteRunConfiguration": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Suite run configuration.

", "smithy.api#required": {} } @@ -1975,6 +1965,7 @@ "suiteDefinitionName": { "target": "com.amazonaws.iotdeviceadvisor#SuiteDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Gets the suite definition name. This is a required parameter.

", "smithy.api#required": {} } @@ -1988,20 +1979,19 @@ "intendedForQualification": { "target": "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Gets the tests intended for qualification in a suite.

" } }, "isLongDurationTest": { "target": "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Verifies if the test suite is a long duration test.

" } }, "rootGroup": { "target": "com.amazonaws.iotdeviceadvisor#RootGroup", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Gets the test suite root group. This is a required parameter.\n For updating or creating the latest qualification suite, \n if intendedForQualification is set to true, \n rootGroup can be an empty string. If intendedForQualification is false, \n rootGroup cannot be an empty string.\n If rootGroup is empty, and \n intendedForQualification is set to true, \n all the qualification tests are included, and the configuration is default.

\n

\n For a qualification suite, the minimum length is 0, and the maximum is 2048. For a \n non-qualification suite, the minimum length is 1, and the maximum is 2048.\n

", "smithy.api#required": {} } @@ -2009,6 +1999,7 @@ "devicePermissionRoleArn": { "target": "com.amazonaws.iotdeviceadvisor#AmazonResourceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Gets the device permission ARN. This is a required parameter.

", "smithy.api#required": {} } @@ -2048,14 +2039,12 @@ "intendedForQualification": { "target": "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the test suite is intended for qualification.

" } }, "isLongDurationTest": { "target": "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Verifies if the test suite is a long duration test.

" } }, @@ -2106,6 +2095,7 @@ "primaryDevice": { "target": "com.amazonaws.iotdeviceadvisor#DeviceUnderTest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Sets the primary device for the test suite run. This requires a thing ARN or a\n certificate ARN.

", "smithy.api#required": {} } @@ -2119,7 +2109,6 @@ "parallelRun": { "target": "com.amazonaws.iotdeviceadvisor#ParallelRun", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

TRUE if multiple test suites run in parallel.

" } } @@ -2182,14 +2171,12 @@ "passed": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of test cases that passed in the suite run.

" } }, "failed": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of test cases that failed in the suite run.

" } } @@ -2201,7 +2188,6 @@ "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 500 @@ -2345,6 +2331,7 @@ "tags": { "target": "com.amazonaws.iotdeviceadvisor#TagMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to be attached to the IoT Device Advisor resource.

", "smithy.api#required": {} } @@ -2641,6 +2628,7 @@ "tagKeys": { "target": "com.amazonaws.iotdeviceadvisor#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of tag keys to remove from the IoT Device Advisor resource.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -2697,6 +2685,7 @@ "suiteDefinitionConfiguration": { "target": "com.amazonaws.iotdeviceadvisor#SuiteDefinitionConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Updates a Device Advisor test suite with suite definition configuration.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json index a09d5e8ec65..b6bf5c99813 100644 --- a/codegen/sdk-codegen/aws-models/iotsecuretunneling.json +++ b/codegen/sdk-codegen/aws-models/iotsecuretunneling.json @@ -333,7 +333,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -376,7 +375,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -389,7 +389,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -403,7 +402,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -426,7 +424,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -461,7 +458,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -472,14 +468,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -493,14 +491,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -509,11 +505,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -524,14 +520,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -545,7 +543,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -565,7 +562,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -576,14 +572,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -594,9 +592,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1337,7 +1337,6 @@ "maxResults": { "target": "com.amazonaws.iotsecuretunneling#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return at once.

", "smithy.api#httpQuery": "maxResults" } @@ -1377,7 +1376,6 @@ "com.amazonaws.iotsecuretunneling#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1721,7 +1719,6 @@ "maxLifetimeTimeoutMinutes": { "target": "com.amazonaws.iotsecuretunneling#TimeoutInMin", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of time (in minutes) a tunnel can remain open. If not specified,\n\t\t\tmaxLifetimeTimeoutMinutes defaults to 720 minutes. Valid values are from 1 minute to 12\n\t\t\thours (720 minutes)

" } } @@ -1733,7 +1730,6 @@ "com.amazonaws.iotsecuretunneling#TimeoutInMin": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 720 diff --git a/codegen/sdk-codegen/aws-models/kafka.json b/codegen/sdk-codegen/aws-models/kafka.json index 053fef7a66c..5b59e703da0 100644 --- a/codegen/sdk-codegen/aws-models/kafka.json +++ b/codegen/sdk-codegen/aws-models/kafka.json @@ -35,6 +35,7 @@ "MskClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Amazon MSK cluster.

", "smithy.api#jsonName": "mskClusterArn", "smithy.api#required": {} @@ -123,6 +124,7 @@ "SecretArnList": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of AWS Secrets Manager secret ARNs.

", "smithy.api#jsonName": "secretArnList", "smithy.api#required": {} @@ -210,6 +212,7 @@ "SecretArnList": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of AWS Secrets Manager secret ARNs.

", "smithy.api#jsonName": "secretArnList", "smithy.api#required": {} @@ -263,6 +266,7 @@ "KafkaBrokerNodeId": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the broker to update.

", "smithy.api#jsonName": "kafkaBrokerNodeId", "smithy.api#required": {} @@ -323,6 +327,7 @@ "ClientSubnets": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.

", "smithy.api#jsonName": "clientSubnets", "smithy.api#required": {} @@ -331,6 +336,7 @@ "InstanceType": { "target": "com.amazonaws.kafka#__stringMin5Max32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge,\nkafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.

", "smithy.api#jsonName": "instanceType", "smithy.api#required": {} @@ -530,6 +536,7 @@ "VpcConnectionArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN that identifies the Vpc Connection.

", "smithy.api#jsonName": "vpcConnectionArn", "smithy.api#required": {} @@ -553,6 +560,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -1208,6 +1216,7 @@ "Arn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the configuration.

", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -1216,6 +1225,7 @@ "CreationTime": { "target": "com.amazonaws.kafka#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time when the configuration was created.

", "smithy.api#jsonName": "creationTime", "smithy.api#required": {} @@ -1224,6 +1234,7 @@ "Description": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of the configuration.

", "smithy.api#jsonName": "description", "smithy.api#required": {} @@ -1232,6 +1243,7 @@ "KafkaVersions": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.

", "smithy.api#jsonName": "kafkaVersions", "smithy.api#required": {} @@ -1240,6 +1252,7 @@ "LatestRevision": { "target": "com.amazonaws.kafka#ConfigurationRevision", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Latest revision of the configuration.

", "smithy.api#jsonName": "latestRevision", "smithy.api#required": {} @@ -1248,6 +1261,7 @@ "Name": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the configuration.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1256,6 +1270,7 @@ "State": { "target": "com.amazonaws.kafka#ConfigurationState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.

", "smithy.api#jsonName": "state", "smithy.api#required": {} @@ -1272,6 +1287,7 @@ "Arn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

ARN of the configuration to use.

", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -1280,6 +1296,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The revision of the configuration to use.

", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -1296,6 +1313,7 @@ "CreationTime": { "target": "com.amazonaws.kafka#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time when the configuration revision was created.

", "smithy.api#jsonName": "creationTime", "smithy.api#required": {} @@ -1311,6 +1329,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The revision number.

", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -1406,6 +1425,7 @@ "ConsumerGroupsToReplicate": { "target": "com.amazonaws.kafka#__listOf__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of regular expression patterns indicating the consumer groups to copy.

", "smithy.api#jsonName": "consumerGroupsToReplicate", "smithy.api#required": {} @@ -1436,6 +1456,7 @@ "ConsumerGroupsToExclude": { "target": "com.amazonaws.kafka#__listOf__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of regular expression patterns indicating the consumer groups that should not be replicated.

", "smithy.api#jsonName": "consumerGroupsToExclude", "smithy.api#required": {} @@ -1444,6 +1465,7 @@ "ConsumerGroupsToReplicate": { "target": "com.amazonaws.kafka#__listOf__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of regular expression patterns indicating the consumer groups to copy.

", "smithy.api#jsonName": "consumerGroupsToReplicate", "smithy.api#required": {} @@ -1452,6 +1474,7 @@ "DetectAndCopyNewConsumerGroups": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables synchronization of consumer groups to target cluster.

", "smithy.api#jsonName": "detectAndCopyNewConsumerGroups", "smithy.api#required": {} @@ -1460,6 +1483,7 @@ "SynchroniseConsumerGroupOffsets": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.

", "smithy.api#jsonName": "synchroniseConsumerGroupOffsets", "smithy.api#required": {} @@ -1516,6 +1540,7 @@ "BrokerNodeGroupInfo": { "target": "com.amazonaws.kafka#BrokerNodeGroupInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the broker nodes in the cluster.

", "smithy.api#jsonName": "brokerNodeGroupInfo", "smithy.api#required": {} @@ -1531,6 +1556,7 @@ "ClusterName": { "target": "com.amazonaws.kafka#__stringMin1Max64", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster.

", "smithy.api#jsonName": "clusterName", "smithy.api#required": {} @@ -1567,6 +1593,7 @@ "KafkaVersion": { "target": "com.amazonaws.kafka#__stringMin1Max128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of Apache Kafka.

", "smithy.api#jsonName": "kafkaVersion", "smithy.api#required": {} @@ -1581,6 +1608,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -1680,6 +1708,7 @@ "ClusterName": { "target": "com.amazonaws.kafka#__stringMin1Max64", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster.

", "smithy.api#jsonName": "clusterName", "smithy.api#required": {} @@ -1807,6 +1836,7 @@ "Name": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the configuration.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1815,6 +1845,7 @@ "ServerProperties": { "target": "com.amazonaws.kafka#__blob", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. \n When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.

", "smithy.api#jsonName": "serverProperties", "smithy.api#required": {} @@ -1924,6 +1955,7 @@ "KafkaClusters": { "target": "com.amazonaws.kafka#__listOfKafkaCluster", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Kafka Clusters to use in setting up sources / targets for replication.

", "smithy.api#jsonName": "kafkaClusters", "smithy.api#required": {} @@ -1932,6 +1964,7 @@ "ReplicationInfoList": { "target": "com.amazonaws.kafka#__listOfReplicationInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.

", "smithy.api#jsonName": "replicationInfoList", "smithy.api#required": {} @@ -1940,6 +1973,7 @@ "ReplicatorName": { "target": "com.amazonaws.kafka#__stringMin1Max128Pattern09AZaZ09AZaZ0", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the replicator. Alpha-numeric characters with '-' are allowed.

", "smithy.api#jsonName": "replicatorName", "smithy.api#required": {} @@ -1948,6 +1982,7 @@ "ServiceExecutionRoleArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)

", "smithy.api#jsonName": "serviceExecutionRoleArn", "smithy.api#required": {} @@ -2038,6 +2073,7 @@ "TargetClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster Amazon Resource Name (ARN) for the VPC connection.

", "smithy.api#jsonName": "targetClusterArn", "smithy.api#required": {} @@ -2046,6 +2082,7 @@ "Authentication": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authentication type of VPC connection.

", "smithy.api#jsonName": "authentication", "smithy.api#required": {} @@ -2054,6 +2091,7 @@ "VpcId": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC ID of VPC connection.

", "smithy.api#jsonName": "vpcId", "smithy.api#required": {} @@ -2062,6 +2100,7 @@ "ClientSubnets": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of client subnets.

", "smithy.api#jsonName": "clientSubnets", "smithy.api#required": {} @@ -2070,6 +2109,7 @@ "SecurityGroups": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of security groups.

", "smithy.api#jsonName": "securityGroups", "smithy.api#required": {} @@ -3291,6 +3331,7 @@ "DataVolumeKMSKeyId": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the AWS KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.

", "smithy.api#jsonName": "dataVolumeKMSKeyId", "smithy.api#required": {} @@ -3411,6 +3452,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -3753,6 +3795,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the JMX Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -3769,6 +3812,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the JMX Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -4914,6 +4958,7 @@ "AmazonMskCluster": { "target": "com.amazonaws.kafka#AmazonMskCluster", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Details of an Amazon MSK Cluster.

", "smithy.api#jsonName": "amazonMskCluster", "smithy.api#required": {} @@ -4922,6 +4967,7 @@ "VpcConfig": { "target": "com.amazonaws.kafka#KafkaClusterClientVpcConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.

", "smithy.api#jsonName": "vpcConfig", "smithy.api#required": {} @@ -4945,6 +4991,7 @@ "SubnetIds": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of subnets in the client VPC to connect to.

", "smithy.api#jsonName": "subnetIds", "smithy.api#required": {} @@ -6193,6 +6240,7 @@ "BrokerLogs": { "target": "com.amazonaws.kafka#BrokerLogs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "brokerLogs", "smithy.api#required": {} } @@ -6306,6 +6354,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the Node Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -6322,6 +6371,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the Node Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -6426,6 +6476,7 @@ "Prometheus": { "target": "com.amazonaws.kafka#Prometheus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Prometheus settings.

", "smithy.api#jsonName": "prometheus", "smithy.api#required": {} @@ -6442,6 +6493,7 @@ "Prometheus": { "target": "com.amazonaws.kafka#PrometheusInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Prometheus settings.

", "smithy.api#jsonName": "prometheus", "smithy.api#required": {} @@ -6502,6 +6554,7 @@ "BrokerNodeGroupInfo": { "target": "com.amazonaws.kafka#BrokerNodeGroupInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the brokers.

", "smithy.api#jsonName": "brokerNodeGroupInfo", "smithy.api#required": {} @@ -6552,6 +6605,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -6589,6 +6643,7 @@ "BrokerNodeGroupInfo": { "target": "com.amazonaws.kafka#BrokerNodeGroupInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the brokers.

", "smithy.api#jsonName": "brokerNodeGroupInfo", "smithy.api#required": {} @@ -6632,6 +6687,7 @@ "KafkaVersion": { "target": "com.amazonaws.kafka#__stringMin1Max128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Apache Kafka version that you want for the cluster.

", "smithy.api#jsonName": "kafkaVersion", "smithy.api#required": {} @@ -6647,6 +6703,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -6750,6 +6807,7 @@ "Policy": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The policy.

", "smithy.api#jsonName": "policy", "smithy.api#required": {} @@ -6821,6 +6879,7 @@ "BrokerIds": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.

", "smithy.api#jsonName": "brokerIds", "smithy.api#required": {} @@ -6910,6 +6969,7 @@ "VpcConnectionArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC connection ARN.

", "smithy.api#jsonName": "vpcConnectionArn", "smithy.api#required": {} @@ -6933,6 +6993,7 @@ "ConsumerGroupReplication": { "target": "com.amazonaws.kafka#ConsumerGroupReplication", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configuration relating to consumer group replication.

", "smithy.api#jsonName": "consumerGroupReplication", "smithy.api#required": {} @@ -6941,6 +7002,7 @@ "SourceKafkaClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the source Kafka cluster.

", "smithy.api#jsonName": "sourceKafkaClusterArn", "smithy.api#required": {} @@ -6949,6 +7011,7 @@ "TargetCompressionType": { "target": "com.amazonaws.kafka#TargetCompressionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The compression type to use when producing records to target cluster.

", "smithy.api#jsonName": "targetCompressionType", "smithy.api#required": {} @@ -6957,6 +7020,7 @@ "TargetKafkaClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the target Kafka cluster.

", "smithy.api#jsonName": "targetKafkaClusterArn", "smithy.api#required": {} @@ -6965,6 +7029,7 @@ "TopicReplication": { "target": "com.amazonaws.kafka#TopicReplication", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configuration relating to topic replication.

", "smithy.api#jsonName": "topicReplication", "smithy.api#required": {} @@ -7183,6 +7248,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -7238,6 +7304,7 @@ "VpcConfigs": { "target": "com.amazonaws.kafka#__listOfVpcConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration of the Amazon VPCs for the cluster.

", "smithy.api#jsonName": "vpcConfigs", "smithy.api#required": {} @@ -7276,6 +7343,7 @@ "VpcConfigs": { "target": "com.amazonaws.kafka#__listOfVpcConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration of the Amazon VPCs for the cluster.

", "smithy.api#jsonName": "vpcConfigs", "smithy.api#required": {} @@ -7426,6 +7494,7 @@ "Tags": { "target": "com.amazonaws.kafka#__mapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key-value pair for the resource tag.

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -7554,6 +7623,7 @@ "TopicsToReplicate": { "target": "com.amazonaws.kafka#__listOf__stringMax249", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of regular expression patterns indicating the topics to copy.

", "smithy.api#jsonName": "topicsToReplicate", "smithy.api#required": {} @@ -7570,6 +7640,7 @@ "CopyAccessControlListsForTopics": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.

", "smithy.api#jsonName": "copyAccessControlListsForTopics", "smithy.api#required": {} @@ -7578,6 +7649,7 @@ "CopyTopicConfigurations": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to periodically configure remote topics to match their corresponding upstream topics.

", "smithy.api#jsonName": "copyTopicConfigurations", "smithy.api#required": {} @@ -7586,6 +7658,7 @@ "DetectAndCopyNewTopics": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to periodically check for new topics and partitions.

", "smithy.api#jsonName": "detectAndCopyNewTopics", "smithy.api#required": {} @@ -7594,6 +7667,7 @@ "TopicsToExclude": { "target": "com.amazonaws.kafka#__listOf__stringMax249", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of regular expression patterns indicating the topics that should not be replicated.

", "smithy.api#jsonName": "topicsToExclude", "smithy.api#required": {} @@ -7602,6 +7676,7 @@ "TopicsToReplicate": { "target": "com.amazonaws.kafka#__listOf__stringMax249", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of regular expression patterns indicating the topics to copy.

", "smithy.api#jsonName": "topicsToReplicate", "smithy.api#required": {} @@ -7719,6 +7794,7 @@ "TagKeys": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Tag keys must be unique for a given cluster. In addition, the following restrictions apply:

\n ", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -7777,6 +7853,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of cluster to update from. A successful operation will then generate a new version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -7785,6 +7862,7 @@ "TargetNumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of broker nodes that you want the cluster to have after this operation completes successfully.

", "smithy.api#jsonName": "targetNumberOfBrokerNodes", "smithy.api#required": {} @@ -7865,6 +7943,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of cluster to update from. A successful operation will then generate a new version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -7873,6 +7952,7 @@ "TargetBrokerEBSVolumeInfo": { "target": "com.amazonaws.kafka#__listOfBrokerEBSVolumeInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the target volume size and the ID of the broker to apply the update to.

", "smithy.api#jsonName": "targetBrokerEBSVolumeInfo", "smithy.api#required": {} @@ -7959,6 +8039,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -7967,6 +8048,7 @@ "TargetInstanceType": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon MSK broker type that you want all of the brokers in this cluster to be.

", "smithy.api#jsonName": "targetInstanceType", "smithy.api#required": {} @@ -8050,6 +8132,7 @@ "ConfigurationInfo": { "target": "com.amazonaws.kafka#ConfigurationInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Represents the configuration that you want MSK to use for the brokers in a cluster.

", "smithy.api#jsonName": "configurationInfo", "smithy.api#required": {} @@ -8058,6 +8141,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the cluster that needs to be updated.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8151,6 +8235,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Current cluster version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8159,6 +8244,7 @@ "TargetKafkaVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Target Kafka version.

", "smithy.api#jsonName": "targetKafkaVersion", "smithy.api#required": {} @@ -8249,6 +8335,7 @@ "ServerProperties": { "target": "com.amazonaws.kafka#__blob", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. \n When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.

", "smithy.api#jsonName": "serverProperties", "smithy.api#required": {} @@ -8332,6 +8419,7 @@ "ConnectivityInfo": { "target": "com.amazonaws.kafka#ConnectivityInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the broker access configuration.

", "smithy.api#jsonName": "connectivityInfo", "smithy.api#required": {} @@ -8340,6 +8428,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8421,6 +8510,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8527,6 +8617,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Current replicator version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8543,6 +8634,7 @@ "SourceKafkaClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the source Kafka cluster.

", "smithy.api#jsonName": "sourceKafkaClusterArn", "smithy.api#required": {} @@ -8551,6 +8643,7 @@ "TargetKafkaClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the target Kafka cluster.

", "smithy.api#jsonName": "targetKafkaClusterArn", "smithy.api#required": {} @@ -8652,6 +8745,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8745,6 +8839,7 @@ "CurrentVersion": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of cluster to update from. A successful operation will then generate a new version.

", "smithy.api#jsonName": "currentVersion", "smithy.api#required": {} @@ -8847,6 +8942,7 @@ "SubnetIds": { "target": "com.amazonaws.kafka#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IDs of the subnets associated with the cluster.

", "smithy.api#jsonName": "subnetIds", "smithy.api#required": {} @@ -8870,6 +8966,7 @@ "VpcConnectionArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN that identifies the Vpc Connection.

", "smithy.api#jsonName": "vpcConnectionArn", "smithy.api#required": {} @@ -8878,6 +8975,7 @@ "TargetClusterArn": { "target": "com.amazonaws.kafka#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN that identifies the Cluster which the Vpc Connection belongs to.

", "smithy.api#jsonName": "targetClusterArn", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json b/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json index 1e619ed2168..793406e6bb2 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json +++ b/codegen/sdk-codegen/aws-models/kinesis-video-signaling.json @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -139,7 +138,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -152,7 +152,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -166,7 +165,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -189,7 +187,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -224,7 +221,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -235,14 +231,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -256,14 +254,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -272,11 +268,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -287,14 +283,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -308,7 +306,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -328,7 +325,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -339,14 +335,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -357,9 +355,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -957,6 +957,7 @@ "ChannelARN": { "target": "com.amazonaws.kinesisvideosignaling#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the signaling channel to be used for the peer-to-peer connection between\n configured peers.

", "smithy.api#required": {} } @@ -1022,7 +1023,6 @@ "Ttl": { "target": "com.amazonaws.kinesisvideosignaling#Ttl", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period of time, in seconds, during which the username and password are\n valid.

" } } @@ -1156,6 +1156,7 @@ "ChannelARN": { "target": "com.amazonaws.kinesisvideosignaling#ResourceARN", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the signaling channel by which Alexa and the master peer\n communicate.

", "smithy.api#required": {} } @@ -1163,6 +1164,7 @@ "SenderClientId": { "target": "com.amazonaws.kinesisvideosignaling#ClientId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the sender client.

", "smithy.api#required": {} } @@ -1170,6 +1172,7 @@ "MessagePayload": { "target": "com.amazonaws.kinesisvideosignaling#MessagePayload", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The base64-encoded SDP offer content.

", "smithy.api#required": {} } @@ -1220,7 +1223,6 @@ "com.amazonaws.kinesisvideosignaling#Ttl": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 30, "max": 86400 diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 5fef5ae7035..794f4079a77 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -288,7 +288,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -331,7 +330,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -344,7 +344,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -358,7 +357,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -381,7 +379,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -416,7 +413,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -427,14 +423,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -448,14 +446,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -464,11 +460,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -479,14 +475,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -500,7 +498,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -520,7 +517,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -531,14 +527,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -549,9 +547,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1650,7 +1650,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -3448,7 +3448,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -5630,7 +5630,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -5675,7 +5675,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -9531,7 +9531,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { - "smithy.api#default": 0, + "smithy.api#default": null, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/lex-models-v2.json b/codegen/sdk-codegen/aws-models/lex-models-v2.json index 9cdde682d53..634d6771f9a 100644 --- a/codegen/sdk-codegen/aws-models/lex-models-v2.json +++ b/codegen/sdk-codegen/aws-models/lex-models-v2.json @@ -12459,7 +12459,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12502,7 +12501,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -12515,7 +12515,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12529,7 +12528,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12552,7 +12550,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12587,7 +12584,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -12598,14 +12594,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -12619,14 +12617,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -12635,11 +12631,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -12650,14 +12646,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -12671,7 +12669,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12691,7 +12688,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -12702,14 +12698,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -12720,9 +12718,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -17112,7 +17112,6 @@ "timeValue": { "target": "com.amazonaws.lexmodelsv2#TimeValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period of the time window to gather statistics for. The valid\n value depends on the setting of the timeDimension\n field.

\n ", "smithy.api#required": {} } @@ -20550,7 +20549,6 @@ "com.amazonaws.lexmodelsv2#TimeValue": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 24 diff --git a/codegen/sdk-codegen/aws-models/lightsail.json b/codegen/sdk-codegen/aws-models/lightsail.json index e5dd7ea8d33..8cddf9f3cda 100644 --- a/codegen/sdk-codegen/aws-models/lightsail.json +++ b/codegen/sdk-codegen/aws-models/lightsail.json @@ -424,7 +424,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period, in seconds, over which the statistic is applied.

" } }, @@ -9072,7 +9071,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points.

\n \n

Bucket storage metrics are reported once per day. Therefore, you should specify a period\n of 86400 seconds, which is the number of seconds in a day.

\n
", "smithy.api#required": {} } @@ -9869,7 +9867,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points.

\n

All container service metric data is available in 5-minute (300 seconds)\n granularity.

", "smithy.api#httpQuery": "period", "smithy.api#required": {} @@ -10575,7 +10572,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, for the metric data points that will be returned.

", "smithy.api#required": {} } @@ -11088,7 +11084,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points.

\n

The StatusCheckFailed, StatusCheckFailed_Instance, and\n StatusCheckFailed_System instance metric data is available in 1-minute (60\n seconds) granularity. All other instance metric data is available in 5-minute (300 seconds)\n granularity.

", "smithy.api#required": {} } @@ -11779,7 +11774,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points.

", "smithy.api#required": {} } @@ -12985,7 +12979,6 @@ "period": { "target": "com.amazonaws.lightsail#MetricPeriod", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, of the returned data points.

\n

All relational database metric data is available in 1-minute (60 seconds)\n granularity.

", "smithy.api#required": {} } @@ -15640,7 +15633,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15683,7 +15675,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15696,7 +15689,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15710,7 +15702,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15733,7 +15724,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15768,7 +15758,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15779,14 +15768,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15800,14 +15791,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -15816,11 +15805,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15831,14 +15820,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15852,7 +15843,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15872,7 +15862,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15883,14 +15872,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -15901,9 +15892,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -17516,7 +17509,6 @@ "com.amazonaws.lightsail#MetricPeriod": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 60, "max": 86400 diff --git a/codegen/sdk-codegen/aws-models/lookoutmetrics.json b/codegen/sdk-codegen/aws-models/lookoutmetrics.json index 32b92028eae..6d32e4199ff 100644 --- a/codegen/sdk-codegen/aws-models/lookoutmetrics.json +++ b/codegen/sdk-codegen/aws-models/lookoutmetrics.json @@ -1723,7 +1723,6 @@ "com.amazonaws.lookoutmetrics#DatabasePort": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -2045,7 +2044,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of items to return in the response.

" } }, @@ -3057,7 +3055,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3410,7 +3407,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results that will be displayed by the request.

" } } @@ -3484,7 +3480,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3584,7 +3579,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3679,7 +3673,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3786,7 +3779,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3890,7 +3882,6 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -4136,7 +4127,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4179,7 +4169,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4192,7 +4183,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4206,7 +4196,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4229,7 +4218,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4264,7 +4252,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4275,14 +4262,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4296,14 +4285,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -4312,11 +4299,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4327,14 +4314,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4348,7 +4337,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4368,7 +4356,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4379,14 +4366,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4397,9 +4386,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4831,7 +4822,6 @@ "com.amazonaws.lookoutmetrics#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -5285,7 +5275,6 @@ "DatabasePort": { "target": "com.amazonaws.lookoutmetrics#DatabasePort", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The port number where the database can be accessed.

" } }, @@ -5362,7 +5351,6 @@ "DatabasePort": { "target": "com.amazonaws.lookoutmetrics#DatabasePort", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The port number where the database can be accessed.

" } }, diff --git a/codegen/sdk-codegen/aws-models/lookoutvision.json b/codegen/sdk-codegen/aws-models/lookoutvision.json index 320b6532103..50a2f6e2083 100644 --- a/codegen/sdk-codegen/aws-models/lookoutvision.json +++ b/codegen/sdk-codegen/aws-models/lookoutvision.json @@ -35,6 +35,7 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -101,10 +102,7 @@ } }, "com.amazonaws.lookoutvision#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.lookoutvision#ClientToken": { "type": "string", @@ -178,12 +176,14 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the resource.

", "smithy.api#required": {} } @@ -191,6 +191,7 @@ "ResourceType": { "target": "com.amazonaws.lookoutvision#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the resource.

", "smithy.api#required": {} } @@ -266,6 +267,7 @@ "DatasetType": { "target": "com.amazonaws.lookoutvision#DatasetType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the dataset. Specify train for a training dataset.\n Specify test for a test dataset.

", "smithy.api#required": {} } @@ -371,6 +373,7 @@ "OutputConfig": { "target": "com.amazonaws.lookoutvision#OutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location where Amazon Lookout for Vision saves the training results.

", "smithy.api#required": {} } @@ -452,6 +455,7 @@ "ProjectName": { "target": "com.amazonaws.lookoutvision#ProjectName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the project.

", "smithy.api#required": {} } @@ -1319,6 +1323,7 @@ "Body": { "target": "com.amazonaws.lookoutvision#Stream", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unencrypted image bytes that you want to analyze.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} @@ -1327,6 +1332,7 @@ "ContentType": { "target": "com.amazonaws.lookoutvision#ContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the image passed in Body.\n Valid values are image/png (PNG format images) and image/jpeg (JPG format images).

", "smithy.api#httpHeader": "Content-Type", "smithy.api#required": {} @@ -1363,7 +1369,6 @@ "IsAnomalous": { "target": "com.amazonaws.lookoutvision#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.

" } }, @@ -1420,6 +1425,7 @@ "S3OutputLocation": { "target": "com.amazonaws.lookoutvision#S3Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An S3 location in which Lookout for Vision stores the component artifacts. \n

", "smithy.api#required": {} } @@ -1427,6 +1433,7 @@ "ComponentName": { "target": "com.amazonaws.lookoutvision#ComponentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A name for the AWS IoT Greengrass component. \n

", "smithy.api#required": {} } @@ -1514,6 +1521,7 @@ "Bucket": { "target": "com.amazonaws.lookoutvision#S3BucketName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 bucket that contains the manifest.

", "smithy.api#required": {} } @@ -1521,6 +1529,7 @@ "Key": { "target": "com.amazonaws.lookoutvision#S3ObjectKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name and location of the manifest file withiin the bucket.

", "smithy.api#required": {} } @@ -1545,13 +1554,13 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period of time, in seconds, before the operation can be retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -2174,7 +2183,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2217,7 +2225,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2230,7 +2239,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2244,7 +2252,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2267,7 +2274,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2302,7 +2308,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2313,14 +2318,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2334,14 +2341,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2350,11 +2355,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2365,14 +2370,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2386,7 +2393,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2406,7 +2412,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2417,14 +2422,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2435,9 +2442,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3042,6 +3051,7 @@ "Greengrass": { "target": "com.amazonaws.lookoutvision#GreengrassConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\nConfiguration information for the AWS IoT Greengrass component in a model packaging job.\n

", "smithy.api#required": {} } @@ -3383,6 +3393,7 @@ "S3Location": { "target": "com.amazonaws.lookoutvision#S3Location", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 location for the output.

", "smithy.api#required": {} } @@ -3398,6 +3409,7 @@ "Bucket": { "target": "com.amazonaws.lookoutvision#S3BucketName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The bucket that contains the training output.

", "smithy.api#required": {} } @@ -3405,6 +3417,7 @@ "Key": { "target": "com.amazonaws.lookoutvision#S3ObjectKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the training output in the bucket.

", "smithy.api#required": {} } @@ -3546,12 +3559,14 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the resource.

", "smithy.api#required": {} } @@ -3559,6 +3574,7 @@ "ResourceType": { "target": "com.amazonaws.lookoutvision#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the resource.

", "smithy.api#required": {} } @@ -3606,10 +3622,7 @@ } }, "com.amazonaws.lookoutvision#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.lookoutvision#S3BucketName": { "type": "string", @@ -3637,6 +3650,7 @@ "Bucket": { "target": "com.amazonaws.lookoutvision#S3BucketName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 bucket that contains the training or model packaging job output. If you are training a model,\n the bucket must in your AWS account. If you use an S3 bucket for a model packaging job,\n the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.

", "smithy.api#required": {} } @@ -3678,6 +3692,7 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -3696,6 +3711,7 @@ "QuotaCode": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The quota code.

", "smithy.api#required": {} } @@ -3703,6 +3719,7 @@ "ServiceCode": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The service code.

", "smithy.api#required": {} } @@ -3808,6 +3825,7 @@ "ModelVersion": { "target": "com.amazonaws.lookoutvision#ModelVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\nThe version of the model within the project that you want to package.\n

", "smithy.api#required": {} } @@ -3821,6 +3839,7 @@ "Configuration": { "target": "com.amazonaws.lookoutvision#ModelPackagingConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for the model packaging job.\n

", "smithy.api#required": {} } @@ -3880,6 +3899,7 @@ "MinInferenceUnits": { "target": "com.amazonaws.lookoutvision#InferenceUnits", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum number of inference units to use. A single\n inference unit represents 1 hour of processing. \n Use a higher number to increase the TPS throughput of your model. You are charged for the number\n of inference units that you use.\n

", "smithy.api#required": {} } @@ -4013,6 +4033,7 @@ "Key": { "target": "com.amazonaws.lookoutvision#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key of the tag that is attached to the specified model.

", "smithy.api#required": {} } @@ -4020,6 +4041,7 @@ "Value": { "target": "com.amazonaws.lookoutvision#TagValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the tag that is attached to the specified model.

", "smithy.api#required": {} } @@ -4126,6 +4148,7 @@ "Tags": { "target": "com.amazonaws.lookoutvision#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key-value tags to assign to the model.

", "smithy.api#required": {} } @@ -4169,6 +4192,7 @@ "Os": { "target": "com.amazonaws.lookoutvision#TargetPlatformOs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The target operating system for the model. Linux is the only operating system\n that is currently supported.\n

", "smithy.api#required": {} } @@ -4176,6 +4200,7 @@ "Arch": { "target": "com.amazonaws.lookoutvision#TargetPlatformArch", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The target architecture for the model. The currently supported architectures are\n X86_64 (64-bit version of the x86 instruction set) and ARM_64 (ARMv8 64-bit CPU).\n

", "smithy.api#required": {} } @@ -4236,6 +4261,7 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -4254,7 +4280,6 @@ "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period of time, in seconds, before the operation can be retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -4317,6 +4342,7 @@ "TagKeys": { "target": "com.amazonaws.lookoutvision#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of the keys of the tags that you want to remove.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -4393,6 +4419,7 @@ "Changes": { "target": "com.amazonaws.lookoutvision#DatasetChanges", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The entries to add to the dataset.

", "smithy.api#required": {} } @@ -4430,6 +4457,7 @@ "Message": { "target": "com.amazonaws.lookoutvision#ExceptionString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/macie2.json b/codegen/sdk-codegen/aws-models/macie2.json index 12c6f8e8643..0d36b3a94e6 100644 --- a/codegen/sdk-codegen/aws-models/macie2.json +++ b/codegen/sdk-codegen/aws-models/macie2.json @@ -82,6 +82,7 @@ "invitationId": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the invitation to accept.

", "smithy.api#jsonName": "invitationId", "smithy.api#required": {} @@ -151,6 +152,7 @@ "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID for the account.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -159,6 +161,7 @@ "email": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The email address for the account.

", "smithy.api#jsonName": "email", "smithy.api#required": {} @@ -254,6 +257,7 @@ "code": { "target": "com.amazonaws.macie2#AllowListStatusCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the allow list. If the list's criteria specify a regular expression (regex), this value is typically OK. Amazon Macie can compile the expression.

If the list's criteria specify an S3 object, possible values are:

", "smithy.api#jsonName": "code", "smithy.api#required": {} @@ -1604,6 +1608,7 @@ "clientToken": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "smithy.api#idempotencyToken": {}, "smithy.api#jsonName": "clientToken", @@ -1613,6 +1618,7 @@ "criteria": { "target": "com.amazonaws.macie2#AllowListCriteria", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.

", "smithy.api#jsonName": "criteria", "smithy.api#required": {} @@ -1628,6 +1634,7 @@ "name": { "target": "com.amazonaws.macie2#__stringMin1Max128Pattern", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom name for the allow list. The name can contain as many as 128 characters.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1720,6 +1727,7 @@ "clientToken": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "smithy.api#idempotencyToken": {}, "smithy.api#jsonName": "clientToken", @@ -1750,6 +1758,7 @@ "jobType": { "target": "com.amazonaws.macie2#JobType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The schedule for running the job. Valid values are:

", "smithy.api#jsonName": "jobType", "smithy.api#required": {} @@ -1772,6 +1781,7 @@ "name": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom name for the job. The name can contain as many as 500 characters.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1780,6 +1790,7 @@ "s3JobDefinition": { "target": "com.amazonaws.macie2#S3JobDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 buckets that contain the objects to analyze, and the scope of that analysis.

", "smithy.api#jsonName": "s3JobDefinition", "smithy.api#required": {} @@ -1915,6 +1926,7 @@ "name": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom name for the custom data identifier. The name can contain as many as 128 characters.

We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1923,6 +1935,7 @@ "regex": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", "smithy.api#jsonName": "regex", "smithy.api#required": {} @@ -2008,6 +2021,7 @@ "action": { "target": "com.amazonaws.macie2#FindingsFilterAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", "smithy.api#jsonName": "action", "smithy.api#required": {} @@ -2031,6 +2045,7 @@ "findingCriteria": { "target": "com.amazonaws.macie2#FindingCriteria", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria to use to filter findings.

", "smithy.api#jsonName": "findingCriteria", "smithy.api#required": {} @@ -2039,6 +2054,7 @@ "name": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -2131,6 +2147,7 @@ "accountIds": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -2216,6 +2233,7 @@ "account": { "target": "com.amazonaws.macie2#AccountDetail", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The details of the account to associate with the administrator account.

", "smithy.api#jsonName": "account", "smithy.api#required": {} @@ -2686,6 +2704,7 @@ "accountIds": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to decline.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -2985,6 +3004,7 @@ "accountIds": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array that lists Amazon Web Services account IDs, one for each account that sent an invitation to delete.

", "smithy.api#jsonName": "accountIds", "smithy.api#required": {} @@ -3464,6 +3484,7 @@ "value": { "target": "com.amazonaws.macie2#__stringMin1Max128", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An occurrence of the specified type of sensitive data. Each occurrence can contain 1-128 characters.

", "smithy.api#jsonName": "value", "smithy.api#required": {} @@ -3624,6 +3645,7 @@ "adminAccountId": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID of the delegated Amazon Macie administrator account.

", "smithy.api#httpQuery": "adminAccountId", "smithy.api#required": {} @@ -3973,6 +3995,7 @@ "adminAccountId": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.

", "smithy.api#jsonName": "adminAccountId", "smithy.api#required": {} @@ -5306,6 +5329,7 @@ "groupBy": { "target": "com.amazonaws.macie2#GroupBy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The finding property to use to group the query results. Valid values are:

", "smithy.api#jsonName": "groupBy", "smithy.api#required": {} @@ -5573,6 +5597,7 @@ "findingIds": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of strings that lists the unique identifiers for the findings to retrieve. You can specify as many as 50 unique identifiers in this array.

", "smithy.api#jsonName": "findingIds", "smithy.api#required": {} @@ -5989,6 +6014,7 @@ "resourceArn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} @@ -8311,6 +8337,7 @@ "resourceArn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} @@ -8406,6 +8433,7 @@ "resourceArn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} @@ -8868,7 +8896,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8911,7 +8938,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -8924,7 +8952,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8938,7 +8965,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8961,7 +8987,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -8996,7 +9021,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -9007,14 +9031,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -9028,14 +9054,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -9044,11 +9068,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -9059,14 +9083,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -9080,7 +9106,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9100,7 +9125,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -9111,14 +9135,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -9129,9 +9155,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -10323,6 +10351,7 @@ "configuration": { "target": "com.amazonaws.macie2#ClassificationExportConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location to store data classification results in, and the encryption settings to use when storing results in that location.

", "smithy.api#jsonName": "configuration", "smithy.api#required": {} @@ -10607,6 +10636,7 @@ "arn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the object.

", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -10615,6 +10645,7 @@ "classificationResultStatus": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the analysis. Possible values are:

", "smithy.api#jsonName": "classificationResultStatus", "smithy.api#required": {} @@ -10738,6 +10769,7 @@ "status": { "target": "com.amazonaws.macie2#RevealStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -10886,6 +10918,7 @@ "accountId": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account that owns the buckets.

", "smithy.api#jsonName": "accountId", "smithy.api#required": {} @@ -10894,6 +10927,7 @@ "buckets": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array that lists the names of the buckets.

", "smithy.api#jsonName": "buckets", "smithy.api#required": {} @@ -10939,6 +10973,7 @@ "excludes": { "target": "com.amazonaws.macie2#S3ClassificationScopeExclusion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 buckets that are excluded.

", "smithy.api#jsonName": "excludes", "smithy.api#required": {} @@ -10955,6 +10990,7 @@ "bucketNames": { "target": "com.amazonaws.macie2#__listOfS3BucketName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of strings, one for each S3 bucket that is excluded. Each string is the full name of an excluded bucket.

", "smithy.api#jsonName": "bucketNames", "smithy.api#required": {} @@ -10971,6 +11007,7 @@ "bucketNames": { "target": "com.amazonaws.macie2#__listOfS3BucketName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.

", "smithy.api#jsonName": "bucketNames", "smithy.api#required": {} @@ -10979,6 +11016,7 @@ "operation": { "target": "com.amazonaws.macie2#ClassificationScopeUpdateOperation", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies how to apply the changes to the exclusion list. Valid values are:

", "smithy.api#jsonName": "operation", "smithy.api#required": {} @@ -10995,6 +11033,7 @@ "excludes": { "target": "com.amazonaws.macie2#S3ClassificationScopeExclusionUpdate", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The names of the S3 buckets to add or remove from the list.

", "smithy.api#jsonName": "excludes", "smithy.api#required": {} @@ -11011,6 +11050,7 @@ "bucketName": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the bucket.

", "smithy.api#jsonName": "bucketName", "smithy.api#required": {} @@ -11026,6 +11066,7 @@ "kmsKeyArn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's in the same Amazon Web Services Region as the bucket.

", "smithy.api#jsonName": "kmsKeyArn", "smithy.api#required": {} @@ -11163,6 +11204,7 @@ "bucketName": { "target": "com.amazonaws.macie2#__stringMin3Max255PatternAZaZ093255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The full name of the S3 bucket that contains the object.

", "smithy.api#jsonName": "bucketName", "smithy.api#required": {} @@ -11171,6 +11213,7 @@ "objectKey": { "target": "com.amazonaws.macie2#__stringMin1Max1024PatternSS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The full name (key) of the object.

", "smithy.api#jsonName": "objectKey", "smithy.api#required": {} @@ -11583,6 +11626,7 @@ "publishClassificationFindings": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.

", "smithy.api#jsonName": "publishClassificationFindings", "smithy.api#required": {} @@ -11591,6 +11635,7 @@ "publishPolicyFindings": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.

", "smithy.api#jsonName": "publishPolicyFindings", "smithy.api#required": {} @@ -12000,6 +12045,7 @@ "occurrencesThreshold": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

", "smithy.api#jsonName": "occurrencesThreshold", "smithy.api#required": {} @@ -12008,6 +12054,7 @@ "severity": { "target": "com.amazonaws.macie2#DataIdentifierSeverity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.

", "smithy.api#jsonName": "severity", "smithy.api#required": {} @@ -12361,6 +12408,7 @@ "tags": { "target": "com.amazonaws.macie2#TagMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A map of key-value pairs that specifies the tags to associate with the resource.

A resource can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -12517,6 +12565,7 @@ "regex": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", "smithy.api#jsonName": "regex", "smithy.api#required": {} @@ -12525,6 +12574,7 @@ "sampleText": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

", "smithy.api#jsonName": "sampleText", "smithy.api#required": {} @@ -12672,6 +12722,7 @@ "message": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of error that occurred and prevented Amazon Macie from retrieving occurrences of sensitive data reported by the finding. Possible values are:

", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -12744,6 +12795,7 @@ "tagKeys": { "target": "com.amazonaws.macie2#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more tags (keys) to remove from the resource. In an HTTP request to remove multiple tags, append the tagKeys parameter and argument for each tag to remove, separated by an ampersand (&).

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -12801,6 +12853,7 @@ "criteria": { "target": "com.amazonaws.macie2#AllowListCriteria", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).

You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.

", "smithy.api#jsonName": "criteria", "smithy.api#required": {} @@ -12824,6 +12877,7 @@ "name": { "target": "com.amazonaws.macie2#__stringMin1Max128Pattern", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A custom name for the allow list. The name can contain as many as 128 characters.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -12893,6 +12947,7 @@ "status": { "target": "com.amazonaws.macie2#AutomatedDiscoveryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.

When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -12964,6 +13019,7 @@ "jobStatus": { "target": "com.amazonaws.macie2#JobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The new status for the job. Valid values are:

", "smithy.api#jsonName": "jobStatus", "smithy.api#required": {} @@ -13289,6 +13345,7 @@ "status": { "target": "com.amazonaws.macie2#MacieStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.

", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -13352,6 +13409,7 @@ "autoEnable": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -13449,6 +13507,7 @@ "resourceArn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} @@ -13479,6 +13538,7 @@ "resourceArn": { "target": "com.amazonaws.macie2#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.

", "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} @@ -13540,6 +13600,7 @@ "configuration": { "target": "com.amazonaws.macie2#RevealConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The new configuration settings and the status of the configuration for the account.

", "smithy.api#jsonName": "configuration", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/mediaconnect.json b/codegen/sdk-codegen/aws-models/mediaconnect.json index b2d57251bdd..b1f7a58725b 100644 --- a/codegen/sdk-codegen/aws-models/mediaconnect.json +++ b/codegen/sdk-codegen/aws-models/mediaconnect.json @@ -35,6 +35,7 @@ "FlowArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Number (ARN) of the cloud flow to use as a source of this bridge.", "smithy.api#jsonName": "flowArn", "smithy.api#pattern": "^arn:.+:mediaconnect.+:flow:.+$", @@ -51,6 +52,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the flow source. This name is used to reference the source and must be unique among sources in this bridge.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -67,6 +69,7 @@ "IpAddress": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output IP Address.", "smithy.api#jsonName": "ipAddress", "smithy.api#required": {} @@ -75,6 +78,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output name. This name is used to reference the output and must be unique among outputs in this bridge.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -83,6 +87,7 @@ "NetworkName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output's gateway network name.", "smithy.api#jsonName": "networkName", "smithy.api#required": {} @@ -91,6 +96,7 @@ "Port": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output port.", "smithy.api#jsonName": "port", "smithy.api#required": {} @@ -99,6 +105,7 @@ "Protocol": { "target": "com.amazonaws.mediaconnect#Protocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output protocol.", "smithy.api#jsonName": "protocol", "smithy.api#required": {} @@ -107,6 +114,7 @@ "Ttl": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output TTL.", "smithy.api#jsonName": "ttl", "smithy.api#required": {} @@ -123,6 +131,7 @@ "MulticastIp": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source multicast IP.", "smithy.api#jsonName": "multicastIp", "smithy.api#required": {} @@ -131,6 +140,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the network source. This name is used to reference the source and must be unique among sources in this bridge.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -139,6 +149,7 @@ "NetworkName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source's gateway network name.", "smithy.api#jsonName": "networkName", "smithy.api#required": {} @@ -147,6 +158,7 @@ "Port": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source port.", "smithy.api#jsonName": "port", "smithy.api#required": {} @@ -155,6 +167,7 @@ "Protocol": { "target": "com.amazonaws.mediaconnect#Protocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source protocol.", "smithy.api#jsonName": "protocol", "smithy.api#required": {} @@ -234,6 +247,7 @@ "Outputs": { "target": "com.amazonaws.mediaconnect#__listOfAddBridgeOutputRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The outputs that you want to add to this bridge.", "smithy.api#jsonName": "outputs", "smithy.api#required": {} @@ -342,6 +356,7 @@ "Sources": { "target": "com.amazonaws.mediaconnect#__listOfAddBridgeSourceRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The sources that you want to add to this bridge.", "smithy.api#jsonName": "sources", "smithy.api#required": {} @@ -381,6 +396,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The maximum expected bitrate (in bps).", "smithy.api#jsonName": "maxBitrate", "smithy.api#required": {} @@ -440,6 +456,7 @@ "MediaStreams": { "target": "com.amazonaws.mediaconnect#__listOfAddMediaStreamRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The media streams that you want to add to the flow.", "smithy.api#jsonName": "mediaStreams", "smithy.api#required": {} @@ -519,6 +536,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -546,6 +564,7 @@ "Outputs": { "target": "com.amazonaws.mediaconnect#__listOfAddOutputRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of outputs that you want to add.", "smithy.api#jsonName": "outputs", "smithy.api#required": {} @@ -631,6 +650,7 @@ "Sources": { "target": "com.amazonaws.mediaconnect#__listOfSetSourceRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of sources that you want to add.", "smithy.api#jsonName": "sources", "smithy.api#required": {} @@ -716,6 +736,7 @@ "VpcInterfaces": { "target": "com.amazonaws.mediaconnect#__listOfVpcInterfaceRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of VPC interfaces that you want to add.", "smithy.api#jsonName": "vpcInterfaces", "smithy.api#required": {} @@ -755,6 +776,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The maximum expected bitrate (in bps).", "smithy.api#jsonName": "maxBitrate", "smithy.api#required": {} @@ -763,6 +785,7 @@ "MaxOutputs": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The maximum number of expected outputs.", "smithy.api#jsonName": "maxOutputs", "smithy.api#required": {} @@ -776,6 +799,7 @@ "MaintenanceDay": { "target": "com.amazonaws.mediaconnect#MaintenanceDay", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.", "smithy.api#jsonName": "maintenanceDay", "smithy.api#required": {} @@ -784,6 +808,7 @@ "MaintenanceStartHour": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.", "smithy.api#jsonName": "maintenanceStartHour", "smithy.api#required": {} @@ -821,6 +846,7 @@ "MediaStreamId": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A unique identifier for the media stream.", "smithy.api#jsonName": "mediaStreamId", "smithy.api#required": {} @@ -829,6 +855,7 @@ "MediaStreamName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A name that helps you distinguish one media stream from another.", "smithy.api#jsonName": "mediaStreamName", "smithy.api#required": {} @@ -837,6 +864,7 @@ "MediaStreamType": { "target": "com.amazonaws.mediaconnect#MediaStreamType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of media stream.", "smithy.api#jsonName": "mediaStreamType", "smithy.api#required": {} @@ -923,6 +951,7 @@ "Protocol": { "target": "com.amazonaws.mediaconnect#Protocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The protocol to use for the output.", "smithy.api#jsonName": "protocol", "smithy.api#required": {} @@ -997,6 +1026,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -1015,6 +1045,7 @@ "BridgeArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Number (ARN) of the bridge.", "smithy.api#jsonName": "bridgeArn", "smithy.api#required": {} @@ -1029,6 +1060,7 @@ "BridgeState": { "target": "com.amazonaws.mediaconnect#BridgeState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "bridgeState", "smithy.api#required": {} } @@ -1048,6 +1080,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the bridge.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1063,6 +1096,7 @@ "PlacementArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The placement Amazon Resource Number (ARN) of the bridge.", "smithy.api#jsonName": "placementArn", "smithy.api#required": {} @@ -1092,6 +1126,7 @@ "FlowArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Number (ARN) of the cloud flow.", "smithy.api#jsonName": "flowArn", "smithy.api#required": {} @@ -1100,6 +1135,7 @@ "FlowSourceArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Number (ARN) of the flow source.", "smithy.api#jsonName": "flowSourceArn", "smithy.api#required": {} @@ -1108,6 +1144,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the bridge's output.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1124,6 +1161,7 @@ "FlowArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the cloud flow used as a source of this bridge.", "smithy.api#jsonName": "flowArn", "smithy.api#required": {} @@ -1139,6 +1177,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the flow source.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1162,6 +1201,7 @@ "IpAddress": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output IP Address.", "smithy.api#jsonName": "ipAddress", "smithy.api#required": {} @@ -1170,6 +1210,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output name.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1178,6 +1219,7 @@ "NetworkName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output's gateway network name.", "smithy.api#jsonName": "networkName", "smithy.api#required": {} @@ -1186,6 +1228,7 @@ "Port": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output port.", "smithy.api#jsonName": "port", "smithy.api#required": {} @@ -1194,6 +1237,7 @@ "Protocol": { "target": "com.amazonaws.mediaconnect#Protocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output protocol.", "smithy.api#jsonName": "protocol", "smithy.api#required": {} @@ -1202,6 +1246,7 @@ "Ttl": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network output TTL.", "smithy.api#jsonName": "ttl", "smithy.api#required": {} @@ -1218,6 +1263,7 @@ "MulticastIp": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source multicast IP.", "smithy.api#jsonName": "multicastIp", "smithy.api#required": {} @@ -1226,6 +1272,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the network source.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1234,6 +1281,7 @@ "NetworkName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source's gateway network name.", "smithy.api#jsonName": "networkName", "smithy.api#required": {} @@ -1242,6 +1290,7 @@ "Port": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source port.", "smithy.api#jsonName": "port", "smithy.api#required": {} @@ -1250,6 +1299,7 @@ "Protocol": { "target": "com.amazonaws.mediaconnect#Protocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network source protocol.", "smithy.api#jsonName": "protocol", "smithy.api#required": {} @@ -1447,6 +1497,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -1522,6 +1573,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -1554,6 +1606,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the bridge. This name can not be modified after the bridge is created.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1569,6 +1622,7 @@ "PlacementArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The bridge placement Amazon Resource Number (ARN).", "smithy.api#jsonName": "placementArn", "smithy.api#required": {} @@ -1584,6 +1638,7 @@ "Sources": { "target": "com.amazonaws.mediaconnect#__listOfAddBridgeSourceRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The sources that you want to add to this bridge.", "smithy.api#jsonName": "sources", "smithy.api#required": {} @@ -1652,6 +1707,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -1691,6 +1747,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the flow.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1800,6 +1857,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -1818,6 +1876,7 @@ "EgressCidrBlocks": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The range of IP addresses that are allowed to contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.", "smithy.api#jsonName": "egressCidrBlocks", "smithy.api#required": {} @@ -1826,6 +1885,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the gateway. This name can not be modified after the gateway is created.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1834,6 +1894,7 @@ "Networks": { "target": "com.amazonaws.mediaconnect#__listOfGatewayNetwork", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The list of networks that you want to add.", "smithy.api#jsonName": "networks", "smithy.api#required": {} @@ -2761,6 +2822,7 @@ "DestinationIp": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IP address where contents of the media stream will be sent.", "smithy.api#jsonName": "destinationIp", "smithy.api#required": {} @@ -2769,6 +2831,7 @@ "DestinationPort": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The port to use when the content of the media stream is distributed to the output.", "smithy.api#jsonName": "destinationPort", "smithy.api#required": {} @@ -2777,6 +2840,7 @@ "Interface": { "target": "com.amazonaws.mediaconnect#Interface", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The VPC interface that is used for the media stream associated with the output.", "smithy.api#jsonName": "interface", "smithy.api#required": {} @@ -2785,6 +2849,7 @@ "OutboundIp": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IP address that the receiver requires in order to establish a connection with the flow. This value is represented by the elastic network interface IP address of the VPC. This field applies only to outputs that use the CDI or ST 2110 JPEG XS protocol.", "smithy.api#jsonName": "outboundIp", "smithy.api#required": {} @@ -2801,6 +2866,7 @@ "DestinationIp": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IP address where you want MediaConnect to send contents of the media stream.", "smithy.api#jsonName": "destinationIp", "smithy.api#required": {} @@ -2809,6 +2875,7 @@ "DestinationPort": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The port that you want MediaConnect to use when it distributes the media stream to the output.", "smithy.api#jsonName": "destinationPort", "smithy.api#required": {} @@ -2817,6 +2884,7 @@ "Interface": { "target": "com.amazonaws.mediaconnect#InterfaceRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The VPC interface that you want to use for the media stream associated with the output.", "smithy.api#jsonName": "interface", "smithy.api#required": {} @@ -2851,6 +2919,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The maximum expected bitrate (in bps) of the egress bridge.", "smithy.api#jsonName": "maxBitrate", "smithy.api#required": {} @@ -2910,6 +2979,7 @@ "CompressionFactor": { "target": "com.amazonaws.mediaconnect#__double", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.", "smithy.api#jsonName": "compressionFactor", "smithy.api#required": {} @@ -2918,6 +2988,7 @@ "EncoderProfile": { "target": "com.amazonaws.mediaconnect#EncoderProfile", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol.", "smithy.api#jsonName": "encoderProfile", "smithy.api#required": {} @@ -2934,6 +3005,7 @@ "CompressionFactor": { "target": "com.amazonaws.mediaconnect#__double", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A value that is used to calculate compression for an output. The bitrate of the output is calculated as follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are floating point numbers in the range of 3.0 to 10.0, inclusive.", "smithy.api#jsonName": "compressionFactor", "smithy.api#required": {} @@ -2942,6 +3014,7 @@ "EncoderProfile": { "target": "com.amazonaws.mediaconnect#EncoderProfile", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A setting on the encoder that drives compression settings. This property only applies to video media streams associated with outputs that use the ST 2110 JPEG XS protocol, if at least one source on the flow uses the CDI protocol.", "smithy.api#jsonName": "encoderProfile", "smithy.api#required": {} @@ -3000,6 +3073,7 @@ "RoleArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the role that you created during setup (when you set up AWS Elemental MediaConnect as a trusted entity).", "smithy.api#jsonName": "roleArn", "smithy.api#required": {} @@ -3051,6 +3125,7 @@ "EntitlementArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the entitlement.", "smithy.api#jsonName": "entitlementArn", "smithy.api#required": {} @@ -3066,6 +3141,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the entitlement.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3074,6 +3150,7 @@ "Subscribers": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flow using your content as the source.", "smithy.api#jsonName": "subscribers", "smithy.api#required": {} @@ -3159,6 +3236,7 @@ "AvailabilityZone": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS.", "smithy.api#jsonName": "availabilityZone", "smithy.api#required": {} @@ -3181,6 +3259,7 @@ "Entitlements": { "target": "com.amazonaws.mediaconnect#__listOfEntitlement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The entitlements in this flow.", "smithy.api#jsonName": "entitlements", "smithy.api#required": {} @@ -3189,6 +3268,7 @@ "FlowArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the flow.", "smithy.api#jsonName": "flowArn", "smithy.api#required": {} @@ -3204,6 +3284,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the flow.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3212,6 +3293,7 @@ "Outputs": { "target": "com.amazonaws.mediaconnect#__listOfOutput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The outputs in this flow.", "smithy.api#jsonName": "outputs", "smithy.api#required": {} @@ -3220,6 +3302,7 @@ "Source": { "target": "com.amazonaws.mediaconnect#Source", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "source", "smithy.api#required": {} } @@ -3239,6 +3322,7 @@ "Status": { "target": "com.amazonaws.mediaconnect#Status", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The current status of the flow.", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -3382,6 +3466,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -3400,6 +3485,7 @@ "EgressCidrBlocks": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.", "smithy.api#jsonName": "egressCidrBlocks", "smithy.api#required": {} @@ -3408,6 +3494,7 @@ "GatewayArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the gateway.", "smithy.api#jsonName": "gatewayArn", "smithy.api#required": {} @@ -3429,6 +3516,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the gateway. This name can not be modified after the gateway is created.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3437,6 +3525,7 @@ "Networks": { "target": "com.amazonaws.mediaconnect#__listOfGatewayNetwork", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The list of networks in the gateway.", "smithy.api#jsonName": "networks", "smithy.api#required": {} @@ -3453,6 +3542,7 @@ "BridgeArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the bridge feeding this flow.", "smithy.api#jsonName": "bridgeArn", "smithy.api#required": {} @@ -3476,6 +3566,7 @@ "BridgePlacement": { "target": "com.amazonaws.mediaconnect#BridgePlacement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The availability of the instance to host new bridges. The bridgePlacement property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be deployed to this instance. If it is AVAILABLE, new bridges can be added to this instance.", "smithy.api#jsonName": "bridgePlacement", "smithy.api#required": {} @@ -3484,6 +3575,7 @@ "ConnectionStatus": { "target": "com.amazonaws.mediaconnect#ConnectionStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The connection state of the instance.", "smithy.api#jsonName": "connectionStatus", "smithy.api#required": {} @@ -3492,6 +3584,7 @@ "GatewayArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the instance.", "smithy.api#jsonName": "gatewayArn", "smithy.api#required": {} @@ -3500,6 +3593,7 @@ "GatewayInstanceArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the gateway.", "smithy.api#jsonName": "gatewayInstanceArn", "smithy.api#required": {} @@ -3508,6 +3602,7 @@ "InstanceId": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The managed instance ID generated by the SSM install. This will begin with \"mi-\".", "smithy.api#jsonName": "instanceId", "smithy.api#required": {} @@ -3522,6 +3617,7 @@ "InstanceState": { "target": "com.amazonaws.mediaconnect#InstanceState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The status of the instance.", "smithy.api#jsonName": "instanceState", "smithy.api#required": {} @@ -3530,6 +3626,7 @@ "RunningBridgeCount": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The running bridge count.", "smithy.api#jsonName": "runningBridgeCount", "smithy.api#required": {} @@ -3546,6 +3643,7 @@ "CidrBlock": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.", "smithy.api#jsonName": "cidrBlock", "smithy.api#required": {} @@ -3554,6 +3652,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the network. This name is used to reference the network and must be unique among networks in this gateway.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3646,6 +3745,7 @@ "Subscribers": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The AWS account IDs that you want to share your content with. The receiving accounts (subscribers) will be allowed to create their own flows using your content as the source.", "smithy.api#jsonName": "subscribers", "smithy.api#required": {} @@ -3702,6 +3802,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -3720,6 +3821,7 @@ "Entitlements": { "target": "com.amazonaws.mediaconnect#__listOfGrantEntitlementRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The list of entitlements that you want to grant.", "smithy.api#jsonName": "entitlements", "smithy.api#required": {} @@ -3775,6 +3877,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The maximum expected bitrate (in bps) of the ingress bridge.", "smithy.api#jsonName": "maxBitrate", "smithy.api#required": {} @@ -3783,6 +3886,7 @@ "MaxOutputs": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The maximum number of outputs on the ingress bridge.", "smithy.api#jsonName": "maxOutputs", "smithy.api#required": {} @@ -3796,6 +3900,7 @@ "InputIp": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IP address that the flow listens on for incoming content for a media stream.", "smithy.api#jsonName": "inputIp", "smithy.api#required": {} @@ -3804,6 +3909,7 @@ "InputPort": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The port that the flow listens on for an incoming media stream.", "smithy.api#jsonName": "inputPort", "smithy.api#required": {} @@ -3812,6 +3918,7 @@ "Interface": { "target": "com.amazonaws.mediaconnect#Interface", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The VPC interface where the media stream comes in from.", "smithy.api#jsonName": "interface", "smithy.api#required": {} @@ -3828,6 +3935,7 @@ "InputPort": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The port that you want the flow to listen on for an incoming media stream.", "smithy.api#jsonName": "inputPort", "smithy.api#required": {} @@ -3836,6 +3944,7 @@ "Interface": { "target": "com.amazonaws.mediaconnect#InterfaceRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The VPC interface that you want to use for the incoming media stream.", "smithy.api#jsonName": "interface", "smithy.api#required": {} @@ -3893,6 +4002,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the VPC interface.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3909,6 +4019,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the VPC interface.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3925,6 +4036,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -4615,6 +4727,7 @@ "BridgeArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the bridge.", "smithy.api#jsonName": "bridgeArn", "smithy.api#required": {} @@ -4623,6 +4736,7 @@ "BridgeState": { "target": "com.amazonaws.mediaconnect#BridgeState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "bridgeState", "smithy.api#required": {} } @@ -4630,6 +4744,7 @@ "BridgeType": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of the bridge.", "smithy.api#jsonName": "bridgeType", "smithy.api#required": {} @@ -4638,6 +4753,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the bridge.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -4646,6 +4762,7 @@ "PlacementArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the gateway associated with the bridge.", "smithy.api#jsonName": "placementArn", "smithy.api#required": {} @@ -4669,6 +4786,7 @@ "EntitlementArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the entitlement.", "smithy.api#jsonName": "entitlementArn", "smithy.api#required": {} @@ -4677,6 +4795,7 @@ "EntitlementName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the entitlement.", "smithy.api#jsonName": "entitlementName", "smithy.api#required": {} @@ -4693,6 +4812,7 @@ "AvailabilityZone": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Availability Zone that the flow was created in.", "smithy.api#jsonName": "availabilityZone", "smithy.api#required": {} @@ -4701,6 +4821,7 @@ "Description": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A description of the flow.", "smithy.api#jsonName": "description", "smithy.api#required": {} @@ -4709,6 +4830,7 @@ "FlowArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the flow.", "smithy.api#jsonName": "flowArn", "smithy.api#required": {} @@ -4717,6 +4839,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the flow.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -4725,6 +4848,7 @@ "SourceType": { "target": "com.amazonaws.mediaconnect#SourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of source. This value is either owned (originated somewhere other than an AWS Elemental MediaConnect flow owned by another AWS account) or entitled (originated at an AWS Elemental MediaConnect flow owned by another AWS account).", "smithy.api#jsonName": "sourceType", "smithy.api#required": {} @@ -4733,6 +4857,7 @@ "Status": { "target": "com.amazonaws.mediaconnect#Status", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The current status of the flow.", "smithy.api#jsonName": "status", "smithy.api#required": {} @@ -4755,6 +4880,7 @@ "GatewayArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the gateway.", "smithy.api#jsonName": "gatewayArn", "smithy.api#required": {} @@ -4763,6 +4889,7 @@ "GatewayState": { "target": "com.amazonaws.mediaconnect#GatewayState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "gatewayState", "smithy.api#required": {} } @@ -4770,6 +4897,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the gateway.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -4786,6 +4914,7 @@ "GatewayArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the gateway.", "smithy.api#jsonName": "gatewayArn", "smithy.api#required": {} @@ -4794,6 +4923,7 @@ "GatewayInstanceArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the instance.", "smithy.api#jsonName": "gatewayInstanceArn", "smithy.api#required": {} @@ -4802,6 +4932,7 @@ "InstanceId": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The managed instance ID generated by the SSM install. This will begin with \"mi-\".", "smithy.api#jsonName": "instanceId", "smithy.api#required": {} @@ -5122,7 +5253,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5165,7 +5295,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5178,7 +5309,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5192,7 +5322,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5215,7 +5344,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5250,7 +5378,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -5261,14 +5388,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5282,14 +5411,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -5298,11 +5425,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -5313,14 +5440,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -5334,7 +5463,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -5354,7 +5482,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -5365,14 +5492,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -5383,9 +5512,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -5932,6 +6063,7 @@ "Fmt": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The format type number (sometimes referred to as RTP payload type) of the media stream. MediaConnect assigns this value to the media stream. For ST 2110 JPEG XS outputs, you need to provide this value to the receiver.", "smithy.api#jsonName": "fmt", "smithy.api#required": {} @@ -5940,6 +6072,7 @@ "MediaStreamId": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A unique identifier for the media stream.", "smithy.api#jsonName": "mediaStreamId", "smithy.api#required": {} @@ -5948,6 +6081,7 @@ "MediaStreamName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A name that helps you distinguish one media stream from another.", "smithy.api#jsonName": "mediaStreamName", "smithy.api#required": {} @@ -5956,6 +6090,7 @@ "MediaStreamType": { "target": "com.amazonaws.mediaconnect#MediaStreamType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of media stream.", "smithy.api#jsonName": "mediaStreamType", "smithy.api#required": {} @@ -5979,6 +6114,7 @@ "Fmtp": { "target": "com.amazonaws.mediaconnect#Fmtp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A set of parameters that define the media stream.", "smithy.api#jsonName": "fmtp", "smithy.api#required": {} @@ -6031,6 +6167,7 @@ "EncodingName": { "target": "com.amazonaws.mediaconnect#EncodingName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.", "smithy.api#jsonName": "encodingName", "smithy.api#required": {} @@ -6046,6 +6183,7 @@ "MediaStreamName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the media stream.", "smithy.api#jsonName": "mediaStreamName", "smithy.api#required": {} @@ -6069,6 +6207,7 @@ "EncodingName": { "target": "com.amazonaws.mediaconnect#EncodingName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.", "smithy.api#jsonName": "encodingName", "smithy.api#required": {} @@ -6084,6 +6223,7 @@ "MediaStreamName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the media stream that is associated with the output.", "smithy.api#jsonName": "mediaStreamName", "smithy.api#required": {} @@ -6100,6 +6240,7 @@ "EncodingName": { "target": "com.amazonaws.mediaconnect#EncodingName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The format that was used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.", "smithy.api#jsonName": "encodingName", "smithy.api#required": {} @@ -6115,6 +6256,7 @@ "MediaStreamName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the media stream.", "smithy.api#jsonName": "mediaStreamName", "smithy.api#required": {} @@ -6131,6 +6273,7 @@ "EncodingName": { "target": "com.amazonaws.mediaconnect#EncodingName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The format you want to use to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.", "smithy.api#jsonName": "encodingName", "smithy.api#required": {} @@ -6146,6 +6289,7 @@ "MediaStreamName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the media stream.", "smithy.api#jsonName": "mediaStreamName", "smithy.api#required": {} @@ -6185,6 +6329,7 @@ "Code": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error code.", "smithy.api#jsonName": "code", "smithy.api#required": {} @@ -6193,6 +6338,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The specific error message that MediaConnect returns to help you understand the reason that the request did not succeed.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -6213,6 +6359,7 @@ "Errors": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of errors that might have been generated from processes on this flow.", "smithy.api#jsonName": "errors", "smithy.api#required": {} @@ -6246,6 +6393,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -6264,6 +6412,7 @@ "CurrencyCode": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of currency that is used for billing. The currencyCode used for all reservations is US dollars.", "smithy.api#jsonName": "currencyCode", "smithy.api#required": {} @@ -6272,6 +6421,7 @@ "Duration": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The length of time that your reservation would be active.", "smithy.api#jsonName": "duration", "smithy.api#required": {} @@ -6280,6 +6430,7 @@ "DurationUnits": { "target": "com.amazonaws.mediaconnect#DurationUnits", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The unit of measurement for the duration of the offering.", "smithy.api#jsonName": "durationUnits", "smithy.api#required": {} @@ -6288,6 +6439,7 @@ "OfferingArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.", "smithy.api#jsonName": "offeringArn", "smithy.api#required": {} @@ -6296,6 +6448,7 @@ "OfferingDescription": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A description of the offering.", "smithy.api#jsonName": "offeringDescription", "smithy.api#required": {} @@ -6304,6 +6457,7 @@ "PricePerUnit": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The cost of a single unit. This value, in combination with priceUnits, makes up the rate.", "smithy.api#jsonName": "pricePerUnit", "smithy.api#required": {} @@ -6312,6 +6466,7 @@ "PriceUnits": { "target": "com.amazonaws.mediaconnect#PriceUnits", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate.", "smithy.api#jsonName": "priceUnits", "smithy.api#required": {} @@ -6320,6 +6475,7 @@ "ResourceSpecification": { "target": "com.amazonaws.mediaconnect#ResourceSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering.", "smithy.api#jsonName": "resourceSpecification", "smithy.api#required": {} @@ -6392,6 +6548,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the output. This value must be unique within the current flow.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -6400,6 +6557,7 @@ "OutputArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the output.", "smithy.api#jsonName": "outputArn", "smithy.api#required": {} @@ -6578,6 +6736,7 @@ "ReservationName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name that you want to use for the reservation.", "smithy.api#jsonName": "reservationName", "smithy.api#required": {} @@ -6586,6 +6745,7 @@ "Start": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The date and time that you want the reservation to begin, in Coordinated Universal Time (UTC). You can specify any date and time between 12:00am on the first day of the current month to the current time on today's date, inclusive. Specify the start in a 24-hour notation. Use the following format: YYYY-MM-DDTHH:mm:SSZ, where T and Z are literal characters. For example, to specify 11:30pm on March 5, 2020, enter 2020-03-05T23:30:00Z.", "smithy.api#jsonName": "start", "smithy.api#required": {} @@ -7155,6 +7315,7 @@ "CurrencyCode": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of currency that is used for billing. The currencyCode used for your reservation is US dollars.", "smithy.api#jsonName": "currencyCode", "smithy.api#required": {} @@ -7163,6 +7324,7 @@ "Duration": { "target": "com.amazonaws.mediaconnect#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The length of time that this reservation is active. MediaConnect defines this value in the offering.", "smithy.api#jsonName": "duration", "smithy.api#required": {} @@ -7171,6 +7333,7 @@ "DurationUnits": { "target": "com.amazonaws.mediaconnect#DurationUnits", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The unit of measurement for the duration of the reservation. MediaConnect defines this value in the offering.", "smithy.api#jsonName": "durationUnits", "smithy.api#required": {} @@ -7179,6 +7342,7 @@ "End": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The day and time that this reservation expires. This value is calculated based on the start date and time that you set and the offering's duration.", "smithy.api#jsonName": "end", "smithy.api#required": {} @@ -7187,6 +7351,7 @@ "OfferingArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) that MediaConnect assigns to the offering.", "smithy.api#jsonName": "offeringArn", "smithy.api#required": {} @@ -7195,6 +7360,7 @@ "OfferingDescription": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A description of the offering. MediaConnect defines this value in the offering.", "smithy.api#jsonName": "offeringDescription", "smithy.api#required": {} @@ -7203,6 +7369,7 @@ "PricePerUnit": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The cost of a single unit. This value, in combination with priceUnits, makes up the rate. MediaConnect defines this value in the offering.", "smithy.api#jsonName": "pricePerUnit", "smithy.api#required": {} @@ -7211,6 +7378,7 @@ "PriceUnits": { "target": "com.amazonaws.mediaconnect#PriceUnits", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The unit of measurement that is used for billing. This value, in combination with pricePerUnit, makes up the rate. MediaConnect defines this value in the offering.", "smithy.api#jsonName": "priceUnits", "smithy.api#required": {} @@ -7219,6 +7387,7 @@ "ReservationArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) that MediaConnect assigns to the reservation when you purchase an offering.", "smithy.api#jsonName": "reservationArn", "smithy.api#required": {} @@ -7227,6 +7396,7 @@ "ReservationName": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name that you assigned to the reservation when you purchased the offering.", "smithy.api#jsonName": "reservationName", "smithy.api#required": {} @@ -7235,6 +7405,7 @@ "ReservationState": { "target": "com.amazonaws.mediaconnect#ReservationState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The status of your reservation.", "smithy.api#jsonName": "reservationState", "smithy.api#required": {} @@ -7243,6 +7414,7 @@ "ResourceSpecification": { "target": "com.amazonaws.mediaconnect#ResourceSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A definition of the amount of outbound bandwidth that you would be reserving if you purchase the offering. MediaConnect defines the values that make up the resourceSpecification in the offering.", "smithy.api#jsonName": "resourceSpecification", "smithy.api#required": {} @@ -7251,6 +7423,7 @@ "Start": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The day and time that the reservation becomes active. You set this value when you purchase the offering.", "smithy.api#jsonName": "start", "smithy.api#required": {} @@ -7303,6 +7476,7 @@ "ResourceType": { "target": "com.amazonaws.mediaconnect#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of resource and the unit that is being billed for.", "smithy.api#jsonName": "resourceType", "smithy.api#required": {} @@ -7438,6 +7612,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -7456,6 +7631,7 @@ "BridgeArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the bridge feeding this flow.", "smithy.api#jsonName": "bridgeArn", "smithy.api#pattern": "^arn:.+:mediaconnect.+:bridge:.+$", @@ -7671,6 +7847,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the source.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -7693,6 +7870,7 @@ "SourceArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the source.", "smithy.api#jsonName": "sourceArn", "smithy.api#required": {} @@ -8021,6 +8199,7 @@ "Tags": { "target": "com.amazonaws.mediaconnect#__mapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A map from tag keys to values. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -8097,6 +8276,7 @@ "Message": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The error message returned by AWS Elemental MediaConnect.", "smithy.api#jsonName": "message", "smithy.api#required": {} @@ -8150,6 +8330,7 @@ "Protocol": { "target": "com.amazonaws.mediaconnect#Protocol", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The protocol that is used by the source or output.", "smithy.api#jsonName": "protocol", "smithy.api#required": {} @@ -8251,6 +8432,7 @@ "TagKeys": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The keys of the tags to be removed.", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -8701,6 +8883,7 @@ "DesiredState": { "target": "com.amazonaws.mediaconnect#DesiredState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "desiredState", "smithy.api#required": {} } @@ -9734,6 +9917,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Immutable and has to be a unique against other VpcInterfaces in this Flow.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -9742,6 +9926,7 @@ "NetworkInterfaceIds": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "IDs of the network interfaces created in customer's account by MediaConnect.", "smithy.api#jsonName": "networkInterfaceIds", "smithy.api#required": {} @@ -9750,6 +9935,7 @@ "NetworkInterfaceType": { "target": "com.amazonaws.mediaconnect#NetworkInterfaceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The type of network interface.", "smithy.api#jsonName": "networkInterfaceType", "smithy.api#required": {} @@ -9758,6 +9944,7 @@ "RoleArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Role Arn MediaConnect can assumes to create ENIs in customer's account", "smithy.api#jsonName": "roleArn", "smithy.api#required": {} @@ -9766,6 +9953,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Security Group IDs to be used on ENI.", "smithy.api#jsonName": "securityGroupIds", "smithy.api#required": {} @@ -9774,6 +9962,7 @@ "SubnetId": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Subnet must be in the AZ of the Flow", "smithy.api#jsonName": "subnetId", "smithy.api#required": {} @@ -9805,6 +9994,7 @@ "Name": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the VPC Interface. This value must be unique within the current flow.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -9820,6 +10010,7 @@ "RoleArn": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Role Arn MediaConnect can assumes to create ENIs in customer's account", "smithy.api#jsonName": "roleArn", "smithy.api#required": {} @@ -9828,6 +10019,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.mediaconnect#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Security Group IDs to be used on ENI.", "smithy.api#jsonName": "securityGroupIds", "smithy.api#required": {} @@ -9836,6 +10028,7 @@ "SubnetId": { "target": "com.amazonaws.mediaconnect#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Subnet must be in the AZ of the Flow", "smithy.api#jsonName": "subnetId", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.json b/codegen/sdk-codegen/aws-models/mediaconvert.json index 77d1419ea86..656faa23268 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.json @@ -622,6 +622,7 @@ "Mode": { "target": "com.amazonaws.mediaconvert#AccelerationMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Specify the conditions when the service will run your job with accelerated transcoding.", "smithy.api#jsonName": "mode", "smithy.api#required": {} @@ -988,6 +989,7 @@ "Arn": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ARN of the ACM certificate that you want to associate with your MediaConvert resource.", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -5260,6 +5262,7 @@ "Role": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.", "smithy.api#jsonName": "role", "smithy.api#required": {} @@ -5268,6 +5271,7 @@ "Settings": { "target": "com.amazonaws.mediaconvert#JobSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "JobSettings contains all the transcode settings for a job.", "smithy.api#jsonName": "settings", "smithy.api#required": {} @@ -5392,6 +5396,7 @@ "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the job template you are creating.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -5414,6 +5419,7 @@ "Settings": { "target": "com.amazonaws.mediaconvert#JobTemplateSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.", "smithy.api#jsonName": "settings", "smithy.api#required": {} @@ -5510,6 +5516,7 @@ "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the preset you are creating.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -5518,6 +5525,7 @@ "Settings": { "target": "com.amazonaws.mediaconvert#PresetSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Settings for preset", "smithy.api#jsonName": "settings", "smithy.api#required": {} @@ -5600,6 +5608,7 @@ "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the queue that you are creating.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -13584,6 +13593,7 @@ "Role": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html", "smithy.api#jsonName": "role", "smithy.api#required": {} @@ -13592,6 +13602,7 @@ "Settings": { "target": "com.amazonaws.mediaconvert#JobSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "JobSettings contains all the transcode settings for a job.", "smithy.api#jsonName": "settings", "smithy.api#required": {} @@ -13877,6 +13888,7 @@ "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A name you create for each job template. Each name must be unique within your account.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -13899,6 +13911,7 @@ "Settings": { "target": "com.amazonaws.mediaconvert#JobTemplateSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "JobTemplateSettings contains all the transcode settings saved in the template that will be applied to jobs created from it.", "smithy.api#jsonName": "settings", "smithy.api#required": {} @@ -16827,7 +16840,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16870,7 +16882,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -16883,7 +16896,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16897,7 +16909,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16920,7 +16931,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16955,7 +16965,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -16966,14 +16975,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -16987,14 +16998,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -17003,18 +17012,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -17023,7 +17031,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -17043,14 +17052,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -17064,7 +17075,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -17084,7 +17094,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -17095,14 +17104,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -17132,9 +17143,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -20431,6 +20444,7 @@ "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A name you create for each preset. Each name must be unique within your account.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -20439,6 +20453,7 @@ "Settings": { "target": "com.amazonaws.mediaconvert#PresetSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Settings for preset", "smithy.api#jsonName": "settings", "smithy.api#required": {} @@ -20908,6 +20923,7 @@ "Policy": { "target": "com.amazonaws.mediaconvert#Policy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", "smithy.api#jsonName": "policy", "smithy.api#required": {} @@ -20967,6 +20983,7 @@ "Name": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A name that you create for each queue. Each name must be unique within your account.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -21249,6 +21266,7 @@ "Commitment": { "target": "com.amazonaws.mediaconvert#Commitment", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The length of the term of your reserved queue pricing plan commitment.", "smithy.api#jsonName": "commitment", "smithy.api#required": {} @@ -21257,6 +21275,7 @@ "RenewalType": { "target": "com.amazonaws.mediaconvert#RenewalType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Specifies whether the term of your reserved queue pricing plan is automatically extended (AUTO_RENEW) or expires (EXPIRE) at the end of the term. When your term is auto renewed, you extend your commitment by 12 months from the auto renew date. You can cancel this commitment.", "smithy.api#jsonName": "renewalType", "smithy.api#required": {} @@ -21265,6 +21284,7 @@ "ReservedSlots": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity.", "smithy.api#jsonName": "reservedSlots", "smithy.api#required": {} @@ -21960,6 +21980,7 @@ "Arn": { "target": "com.amazonaws.mediaconvert#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name.", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -21968,6 +21989,7 @@ "Tags": { "target": "com.amazonaws.mediaconvert#__mapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -23981,6 +24003,7 @@ "Code": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Warning code that identifies a specific warning in the job. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/warning_codes.html", "smithy.api#jsonName": "code", "smithy.api#required": {} @@ -23989,6 +24012,7 @@ "Count": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The number of times this warning occurred in the job.", "smithy.api#jsonName": "count", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/medialive.json b/codegen/sdk-codegen/aws-models/medialive.json index 7095f31906f..272e6b1ef27 100644 --- a/codegen/sdk-codegen/aws-models/medialive.json +++ b/codegen/sdk-codegen/aws-models/medialive.json @@ -716,6 +716,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A directory and base filename where archive files should be written.", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -739,6 +740,7 @@ "ContainerSettings": { "target": "com.amazonaws.medialive#ArchiveContainerSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Settings specific to the container type of the file.", "smithy.api#jsonName": "containerSettings", "smithy.api#required": {} @@ -798,6 +800,7 @@ "InputChannelLevels": { "target": "com.amazonaws.medialive#__listOfInputChannelLevel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Indices and gain values for each input channel that should be remixed into this output channel.", "smithy.api#jsonName": "inputChannelLevels", "smithy.api#required": {} @@ -806,6 +809,7 @@ "OutputChannel": { "target": "com.amazonaws.medialive#__integerMin0Max7", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The index of the output channel being produced.", "smithy.api#jsonName": "outputChannel", "smithy.api#required": {} @@ -879,6 +883,7 @@ "AudioSelectorName": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the AudioSelector used as the source for this AudioDescription.", "smithy.api#jsonName": "audioSelectorName", "smithy.api#required": {} @@ -929,6 +934,7 @@ "Name": { "target": "com.amazonaws.medialive#__stringMax255", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of this AudioDescription. Outputs will use this name to uniquely identify this AudioDescription. Description names should be unique within this Live Event.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -999,6 +1005,7 @@ "ProgramSelection": { "target": "com.amazonaws.medialive#DolbyEProgramSelection", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Applies only to Dolby E. Enter the program ID (according to the metadata in the audio) of the Dolby E program to extract from the specified track. One program extracted per audio selector. To select multiple programs, create multiple selectors with the same Track and different Program numbers. “All channels” means to ignore the program IDs and include all the channels in this selector; useful if metadata is known to be incorrect.", "smithy.api#jsonName": "programSelection", "smithy.api#required": {} @@ -1015,6 +1022,7 @@ "GroupId": { "target": "com.amazonaws.medialive#__stringMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Specifies the GROUP-ID in the #EXT-X-MEDIA tag of the target HLS audio rendition.", "smithy.api#jsonName": "groupId", "smithy.api#required": {} @@ -1023,6 +1031,7 @@ "Name": { "target": "com.amazonaws.medialive#__stringMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Specifies the NAME in the #EXT-X-MEDIA tag of the target HLS audio rendition.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1039,6 +1048,7 @@ "LanguageCode": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Selects a specific three-letter language code from within an audio source.", "smithy.api#jsonName": "languageCode", "smithy.api#required": {} @@ -1233,6 +1243,7 @@ "Pid": { "target": "com.amazonaws.medialive#__integerMin0Max8191", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Selects a specific PID from within a source.", "smithy.api#jsonName": "pid", "smithy.api#required": {} @@ -1249,6 +1260,7 @@ "Name": { "target": "com.amazonaws.medialive#__stringMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of this AudioSelector. AudioDescriptions will use this name to uniquely identify this Selector. Selector names should be unique per input.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1304,6 +1316,7 @@ "AudioSelectorName": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the audio selector in the input that MediaLive should monitor to detect silence. Select your most important rendition. If you didn't create an audio selector in this input, leave blank.", "smithy.api#jsonName": "audioSelectorName", "smithy.api#required": {} @@ -1327,6 +1340,7 @@ "Track": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "1-based integer value that maps to a specific audio track", "smithy.api#jsonName": "track", "smithy.api#required": {} @@ -1343,6 +1357,7 @@ "Tracks": { "target": "com.amazonaws.medialive#__listOfAudioTrack", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Selects one or more unique audio tracks from within a source.", "smithy.api#jsonName": "tracks", "smithy.api#required": {} @@ -1454,6 +1469,7 @@ "SecondaryInputId": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The input ID of the secondary input in the automatic input failover pair.", "smithy.api#jsonName": "secondaryInputId", "smithy.api#required": {} @@ -1724,6 +1740,7 @@ "ScheduleActions": { "target": "com.amazonaws.medialive#__listOfScheduleAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of schedule actions to create.", "smithy.api#jsonName": "scheduleActions", "smithy.api#required": {} @@ -1740,6 +1757,7 @@ "ScheduleActions": { "target": "com.amazonaws.medialive#__listOfScheduleAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "List of actions that have been created in the schedule.", "smithy.api#jsonName": "scheduleActions", "smithy.api#required": {} @@ -1756,6 +1774,7 @@ "ActionNames": { "target": "com.amazonaws.medialive#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of schedule actions to delete.", "smithy.api#jsonName": "actionNames", "smithy.api#required": {} @@ -1772,6 +1791,7 @@ "ScheduleActions": { "target": "com.amazonaws.medialive#__listOfScheduleAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "List of actions that have been deleted from the schedule.", "smithy.api#jsonName": "scheduleActions", "smithy.api#required": {} @@ -2566,6 +2586,7 @@ "CaptionSelectorName": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Specifies which input caption selector to use as a caption source when generating output captions. This field should match a captionSelector name.", "smithy.api#jsonName": "captionSelectorName", "smithy.api#required": {} @@ -2595,6 +2616,7 @@ "Name": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Name of the caption description. Used to associate a caption description with an output. Names must be unique within an event.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -2697,6 +2719,7 @@ "CaptionChannel": { "target": "com.amazonaws.medialive#__integerMin1Max4", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)", "smithy.api#jsonName": "captionChannel", "smithy.api#required": {} @@ -2705,6 +2728,7 @@ "LanguageCode": { "target": "com.amazonaws.medialive#__stringMin3Max3", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)", "smithy.api#jsonName": "languageCode", "smithy.api#required": {} @@ -2713,6 +2737,7 @@ "LanguageDescription": { "target": "com.amazonaws.medialive#__stringMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Textual description of language", "smithy.api#jsonName": "languageDescription", "smithy.api#required": {} @@ -2729,6 +2754,7 @@ "Height": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "See the description in leftOffset.\nFor height, specify the entire height of the rectangle as a percentage of the underlying frame height. For example, \\\"80\\\" means the rectangle height is 80% of the underlying frame height. The topOffset and rectangleHeight must add up to 100% or less.\nThis field corresponds to tts:extent - Y in the TTML standard.", "smithy.api#jsonName": "height", "smithy.api#required": {} @@ -2737,6 +2763,7 @@ "LeftOffset": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output. (Make sure to leave the default if you don't have either of these formats in the output.) You can define a display rectangle for the captions that is smaller than the underlying video frame. You define the rectangle by specifying the position of the left edge, top edge, bottom edge, and right edge of the rectangle, all within the underlying video frame. The units for the measurements are percentages.\nIf you specify a value for one of these fields, you must specify a value for all of them.\nFor leftOffset, specify the position of the left edge of the rectangle, as a percentage of the underlying frame width, and relative to the left edge of the frame. For example, \\\"10\\\" means the measurement is 10% of the underlying frame width. The rectangle left edge starts at that position from the left edge of the frame.\nThis field corresponds to tts:origin - X in the TTML standard.", "smithy.api#jsonName": "leftOffset", "smithy.api#required": {} @@ -2745,6 +2772,7 @@ "TopOffset": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "See the description in leftOffset.\nFor topOffset, specify the position of the top edge of the rectangle, as a percentage of the underlying frame height, and relative to the top edge of the frame. For example, \\\"10\\\" means the measurement is 10% of the underlying frame height. The rectangle top edge starts at that position from the top edge of the frame.\nThis field corresponds to tts:origin - Y in the TTML standard.", "smithy.api#jsonName": "topOffset", "smithy.api#required": {} @@ -2753,6 +2781,7 @@ "Width": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "See the description in leftOffset.\nFor width, specify the entire width of the rectangle as a percentage of the underlying frame width. For example, \\\"80\\\" means the rectangle width is 80% of the underlying frame width. The leftOffset and rectangleWidth must add up to 100% or less.\nThis field corresponds to tts:extent - X in the TTML standard.", "smithy.api#jsonName": "width", "smithy.api#required": {} @@ -2776,6 +2805,7 @@ "Name": { "target": "com.amazonaws.medialive#__stringMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Name identifier for a caption selector. This name is used to associate this caption selector with one or more caption descriptions. Names must be unique within an event.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3831,6 +3861,7 @@ "MultiplexProgramSettings": { "target": "com.amazonaws.medialive#MultiplexProgramSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The settings for this multiplex program.", "smithy.api#jsonName": "multiplexProgramSettings", "smithy.api#required": {} @@ -3839,6 +3870,7 @@ "ProgramName": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Name of multiplex program.", "smithy.api#jsonName": "programName", "smithy.api#required": {} @@ -3847,6 +3879,7 @@ "RequestId": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Unique request ID. This prevents retries from creating multiple\nresources.", "smithy.api#idempotencyToken": {}, "smithy.api#jsonName": "requestId", @@ -3881,6 +3914,7 @@ "AvailabilityZones": { "target": "com.amazonaws.medialive#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of availability zones for the multiplex. You must specify exactly two.", "smithy.api#jsonName": "availabilityZones", "smithy.api#required": {} @@ -3889,6 +3923,7 @@ "MultiplexSettings": { "target": "com.amazonaws.medialive#MultiplexSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Configuration for a multiplex event.", "smithy.api#jsonName": "multiplexSettings", "smithy.api#required": {} @@ -3897,6 +3932,7 @@ "Name": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Name of multiplex.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -3905,6 +3941,7 @@ "RequestId": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Unique request ID. This prevents retries from creating multiple\nresources.", "smithy.api#idempotencyToken": {}, "smithy.api#jsonName": "requestId", @@ -4965,6 +5002,7 @@ "TagKeys": { "target": "com.amazonaws.medialive#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "An array of tag keys to delete", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -5746,6 +5784,7 @@ "Accept": { "target": "com.amazonaws.medialive#AcceptHeader", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The HTTP Accept header. Indicates the requested type for the thumbnail.", "smithy.api#httpHeader": "accept", "smithy.api#required": {} @@ -6929,6 +6968,7 @@ "PipelineId": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Pipeline ID (\"0\" or \"1\")", "smithy.api#httpQuery": "pipelineId", "smithy.api#required": {} @@ -6937,6 +6977,7 @@ "ThumbnailType": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "thumbnail type", "smithy.api#httpQuery": "thumbnailType", "smithy.api#required": {} @@ -7084,6 +7125,7 @@ "NetworkId": { "target": "com.amazonaws.medialive#__integerMin0Max65536", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The numeric value placed in the Network Information Table (NIT).", "smithy.api#jsonName": "networkId", "smithy.api#required": {} @@ -7092,6 +7134,7 @@ "NetworkName": { "target": "com.amazonaws.medialive#__stringMin1Max256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The network name text placed in the networkNameDescriptor inside the Network Information Table. Maximum length is 256 characters.", "smithy.api#jsonName": "networkName", "smithy.api#required": {} @@ -8438,6 +8481,7 @@ "AudioDescriptions": { "target": "com.amazonaws.medialive#__listOfAudioDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "audioDescriptions", "smithy.api#required": {} } @@ -8501,6 +8545,7 @@ "OutputGroups": { "target": "com.amazonaws.medialive#__listOfOutputGroup", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "outputGroups", "smithy.api#required": {} } @@ -8508,6 +8553,7 @@ "TimecodeConfig": { "target": "com.amazonaws.medialive#TimecodeConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Contains settings used to acquire and adjust timecode information from inputs.", "smithy.api#jsonName": "timecodeConfig", "smithy.api#required": {} @@ -8516,6 +8562,7 @@ "VideoDescriptions": { "target": "com.amazonaws.medialive#__listOfVideoDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "videoDescriptions", "smithy.api#required": {} } @@ -8560,6 +8607,7 @@ "AcquisitionPointId": { "target": "com.amazonaws.medialive#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Sent as acquisitionPointIdentity to identify the MediaLive channel to the POIS.", "smithy.api#jsonName": "acquisitionPointId", "smithy.api#required": {} @@ -8582,6 +8630,7 @@ "PoisEndpoint": { "target": "com.amazonaws.medialive#__stringMax2048", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The URL of the signal conditioner endpoint on the Placement Opportunity Information System (POIS). MediaLive sends SignalProcessingEvents here when SCTE-35 messages are read.", "smithy.api#jsonName": "poisEndpoint", "smithy.api#required": {} @@ -8814,6 +8863,7 @@ "Time": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Start time for the action to start in the channel. (Not the time for the action to be added to the schedule: actions are always added to the schedule immediately.) UTC format: yyyy-mm-ddThh:mm:ss.nnnZ. All the letters are digits (for example, mm might be 01) except for the two constants \"T\" for time and \"Z\" for \"UTC format\".", "smithy.api#jsonName": "time", "smithy.api#required": {} @@ -8899,6 +8949,7 @@ "FollowPoint": { "target": "com.amazonaws.medialive#FollowPoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Identifies whether this action starts relative to the start or relative to the end of the reference action.", "smithy.api#jsonName": "followPoint", "smithy.api#required": {} @@ -8907,6 +8958,7 @@ "ReferenceActionName": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The action name of another action that this one refers to.", "smithy.api#jsonName": "referenceActionName", "smithy.api#required": {} @@ -8973,6 +9025,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The destination for the frame capture files. Either the URI for an Amazon S3 bucket and object, plus a file name prefix (for example, s3ssl://sportsDelivery/highlights/20180820/curling-) or the URI for a MediaStore container, plus a file name prefix (for example, mediastoressl://sportsDelivery/20180820/curling-). The final file names consist of the prefix from the destination field (for example, \"curling-\") + name modifier + the counter (5 digits, starting from 00001) + extension (which is always .jpg). For example, curling-low.00001.jpg", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -10615,6 +10668,7 @@ "FramerateDenominator": { "target": "com.amazonaws.medialive#__integerMin1Max3003", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Framerate denominator.", "smithy.api#jsonName": "framerateDenominator", "smithy.api#required": {} @@ -10623,6 +10677,7 @@ "FramerateNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.", "smithy.api#jsonName": "framerateNumerator", "smithy.api#required": {} @@ -11200,6 +11255,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A directory or HTTP destination for the HLS segments, manifest files, and encryption keys (if enabled).", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -11460,8 +11516,6 @@ "Tag": { "target": "com.amazonaws.medialive#__string", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "", "smithy.api#documentation": "ID3 tag to insert into each segment. Supports special keyword identifiers to substitute in segment-related values.\\nSupported keyword identifiers: https://docs.aws.amazon.com/medialive/latest/ug/variable-data-identifiers.html", "smithy.api#jsonName": "tag" } @@ -11757,6 +11811,7 @@ "HlsSettings": { "target": "com.amazonaws.medialive#HlsSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Settings regarding the underlying stream. These settings are different for audio-only outputs.", "smithy.api#jsonName": "hlsSettings", "smithy.api#required": {} @@ -11980,6 +12035,7 @@ "Id3": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Base64 string formatted according to the ID3 specification: http://id3.org/id3v2.4.0-structure", "smithy.api#jsonName": "id3", "smithy.api#required": {} @@ -12293,6 +12349,7 @@ "Gain": { "target": "com.amazonaws.medialive#__integerMinNegative60Max6", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Remixing value. Units are in dB and acceptable values are within the range from -60 (mute) and 6 dB.", "smithy.api#jsonName": "gain", "smithy.api#required": {} @@ -12301,6 +12358,7 @@ "InputChannel": { "target": "com.amazonaws.medialive#__integerMin0Max15", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The index of the input channel used as a source.", "smithy.api#jsonName": "inputChannel", "smithy.api#required": {} @@ -12337,6 +12395,7 @@ "InputTimecodeSource": { "target": "com.amazonaws.medialive#InputTimecodeSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The source of the timecodes in the source being clipped.", "smithy.api#jsonName": "inputTimecodeSource", "smithy.api#required": {} @@ -13221,6 +13280,7 @@ "Uri": { "target": "com.amazonaws.medialive#__stringMax2048", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Uniform Resource Identifier - This should be a path to a file accessible to the Live system (eg. a http:// URI) depending on the output type. For example, a RTMP destination should have a uri simliar to: \"rtmp://fmsserver/live\".", "smithy.api#jsonName": "uri", "smithy.api#required": {} @@ -13841,6 +13901,7 @@ "InputAttachmentNameReference": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the input attachment (not the name of the input!) to switch to. The name is specified in the channel configuration.", "smithy.api#jsonName": "inputAttachmentNameReference", "smithy.api#required": {} @@ -13966,6 +14027,7 @@ "SubnetIds": { "target": "com.amazonaws.medialive#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of 2 VPC subnet IDs from the same VPC.\nSubnet IDs must be mapped to two unique availability zones (AZ).", "smithy.api#jsonName": "subnetIds", "smithy.api#required": {} @@ -14205,6 +14267,7 @@ "TransferType": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "transferType", "smithy.api#required": {} } @@ -16504,7 +16567,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16547,7 +16609,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -16560,7 +16623,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16574,7 +16636,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16597,7 +16658,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16632,7 +16692,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -16643,14 +16702,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -16664,14 +16725,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -16680,11 +16739,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -16695,14 +16754,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -16716,7 +16777,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -16736,7 +16796,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -16747,14 +16806,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -16765,9 +16826,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -17293,6 +17356,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "MediaPackage channel destination.", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -17373,6 +17437,7 @@ "MotionGraphicsSettings": { "target": "com.amazonaws.medialive#MotionGraphicsSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Motion Graphics Settings", "smithy.api#jsonName": "motionGraphicsSettings", "smithy.api#required": {} @@ -17680,6 +17745,7 @@ "FramerateDenominator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "description\": \"The framerate denominator. For example, 1001. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.", "smithy.api#jsonName": "framerateDenominator", "smithy.api#required": {} @@ -17688,6 +17754,7 @@ "FramerateNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.", "smithy.api#jsonName": "framerateNumerator", "smithy.api#required": {} @@ -17828,6 +17895,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Smooth Streaming publish point on an IIS server. Elemental Live acts as a \"Push\" encoder to IIS.", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -18099,6 +18167,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Destination is a Multiplex.", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -18288,6 +18357,7 @@ "ProviderName": { "target": "com.amazonaws.medialive#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Name of the provider.", "smithy.api#jsonName": "providerName", "smithy.api#required": {} @@ -18296,6 +18366,7 @@ "ServiceName": { "target": "com.amazonaws.medialive#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Name of the service.", "smithy.api#jsonName": "serviceName", "smithy.api#required": {} @@ -18319,6 +18390,7 @@ "ProgramNumber": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Unique program number.", "smithy.api#jsonName": "programNumber", "smithy.api#required": {} @@ -18378,6 +18450,7 @@ "TransportStreamBitrate": { "target": "com.amazonaws.medialive#__integerMin1000000Max100000000", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Transport stream bit rate.", "smithy.api#jsonName": "transportStreamBitrate", "smithy.api#required": {} @@ -18386,6 +18459,7 @@ "TransportStreamId": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Transport stream ID.", "smithy.api#jsonName": "transportStreamId", "smithy.api#required": {} @@ -18650,6 +18724,7 @@ "CbetCheckDigitString": { "target": "com.amazonaws.medialive#__stringMin2Max2", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Enter the CBET check digits to use in the watermark.", "smithy.api#jsonName": "cbetCheckDigitString", "smithy.api#required": {} @@ -18658,6 +18733,7 @@ "CbetStepaside": { "target": "com.amazonaws.medialive#NielsenWatermarksCbetStepaside", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Determines the method of CBET insertion mode when prior encoding is detected on the same layer.", "smithy.api#jsonName": "cbetStepaside", "smithy.api#required": {} @@ -18666,6 +18742,7 @@ "Csid": { "target": "com.amazonaws.medialive#__stringMin1Max7", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Enter the CBET Source ID (CSID) to use in the watermark", "smithy.api#jsonName": "csid", "smithy.api#required": {} @@ -18704,6 +18781,7 @@ "CheckDigitString": { "target": "com.amazonaws.medialive#__stringMin2Max2", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Enter the check digit string for the watermark", "smithy.api#jsonName": "checkDigitString", "smithy.api#required": {} @@ -18712,6 +18790,7 @@ "Sid": { "target": "com.amazonaws.medialive#__doubleMin1Max65535", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Enter the Nielsen Source ID (SID) to include in the watermark", "smithy.api#jsonName": "sid", "smithy.api#required": {} @@ -19042,6 +19121,7 @@ "OutputSettings": { "target": "com.amazonaws.medialive#OutputSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Output type-specific settings.", "smithy.api#jsonName": "outputSettings", "smithy.api#required": {} @@ -19144,6 +19224,7 @@ "OutputGroupSettings": { "target": "com.amazonaws.medialive#OutputGroupSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Settings associated with the output group.", "smithy.api#jsonName": "outputGroupSettings", "smithy.api#required": {} @@ -19152,6 +19233,7 @@ "Outputs": { "target": "com.amazonaws.medialive#__listOfOutput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "outputs", "smithy.api#required": {} } @@ -19404,6 +19486,7 @@ "PipelineId": { "target": "com.amazonaws.medialive#PipelineId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Pipeline ID to pause (\"PIPELINE_0\" or \"PIPELINE_1\").", "smithy.api#jsonName": "pipelineId", "smithy.api#required": {} @@ -19489,6 +19572,7 @@ "Count": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Number of resources", "smithy.api#jsonName": "count", "smithy.api#required": {} @@ -19752,6 +19836,7 @@ "ChannelMappings": { "target": "com.amazonaws.medialive#__listOfAudioChannelMapping", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Mapping of input channels to output channels, with appropriate gain adjustments.", "smithy.api#jsonName": "channelMappings", "smithy.api#required": {} @@ -20438,6 +20523,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For connection to Akamai, a username and password must be supplied. URI fields accept format identifiers.", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -20493,6 +20579,7 @@ "ActionName": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of the action, must be unique within the schedule. This name provides the main reference to an action once it is added to the schedule. A name is unique if it is no longer in the schedule. The schedule is automatically cleaned up to remove actions with a start time of more than 1 hour ago (approximately) so at that point a name can be reused.", "smithy.api#jsonName": "actionName", "smithy.api#required": {} @@ -20501,6 +20588,7 @@ "ScheduleActionSettings": { "target": "com.amazonaws.medialive#ScheduleActionSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Settings for this schedule action.", "smithy.api#jsonName": "scheduleActionSettings", "smithy.api#required": {} @@ -20509,6 +20597,7 @@ "ScheduleActionStartSettings": { "target": "com.amazonaws.medialive#ScheduleActionStartSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The time for the action to start in the channel.", "smithy.api#jsonName": "scheduleActionStartSettings", "smithy.api#required": {} @@ -20835,6 +20924,7 @@ "ArchiveAllowedFlag": { "target": "com.amazonaws.medialive#Scte35ArchiveAllowedFlag", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Corresponds to SCTE-35 archive_allowed_flag.", "smithy.api#jsonName": "archiveAllowedFlag", "smithy.api#required": {} @@ -20843,6 +20933,7 @@ "DeviceRestrictions": { "target": "com.amazonaws.medialive#Scte35DeviceRestrictions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Corresponds to SCTE-35 device_restrictions parameter.", "smithy.api#jsonName": "deviceRestrictions", "smithy.api#required": {} @@ -20851,6 +20942,7 @@ "NoRegionalBlackoutFlag": { "target": "com.amazonaws.medialive#Scte35NoRegionalBlackoutFlag", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Corresponds to SCTE-35 no_regional_blackout_flag parameter.", "smithy.api#jsonName": "noRegionalBlackoutFlag", "smithy.api#required": {} @@ -20859,6 +20951,7 @@ "WebDeliveryAllowedFlag": { "target": "com.amazonaws.medialive#Scte35WebDeliveryAllowedFlag", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Corresponds to SCTE-35 web_delivery_allowed_flag parameter.", "smithy.api#jsonName": "webDeliveryAllowedFlag", "smithy.api#required": {} @@ -20875,6 +20968,7 @@ "Scte35DescriptorSettings": { "target": "com.amazonaws.medialive#Scte35DescriptorSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "SCTE-35 Descriptor Settings.", "smithy.api#jsonName": "scte35DescriptorSettings", "smithy.api#required": {} @@ -20891,6 +20985,7 @@ "SegmentationDescriptorScte35DescriptorSettings": { "target": "com.amazonaws.medialive#Scte35SegmentationDescriptor", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "SCTE-35 Segmentation Descriptor.", "smithy.api#jsonName": "segmentationDescriptorScte35DescriptorSettings", "smithy.api#required": {} @@ -20966,6 +21061,7 @@ "Mode": { "target": "com.amazonaws.medialive#Scte35InputMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Whether the SCTE-35 input should be the active input or a fixed input.", "smithy.api#jsonName": "mode", "smithy.api#required": {} @@ -21002,6 +21098,7 @@ "SpliceEventId": { "target": "com.amazonaws.medialive#__longMin0Max4294967295", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.", "smithy.api#jsonName": "spliceEventId", "smithy.api#required": {} @@ -21052,6 +21149,7 @@ "SegmentationCancelIndicator": { "target": "com.amazonaws.medialive#Scte35SegmentationCancelIndicator", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Corresponds to SCTE-35 segmentation_event_cancel_indicator.", "smithy.api#jsonName": "segmentationCancelIndicator", "smithy.api#required": {} @@ -21067,6 +21165,7 @@ "SegmentationEventId": { "target": "com.amazonaws.medialive#__longMin0Max4294967295", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Corresponds to SCTE-35 segmentation_event_id.", "smithy.api#jsonName": "segmentationEventId", "smithy.api#required": {} @@ -21181,6 +21280,7 @@ "SpliceEventId": { "target": "com.amazonaws.medialive#__longMin0Max4294967295", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.", "smithy.api#jsonName": "spliceEventId", "smithy.api#required": {} @@ -21246,6 +21346,7 @@ "Scte35Descriptors": { "target": "com.amazonaws.medialive#__listOfScte35Descriptor", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The list of SCTE-35 descriptors accompanying the SCTE-35 time_signal.", "smithy.api#jsonName": "scte35Descriptors", "smithy.api#required": {} @@ -21488,6 +21589,7 @@ "M3u8Settings": { "target": "com.amazonaws.medialive#M3u8Settings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "m3u8Settings", "smithy.api#required": {} } @@ -22014,6 +22116,7 @@ "Image": { "target": "com.amazonaws.medialive#InputLocation", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The location and filename of the image file to overlay on the video. The file must be a 32-bit BMP, PNG, or TGA file, and must not be larger (in pixels) than the input video.", "smithy.api#jsonName": "image", "smithy.api#required": {} @@ -22094,6 +22197,7 @@ "StaticKeyValue": { "target": "com.amazonaws.medialive#__stringMin32Max32", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Static key value as a 32 character hexadecimal string.", "smithy.api#jsonName": "staticKeyValue", "smithy.api#required": {} @@ -22767,6 +22871,7 @@ "State": { "target": "com.amazonaws.medialive#ThumbnailState", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Whether Thumbnail is enabled.", "smithy.api#jsonName": "state", "smithy.api#required": {} @@ -22939,6 +23044,7 @@ "FontSize": { "target": "com.amazonaws.medialive#TimecodeBurninFontSize", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Choose a timecode burn-in font size", "smithy.api#jsonName": "fontSize", "smithy.api#required": {} @@ -22947,6 +23053,7 @@ "Position": { "target": "com.amazonaws.medialive#TimecodeBurninPosition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Choose a timecode burn-in output position", "smithy.api#jsonName": "position", "smithy.api#required": {} @@ -22970,6 +23077,7 @@ "Source": { "target": "com.amazonaws.medialive#TimecodeConfigSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Identifies the source for the timecode that will be associated with the events outputs.\n-Embedded (embedded): Initialize the output timecode with timecode from the the source. If no embedded timecode is detected in the source, the system falls back to using \"Start at 0\" (zerobased).\n-System Clock (systemclock): Use the UTC time.\n-Start at 0 (zerobased): The time of the first frame of the event will be 00:00:00:00.", "smithy.api#jsonName": "source", "smithy.api#required": {} @@ -23248,6 +23356,7 @@ "ContainerSettings": { "target": "com.amazonaws.medialive#UdpContainerSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "containerSettings", "smithy.api#required": {} } @@ -23255,6 +23364,7 @@ "Destination": { "target": "com.amazonaws.medialive#OutputLocationRef", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "Destination address and port number for RTP or UDP packets. Can be unicast or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002).", "smithy.api#jsonName": "destination", "smithy.api#required": {} @@ -23484,6 +23594,7 @@ "ChannelClass": { "target": "com.amazonaws.medialive#ChannelClass", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The channel class that you wish to update this channel to use.", "smithy.api#jsonName": "channelClass", "smithy.api#required": {} @@ -24401,6 +24512,7 @@ "Name": { "target": "com.amazonaws.medialive#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of this VideoDescription. Outputs will use this name to uniquely identify this Description. Description names should be unique within this Live Event.", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -24663,6 +24775,7 @@ "SubnetIds": { "target": "com.amazonaws.medialive#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of VPC subnet IDs from the same VPC.\nIf STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).", "smithy.api#jsonName": "subnetIds", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/mediapackage-vod.json b/codegen/sdk-codegen/aws-models/mediapackage-vod.json index 9037011d0a1..a8b7c94ca36 100644 --- a/codegen/sdk-codegen/aws-models/mediapackage-vod.json +++ b/codegen/sdk-codegen/aws-models/mediapackage-vod.json @@ -121,6 +121,7 @@ "CdnIdentifierSecret": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) for the secret in AWS Secrets Manager that is used for CDN authorization.", "smithy.api#jsonName": "cdnIdentifierSecret", "smithy.api#required": {} @@ -129,6 +130,7 @@ "SecretsRoleArn": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.", "smithy.api#jsonName": "secretsRoleArn", "smithy.api#required": {} @@ -152,6 +154,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackagevod#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -173,6 +176,7 @@ "HlsManifests": { "target": "com.amazonaws.mediapackagevod#__listOfHlsManifest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of HLS manifest configurations.", "smithy.api#jsonName": "hlsManifests", "smithy.api#required": {} @@ -354,6 +358,7 @@ "Id": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The unique identifier for the Asset.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -362,6 +367,7 @@ "PackagingGroupId": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the PackagingGroup for the Asset.", "smithy.api#jsonName": "packagingGroupId", "smithy.api#required": {} @@ -377,6 +383,7 @@ "SourceArn": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "ARN of the source object in S3.", "smithy.api#jsonName": "sourceArn", "smithy.api#required": {} @@ -385,6 +392,7 @@ "SourceRoleArn": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IAM role ARN used to access the source S3 bucket.", "smithy.api#jsonName": "sourceRoleArn", "smithy.api#required": {} @@ -533,6 +541,7 @@ "Id": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the PackagingConfiguration.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -547,6 +556,7 @@ "PackagingGroupId": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of a PackagingGroup.", "smithy.api#jsonName": "packagingGroupId", "smithy.api#required": {} @@ -685,6 +695,7 @@ "Id": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the PackagingGroup.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -762,6 +773,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackagevod#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -826,6 +838,7 @@ "DashManifests": { "target": "com.amazonaws.mediapackagevod#__listOfDashManifest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of DASH manifest configurations.", "smithy.api#jsonName": "dashManifests", "smithy.api#required": {} @@ -1463,6 +1476,7 @@ "PresetSpeke20Audio": { "target": "com.amazonaws.mediapackagevod#PresetSpeke20Audio", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A collection of audio encryption presets.", "smithy.api#jsonName": "presetSpeke20Audio", "smithy.api#required": {} @@ -1471,6 +1485,7 @@ "PresetSpeke20Video": { "target": "com.amazonaws.mediapackagevod#PresetSpeke20Video", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A collection of video encryption presets.", "smithy.api#jsonName": "presetSpeke20Video", "smithy.api#required": {} @@ -1534,6 +1549,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackagevod#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -1604,6 +1620,7 @@ "HlsManifests": { "target": "com.amazonaws.mediapackagevod#__listOfHlsManifest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of HLS manifest configurations.", "smithy.api#jsonName": "hlsManifests", "smithy.api#required": {} @@ -2112,7 +2129,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2155,7 +2171,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2168,7 +2185,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2182,7 +2198,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2205,7 +2220,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2240,7 +2254,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2251,14 +2264,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2272,14 +2287,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2288,11 +2301,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2303,14 +2316,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2324,7 +2339,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2344,7 +2358,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2355,14 +2368,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2373,9 +2388,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2888,6 +2905,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackagevod#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -2930,6 +2948,7 @@ "MssManifests": { "target": "com.amazonaws.mediapackagevod#__listOfMssManifest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A list of MSS manifest configurations.", "smithy.api#jsonName": "mssManifests", "smithy.api#required": {} @@ -3275,6 +3294,7 @@ "RoleArn": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "An Amazon Resource Name (ARN) of an IAM role that AWS Elemental\nMediaPackage will assume when accessing the key provider service.", "smithy.api#jsonName": "roleArn", "smithy.api#required": {} @@ -3283,6 +3303,7 @@ "SystemIds": { "target": "com.amazonaws.mediapackagevod#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The system IDs to include in key requests.", "smithy.api#jsonName": "systemIds", "smithy.api#required": {} @@ -3291,6 +3312,7 @@ "Url": { "target": "com.amazonaws.mediapackagevod#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The URL of the external key provider service.", "smithy.api#jsonName": "url", "smithy.api#required": {} @@ -3384,6 +3406,7 @@ "Tags": { "target": "com.amazonaws.mediapackagevod#__mapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A collection of tags associated with a resource", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -3469,6 +3492,7 @@ "TagKeys": { "target": "com.amazonaws.mediapackagevod#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A comma-separated list of the tag keys to remove from the resource.", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/mediapackage.json b/codegen/sdk-codegen/aws-models/mediapackage.json index 1baa33ab550..3d03bdbe7d6 100644 --- a/codegen/sdk-codegen/aws-models/mediapackage.json +++ b/codegen/sdk-codegen/aws-models/mediapackage.json @@ -105,6 +105,7 @@ "CdnIdentifierSecret": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) for the secret in Secrets Manager that your Content Distribution Network (CDN) uses for authorization to access your endpoint.", "smithy.api#jsonName": "cdnIdentifierSecret", "smithy.api#required": {} @@ -113,6 +114,7 @@ "SecretsRoleArn": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The Amazon Resource Name (ARN) for the IAM role that allows MediaPackage to communicate with AWS Secrets Manager.", "smithy.api#jsonName": "secretsRoleArn", "smithy.api#required": {} @@ -209,6 +211,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackage#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -496,6 +499,7 @@ "Id": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the Channel. The ID must be unique within the region and it\ncannot be changed after a Channel is created.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -616,6 +620,7 @@ "EndTime": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The end of the time-window which will be harvested", "smithy.api#jsonName": "endTime", "smithy.api#required": {} @@ -624,6 +629,7 @@ "Id": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the HarvestJob. The ID must be unique within the region\nand it cannot be changed after the HarvestJob is submitted", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -632,6 +638,7 @@ "OriginEndpointId": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the OriginEndpoint that the HarvestJob will harvest from.\nThis cannot be changed after the HarvestJob is submitted.", "smithy.api#jsonName": "originEndpointId", "smithy.api#required": {} @@ -640,6 +647,7 @@ "S3Destination": { "target": "com.amazonaws.mediapackage#S3Destination", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "s3Destination", "smithy.api#required": {} } @@ -647,6 +655,7 @@ "StartTime": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The start of the time-window which will be harvested", "smithy.api#jsonName": "startTime", "smithy.api#required": {} @@ -777,6 +786,7 @@ "ChannelId": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the Channel that the OriginEndpoint will be associated with.\nThis cannot be changed after the OriginEndpoint is created.", "smithy.api#jsonName": "channelId", "smithy.api#required": {} @@ -810,6 +820,7 @@ "Id": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the OriginEndpoint. The ID must be unique within the region\nand it cannot be changed after the OriginEndpoint is created.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -1002,6 +1013,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackage#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -1678,6 +1690,7 @@ "PresetSpeke20Audio": { "target": "com.amazonaws.mediapackage#PresetSpeke20Audio", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A collection of audio encryption presets.", "smithy.api#jsonName": "presetSpeke20Audio", "smithy.api#required": {} @@ -1686,6 +1699,7 @@ "PresetSpeke20Video": { "target": "com.amazonaws.mediapackage#PresetSpeke20Video", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "A collection of video encryption presets.", "smithy.api#jsonName": "presetSpeke20Video", "smithy.api#required": {} @@ -1833,6 +1847,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackage#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -1870,6 +1885,7 @@ "Id": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -1959,6 +1975,7 @@ "Id": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The ID of the manifest. The ID must be unique within the OriginEndpoint and it cannot be changed after it is created.", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -2630,7 +2647,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2673,7 +2689,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2686,7 +2703,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2700,7 +2716,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2723,7 +2738,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2758,7 +2772,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2769,14 +2782,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2790,14 +2805,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2806,11 +2819,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2821,14 +2834,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2842,7 +2857,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2862,7 +2876,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2873,14 +2886,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2891,9 +2906,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3406,6 +3423,7 @@ "SpekeKeyProvider": { "target": "com.amazonaws.mediapackage#SpekeKeyProvider", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "spekeKeyProvider", "smithy.api#required": {} } @@ -4000,6 +4018,7 @@ "BucketName": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The name of an S3 bucket within which harvested content will be exported", "smithy.api#jsonName": "bucketName", "smithy.api#required": {} @@ -4008,6 +4027,7 @@ "ManifestKey": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The key in the specified S3 bucket where the harvested top-level manifest will be placed.", "smithy.api#jsonName": "manifestKey", "smithy.api#required": {} @@ -4016,6 +4036,7 @@ "RoleArn": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The IAM role used to write to the specified S3 bucket", "smithy.api#jsonName": "roleArn", "smithy.api#required": {} @@ -4090,6 +4111,7 @@ "ResourceId": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The resource ID to include in key requests.", "smithy.api#jsonName": "resourceId", "smithy.api#required": {} @@ -4098,6 +4120,7 @@ "RoleArn": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "An Amazon Resource Name (ARN) of an IAM role that AWS Elemental\nMediaPackage will assume when accessing the key provider service.", "smithy.api#jsonName": "roleArn", "smithy.api#required": {} @@ -4106,6 +4129,7 @@ "SystemIds": { "target": "com.amazonaws.mediapackage#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The system IDs to include in key requests.", "smithy.api#jsonName": "systemIds", "smithy.api#required": {} @@ -4114,6 +4138,7 @@ "Url": { "target": "com.amazonaws.mediapackage#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The URL of the external key provider service.", "smithy.api#jsonName": "url", "smithy.api#required": {} @@ -4228,6 +4253,7 @@ "Tags": { "target": "com.amazonaws.mediapackage#__mapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "tags", "smithy.api#required": {} } @@ -4310,6 +4336,7 @@ "TagKeys": { "target": "com.amazonaws.mediapackage#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "The key(s) of tag to be deleted", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/mq.json b/codegen/sdk-codegen/aws-models/mq.json index 76f345eb797..9c00345d494 100644 --- a/codegen/sdk-codegen/aws-models/mq.json +++ b/codegen/sdk-codegen/aws-models/mq.json @@ -322,6 +322,7 @@ "DeploymentMode": { "target": "com.amazonaws.mq#DeploymentMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The broker's deployment mode.

", "smithy.api#jsonName": "deploymentMode", "smithy.api#required": {} @@ -330,6 +331,7 @@ "EngineType": { "target": "com.amazonaws.mq#EngineType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of broker engine.

", "smithy.api#jsonName": "engineType", "smithy.api#required": {} @@ -379,6 +381,7 @@ "Arn": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The ARN of the configuration.

", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -387,6 +390,7 @@ "AuthenticationStrategy": { "target": "com.amazonaws.mq#AuthenticationStrategy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Optional. The authentication strategy associated with the configuration. The default is SIMPLE.

", "smithy.api#jsonName": "authenticationStrategy", "smithy.api#required": {} @@ -395,6 +399,7 @@ "Created": { "target": "com.amazonaws.mq#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The date and time of the configuration revision.

", "smithy.api#jsonName": "created", "smithy.api#required": {} @@ -403,6 +408,7 @@ "Description": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The description of the configuration.

", "smithy.api#jsonName": "description", "smithy.api#required": {} @@ -411,6 +417,7 @@ "EngineType": { "target": "com.amazonaws.mq#EngineType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

", "smithy.api#jsonName": "engineType", "smithy.api#required": {} @@ -419,6 +426,7 @@ "EngineVersion": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The broker engine's version. For a list of supported engine versions, see, Supported engines.

", "smithy.api#jsonName": "engineVersion", "smithy.api#required": {} @@ -427,6 +435,7 @@ "Id": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The unique ID that Amazon MQ generates for the configuration.

", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -435,6 +444,7 @@ "LatestRevision": { "target": "com.amazonaws.mq#ConfigurationRevision", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The latest revision of the configuration.

", "smithy.api#jsonName": "latestRevision", "smithy.api#required": {} @@ -443,6 +453,7 @@ "Name": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -466,6 +477,7 @@ "Id": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The unique ID that Amazon MQ generates for the configuration.

", "smithy.api#jsonName": "id", "smithy.api#required": {} @@ -489,6 +501,7 @@ "Created": { "target": "com.amazonaws.mq#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The date and time of the configuration revision.

", "smithy.api#jsonName": "created", "smithy.api#required": {} @@ -504,6 +517,7 @@ "Revision": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The revision number of the configuration.

", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -614,6 +628,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.

", "smithy.api#jsonName": "autoMinorVersionUpgrade", "smithy.api#required": {} @@ -622,6 +637,7 @@ "BrokerName": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The broker's name. This value must be unique in your Amazon Web Services account, 1-50 characters long, must contain only letters, numbers, dashes, and underscores, and must not contain white spaces, brackets, wildcard characters, or special characters.

Do not add personally identifiable information (PII) or other confidential or sensitive information in broker names. Broker names are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker names are not intended to be used for private or sensitive data.

", "smithy.api#jsonName": "brokerName", "smithy.api#required": {} @@ -645,6 +661,7 @@ "DeploymentMode": { "target": "com.amazonaws.mq#DeploymentMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The broker's deployment mode.

", "smithy.api#jsonName": "deploymentMode", "smithy.api#required": {} @@ -660,6 +677,7 @@ "EngineType": { "target": "com.amazonaws.mq#EngineType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

", "smithy.api#jsonName": "engineType", "smithy.api#required": {} @@ -668,6 +686,7 @@ "EngineVersion": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The broker engine's version. For a list of supported engine versions, see Supported engines.

", "smithy.api#jsonName": "engineVersion", "smithy.api#required": {} @@ -676,6 +695,7 @@ "HostInstanceType": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The broker's instance type.

", "smithy.api#jsonName": "hostInstanceType", "smithy.api#required": {} @@ -705,6 +725,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.

", "smithy.api#jsonName": "publiclyAccessible", "smithy.api#required": {} @@ -741,6 +762,7 @@ "Users": { "target": "com.amazonaws.mq#__listOfUser", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of broker users (persons or applications) who can access queues and topics. For Amazon MQ for RabbitMQ brokers, one and only one administrative user is accepted and created when a broker is first provisioned. All subsequent broker users are created by making RabbitMQ API calls directly to brokers or via the RabbitMQ web console.

", "smithy.api#jsonName": "users", "smithy.api#required": {} @@ -832,6 +854,7 @@ "EngineType": { "target": "com.amazonaws.mq#EngineType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.

", "smithy.api#jsonName": "engineType", "smithy.api#required": {} @@ -840,6 +863,7 @@ "EngineVersion": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The broker engine's version. For a list of supported engine versions, see Supported engines.

", "smithy.api#jsonName": "engineVersion", "smithy.api#required": {} @@ -848,6 +872,7 @@ "Name": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1033,6 +1058,7 @@ "Password": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

", "smithy.api#jsonName": "password", "smithy.api#required": {} @@ -1072,6 +1098,7 @@ "BrokerId": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The unique broker id generated by Amazon MQ.

", "smithy.api#jsonName": "brokerId", "smithy.api#required": {} @@ -1080,6 +1107,7 @@ "Region": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The region of the broker.

", "smithy.api#jsonName": "region", "smithy.api#required": {} @@ -1103,6 +1131,7 @@ "DataReplicationRole": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the role of this broker in a data replication pair. When a replica broker is promoted to primary, this role is interchanged.

", "smithy.api#jsonName": "dataReplicationRole", "smithy.api#required": {} @@ -1287,6 +1316,7 @@ "TagKeys": { "target": "com.amazonaws.mq#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of tag keys to delete

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -2191,6 +2221,7 @@ "UseAwsOwnedKey": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables the use of an Amazon Web Services owned CMK using KMS (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.

", "smithy.api#jsonName": "useAwsOwnedKey", "smithy.api#required": {} @@ -2290,6 +2321,7 @@ "Hosts": { "target": "com.amazonaws.mq#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.

", "smithy.api#jsonName": "hosts", "smithy.api#required": {} @@ -2298,6 +2330,7 @@ "RoleBase": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp,\n dc=example, dc=com.

", "smithy.api#jsonName": "roleBase", "smithy.api#required": {} @@ -2313,6 +2346,7 @@ "RoleSearchMatching": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.

", "smithy.api#jsonName": "roleSearchMatching", "smithy.api#required": {} @@ -2328,6 +2362,7 @@ "ServiceAccountPassword": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Service account password. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example,\n dc=com.

", "smithy.api#jsonName": "serviceAccountPassword", "smithy.api#required": {} @@ -2336,6 +2371,7 @@ "ServiceAccountUsername": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example,\n dc=com.

", "smithy.api#jsonName": "serviceAccountUsername", "smithy.api#required": {} @@ -2344,6 +2380,7 @@ "UserBase": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp,\n dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.

", "smithy.api#jsonName": "userBase", "smithy.api#required": {} @@ -2359,6 +2396,7 @@ "UserSearchMatching": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example,\n dc=com.

", "smithy.api#jsonName": "userSearchMatching", "smithy.api#required": {} @@ -2382,6 +2420,7 @@ "Hosts": { "target": "com.amazonaws.mq#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the location of the LDAP server such as Directory Service for Microsoft Active Directory. Optional failover server.

", "smithy.api#jsonName": "hosts", "smithy.api#required": {} @@ -2390,6 +2429,7 @@ "RoleBase": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The distinguished name of the node in the directory information tree (DIT) to search for roles or groups. For example, ou=group, ou=corp, dc=corp,\n dc=example, dc=com.

", "smithy.api#jsonName": "roleBase", "smithy.api#required": {} @@ -2405,6 +2445,7 @@ "RoleSearchMatching": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The LDAP search filter used to find roles within the roleBase. The distinguished name of the user matched by userSearchMatching is substituted into the {0} placeholder in the search filter. The client's username is substituted into the {1} placeholder. For example, if you set this option to (member=uid={1})for the user janedoe, the search filter becomes (member=uid=janedoe) after string substitution. It matches all role entries that have a member attribute equal to uid=janedoe under the subtree selected by the roleBase.

", "smithy.api#jsonName": "roleSearchMatching", "smithy.api#required": {} @@ -2420,6 +2461,7 @@ "ServiceAccountUsername": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Service account username. A service account is an account in your LDAP server that has access to initiate a connection. For example, cn=admin,dc=corp, dc=example,\n dc=com.

", "smithy.api#jsonName": "serviceAccountUsername", "smithy.api#required": {} @@ -2428,6 +2470,7 @@ "UserBase": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Select a particular subtree of the directory information tree (DIT) to search for user entries. The subtree is specified by a DN, which specifies the base node of the subtree. For example, by setting this option to ou=Users,ou=corp, dc=corp,\n dc=example, dc=com, the search for user entries is restricted to the subtree beneath ou=Users, ou=corp, dc=corp, dc=example, dc=com.

", "smithy.api#jsonName": "userBase", "smithy.api#required": {} @@ -2443,6 +2486,7 @@ "UserSearchMatching": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The LDAP search filter used to find users within the userBase. The client's username is substituted into the {0} placeholder in the search filter. For example, if this option is set to (uid={0}) and the received username is janedoe, the search filter becomes (uid=janedoe) after string substitution. It will result in matching an entry like uid=janedoe, ou=Users,ou=corp, dc=corp, dc=example,\n dc=com.

", "smithy.api#jsonName": "userSearchMatching", "smithy.api#required": {} @@ -2915,6 +2959,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Enables general logging.

", "smithy.api#jsonName": "general", "smithy.api#required": {} @@ -2923,6 +2968,7 @@ "GeneralLogGroup": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the CloudWatch Logs log group where general logs are sent.

", "smithy.api#jsonName": "generalLogGroup", "smithy.api#required": {} @@ -3060,6 +3106,7 @@ "Mode": { "target": "com.amazonaws.mq#PromoteMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Promote mode requested. Note: Valid values for the parameter are SWITCHOVER, FAILOVER.

", "smithy.api#jsonName": "mode", "smithy.api#required": {} @@ -3160,6 +3207,7 @@ "Reason": { "target": "com.amazonaws.mq#SanitizationWarningReason", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The reason for which the configuration elements or attributes were sanitized.

", "smithy.api#jsonName": "reason", "smithy.api#required": {} @@ -3495,6 +3543,7 @@ "Data": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon MQ for Active MQ: The base64-encoded XML configuration. Amazon MQ for RabbitMQ: the base64-encoded Cuttlefish configuration.

", "smithy.api#jsonName": "data", "smithy.api#required": {} @@ -3677,6 +3726,7 @@ "Password": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

", "smithy.api#jsonName": "password", "smithy.api#required": {} @@ -3685,6 +3735,7 @@ "Username": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The username of the broker user. The following restrictions apply to broker usernames:

Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.

", "smithy.api#jsonName": "username", "smithy.api#required": {} @@ -3722,6 +3773,7 @@ "PendingChange": { "target": "com.amazonaws.mq#ChangeType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The type of change pending for the ActiveMQ user.

", "smithy.api#jsonName": "pendingChange", "smithy.api#required": {} @@ -3745,6 +3797,7 @@ "Username": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

", "smithy.api#jsonName": "username", "smithy.api#required": {} @@ -3761,6 +3814,7 @@ "DayOfWeek": { "target": "com.amazonaws.mq#DayOfWeek", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The day of the week.

", "smithy.api#jsonName": "dayOfWeek", "smithy.api#required": {} @@ -3769,6 +3823,7 @@ "TimeOfDay": { "target": "com.amazonaws.mq#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Required. The time, in 24-hour format.

", "smithy.api#jsonName": "timeOfDay", "smithy.api#required": {} @@ -4039,7 +4094,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4082,7 +4136,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4095,7 +4150,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4109,7 +4163,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4132,7 +4185,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4167,7 +4219,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4178,14 +4229,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4199,14 +4252,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -4215,11 +4266,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4230,14 +4281,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -4251,7 +4304,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -4271,7 +4323,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -4282,14 +4333,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4300,9 +4353,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/neptune.json b/codegen/sdk-codegen/aws-models/neptune.json index 2b2694467bf..3a16a6a7f94 100644 --- a/codegen/sdk-codegen/aws-models/neptune.json +++ b/codegen/sdk-codegen/aws-models/neptune.json @@ -61,6 +61,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to associate the IAM role with.

", "smithy.api#required": {} } @@ -68,6 +69,7 @@ "RoleArn": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to associate with the Neptune DB cluster,\n for example arn:aws:iam::123456789012:role/NeptuneAccessRole.

", "smithy.api#required": {} } @@ -109,6 +111,7 @@ "SubscriptionName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the event notification subscription you want to add a source identifier\n to.

", "smithy.api#required": {} } @@ -116,6 +119,7 @@ "SourceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the event source to be added.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -165,6 +169,7 @@ "ResourceName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Neptune resource that the tags are added to. This value is an Amazon Resource\n Name (ARN). For information about creating an ARN, see Constructing an\n Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -172,6 +177,7 @@ "Tags": { "target": "com.amazonaws.neptune#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to be assigned to the Amazon Neptune resource.

", "smithy.api#required": {} } @@ -452,7 +458,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -495,7 +500,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -508,7 +514,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -522,7 +527,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -545,7 +549,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -580,7 +583,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -591,14 +593,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -612,14 +616,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -628,18 +630,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -648,7 +649,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -668,14 +670,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -689,7 +693,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -709,7 +712,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -720,14 +722,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -738,9 +742,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1482,6 +1488,7 @@ "ResourceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies\n to. For information about creating an ARN, see Constructing an\n Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -1489,6 +1496,7 @@ "ApplyAction": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The pending maintenance action to apply to this resource.

\n

Valid values: system-update, db-upgrade\n

", "smithy.api#required": {} } @@ -1496,6 +1504,7 @@ "OptInType": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in\n request of type immediate can't be undone.

\n

Valid values:

\n ", "smithy.api#required": {} } @@ -1578,10 +1587,7 @@ } }, "com.amazonaws.neptune#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.neptune#BooleanOptional": { "type": "boolean" @@ -1725,6 +1731,7 @@ "SourceDBClusterParameterGroupIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.\n For information about creating an ARN, see Constructing an\n Amazon Resource Name (ARN).

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -1732,6 +1739,7 @@ "TargetDBClusterParameterGroupIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copied DB cluster parameter group.

\n

Constraints:

\n \n

Example: my-cluster-param-group1\n

", "smithy.api#required": {} } @@ -1739,6 +1747,7 @@ "TargetDBClusterParameterGroupDescription": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the copied DB cluster parameter group.

", "smithy.api#required": {} } @@ -1803,6 +1812,7 @@ "SourceDBClusterSnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster snapshot to copy. This parameter is not\n case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster-snapshot1\n

", "smithy.api#required": {} } @@ -1810,6 +1820,7 @@ "TargetDBClusterSnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the new DB cluster snapshot to create from the source DB cluster\n snapshot. This parameter is not case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster-snapshot2\n

", "smithy.api#required": {} } @@ -1883,6 +1894,7 @@ "SourceDBParameterGroupIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier or ARN for the source DB parameter group. For information about creating\n an ARN, see Constructing an\n Amazon Resource Name (ARN).

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -1890,6 +1902,7 @@ "TargetDBParameterGroupIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copied DB parameter group.

\n

Constraints:

\n \n

Example: my-db-parameter-group\n

", "smithy.api#required": {} } @@ -1897,6 +1910,7 @@ "TargetDBParameterGroupDescription": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the copied DB parameter group.

", "smithy.api#required": {} } @@ -2026,6 +2040,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is\n stored as a lowercase string.

", "smithy.api#required": {} } @@ -2033,6 +2048,7 @@ "DBClusterEndpointIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier to use for the new endpoint. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -2040,6 +2056,7 @@ "EndpointType": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the endpoint. One of: READER, WRITER, ANY.

", "smithy.api#required": {} } @@ -2172,6 +2189,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -2197,6 +2215,7 @@ "Engine": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database engine to be used for this DB cluster.

\n

Valid Values: neptune\n

", "smithy.api#required": {} } @@ -2331,6 +2350,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group.

\n

Constraints:

\n \n \n

This value is stored as a lowercase string.

\n
", "smithy.api#required": {} } @@ -2338,6 +2358,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster parameter group family name. A DB cluster parameter group can be associated\n with one and only one DB cluster parameter group family, and can be applied only to a DB\n cluster running a database engine and engine version compatible with that DB cluster parameter\n group family.

", "smithy.api#required": {} } @@ -2345,6 +2366,7 @@ "Description": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB cluster parameter group.

", "smithy.api#required": {} } @@ -2417,6 +2439,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase\n string.

\n

Constraints:

\n \n

Example: my-cluster1-snapshot1\n

", "smithy.api#required": {} } @@ -2424,6 +2447,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster to create a snapshot for. This parameter is not\n case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -2530,6 +2554,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mydbinstance\n

", "smithy.api#required": {} } @@ -2543,6 +2568,7 @@ "DBInstanceClass": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The compute and memory capacity of the DB instance, for example, db.m4.large.\n Not all DB instance classes are available in all Amazon Regions.

", "smithy.api#required": {} } @@ -2550,6 +2576,7 @@ "Engine": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database engine to be used for this instance.

\n

Valid Values: neptune\n

", "smithy.api#required": {} } @@ -2678,6 +2705,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster that the instance will belong to.

\n

For information on creating a DB cluster, see CreateDBCluster.

\n

Type: String

", "smithy.api#required": {} } @@ -2826,6 +2854,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n \n \n

This value is stored as a lowercase string.

\n
", "smithy.api#required": {} } @@ -2833,6 +2862,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB parameter group family name. A DB parameter group can be associated with one and\n only one DB parameter group family, and can be applied only to a DB instance running a\n database engine and engine version compatible with that DB parameter group family.

", "smithy.api#required": {} } @@ -2840,6 +2870,7 @@ "Description": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB parameter group.

", "smithy.api#required": {} } @@ -2901,6 +2932,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the DB subnet group. This value is stored as a lowercase string.

\n

Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces,\n or hyphens. Must not be default.

\n

Example: mySubnetgroup\n

", "smithy.api#required": {} } @@ -2908,6 +2940,7 @@ "DBSubnetGroupDescription": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB subnet group.

", "smithy.api#required": {} } @@ -2915,6 +2948,7 @@ "SubnetIds": { "target": "com.amazonaws.neptune#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The EC2 Subnet IDs for the DB subnet group.

", "smithy.api#required": {} } @@ -2982,6 +3016,7 @@ "SubscriptionName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the subscription.

\n

Constraints: The name must be less than 255 characters.

", "smithy.api#required": {} } @@ -2989,6 +3024,7 @@ "SnsTopicArn": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is\n created by Amazon SNS when you create a topic and subscribe to it.

", "smithy.api#required": {} } @@ -3071,6 +3107,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.neptune#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the new global database cluster.

", "smithy.api#required": {} } @@ -3205,7 +3242,6 @@ "MultiAZ": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB cluster has instances in multiple Availability Zones.

" } }, @@ -3290,7 +3326,6 @@ "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB cluster is encrypted.

" } }, @@ -3321,7 +3356,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts\n is enabled, and otherwise false.

" } }, @@ -3585,7 +3619,6 @@ "IsClusterWriter": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Value that is true if the cluster member is the primary instance for the DB\n cluster and false otherwise.

" } }, @@ -3944,7 +3977,6 @@ "AllocatedStorage": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the allocated storage size in gibibytes (GiB).

" } }, @@ -3957,7 +3989,6 @@ "Port": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the DB cluster was listening on at the time of the\n snapshot.

" } }, @@ -4000,14 +4031,12 @@ "PercentProgress": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB cluster snapshot is encrypted.

" } }, @@ -4032,7 +4061,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts\n is enabled, and otherwise false.

" } } @@ -4225,21 +4253,18 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the engine version supports exporting the log types\n specified by ExportableLogTypes to CloudWatch Logs.

" } }, "SupportsReadReplica": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the database engine version supports read replicas.

" } }, "SupportsGlobalDatabases": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether you can use Aurora global databases with a specific DB engine version.

" } } @@ -4325,7 +4350,6 @@ "AllocatedStorage": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Not supported by Neptune.

" } }, @@ -4344,7 +4368,6 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days for which automatic DB snapshots are retained.

" } }, @@ -4399,7 +4422,6 @@ "MultiAZ": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the DB instance is a Multi-AZ deployment.

" } }, @@ -4412,7 +4434,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that minor version patches are applied automatically.

" } }, @@ -4467,7 +4488,6 @@ "PubliclyAccessible": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "

This flag should no longer be used.

" } @@ -4493,7 +4513,6 @@ "DbInstancePort": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the DB instance listens on. If the DB instance is part of a DB\n cluster, this can be a different port than the DB cluster port.

" } }, @@ -4506,7 +4525,6 @@ "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Not supported: The encryption for DB instances is managed by the DB cluster.

" } }, @@ -4537,7 +4555,6 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether tags are copied from the DB instance to snapshots of the DB\n instance.

" } }, @@ -4580,7 +4597,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise\n false.

" } }, @@ -4694,7 +4710,6 @@ "Normal": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that is true if the instance is operating normally, or false if the instance\n is in an error state.

" } }, @@ -5251,6 +5266,7 @@ "DBClusterEndpointIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -5335,6 +5351,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't\n case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -5342,7 +5359,6 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final DB cluster snapshot is created before the DB cluster is\n deleted. If true is specified, no DB cluster snapshot is created. If\n false is specified, a DB cluster snapshot is created before the DB cluster is\n deleted.

\n \n

You must specify a FinalDBSnapshotIdentifier parameter if\n SkipFinalSnapshot is false.

\n
\n

Default: false\n

" } }, @@ -5383,6 +5399,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -5429,6 +5446,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster snapshot to delete.

\n

Constraints: Must be the name of an existing DB cluster snapshot in the\n available state.

", "smithy.api#required": {} } @@ -5484,6 +5502,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier for the DB instance to be deleted. This parameter isn't\n case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -5491,7 +5510,6 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final DB snapshot is created before the DB instance is deleted. If\n true is specified, no DBSnapshot is created. If false is specified,\n a DB snapshot is created before the DB instance is deleted.

\n

Note that when a DB instance is in a failure state and has a status of 'failed',\n 'incompatible-restore', or 'incompatible-network', it can only be deleted when the\n SkipFinalSnapshot parameter is set to \"true\".

\n

Specify true when deleting a Read Replica.

\n \n

The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is\n false.

\n
\n

Default: false\n

" } }, @@ -5543,6 +5561,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -5581,6 +5600,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database subnet group to delete.

\n \n

You can't delete the default subnet group.

\n
\n

Constraints:

\n

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

\n

Example: mySubnetgroup\n

", "smithy.api#required": {} } @@ -5616,6 +5636,7 @@ "SubscriptionName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the event notification subscription you want to delete.

", "smithy.api#required": {} } @@ -5662,6 +5683,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.neptune#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the global database cluster being deleted.

", "smithy.api#required": {} } @@ -5827,6 +5849,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a specific DB cluster parameter group to return parameter details for.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -5883,6 +5906,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB cluster snapshot to describe the attributes for.

", "smithy.api#required": {} } @@ -5968,14 +5992,12 @@ "IncludeShared": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True to include shared manual DB cluster snapshots from other Amazon accounts that this Amazon\n account has been given permission to copy or restore, and otherwise false. The default is\n false.

\n

You can give an Amazon account permission to restore a manual DB cluster snapshot from\n another Amazon account by the ModifyDBClusterSnapshotAttribute API\n action.

" } }, "IncludePublic": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True to include manual DB cluster snapshots that are public and can be copied or restored\n by any Amazon account, and otherwise false. The default is false. The default is\n false.

\n

You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.

" } } @@ -6099,7 +6121,6 @@ "DefaultOnly": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that only the default version of the specified engine or engine and major\n version combination is returned.

" } }, @@ -6390,6 +6411,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a specific DB parameter group to return details for.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -6496,6 +6518,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group family to return engine parameter information\n for.

", "smithy.api#required": {} } @@ -6558,6 +6581,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group family.

", "smithy.api#required": {} } @@ -6836,6 +6860,7 @@ "Engine": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the engine to retrieve DB instance options for.

", "smithy.api#required": {} } @@ -6968,6 +6993,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The customer identifier or the ARN of your DB instance.

", "smithy.api#required": {} } @@ -7050,10 +7076,7 @@ } }, "com.amazonaws.neptune#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.neptune#DoubleOptional": { "type": "double" @@ -7064,14 +7087,12 @@ "From": { "target": "com.amazonaws.neptune#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value in the range.

" } }, "To": { "target": "com.amazonaws.neptune#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value in the range.

" } } @@ -7101,7 +7122,6 @@ "Port": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -7301,7 +7321,6 @@ "Enabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating if the subscription is enabled. True indicates the subscription\n is enabled.

" } }, @@ -7474,6 +7493,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.neptune#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifier of the Neptune global database that should be failed over.\n The identifier is the unique key assigned by the user when the Neptune \n global database was created. In other words, it's the name of the global\n database that you want to fail over.

\n

Constraints: Must match the identifier of an existing Neptune global\n database.

", "smithy.api#required": {} } @@ -7481,6 +7501,7 @@ "TargetDbClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the secondary Neptune DB cluster\n that you want to promote to primary for the global database.

", "smithy.api#required": {} } @@ -7507,6 +7528,7 @@ "Name": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This parameter is not currently supported.

", "smithy.api#required": {} } @@ -7514,6 +7536,7 @@ "Values": { "target": "com.amazonaws.neptune#FilterValueList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This parameter is not currently supported.

", "smithy.api#required": {} } @@ -7660,7 +7683,6 @@ "IsWriter": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Specifies whether the Neptune cluster is the primary cluster\n (that is, has read-write capability) for the Neptune global\n database with which it is associated.\n

" } } @@ -7819,10 +7841,7 @@ } }, "com.amazonaws.neptune#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.neptune#IntegerOptional": { "type": "integer" @@ -8162,6 +8181,7 @@ "ResourceName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Neptune resource with tags to be listed. This value is an Amazon Resource Name\n (ARN). For information about creating an ARN, see Constructing an\n Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -8265,6 +8285,7 @@ "DBClusterEndpointIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the endpoint to modify. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -8367,6 +8388,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier for the cluster being modified. This parameter is not\n case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -8380,7 +8402,6 @@ "ApplyImmediately": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the modifications in this request and any pending\n modifications are asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set\n to false, changes to the DB cluster are applied during the next maintenance\n window.

\n

The ApplyImmediately parameter only affects NewDBClusterIdentifier\n values. If you set the ApplyImmediately parameter value to false, then changes to\n NewDBClusterIdentifier values are applied during the next maintenance window.\n All other changes are applied immediately, regardless of the value of the\n ApplyImmediately parameter.

\n

Default: false\n

" } }, @@ -8453,7 +8474,6 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether upgrades between different major versions are allowed.

\n

Constraints: You must set the allow-major-version-upgrade flag when providing an\n EngineVersion parameter that uses a different major version than the DB cluster's current\n version.

" } }, @@ -8509,6 +8529,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group to modify.

", "smithy.api#required": {} } @@ -8516,6 +8537,7 @@ "Parameters": { "target": "com.amazonaws.neptune#ParametersList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of parameters in the DB cluster parameter group to modify.

", "smithy.api#required": {} } @@ -8565,6 +8587,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB cluster snapshot to modify the attributes for.

", "smithy.api#required": {} } @@ -8572,6 +8595,7 @@ "AttributeName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster snapshot attribute to modify.

\n

To manage authorization for other Amazon accounts to copy or restore a manual DB cluster\n snapshot, set this value to restore.

", "smithy.api#required": {} } @@ -8672,6 +8696,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier. This value is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -8709,7 +8734,6 @@ "ApplyImmediately": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the modifications in this request and any pending modifications are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the DB instance.

\n

If this parameter is set to false, changes to the DB instance are applied\n during the next maintenance window. Some parameter changes can cause an outage and are applied\n on the next call to RebootDBInstance, or the next\n failure reboot.

\n

Default: false\n

" } }, @@ -8758,7 +8782,6 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that major version upgrades are allowed. Changing this parameter doesn't result\n in an outage and the change is asynchronously applied as soon as possible.

" } }, @@ -8937,6 +8960,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -8944,6 +8968,7 @@ "Parameters": { "target": "com.amazonaws.neptune#ParametersList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of parameter names, values, and the apply method for the parameter update. At\n least one parameter name, value, and apply method must be supplied; subsequent arguments are\n optional. A maximum of 20 parameters can be modified in a single request.

\n

Valid Values (for the application method): immediate | pending-reboot\n

\n \n

You can use the immediate value with dynamic parameters only. You can use the\n pending-reboot value for both dynamic and static parameters, and changes are applied when\n you reboot the DB instance without failover.

\n
", "smithy.api#required": {} } @@ -8988,6 +9013,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the DB subnet group. This value is stored as a lowercase string. You can't\n modify the default subnet group.

\n

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

\n

Example: mySubnetgroup\n

", "smithy.api#required": {} } @@ -9001,6 +9027,7 @@ "SubnetIds": { "target": "com.amazonaws.neptune#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The EC2 subnet IDs for the DB subnet group.

", "smithy.api#required": {} } @@ -9059,6 +9086,7 @@ "SubscriptionName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the event notification subscription.

", "smithy.api#required": {} } @@ -9129,6 +9157,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.neptune#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier for the global cluster being modified. This parameter\n is not case-sensitive.

\n

Constraints: Must match the identifier of an existing global database cluster.

", "smithy.api#required": {} } @@ -9258,28 +9287,24 @@ "MultiAZCapable": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance is Multi-AZ capable.

" } }, "ReadReplicaCapable": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance can have a Read Replica.

" } }, "Vpc": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance is in a VPC.

" } }, "SupportsStorageEncryption": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports encrypted storage.

" } }, @@ -9292,28 +9317,24 @@ "SupportsIops": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports provisioned IOPS.

" } }, "SupportsEnhancedMonitoring": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60\n seconds.

" } }, "SupportsIAMDatabaseAuthentication": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports IAM database authentication.

" } }, "SupportsPerformanceInsights": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n (Not supported by Neptune)\n

" } }, @@ -9356,7 +9377,6 @@ "SupportsGlobalDatabases": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether you can use Neptune global databases with a specific combination of other DB engine attributes.

" } } @@ -9442,7 +9462,6 @@ "IsModifiable": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them from\n being changed.

" } }, @@ -9692,6 +9711,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Not supported.

", "smithy.api#required": {} } @@ -9738,14 +9758,12 @@ "From": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value in the range.

" } }, "To": { "target": "com.amazonaws.neptune#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value in the range.

" } }, @@ -9828,6 +9846,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -9883,6 +9902,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.neptune#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the Neptune global database from which to detach the\n specified Neptune DB cluster.

", "smithy.api#required": {} } @@ -9890,6 +9910,7 @@ "DbClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) identifying the cluster to be detached\n from the Neptune global database cluster.

", "smithy.api#required": {} } @@ -9939,6 +9960,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to disassociate the IAM role from.

", "smithy.api#required": {} } @@ -9946,6 +9968,7 @@ "RoleArn": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB cluster, for\n example arn:aws:iam::123456789012:role/NeptuneAccessRole.

", "smithy.api#required": {} } @@ -9987,6 +10010,7 @@ "SubscriptionName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the event notification subscription you want to remove a source identifier\n from.

", "smithy.api#required": {} } @@ -9994,6 +10018,7 @@ "SourceIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source identifier to be removed from the subscription, such as the DB instance identifier for a DB instance or the name of a security\n group.

", "smithy.api#required": {} } @@ -10043,6 +10068,7 @@ "ResourceName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Neptune resource that the tags are removed from. This value is an Amazon\n Resource Name (ARN). For information about creating an ARN, see Constructing an\n Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -10050,6 +10076,7 @@ "TagKeys": { "target": "com.amazonaws.neptune#KeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key (name) of the tag to be removed.

", "smithy.api#required": {} } @@ -10085,6 +10112,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group to reset.

", "smithy.api#required": {} } @@ -10092,7 +10120,6 @@ "ResetAllParameters": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to reset all parameters in the DB cluster\n parameter group to their default values, and false otherwise. You can't use this\n parameter if there is a list of parameter names specified for the Parameters\n parameter.

" } }, @@ -10133,6 +10160,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -10140,7 +10168,6 @@ "ResetAllParameters": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether (true) or not (false) to reset all parameters\n in the DB parameter group to default values.

\n

Default: true\n

" } }, @@ -10269,6 +10296,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to create from the DB snapshot or DB cluster snapshot. This\n parameter isn't case-sensitive.

\n

Constraints:

\n \n

Example: my-snapshot-id\n

", "smithy.api#required": {} } @@ -10276,6 +10304,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB snapshot or DB cluster snapshot to restore from.

\n

You can use either the name or the Amazon Resource Name (ARN) to specify a DB cluster\n snapshot. However, you can use only the ARN to specify a DB snapshot.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -10283,6 +10312,7 @@ "Engine": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine to use for the new DB cluster.

\n

Default: The same as source

\n

Constraint: Must be compatible with the engine of the source

", "smithy.api#required": {} } @@ -10455,6 +10485,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new DB cluster to be created.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -10468,6 +10499,7 @@ "SourceDBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the source DB cluster from which to restore.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -10481,7 +10513,6 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to restore the DB cluster to the latest\n restorable backup time, and false otherwise.

\n

Default: false\n

\n

Constraints: Cannot be specified if RestoreToTime parameter is\n provided.

" } }, @@ -10803,6 +10834,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the Neptune DB cluster to be started.\n This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -10852,6 +10884,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.neptune#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the Neptune DB cluster to be stopped.\n This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -11147,14 +11180,12 @@ "AutoUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the target version is applied to any source DB instances\n that have AutoMinorVersionUpgrade set to true.

" } }, "IsMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether a database engine is upgraded to a major version.

" } }, diff --git a/codegen/sdk-codegen/aws-models/network-firewall.json b/codegen/sdk-codegen/aws-models/network-firewall.json index 288cc7c81cc..94d09151061 100644 --- a/codegen/sdk-codegen/aws-models/network-firewall.json +++ b/codegen/sdk-codegen/aws-models/network-firewall.json @@ -3315,7 +3315,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3358,7 +3357,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3371,7 +3371,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3385,7 +3384,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3408,7 +3406,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3443,7 +3440,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3454,14 +3450,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3475,14 +3473,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3491,11 +3487,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3506,14 +3502,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3527,7 +3525,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3547,7 +3544,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3558,14 +3554,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3576,9 +3574,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4417,7 +4417,6 @@ "com.amazonaws.networkfirewall#Priority": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -5242,7 +5241,6 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

An integer setting that indicates the order in which to run the stateful rule groups in\n a single FirewallPolicy. This setting only applies to firewall policies\n that specify the STRICT_ORDER rule order in the stateful engine options settings.

\n

Network Firewall evalutes each stateful rule group\n against a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.

\n

You can change the priority settings of your rule groups at any time. To make it easier to\n insert rule groups later, number them so there's a wide range in between, for example use 100,\n 200, and so on.

" } }, @@ -5421,7 +5419,6 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the order in which to run this rule relative to all of the\n rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a\n rule group starting with the lowest priority setting. You must ensure that the priority\n settings are unique for the rule group.

\n

Each stateless rule group uses exactly one StatelessRulesAndCustomActions\n object, and each StatelessRulesAndCustomActions contains exactly one\n StatelessRules object. To ensure unique priority settings for your rule\n groups, set unique priorities for the stateless rules that you define inside any single\n StatelessRules object.

\n

You can change the priority settings of your rules at any time. To make it easier to\n insert rules later, number them so there's a wide range in between, for example use 100,\n 200, and so on.

", "smithy.api#required": {} } @@ -5444,7 +5441,6 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An integer setting that indicates the order in which to run the stateless rule groups in\n a single FirewallPolicy. Network Firewall applies each stateless rule group\n to a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/opensearch.json b/codegen/sdk-codegen/aws-models/opensearch.json index a7ee58074b0..14be9e022ba 100644 --- a/codegen/sdk-codegen/aws-models/opensearch.json +++ b/codegen/sdk-codegen/aws-models/opensearch.json @@ -5826,7 +5826,6 @@ "Value": { "target": "com.amazonaws.opensearch#DurationValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration.

" } }, @@ -5844,7 +5843,6 @@ "com.amazonaws.opensearch#DurationValue": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Integer that specifies the value of a maintenance schedule duration.

", "smithy.api#range": { "min": 1, @@ -6641,7 +6639,6 @@ "com.amazonaws.opensearch#InstanceCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Number of instances in an OpenSearch Service cluster.

", "smithy.api#range": { "min": 1 @@ -9477,7 +9474,6 @@ "InstanceCount": { "target": "com.amazonaws.opensearch#InstanceCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of OpenSearch instances to reserve.

" } } diff --git a/codegen/sdk-codegen/aws-models/outposts.json b/codegen/sdk-codegen/aws-models/outposts.json index 7b46dba588c..c30d8f5de10 100644 --- a/codegen/sdk-codegen/aws-models/outposts.json +++ b/codegen/sdk-codegen/aws-models/outposts.json @@ -1746,7 +1746,6 @@ "Quantity": { "target": "com.amazonaws.outposts#LineItemQuantity", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The quantity of the line item.

" } }, @@ -1826,7 +1825,6 @@ "com.amazonaws.outposts#LineItemQuantity": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -1845,7 +1843,6 @@ "Quantity": { "target": "com.amazonaws.outposts#LineItemQuantity", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The quantity of a line item request.

" } } @@ -3084,7 +3081,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3127,7 +3123,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3140,7 +3137,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3154,7 +3150,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3177,7 +3172,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3212,7 +3206,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3223,14 +3216,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3244,14 +3239,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3260,18 +3253,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -3280,7 +3272,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -3300,14 +3293,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3321,7 +3316,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3341,7 +3335,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3352,14 +3345,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3370,9 +3365,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/personalize-runtime.json b/codegen/sdk-codegen/aws-models/personalize-runtime.json index 57e5370694c..4c8846c3dbf 100644 --- a/codegen/sdk-codegen/aws-models/personalize-runtime.json +++ b/codegen/sdk-codegen/aws-models/personalize-runtime.json @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -139,7 +138,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -152,7 +152,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -166,7 +165,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -189,7 +187,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -224,7 +221,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -235,14 +231,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -256,14 +254,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -272,11 +268,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -287,14 +283,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -308,7 +306,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -328,7 +325,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -339,14 +335,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -357,9 +355,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1025,7 +1025,6 @@ "com.amazonaws.personalizeruntime#PercentPromotedItems": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1070,7 +1069,6 @@ "percentPromotedItems": { "target": "com.amazonaws.personalizeruntime#PercentPromotedItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of recommended items to apply the promotion to.

" } }, diff --git a/codegen/sdk-codegen/aws-models/pinpoint.json b/codegen/sdk-codegen/aws-models/pinpoint.json index 5456bf8d792..47fec08e4bd 100644 --- a/codegen/sdk-codegen/aws-models/pinpoint.json +++ b/codegen/sdk-codegen/aws-models/pinpoint.json @@ -35,6 +35,7 @@ "ClientId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Client ID that you received from Amazon to send messages by using ADM.

", "smithy.api#required": {} } @@ -42,6 +43,7 @@ "ClientSecret": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Client Secret that you received from Amazon to send messages by using ADM.

", "smithy.api#required": {} } @@ -111,6 +113,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the ADM channel, this value is ADM.

", "smithy.api#required": {} } @@ -352,6 +355,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the APNs channel, this value is APNS.

", "smithy.api#required": {} } @@ -655,6 +659,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the APNs sandbox channel, this value is APNS_SANDBOX.

", "smithy.api#required": {} } @@ -792,6 +797,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the APNs VoIP channel, this value is APNS_VOIP.

", "smithy.api#required": {} } @@ -929,6 +935,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the APNs VoIP sandbox channel, this value is APNS_VOIP_SANDBOX.

", "smithy.api#required": {} } @@ -973,6 +980,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfActivityResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each activity that was performed by the campaign.

", "smithy.api#required": {} } @@ -1068,6 +1076,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the campaign applies to.

", "smithy.api#required": {} } @@ -1075,6 +1084,7 @@ "CampaignId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the campaign that the activity applies to.

", "smithy.api#required": {} } @@ -1088,6 +1098,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the activity.

", "smithy.api#required": {} } @@ -1292,6 +1303,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -1299,6 +1311,7 @@ "EndTime": { "target": "com.amazonaws.pinpoint#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

", "smithy.api#required": {} } @@ -1306,6 +1319,7 @@ "KpiName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -1313,6 +1327,7 @@ "KpiResult": { "target": "com.amazonaws.pinpoint#BaseKpiResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

", "smithy.api#required": {} } @@ -1326,6 +1341,7 @@ "StartTime": { "target": "com.amazonaws.pinpoint#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

", "smithy.api#required": {} } @@ -1341,6 +1357,7 @@ "Arn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the application.

", "smithy.api#required": {} } @@ -1348,6 +1365,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

", "smithy.api#required": {} } @@ -1355,6 +1373,7 @@ "Name": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.

", "smithy.api#required": {} } @@ -1409,6 +1428,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

", "smithy.api#required": {} } @@ -1480,6 +1500,7 @@ "Values": { "target": "com.amazonaws.pinpoint#ListOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria values to use for the segment dimension. Depending on the value of the AttributeType property, endpoints are included or excluded from the segment if their attribute values match the criteria values.

", "smithy.api#required": {} } @@ -1542,6 +1563,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application.

", "smithy.api#required": {} } @@ -1549,6 +1571,7 @@ "AttributeType": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of attribute or attributes that were removed from the endpoints. Valid values are:

", "smithy.api#required": {} } @@ -1592,6 +1615,7 @@ "ApiKey": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API key that you received from the Baidu Cloud Push service to communicate with the service.

", "smithy.api#required": {} } @@ -1605,6 +1629,7 @@ "SecretKey": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The secret key that you received from the Baidu Cloud Push service to communicate with the service.

", "smithy.api#required": {} } @@ -1632,6 +1657,7 @@ "Credential": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The API key that you received from the Baidu Cloud Push service to communicate with the service.

", "smithy.api#required": {} } @@ -1675,6 +1701,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.

", "smithy.api#required": {} } @@ -1788,6 +1815,7 @@ "Rows": { "target": "com.amazonaws.pinpoint#ListOfResultRow", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application, campaign, or journey.

", "smithy.api#required": {} } @@ -1840,6 +1868,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -1847,6 +1876,7 @@ "CampaignId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the campaign that the metric applies to.

", "smithy.api#required": {} } @@ -1854,6 +1884,7 @@ "EndTime": { "target": "com.amazonaws.pinpoint#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

", "smithy.api#required": {} } @@ -1861,6 +1892,7 @@ "KpiName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -1868,6 +1900,7 @@ "KpiResult": { "target": "com.amazonaws.pinpoint#BaseKpiResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

", "smithy.api#required": {} } @@ -1881,6 +1914,7 @@ "StartTime": { "target": "com.amazonaws.pinpoint#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

", "smithy.api#required": {} } @@ -1928,6 +1962,7 @@ "Dimensions": { "target": "com.amazonaws.pinpoint#EventDimensions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The dimension settings of the event filter for the campaign.

", "smithy.api#required": {} } @@ -1935,6 +1970,7 @@ "FilterType": { "target": "com.amazonaws.pinpoint#FilterType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of event that causes the campaign to be sent. Valid values are: SYSTEM, sends the campaign when a system event occurs; and, ENDPOINT, sends the campaign when an endpoint event (Events resource) occurs.

", "smithy.api#required": {} } @@ -2052,6 +2088,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the campaign applies to.

", "smithy.api#required": {} } @@ -2059,6 +2096,7 @@ "Arn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the campaign.

", "smithy.api#required": {} } @@ -2066,6 +2104,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the campaign was created.

", "smithy.api#required": {} } @@ -2103,6 +2142,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the campaign.

", "smithy.api#required": {} } @@ -2116,6 +2156,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the campaign was last modified.

", "smithy.api#required": {} } @@ -2147,6 +2188,7 @@ "SegmentId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the segment that's associated with the campaign.

", "smithy.api#required": {} } @@ -2154,6 +2196,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version number of the segment that's associated with the campaign.

", "smithy.api#required": {} } @@ -2317,6 +2360,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfCampaignResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each campaign that's associated with the application.

", "smithy.api#required": {} } @@ -2483,6 +2527,7 @@ "Channels": { "target": "com.amazonaws.pinpoint#MapOfChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A map that contains a multipart response for each channel. For each item in this object, the ChannelType is the key and the Channel is the value.

", "smithy.api#required": {} } @@ -2687,6 +2732,7 @@ "CreateApplicationRequest": { "target": "com.amazonaws.pinpoint#CreateApplicationRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2702,6 +2748,7 @@ "ApplicationResponse": { "target": "com.amazonaws.pinpoint#ApplicationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2717,6 +2764,7 @@ "Name": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.

", "smithy.api#required": {} } @@ -2787,6 +2835,7 @@ "WriteCampaignRequest": { "target": "com.amazonaws.pinpoint#WriteCampaignRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2802,6 +2851,7 @@ "CampaignResponse": { "target": "com.amazonaws.pinpoint#CampaignResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2851,6 +2901,7 @@ "EmailTemplateRequest": { "target": "com.amazonaws.pinpoint#EmailTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2874,6 +2925,7 @@ "CreateTemplateMessageBody": { "target": "com.amazonaws.pinpoint#CreateTemplateMessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2937,6 +2989,7 @@ "ExportJobRequest": { "target": "com.amazonaws.pinpoint#ExportJobRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -2952,6 +3005,7 @@ "ExportJobResponse": { "target": "com.amazonaws.pinpoint#ExportJobResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3015,6 +3069,7 @@ "ImportJobRequest": { "target": "com.amazonaws.pinpoint#ImportJobRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3030,6 +3085,7 @@ "ImportJobResponse": { "target": "com.amazonaws.pinpoint#ImportJobResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3079,6 +3135,7 @@ "InAppTemplateRequest": { "target": "com.amazonaws.pinpoint#InAppTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3102,6 +3159,7 @@ "TemplateCreateMessageBody": { "target": "com.amazonaws.pinpoint#TemplateCreateMessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3165,6 +3223,7 @@ "WriteJourneyRequest": { "target": "com.amazonaws.pinpoint#WriteJourneyRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3180,6 +3239,7 @@ "JourneyResponse": { "target": "com.amazonaws.pinpoint#JourneyResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3229,6 +3289,7 @@ "PushNotificationTemplateRequest": { "target": "com.amazonaws.pinpoint#PushNotificationTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3252,6 +3313,7 @@ "CreateTemplateMessageBody": { "target": "com.amazonaws.pinpoint#CreateTemplateMessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3307,6 +3369,7 @@ "CreateRecommenderConfiguration": { "target": "com.amazonaws.pinpoint#CreateRecommenderConfigurationShape", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3322,6 +3385,7 @@ "RecommenderConfigurationResponse": { "target": "com.amazonaws.pinpoint#RecommenderConfigurationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3361,6 +3425,7 @@ "RecommendationProviderRoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.

", "smithy.api#required": {} } @@ -3368,6 +3433,7 @@ "RecommendationProviderUri": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.

", "smithy.api#required": {} } @@ -3449,6 +3515,7 @@ "WriteSegmentRequest": { "target": "com.amazonaws.pinpoint#WriteSegmentRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3464,6 +3531,7 @@ "SegmentResponse": { "target": "com.amazonaws.pinpoint#SegmentResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3513,6 +3581,7 @@ "SMSTemplateRequest": { "target": "com.amazonaws.pinpoint#SMSTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3536,6 +3605,7 @@ "CreateTemplateMessageBody": { "target": "com.amazonaws.pinpoint#CreateTemplateMessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3619,6 +3689,7 @@ "VoiceTemplateRequest": { "target": "com.amazonaws.pinpoint#VoiceTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3634,6 +3705,7 @@ "CreateTemplateMessageBody": { "target": "com.amazonaws.pinpoint#CreateTemplateMessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -3649,6 +3721,7 @@ "DeliveryUri": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The destination to send the campaign or treatment to. This value can be one of the following:

", "smithy.api#required": {} } @@ -3773,6 +3846,7 @@ "ButtonAction": { "target": "com.amazonaws.pinpoint#ButtonAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Action triggered by the button.

", "smithy.api#required": {} } @@ -3786,6 +3860,7 @@ "Text": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Button text.

", "smithy.api#required": {} } @@ -3971,6 +4046,7 @@ "ADMChannelResponse": { "target": "com.amazonaws.pinpoint#ADMChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4042,6 +4118,7 @@ "APNSChannelResponse": { "target": "com.amazonaws.pinpoint#APNSChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4113,6 +4190,7 @@ "APNSSandboxChannelResponse": { "target": "com.amazonaws.pinpoint#APNSSandboxChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4184,6 +4262,7 @@ "APNSVoipChannelResponse": { "target": "com.amazonaws.pinpoint#APNSVoipChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4255,6 +4334,7 @@ "APNSVoipSandboxChannelResponse": { "target": "com.amazonaws.pinpoint#APNSVoipSandboxChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4326,6 +4406,7 @@ "ApplicationResponse": { "target": "com.amazonaws.pinpoint#ApplicationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4397,6 +4478,7 @@ "BaiduChannelResponse": { "target": "com.amazonaws.pinpoint#BaiduChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4476,6 +4558,7 @@ "CampaignResponse": { "target": "com.amazonaws.pinpoint#CampaignResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4547,6 +4630,7 @@ "EmailChannelResponse": { "target": "com.amazonaws.pinpoint#EmailChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4625,6 +4709,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4704,6 +4789,7 @@ "EndpointResponse": { "target": "com.amazonaws.pinpoint#EndpointResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4775,6 +4861,7 @@ "EventStream": { "target": "com.amazonaws.pinpoint#EventStream", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4846,6 +4933,7 @@ "GCMChannelResponse": { "target": "com.amazonaws.pinpoint#GCMChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -4924,6 +5012,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5003,6 +5092,7 @@ "JourneyResponse": { "target": "com.amazonaws.pinpoint#JourneyResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5081,6 +5171,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5152,6 +5243,7 @@ "RecommenderConfigurationResponse": { "target": "com.amazonaws.pinpoint#RecommenderConfigurationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5231,6 +5323,7 @@ "SegmentResponse": { "target": "com.amazonaws.pinpoint#SegmentResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5302,6 +5395,7 @@ "SMSChannelResponse": { "target": "com.amazonaws.pinpoint#SMSChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5380,6 +5474,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5459,6 +5554,7 @@ "EndpointsResponse": { "target": "com.amazonaws.pinpoint#EndpointsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5530,6 +5626,7 @@ "VoiceChannelResponse": { "target": "com.amazonaws.pinpoint#VoiceChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5608,6 +5705,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -5790,6 +5888,7 @@ "FromAddress": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The verified email address that you want to send email from when you send email through the channel.

", "smithy.api#required": {} } @@ -5797,6 +5896,7 @@ "Identity": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.

", "smithy.api#required": {} } @@ -5890,6 +5990,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the email channel, this value is EMAIL.

", "smithy.api#required": {} } @@ -6056,6 +6157,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was created.

", "smithy.api#required": {} } @@ -6075,6 +6177,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was last modified.

", "smithy.api#required": {} } @@ -6107,6 +6210,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the message template.

", "smithy.api#required": {} } @@ -6114,6 +6218,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#TemplateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of channel that the message template is designed for. For an email template, this value is EMAIL.

", "smithy.api#required": {} } @@ -6221,6 +6326,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfEndpointBatchItem", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array that defines the endpoints to create or update and, for each endpoint, the property values to set or change. An array can contain a maximum of 100 items.

", "smithy.api#required": {} } @@ -6362,6 +6468,7 @@ "DeliveryStatus": { "target": "com.amazonaws.pinpoint#DeliveryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The delivery status of the message. Possible values are:

", "smithy.api#required": {} } @@ -6375,6 +6482,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The downstream service status code for delivering the message.

", "smithy.api#required": {} } @@ -6632,6 +6740,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfEndpointResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each endpoint that's associated with the user ID.

", "smithy.api#required": {} } @@ -6677,6 +6786,7 @@ "EventType": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the event.

", "smithy.api#required": {} } @@ -6702,6 +6812,7 @@ "Timestamp": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time, in ISO 8601 format, when the event occurred.

", "smithy.api#required": {} } @@ -6763,6 +6874,7 @@ "Dimensions": { "target": "com.amazonaws.pinpoint#EventDimensions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The dimensions for the event filter to use for the campaign or the journey activity.

", "smithy.api#required": {} } @@ -6770,6 +6882,7 @@ "FilterType": { "target": "com.amazonaws.pinpoint#FilterType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of event that causes the campaign to be sent or the journey activity to be performed. Valid values are: SYSTEM, sends the campaign or performs the activity when a system event occurs; and, ENDPOINT, sends the campaign or performs the activity when an endpoint event (Events resource) occurs.

", "smithy.api#required": {} } @@ -6819,6 +6932,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application to publish event data for.

", "smithy.api#required": {} } @@ -6826,6 +6940,7 @@ "DestinationStreamArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream to publish event data to.

For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name\n

For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name\n

", "smithy.api#required": {} } @@ -6851,6 +6966,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.

", "smithy.api#required": {} } @@ -6866,6 +6982,7 @@ "Endpoint": { "target": "com.amazonaws.pinpoint#PublicEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A set of properties and attributes that are associated with the endpoint.

", "smithy.api#required": {} } @@ -6873,6 +6990,7 @@ "Events": { "target": "com.amazonaws.pinpoint#MapOfEvent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A set of properties that are associated with the event.

", "smithy.api#required": {} } @@ -6888,6 +7006,7 @@ "BatchItem": { "target": "com.amazonaws.pinpoint#MapOfEventsBatch", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The batch of events to process. For each item in a batch, the endpoint ID acts as a key that has an EventsBatch object as its value.

", "smithy.api#required": {} } @@ -6917,6 +7036,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location where you want to export endpoint definitions to.

", "smithy.api#required": {} } @@ -6924,6 +7044,7 @@ "S3UrlPrefix": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where you want to export endpoint definitions to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/.

", "smithy.api#required": {} } @@ -6951,6 +7072,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.

", "smithy.api#required": {} } @@ -6958,6 +7080,7 @@ "S3UrlPrefix": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions were exported to. This location is typically a folder that contains multiple files. The URL should be in the following format: s3://bucket-name/folder-name/.

", "smithy.api#required": {} } @@ -6985,6 +7108,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that's associated with the export job.

", "smithy.api#required": {} } @@ -7004,6 +7128,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the export job was created.

", "smithy.api#required": {} } @@ -7011,6 +7136,7 @@ "Definition": { "target": "com.amazonaws.pinpoint#ExportJobResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource settings that apply to the export job.

", "smithy.api#required": {} } @@ -7030,6 +7156,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the export job.

", "smithy.api#required": {} } @@ -7037,6 +7164,7 @@ "JobStatus": { "target": "com.amazonaws.pinpoint#JobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the export job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

", "smithy.api#required": {} } @@ -7062,6 +7190,7 @@ "Type": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job type. This value is EXPORT for export jobs.

", "smithy.api#required": {} } @@ -7077,6 +7206,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfExportJobResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each export job that's associated with the application (Export Jobs resource) or segment (Segment Export Jobs resource).

", "smithy.api#required": {} } @@ -7299,6 +7429,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.

", "smithy.api#required": {} } @@ -7436,6 +7567,7 @@ "Latitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The latitude coordinate of the location.

", "smithy.api#required": {} } @@ -7443,6 +7575,7 @@ "Longitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The longitude coordinate of the location.

", "smithy.api#required": {} } @@ -7458,6 +7591,7 @@ "Coordinates": { "target": "com.amazonaws.pinpoint#GPSCoordinates", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The GPS coordinates to measure distance from.

", "smithy.api#required": {} } @@ -7535,6 +7669,7 @@ "ADMChannelResponse": { "target": "com.amazonaws.pinpoint#ADMChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7606,6 +7741,7 @@ "APNSChannelResponse": { "target": "com.amazonaws.pinpoint#APNSChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7677,6 +7813,7 @@ "APNSSandboxChannelResponse": { "target": "com.amazonaws.pinpoint#APNSSandboxChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7748,6 +7885,7 @@ "APNSVoipChannelResponse": { "target": "com.amazonaws.pinpoint#APNSVoipChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7819,6 +7957,7 @@ "APNSVoipSandboxChannelResponse": { "target": "com.amazonaws.pinpoint#APNSVoipSandboxChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7890,6 +8029,7 @@ "ApplicationResponse": { "target": "com.amazonaws.pinpoint#ApplicationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -7997,6 +8137,7 @@ "ApplicationDateRangeKpiResponse": { "target": "com.amazonaws.pinpoint#ApplicationDateRangeKpiResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8068,6 +8209,7 @@ "ApplicationSettingsResource": { "target": "com.amazonaws.pinpoint#ApplicationSettingsResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8145,6 +8287,7 @@ "ApplicationsResponse": { "target": "com.amazonaws.pinpoint#ApplicationsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8216,6 +8359,7 @@ "BaiduChannelResponse": { "target": "com.amazonaws.pinpoint#BaiduChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8349,6 +8493,7 @@ "ActivitiesResponse": { "target": "com.amazonaws.pinpoint#ActivitiesResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8464,6 +8609,7 @@ "CampaignDateRangeKpiResponse": { "target": "com.amazonaws.pinpoint#CampaignDateRangeKpiResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8503,6 +8649,7 @@ "CampaignResponse": { "target": "com.amazonaws.pinpoint#CampaignResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8590,6 +8737,7 @@ "CampaignResponse": { "target": "com.amazonaws.pinpoint#CampaignResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8683,6 +8831,7 @@ "CampaignsResponse": { "target": "com.amazonaws.pinpoint#CampaignsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8768,6 +8917,7 @@ "CampaignsResponse": { "target": "com.amazonaws.pinpoint#CampaignsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8839,6 +8989,7 @@ "ChannelsResponse": { "target": "com.amazonaws.pinpoint#ChannelsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8910,6 +9061,7 @@ "EmailChannelResponse": { "target": "com.amazonaws.pinpoint#EmailChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -8988,6 +9140,7 @@ "EmailTemplateResponse": { "target": "com.amazonaws.pinpoint#EmailTemplateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9067,6 +9220,7 @@ "EndpointResponse": { "target": "com.amazonaws.pinpoint#EndpointResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9138,6 +9292,7 @@ "EventStream": { "target": "com.amazonaws.pinpoint#EventStream", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9217,6 +9372,7 @@ "ExportJobResponse": { "target": "com.amazonaws.pinpoint#ExportJobResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9302,6 +9458,7 @@ "ExportJobsResponse": { "target": "com.amazonaws.pinpoint#ExportJobsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9373,6 +9530,7 @@ "GCMChannelResponse": { "target": "com.amazonaws.pinpoint#GCMChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9452,6 +9610,7 @@ "ImportJobResponse": { "target": "com.amazonaws.pinpoint#ImportJobResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9537,6 +9696,7 @@ "ImportJobsResponse": { "target": "com.amazonaws.pinpoint#ImportJobsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9616,6 +9776,7 @@ "InAppMessagesResponse": { "target": "com.amazonaws.pinpoint#InAppMessagesResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9694,6 +9855,7 @@ "InAppTemplateResponse": { "target": "com.amazonaws.pinpoint#InAppTemplateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9849,6 +10011,7 @@ "JourneyDateRangeKpiResponse": { "target": "com.amazonaws.pinpoint#JourneyDateRangeKpiResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -9950,6 +10113,7 @@ "JourneyExecutionActivityMetricsResponse": { "target": "com.amazonaws.pinpoint#JourneyExecutionActivityMetricsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10043,6 +10207,7 @@ "JourneyExecutionMetricsResponse": { "target": "com.amazonaws.pinpoint#JourneyExecutionMetricsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10082,6 +10247,7 @@ "JourneyResponse": { "target": "com.amazonaws.pinpoint#JourneyResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10216,6 +10382,7 @@ "JourneyRunExecutionActivityMetricsResponse": { "target": "com.amazonaws.pinpoint#JourneyRunExecutionActivityMetricsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10341,6 +10508,7 @@ "JourneyRunExecutionMetricsResponse": { "target": "com.amazonaws.pinpoint#JourneyRunExecutionMetricsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10462,6 +10630,7 @@ "JourneyRunsResponse": { "target": "com.amazonaws.pinpoint#JourneyRunsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10540,6 +10709,7 @@ "PushNotificationTemplateResponse": { "target": "com.amazonaws.pinpoint#PushNotificationTemplateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10611,6 +10781,7 @@ "RecommenderConfigurationResponse": { "target": "com.amazonaws.pinpoint#RecommenderConfigurationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10688,6 +10859,7 @@ "ListRecommenderConfigurationsResponse": { "target": "com.amazonaws.pinpoint#ListRecommenderConfigurationsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10821,6 +10993,7 @@ "ExportJobsResponse": { "target": "com.amazonaws.pinpoint#ExportJobsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10914,6 +11087,7 @@ "ImportJobsResponse": { "target": "com.amazonaws.pinpoint#ImportJobsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -10953,6 +11127,7 @@ "SegmentResponse": { "target": "com.amazonaws.pinpoint#SegmentResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11040,6 +11215,7 @@ "SegmentResponse": { "target": "com.amazonaws.pinpoint#SegmentResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11133,6 +11309,7 @@ "SegmentsResponse": { "target": "com.amazonaws.pinpoint#SegmentsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11218,6 +11395,7 @@ "SegmentsResponse": { "target": "com.amazonaws.pinpoint#SegmentsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11289,6 +11467,7 @@ "SMSChannelResponse": { "target": "com.amazonaws.pinpoint#SMSChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11367,6 +11546,7 @@ "SMSTemplateResponse": { "target": "com.amazonaws.pinpoint#SMSTemplateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11446,6 +11626,7 @@ "EndpointsResponse": { "target": "com.amazonaws.pinpoint#EndpointsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11517,6 +11698,7 @@ "VoiceChannelResponse": { "target": "com.amazonaws.pinpoint#VoiceChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11595,6 +11777,7 @@ "VoiceTemplateResponse": { "target": "com.amazonaws.pinpoint#VoiceTemplateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -11616,6 +11799,7 @@ "Percentage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The percentage of participants who shouldn't continue the journey.

To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.

", "smithy.api#required": {} } @@ -11643,6 +11827,7 @@ "Format": { "target": "com.amazonaws.pinpoint#Format", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.

", "smithy.api#required": {} } @@ -11656,6 +11841,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.

", "smithy.api#required": {} } @@ -11663,6 +11849,7 @@ "S3Url": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.

The URL should be in the following format: s3://bucket-name/folder-name/file-name. The location can end with the key for an individual object or a prefix that qualifies multiple objects.

", "smithy.api#required": {} } @@ -11702,6 +11889,7 @@ "Format": { "target": "com.amazonaws.pinpoint#Format", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

If the files are stored in an Amazon S3 location and that location contains multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.

", "smithy.api#required": {} } @@ -11715,6 +11903,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.

", "smithy.api#required": {} } @@ -11722,6 +11911,7 @@ "S3Url": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.

The URL should be in the following format: s3://bucket-name/folder-name/file-name. The location can end with the key for an individual object or a prefix that qualifies multiple objects.

", "smithy.api#required": {} } @@ -11749,6 +11939,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that's associated with the import job.

", "smithy.api#required": {} } @@ -11768,6 +11959,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the import job was created.

", "smithy.api#required": {} } @@ -11775,6 +11967,7 @@ "Definition": { "target": "com.amazonaws.pinpoint#ImportJobResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource settings that apply to the import job.

", "smithy.api#required": {} } @@ -11794,6 +11987,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the import job.

", "smithy.api#required": {} } @@ -11801,6 +11995,7 @@ "JobStatus": { "target": "com.amazonaws.pinpoint#JobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

", "smithy.api#required": {} } @@ -11826,6 +12021,7 @@ "Type": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job type. This value is IMPORT for import jobs.

", "smithy.api#required": {} } @@ -11841,6 +12037,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfImportJobResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each import job that's associated with the application (Import Jobs resource) or segment (Segment Import Jobs resource).

", "smithy.api#required": {} } @@ -11914,6 +12111,7 @@ "Alignment": { "target": "com.amazonaws.pinpoint#Alignment", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The alignment of the text. Valid values: LEFT, CENTER, RIGHT.

", "smithy.api#required": {} } @@ -11921,6 +12119,7 @@ "Body": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Message Body.

", "smithy.api#required": {} } @@ -11928,6 +12127,7 @@ "TextColor": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The text color.

", "smithy.api#required": {} } @@ -12075,6 +12275,7 @@ "Alignment": { "target": "com.amazonaws.pinpoint#Alignment", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The alignment of the text. Valid values: LEFT, CENTER, RIGHT.

", "smithy.api#required": {} } @@ -12082,6 +12283,7 @@ "Header": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Message Header.

", "smithy.api#required": {} } @@ -12089,6 +12291,7 @@ "TextColor": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The text color.

", "smithy.api#required": {} } @@ -12169,6 +12372,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation date of the template.

", "smithy.api#required": {} } @@ -12182,6 +12386,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last modified date of the template.

", "smithy.api#required": {} } @@ -12208,6 +12413,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the template.

", "smithy.api#required": {} } @@ -12215,6 +12421,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#TemplateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the template.

", "smithy.api#required": {} } @@ -12394,6 +12601,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -12401,6 +12609,7 @@ "EndTime": { "target": "com.amazonaws.pinpoint#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

", "smithy.api#required": {} } @@ -12408,6 +12617,7 @@ "JourneyId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey that the metric applies to.

", "smithy.api#required": {} } @@ -12415,6 +12625,7 @@ "KpiName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of possible values, see the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -12422,6 +12633,7 @@ "KpiResult": { "target": "com.amazonaws.pinpoint#BaseKpiResult", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

", "smithy.api#required": {} } @@ -12435,6 +12647,7 @@ "StartTime": { "target": "com.amazonaws.pinpoint#__timestampIso8601", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The first date and time of the date range that was used to filter the query results, in extended ISO 8601 format. The date range is inclusive.

", "smithy.api#required": {} } @@ -12464,6 +12677,7 @@ "ActivityType": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of activity that the metric applies to. Possible values are:

", "smithy.api#required": {} } @@ -12471,6 +12685,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -12478,6 +12693,7 @@ "JourneyActivityId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the activity that the metric applies to.

", "smithy.api#required": {} } @@ -12485,6 +12701,7 @@ "JourneyId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey that the metric applies to.

", "smithy.api#required": {} } @@ -12492,6 +12709,7 @@ "LastEvaluatedTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity and updated the data for the metric.

", "smithy.api#required": {} } @@ -12499,6 +12717,7 @@ "Metrics": { "target": "com.amazonaws.pinpoint#MapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON object that contains the results of the query. The results vary depending on the type of activity (ActivityType). For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -12514,6 +12733,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -12521,6 +12741,7 @@ "JourneyId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey that the metric applies to.

", "smithy.api#required": {} } @@ -12528,6 +12749,7 @@ "LastEvaluatedTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey and updated the data for the metric.

", "smithy.api#required": {} } @@ -12535,6 +12757,7 @@ "Metrics": { "target": "com.amazonaws.pinpoint#MapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON object that contains the results of the query. For information about the structure and contents of the results, see the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -12614,6 +12837,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the journey applies to.

", "smithy.api#required": {} } @@ -12627,6 +12851,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey.

", "smithy.api#required": {} } @@ -12652,6 +12877,7 @@ "Name": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the journey.

", "smithy.api#required": {} } @@ -12752,6 +12978,7 @@ "ActivityType": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of activity that the metric applies to. Possible values are:

", "smithy.api#required": {} } @@ -12759,6 +12986,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -12766,6 +12994,7 @@ "JourneyActivityId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the activity that the metric applies to.

", "smithy.api#required": {} } @@ -12773,6 +13002,7 @@ "JourneyId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey that the metric applies to.

", "smithy.api#required": {} } @@ -12780,6 +13010,7 @@ "LastEvaluatedTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the execution status of the activity for this journey run and updated the data for the metric.

", "smithy.api#required": {} } @@ -12787,6 +13018,7 @@ "Metrics": { "target": "com.amazonaws.pinpoint#MapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON object that contains the results of the query. For information about the structure and contents of the results, see see Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -12794,6 +13026,7 @@ "RunId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey run that the metric applies to.

", "smithy.api#required": {} } @@ -12809,6 +13042,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the metric applies to.

", "smithy.api#required": {} } @@ -12816,6 +13050,7 @@ "JourneyId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey that the metric applies to.

", "smithy.api#required": {} } @@ -12823,6 +13058,7 @@ "LastEvaluatedTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time, in ISO 8601 format, when Amazon Pinpoint last evaluated the journey run and updated the data for the metric.

", "smithy.api#required": {} } @@ -12830,6 +13066,7 @@ "Metrics": { "target": "com.amazonaws.pinpoint#MapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON object that contains the results of the query. For information about the structure and contents of the results, see the Standard Amazon Pinpoint analytics metrics in the Amazon Pinpoint Developer Guide.

", "smithy.api#required": {} } @@ -12837,6 +13074,7 @@ "RunId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the journey run that the metric applies to.

", "smithy.api#required": {} } @@ -12852,6 +13090,7 @@ "CreationTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time when the journey run was created or scheduled, in ISO 8601 format.

", "smithy.api#required": {} } @@ -12859,6 +13098,7 @@ "LastUpdateTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last time the journey run was updated, in ISO 8601 format..

", "smithy.api#required": {} } @@ -12866,6 +13106,7 @@ "RunId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the run.

", "smithy.api#required": {} } @@ -12873,6 +13114,7 @@ "Status": { "target": "com.amazonaws.pinpoint#JourneyRunStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the journey run.

", "smithy.api#required": {} } @@ -12917,6 +13159,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfJourneyRunResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each run of the journey

", "smithy.api#required": {} } @@ -13036,6 +13279,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfJourneyResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each journey that's associated with the application.

", "smithy.api#required": {} } @@ -13168,6 +13412,7 @@ "JourneysResponse": { "target": "com.amazonaws.pinpoint#JourneysResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -13369,6 +13614,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfRecommenderConfigurationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each recommender model configuration that's associated with your Amazon Pinpoint account.

", "smithy.api#required": {} } @@ -13423,6 +13669,7 @@ "TagsModel": { "target": "com.amazonaws.pinpoint#TagsModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -13517,6 +13764,7 @@ "TemplateVersionsResponse": { "target": "com.amazonaws.pinpoint#TemplateVersionsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -13602,6 +13850,7 @@ "TemplatesResponse": { "target": "com.amazonaws.pinpoint#TemplatesResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -13965,6 +14214,7 @@ "MessageConfiguration": { "target": "com.amazonaws.pinpoint#DirectMessageConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The settings and content for the default message and any default messages that you defined for specific channels.

", "smithy.api#required": {} } @@ -13992,6 +14242,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that was used to send the message.

", "smithy.api#required": {} } @@ -14025,6 +14276,7 @@ "DeliveryStatus": { "target": "com.amazonaws.pinpoint#DeliveryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The delivery status of the message. Possible values are:

", "smithy.api#required": {} } @@ -14038,6 +14290,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The downstream service status code for delivering the message.

", "smithy.api#required": {} } @@ -14104,6 +14357,7 @@ "ComparisonOperator": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.

", "smithy.api#required": {} } @@ -14111,6 +14365,7 @@ "Value": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value to compare.

", "smithy.api#required": {} } @@ -14398,6 +14653,7 @@ "ButtonAction": { "target": "com.amazonaws.pinpoint#ButtonAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Action triggered by the button.

", "smithy.api#required": {} } @@ -14481,6 +14737,7 @@ "NumberValidateRequest": { "target": "com.amazonaws.pinpoint#NumberValidateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -14496,6 +14753,7 @@ "NumberValidateResponse": { "target": "com.amazonaws.pinpoint#NumberValidateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -14932,7 +15190,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -14975,7 +15232,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -14988,7 +15246,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15002,7 +15259,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15025,7 +15281,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15060,7 +15315,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15071,14 +15325,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15092,14 +15348,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -15108,11 +15362,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15123,14 +15377,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15144,7 +15400,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -15164,7 +15419,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -15175,14 +15429,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -15300,9 +15556,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -15995,6 +16253,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was created.

", "smithy.api#required": {} } @@ -16020,6 +16279,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was last modified.

", "smithy.api#required": {} } @@ -16046,6 +16306,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the message template.

", "smithy.api#required": {} } @@ -16053,6 +16314,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#TemplateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of channel that the message template is designed for. For a push notification template, this value is PUSH.

", "smithy.api#required": {} } @@ -16122,6 +16384,7 @@ "WriteEventStream": { "target": "com.amazonaws.pinpoint#WriteEventStream", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -16137,6 +16400,7 @@ "EventStream": { "target": "com.amazonaws.pinpoint#EventStream", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -16200,6 +16464,7 @@ "EventsRequest": { "target": "com.amazonaws.pinpoint#EventsRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -16215,6 +16480,7 @@ "EventsResponse": { "target": "com.amazonaws.pinpoint#EventsResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -16298,6 +16564,7 @@ "Duration": { "target": "com.amazonaws.pinpoint#Duration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The duration to use when determining whether an endpoint is active or inactive.

", "smithy.api#required": {} } @@ -16305,6 +16572,7 @@ "RecencyType": { "target": "com.amazonaws.pinpoint#RecencyType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.

", "smithy.api#required": {} } @@ -16343,6 +16611,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in extended ISO 8601 format, when the configuration was created for the recommender model.

", "smithy.api#required": {} } @@ -16356,6 +16625,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the recommender model configuration.

", "smithy.api#required": {} } @@ -16363,6 +16633,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in extended ISO 8601 format, when the configuration for the recommender model was last modified.

", "smithy.api#required": {} } @@ -16382,6 +16653,7 @@ "RecommendationProviderRoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.

", "smithy.api#required": {} } @@ -16389,6 +16661,7 @@ "RecommendationProviderUri": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the recommender model that Amazon Pinpoint retrieves the recommendation data from. This value is the ARN of an Amazon Personalize campaign.

", "smithy.api#required": {} } @@ -16478,6 +16751,7 @@ "UpdateAttributesRequest": { "target": "com.amazonaws.pinpoint#UpdateAttributesRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -16493,6 +16767,7 @@ "AttributesResource": { "target": "com.amazonaws.pinpoint#AttributesResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -16508,6 +16783,7 @@ "GroupedBys": { "target": "com.amazonaws.pinpoint#ListOfResultRowValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.

", "smithy.api#required": {} } @@ -16515,6 +16791,7 @@ "Values": { "target": "com.amazonaws.pinpoint#ListOfResultRowValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that provides pre-aggregated values for a standard metric that applies to an application, campaign, or journey.

", "smithy.api#required": {} } @@ -16530,6 +16807,7 @@ "Key": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The friendly name of the metric whose value is specified by the Value property.

", "smithy.api#required": {} } @@ -16537,6 +16815,7 @@ "Type": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data type of the value specified by the Value property.

", "smithy.api#required": {} } @@ -16544,6 +16823,7 @@ "Value": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

In a Values object, the value for the metric that the query retrieved data for. In a GroupedBys object, the value for the field that was used to group data in a result set that contains multiple results (Values objects).

", "smithy.api#required": {} } @@ -16633,6 +16913,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the SMS channel, this value is SMS.

", "smithy.api#required": {} } @@ -16823,6 +17104,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was created.

", "smithy.api#required": {} } @@ -16836,6 +17118,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was last modified.

", "smithy.api#required": {} } @@ -16862,6 +17145,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the message template.

", "smithy.api#required": {} } @@ -16869,6 +17153,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#TemplateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of channel that the message template is designed for. For an SMS template, this value is SMS.

", "smithy.api#required": {} } @@ -16920,6 +17205,7 @@ "StartTime": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The scheduled time when the campaign began or will begin. Valid values are: IMMEDIATE, to start the campaign immediately; or, a specific time in ISO 8601 format.

", "smithy.api#required": {} } @@ -16955,6 +17241,7 @@ "SegmentId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the segment to associate with the activity.

", "smithy.api#required": {} } @@ -17116,6 +17403,7 @@ "ExternalId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.

", "smithy.api#required": {} } @@ -17123,6 +17411,7 @@ "Format": { "target": "com.amazonaws.pinpoint#Format", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

", "smithy.api#required": {} } @@ -17130,6 +17419,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.

", "smithy.api#required": {} } @@ -17137,6 +17427,7 @@ "S3Url": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.

", "smithy.api#required": {} } @@ -17144,6 +17435,7 @@ "Size": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of endpoint definitions that were imported successfully to create the segment.

", "smithy.api#required": {} } @@ -17179,6 +17471,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the segment.

", "smithy.api#required": {} } @@ -17200,6 +17493,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that the segment is associated with.

", "smithy.api#required": {} } @@ -17207,6 +17501,7 @@ "Arn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the segment.

", "smithy.api#required": {} } @@ -17214,6 +17509,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time when the segment was created.

", "smithy.api#required": {} } @@ -17227,6 +17523,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the segment.

", "smithy.api#required": {} } @@ -17258,6 +17555,7 @@ "SegmentType": { "target": "com.amazonaws.pinpoint#SegmentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The segment type. Valid values are:

", "smithy.api#required": {} } @@ -17303,6 +17601,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfSegmentResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).

", "smithy.api#required": {} } @@ -17372,6 +17671,7 @@ "MessageRequest": { "target": "com.amazonaws.pinpoint#MessageRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17387,6 +17687,7 @@ "MessageResponse": { "target": "com.amazonaws.pinpoint#MessageResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17450,6 +17751,7 @@ "SendOTPMessageRequestParameters": { "target": "com.amazonaws.pinpoint#SendOTPMessageRequestParameters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17471,6 +17773,7 @@ "BrandName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.

", "smithy.api#required": {} } @@ -17478,6 +17781,7 @@ "Channel": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Channel type for the OTP message. Supported values: [SMS].

", "smithy.api#required": {} } @@ -17491,6 +17795,7 @@ "DestinationIdentity": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The destination identity to send OTP to.

", "smithy.api#required": {} } @@ -17510,6 +17815,7 @@ "OriginationIdentity": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The origination identity used to send OTP from.

", "smithy.api#required": {} } @@ -17517,6 +17823,7 @@ "ReferenceId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Developer-specified reference identifier. Required to match during OTP verification.

", "smithy.api#required": {} } @@ -17544,6 +17851,7 @@ "MessageResponse": { "target": "com.amazonaws.pinpoint#MessageResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17565,6 +17873,7 @@ "MessageConfiguration": { "target": "com.amazonaws.pinpoint#DirectMessageConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The settings and content for the default message and any default messages that you defined for specific channels.

", "smithy.api#required": {} } @@ -17584,6 +17893,7 @@ "Users": { "target": "com.amazonaws.pinpoint#MapOfEndpointSendConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A map that associates user IDs with EndpointSendConfiguration objects. You can use an EndpointSendConfiguration object to tailor the message for a user by specifying settings such as content overrides and message variables.

", "smithy.api#required": {} } @@ -17599,6 +17909,7 @@ "ApplicationId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the application that was used to send the message.

", "smithy.api#required": {} } @@ -17674,6 +17985,7 @@ "SendUsersMessageRequest": { "target": "com.amazonaws.pinpoint#SendUsersMessageRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17689,6 +18001,7 @@ "SendUsersMessageResponse": { "target": "com.amazonaws.pinpoint#SendUsersMessageResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17710,6 +18023,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the session.

", "smithy.api#required": {} } @@ -17717,6 +18031,7 @@ "StartTimestamp": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time when the session began.

", "smithy.api#required": {} } @@ -17744,6 +18059,7 @@ "Values": { "target": "com.amazonaws.pinpoint#ListOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.

", "smithy.api#required": {} } @@ -17944,6 +18260,7 @@ "TagsModel": { "target": "com.amazonaws.pinpoint#TagsModel", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -17959,6 +18276,7 @@ "tags": { "target": "com.amazonaws.pinpoint#MapOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags.

Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -18079,6 +18397,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was created.

", "smithy.api#required": {} } @@ -18092,6 +18411,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was last modified.

", "smithy.api#required": {} } @@ -18112,6 +18432,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the message template.

", "smithy.api#required": {} } @@ -18119,6 +18440,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#TemplateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.

", "smithy.api#required": {} } @@ -18175,6 +18497,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the version of the message template was created.

", "smithy.api#required": {} } @@ -18188,6 +18511,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the version of the message template was last modified.

", "smithy.api#required": {} } @@ -18201,6 +18525,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the message template.

", "smithy.api#required": {} } @@ -18208,6 +18533,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.

", "smithy.api#required": {} } @@ -18229,6 +18555,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfTemplateVersionResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each version of the message template.

", "smithy.api#required": {} } @@ -18262,6 +18589,7 @@ "Item": { "target": "com.amazonaws.pinpoint#ListOfTemplateResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.

", "smithy.api#required": {} } @@ -18311,6 +18639,7 @@ "Id": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the treatment.

", "smithy.api#required": {} } @@ -18330,6 +18659,7 @@ "SizePercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The allocated percentage of users (segment members) that the treatment is sent to.

", "smithy.api#required": {} } @@ -18417,6 +18747,7 @@ "TagKeys": { "target": "com.amazonaws.pinpoint#ListOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key of the tag to remove from the resource. To remove multiple tags, append the tagKeys parameter and argument for each additional tag to remove, separated by an ampersand (&).

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -18473,6 +18804,7 @@ "ADMChannelRequest": { "target": "com.amazonaws.pinpoint#ADMChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18496,6 +18828,7 @@ "ADMChannelResponse": { "target": "com.amazonaws.pinpoint#ADMChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18551,6 +18884,7 @@ "APNSChannelRequest": { "target": "com.amazonaws.pinpoint#APNSChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18574,6 +18908,7 @@ "APNSChannelResponse": { "target": "com.amazonaws.pinpoint#APNSChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18629,6 +18964,7 @@ "APNSSandboxChannelRequest": { "target": "com.amazonaws.pinpoint#APNSSandboxChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18652,6 +18988,7 @@ "APNSSandboxChannelResponse": { "target": "com.amazonaws.pinpoint#APNSSandboxChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18707,6 +19044,7 @@ "APNSVoipChannelRequest": { "target": "com.amazonaws.pinpoint#APNSVoipChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18730,6 +19068,7 @@ "APNSVoipChannelResponse": { "target": "com.amazonaws.pinpoint#APNSVoipChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18785,6 +19124,7 @@ "APNSVoipSandboxChannelRequest": { "target": "com.amazonaws.pinpoint#APNSVoipSandboxChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18808,6 +19148,7 @@ "APNSVoipSandboxChannelResponse": { "target": "com.amazonaws.pinpoint#APNSVoipSandboxChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18871,6 +19212,7 @@ "WriteApplicationSettingsRequest": { "target": "com.amazonaws.pinpoint#WriteApplicationSettingsRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18886,6 +19228,7 @@ "ApplicationSettingsResource": { "target": "com.amazonaws.pinpoint#ApplicationSettingsResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18963,6 +19306,7 @@ "BaiduChannelRequest": { "target": "com.amazonaws.pinpoint#BaiduChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -18978,6 +19322,7 @@ "BaiduChannelResponse": { "target": "com.amazonaws.pinpoint#BaiduChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19049,6 +19394,7 @@ "WriteCampaignRequest": { "target": "com.amazonaws.pinpoint#WriteCampaignRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19064,6 +19410,7 @@ "CampaignResponse": { "target": "com.amazonaws.pinpoint#CampaignResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19127,6 +19474,7 @@ "EmailChannelRequest": { "target": "com.amazonaws.pinpoint#EmailChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19142,6 +19490,7 @@ "EmailChannelResponse": { "target": "com.amazonaws.pinpoint#EmailChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19204,6 +19553,7 @@ "EmailTemplateRequest": { "target": "com.amazonaws.pinpoint#EmailTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19234,6 +19584,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19305,6 +19656,7 @@ "EndpointRequest": { "target": "com.amazonaws.pinpoint#EndpointRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19320,6 +19672,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19383,6 +19736,7 @@ "EndpointBatchRequest": { "target": "com.amazonaws.pinpoint#EndpointBatchRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19398,6 +19752,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19461,6 +19816,7 @@ "GCMChannelRequest": { "target": "com.amazonaws.pinpoint#GCMChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19476,6 +19832,7 @@ "GCMChannelResponse": { "target": "com.amazonaws.pinpoint#GCMChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19538,6 +19895,7 @@ "InAppTemplateRequest": { "target": "com.amazonaws.pinpoint#InAppTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19568,6 +19926,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19642,6 +20001,7 @@ "WriteJourneyRequest": { "target": "com.amazonaws.pinpoint#WriteJourneyRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19657,6 +20017,7 @@ "JourneyResponse": { "target": "com.amazonaws.pinpoint#JourneyResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19728,6 +20089,7 @@ "JourneyStateRequest": { "target": "com.amazonaws.pinpoint#JourneyStateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19743,6 +20105,7 @@ "JourneyResponse": { "target": "com.amazonaws.pinpoint#JourneyResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19805,6 +20168,7 @@ "PushNotificationTemplateRequest": { "target": "com.amazonaws.pinpoint#PushNotificationTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19835,6 +20199,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19898,6 +20263,7 @@ "UpdateRecommenderConfiguration": { "target": "com.amazonaws.pinpoint#UpdateRecommenderConfigurationShape", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19913,6 +20279,7 @@ "RecommenderConfigurationResponse": { "target": "com.amazonaws.pinpoint#RecommenderConfigurationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -19952,6 +20319,7 @@ "RecommendationProviderRoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to retrieve recommendation data from the recommender model.

", "smithy.api#required": {} } @@ -19959,6 +20327,7 @@ "RecommendationProviderUri": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the recommender model to retrieve recommendation data from. This value must match the ARN of an Amazon Personalize campaign.

", "smithy.api#required": {} } @@ -20048,6 +20417,7 @@ "WriteSegmentRequest": { "target": "com.amazonaws.pinpoint#WriteSegmentRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20063,6 +20433,7 @@ "SegmentResponse": { "target": "com.amazonaws.pinpoint#SegmentResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20126,6 +20497,7 @@ "SMSChannelRequest": { "target": "com.amazonaws.pinpoint#SMSChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20141,6 +20513,7 @@ "SMSChannelResponse": { "target": "com.amazonaws.pinpoint#SMSChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20203,6 +20576,7 @@ "SMSTemplateRequest": { "target": "com.amazonaws.pinpoint#SMSTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20233,6 +20607,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20288,6 +20663,7 @@ "TemplateActiveVersionRequest": { "target": "com.amazonaws.pinpoint#TemplateActiveVersionRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20320,6 +20696,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20383,6 +20760,7 @@ "VoiceChannelRequest": { "target": "com.amazonaws.pinpoint#VoiceChannelRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20398,6 +20776,7 @@ "VoiceChannelResponse": { "target": "com.amazonaws.pinpoint#VoiceChannelResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20475,6 +20854,7 @@ "VoiceTemplateRequest": { "target": "com.amazonaws.pinpoint#VoiceTemplateRequest", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20490,6 +20870,7 @@ "MessageBody": { "target": "com.amazonaws.pinpoint#MessageBody", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20567,6 +20948,7 @@ "VerifyOTPMessageRequestParameters": { "target": "com.amazonaws.pinpoint#VerifyOTPMessageRequestParameters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20582,6 +20964,7 @@ "DestinationIdentity": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The destination identity to send OTP to.

", "smithy.api#required": {} } @@ -20589,6 +20972,7 @@ "Otp": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OTP the end user provided for verification.

", "smithy.api#required": {} } @@ -20596,6 +20980,7 @@ "ReferenceId": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The reference identifier provided when the OTP was previously sent.

", "smithy.api#required": {} } @@ -20611,6 +20996,7 @@ "VerificationResponse": { "target": "com.amazonaws.pinpoint#VerificationResponse", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -20688,6 +21074,7 @@ "Platform": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.

", "smithy.api#required": {} } @@ -20804,6 +21191,7 @@ "CreationDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was created.

", "smithy.api#required": {} } @@ -20823,6 +21211,7 @@ "LastModifiedDate": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date, in ISO 8601 format, when the message template was last modified.

", "smithy.api#required": {} } @@ -20843,6 +21232,7 @@ "TemplateName": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the message template.

", "smithy.api#required": {} } @@ -20850,6 +21240,7 @@ "TemplateType": { "target": "com.amazonaws.pinpoint#TemplateType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of channel that the message template is designed for. For a voice template, this value is VOICE.

", "smithy.api#required": {} } @@ -21069,6 +21460,7 @@ "DestinationStreamArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or Amazon Kinesis Data Firehose delivery stream that you want to publish event data to.

For a Kinesis data stream, the ARN format is: arn:aws:kinesis:region:account-id:stream/stream_name\n

For a Kinesis Data Firehose delivery stream, the ARN format is: arn:aws:firehose:region:account-id:deliverystream/stream_name\n

", "smithy.api#required": {} } @@ -21076,6 +21468,7 @@ "RoleArn": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to publish event data to the stream in your AWS account.

", "smithy.api#required": {} } @@ -21121,6 +21514,7 @@ "Name": { "target": "com.amazonaws.pinpoint#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the journey. A journey name can contain a maximum of 150 characters. The characters can be alphanumeric characters or symbols, such as underscores (_) or hyphens (-). A journey name can't contain any spaces.

", "smithy.api#required": {} } @@ -21265,6 +21659,7 @@ "SizePercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The allocated percentage of users (segment members) to send the treatment to.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/quicksight.json b/codegen/sdk-codegen/aws-models/quicksight.json index f11adbaa0bf..f47fcf47ee3 100644 --- a/codegen/sdk-codegen/aws-models/quicksight.json +++ b/codegen/sdk-codegen/aws-models/quicksight.json @@ -2408,7 +2408,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -2438,7 +2437,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that Amazon Aurora PostgreSQL is listening on.

", "smithy.api#required": {} } @@ -11449,7 +11447,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port for the Databricks data source.

", "smithy.api#required": {} } @@ -16830,7 +16827,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -16992,7 +16988,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -19632,7 +19627,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port for the Exasol data source.

", "smithy.api#required": {} } @@ -21538,7 +21532,6 @@ "CustomSeasonalityValue": { "target": "com.amazonaws.quicksight#ForecastComputationCustomSeasonalityValue", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The custom seasonality value setup of a forecast computation.

" } } @@ -21550,7 +21543,6 @@ "com.amazonaws.quicksight#ForecastComputationCustomSeasonalityValue": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 180 @@ -23673,7 +23665,6 @@ "PeriodSize": { "target": "com.amazonaws.quicksight#GrowthRatePeriodSize", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period size setup of a growth rate computation.

" } } @@ -23685,7 +23676,6 @@ "com.amazonaws.quicksight#GrowthRatePeriodSize": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 52 @@ -24890,7 +24880,6 @@ "com.amazonaws.quicksight#IngestionMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -26777,7 +26766,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } @@ -26882,7 +26870,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -26987,7 +26974,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27163,7 +27149,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27265,7 +27250,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27370,7 +27354,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27475,7 +27458,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27594,7 +27576,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27705,7 +27686,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -27819,7 +27799,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -27949,7 +27928,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } @@ -28119,7 +28097,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -28207,7 +28184,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -28326,7 +28302,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#IngestionMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -28440,7 +28415,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } @@ -28720,7 +28694,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-result" } @@ -28836,7 +28809,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -28944,7 +28916,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-result" } @@ -29057,7 +29028,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-result" } @@ -29176,7 +29146,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -29287,7 +29256,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -29505,7 +29473,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -29632,7 +29599,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -29746,7 +29712,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -29861,7 +29826,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -30089,7 +30053,6 @@ "Size": { "target": "com.amazonaws.quicksight#PositiveLong", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The lookback window column size.

", "smithy.api#required": {} } @@ -30231,7 +30194,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -30251,7 +30213,6 @@ "com.amazonaws.quicksight#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -30543,7 +30504,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -31711,7 +31671,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port.

", "smithy.api#required": {} } @@ -33805,7 +33764,6 @@ "com.amazonaws.quicksight#Port": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -33815,7 +33773,6 @@ "com.amazonaws.quicksight#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -33824,7 +33781,6 @@ "com.amazonaws.quicksight#PositiveLong": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -33843,7 +33799,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -33951,7 +33906,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -38225,7 +38179,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } } @@ -38338,7 +38291,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

" } } @@ -38451,7 +38403,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

" } } @@ -38564,7 +38515,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

" } } @@ -38683,7 +38633,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

" } } @@ -38796,7 +38745,6 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -40843,7 +40791,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -40907,7 +40854,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -40952,7 +40898,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port for the Starburst data source.

", "smithy.api#required": {} } @@ -43212,7 +43157,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -44247,7 +44191,6 @@ "MoverSize": { "target": "com.amazonaws.quicksight#TopBottomMoversComputationMoverSize", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The mover size setup of the top and bottom movers computation.

" } }, @@ -44272,7 +44215,6 @@ "com.amazonaws.quicksight#TopBottomMoversComputationMoverSize": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -44310,7 +44252,6 @@ "ResultSize": { "target": "com.amazonaws.quicksight#TopBottomRankedComputationResultSize", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The result size of a top and bottom ranked computation.

" } }, @@ -44329,7 +44270,6 @@ "com.amazonaws.quicksight#TopBottomRankedComputationResultSize": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -45662,7 +45602,6 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port for the Trino data source.

", "smithy.api#required": {} } @@ -45692,7 +45631,6 @@ "MaxRows": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of rows to query Twitter.

", "smithy.api#required": {} } @@ -49649,7 +49587,6 @@ "StartFromRow": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

A row number to start reading data from.

" } }, diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index b41c70d1b17..7fc92766d87 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -56,14 +56,12 @@ "Used": { "target": "com.amazonaws.rds#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount currently used toward the quota maximum.

" } }, "Max": { "target": "com.amazonaws.rds#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum allowed value for the quota.

" } } @@ -204,6 +202,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to associate the IAM role with.

", "smithy.api#required": {} } @@ -211,6 +210,7 @@ "RoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to associate with the Aurora DB\n cluster, for example arn:aws:iam::123456789012:role/AuroraAccessRole.

", "smithy.api#required": {} } @@ -269,6 +269,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB instance to associate the IAM role with.

", "smithy.api#required": {} } @@ -276,6 +277,7 @@ "RoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to associate with the DB instance, for\n example arn:aws:iam::123456789012:role/AccessRole.

", "smithy.api#required": {} } @@ -283,6 +285,7 @@ "FeatureName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature for the DB instance that the IAM role is to be associated with. \n For information about supported feature names, see DBEngineVersion.

", "smithy.api#required": {} } @@ -348,6 +351,7 @@ "SubscriptionName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the RDS event notification subscription you want to add a source identifier to.

", "smithy.api#required": {} } @@ -355,6 +359,7 @@ "SourceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the event source to be added.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -429,6 +434,7 @@ "ResourceName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon RDS resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about \n creating an ARN, \n see \n Constructing an RDS Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -436,6 +442,7 @@ "Tags": { "target": "com.amazonaws.rds#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to be assigned to the Amazon RDS resource.

", "smithy.api#required": {} } @@ -2002,6 +2009,7 @@ "ResourceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The RDS Amazon Resource Name (ARN) of the resource that the \n pending maintenance action applies to. For information about \n creating an ARN, \n see \n Constructing an RDS Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -2009,6 +2017,7 @@ "ApplyAction": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The pending maintenance action to apply to this resource.

\n

Valid Values: system-update, db-upgrade, \n hardware-maintenance, ca-certificate-rotation\n

", "smithy.api#required": {} } @@ -2016,6 +2025,7 @@ "OptInType": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in \n request of type immediate can't be undone.

\n

Valid Values:

\n ", "smithy.api#required": {} } @@ -2170,6 +2180,7 @@ "DBSecurityGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB security group to add authorization to.

", "smithy.api#required": {} } @@ -2335,6 +2346,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the DB cluster to be backtracked. This parameter is\n stored as a lowercase string.

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -2342,6 +2354,7 @@ "BacktrackTo": { "target": "com.amazonaws.rds#TStamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp of the time to backtrack the DB cluster to, specified in ISO\n 8601 format. For more information about ISO 8601, see the ISO8601 Wikipedia\n page.\n

\n \n

If the specified time isn't a consistent time for the DB cluster, \n Aurora automatically chooses the nearest possible consistent time for the DB cluster.

\n
\n

Constraints:

\n \n

Example: 2017-07-08T18:00Z\n

", "smithy.api#required": {} } @@ -2553,10 +2566,7 @@ "type": "string" }, "com.amazonaws.rds#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.rds#BooleanOptional": { "type": "boolean" @@ -2624,6 +2634,7 @@ "ExportTaskIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the snapshot or cluster export task to cancel.

", "smithy.api#required": {} } @@ -2934,21 +2945,18 @@ "MaxConnectionsPercent": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the\n max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.

" } }, "MaxIdleConnectionsPercent": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Controls how actively the proxy closes idle database connections in the connection pool.\n The value is expressed as a percentage of the max_connections setting for the RDS DB instance or Aurora DB cluster used by the target group.\n With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.

" } }, "ConnectionBorrowTimeout": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the\n proxy has opened its maximum number of connections and all connections are busy with client sessions.

" } }, @@ -3017,6 +3025,7 @@ "SourceDBClusterParameterGroupIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier or Amazon Resource Name (ARN) for the source DB cluster parameter group.\n For information about \n creating an ARN, \n see \n Constructing an ARN for Amazon RDS in the Amazon Aurora User Guide.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3024,6 +3033,7 @@ "TargetDBClusterParameterGroupIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copied DB cluster parameter group.

\n

Constraints:

\n \n

Example: my-cluster-param-group1\n

", "smithy.api#required": {} } @@ -3031,6 +3041,7 @@ "TargetDBClusterParameterGroupDescription": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the copied DB cluster parameter group.

", "smithy.api#required": {} } @@ -3130,6 +3141,7 @@ "SourceDBClusterSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster snapshot to copy. This parameter isn't case-sensitive.

\n

You can't copy an encrypted, shared DB cluster snapshot from one Amazon Web Services Region to another.

\n

Constraints:

\n \n

Example: my-cluster-snapshot1\n

", "smithy.api#required": {} } @@ -3137,6 +3149,7 @@ "TargetDBClusterSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter isn't case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster-snapshot2\n

", "smithy.api#required": {} } @@ -3227,6 +3240,7 @@ "SourceDBParameterGroupIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier or ARN for the source DB parameter group.\n For information about \n creating an ARN, \n see \n Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3234,6 +3248,7 @@ "TargetDBParameterGroupIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copied DB parameter group.

\n

Constraints:

\n \n

Example: my-db-parameter-group\n

", "smithy.api#required": {} } @@ -3241,6 +3256,7 @@ "TargetDBParameterGroupDescription": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the copied DB parameter group.

", "smithy.api#required": {} } @@ -3342,6 +3358,7 @@ "SourceDBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the source DB snapshot.

\n

If the source snapshot is in the same Amazon Web Services Region as the copy, specify a valid DB\n snapshot identifier. For example, you might specify\n rds:mysql-instance1-snapshot-20130805.

\n

If the source snapshot is in a different Amazon Web Services Region than the copy, specify a valid DB\n snapshot ARN. For example, you might specify\n arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805.

\n

If you are copying from a shared manual DB snapshot, \n this parameter must be the Amazon Resource Name (ARN) of the shared DB snapshot.

\n

If you are copying an encrypted snapshot this parameter must be in the ARN format for the source Amazon Web Services Region.

\n

Constraints:

\n \n

Example: rds:mydb-2012-04-02-00-01\n

\n

Example: arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-20130805\n

", "smithy.api#required": {} } @@ -3349,6 +3366,7 @@ "TargetDBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copy of the snapshot.

\n

Constraints:

\n \n

Example: my-db-snapshot\n

", "smithy.api#required": {} } @@ -3460,6 +3478,7 @@ "SourceOptionGroupIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the source option group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3467,6 +3486,7 @@ "TargetOptionGroupIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the copied option group.

\n

Constraints:

\n \n

Example: my-option-group\n

", "smithy.api#required": {} } @@ -3474,6 +3494,7 @@ "TargetOptionGroupDescription": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the copied option group.

", "smithy.api#required": {} } @@ -3551,6 +3572,7 @@ "BlueGreenDeploymentName": { "target": "com.amazonaws.rds#BlueGreenDeploymentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the blue/green deployment.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3558,6 +3580,7 @@ "Source": { "target": "com.amazonaws.rds#DatabaseArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source production database.

\n

Specify the database that you want to clone. The blue/green deployment creates this database in \n the green environment. You can make updates to the database in the green environment, such as an engine \n version upgrade. When you are ready, you can switch the database in the green environment to be the \n production database.

", "smithy.api#required": {} } @@ -3666,6 +3689,7 @@ "Engine": { "target": "com.amazonaws.rds#CustomEngineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine to use for your custom engine version (CEV). The only supported value is \n custom-oracle-ee.

", "smithy.api#required": {} } @@ -3673,6 +3697,7 @@ "EngineVersion": { "target": "com.amazonaws.rds#CustomEngineVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of your CEV. The name format is 19.customized_string.\n For example, a valid CEV name is 19.my_cev1. This setting is required for RDS\n Custom for Oracle, but optional for Amazon RDS. The combination of Engine\n and EngineVersion is unique per customer per Region.

", "smithy.api#required": {} } @@ -3929,6 +3954,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is\n stored as a lowercase string.

", "smithy.api#required": {} } @@ -3936,6 +3962,7 @@ "DBClusterEndpointIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier to use for the new endpoint. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -3943,6 +3970,7 @@ "EndpointType": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the endpoint, one of: READER, WRITER, ANY.

", "smithy.api#required": {} } @@ -4000,6 +4028,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for this DB cluster. This parameter is stored as a lowercase string.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -4025,6 +4054,7 @@ "Engine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine to use for this DB cluster.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

Valid Values: aurora-mysql | aurora-postgresql | mysql | postgres\n

", "smithy.api#required": {} } @@ -4323,6 +4353,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group.

\n

Constraints:

\n \n \n

This value is stored as a lowercase string.

\n
", "smithy.api#required": {} } @@ -4330,6 +4361,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster \n parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.

\n

\n Aurora MySQL\n

\n

Example: aurora-mysql5.7, aurora-mysql8.0\n

\n

\n Aurora PostgreSQL\n

\n

Example: aurora-postgresql14\n

\n

\n RDS for MySQL\n

\n

Example: mysql8.0\n

\n

\n RDS for PostgreSQL\n

\n

Example: postgres12\n

\n

To list all of the available parameter group families for a DB engine, use the following command:

\n

\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine \n

\n

For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:

\n

\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine aurora-postgresql\n

\n \n

The output contains duplicates.

\n
\n

The following are the valid DB engine values:

\n ", "smithy.api#required": {} } @@ -4337,6 +4369,7 @@ "Description": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB cluster parameter group.

", "smithy.api#required": {} } @@ -4447,6 +4480,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

\n

Constraints:

\n \n

Example: my-cluster1-snapshot1\n

", "smithy.api#required": {} } @@ -4454,6 +4488,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster to create a snapshot for. This parameter isn't case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -4674,6 +4709,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for this DB instance. This parameter is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mydbinstance\n

", "smithy.api#required": {} } @@ -4687,6 +4723,7 @@ "DBInstanceClass": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The compute and memory capacity of the DB instance, for example db.m5.large.\n Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines.\n For the full list of DB instance classes, and availability for your engine, see\n DB instance \n classes in the Amazon RDS User Guide or \n Aurora \n DB instance classes in the Amazon Aurora User Guide.

", "smithy.api#required": {} } @@ -4694,6 +4731,7 @@ "Engine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine to use for this DB instance.

\n

Not every database engine is available in every Amazon Web Services Region.

\n

Valid Values:

\n ", "smithy.api#required": {} } @@ -5145,6 +5183,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier of the read replica. This identifier is the unique key\n that identifies a DB instance. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -5476,6 +5515,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n \n \n

This value is stored as a lowercase string.

\n
", "smithy.api#required": {} } @@ -5483,6 +5523,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.

\n

To list all of the available parameter group families for a DB engine, use the following command:

\n

\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine \n

\n

For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:

\n

\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\" --engine mysql\n

\n \n

The output contains duplicates.

\n
\n

The following are the valid DB engine values:

\n ", "smithy.api#required": {} } @@ -5490,6 +5531,7 @@ "Description": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB parameter group.

", "smithy.api#required": {} } @@ -5575,6 +5617,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#DBProxyName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB proxy associated with the DB proxy endpoint that you create.

", "smithy.api#required": {} } @@ -5582,6 +5625,7 @@ "DBProxyEndpointName": { "target": "com.amazonaws.rds#DBProxyEndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB proxy endpoint to create.

", "smithy.api#required": {} } @@ -5589,6 +5633,7 @@ "VpcSubnetIds": { "target": "com.amazonaws.rds#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a\n different set of subnet IDs than for the original DB proxy.

", "smithy.api#required": {} } @@ -5633,6 +5678,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

", "smithy.api#required": {} } @@ -5640,6 +5686,7 @@ "EngineFamily": { "target": "com.amazonaws.rds#EngineFamily", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The kinds of databases that the proxy can connect to. \n This value determines which database network protocol the proxy recognizes when it interprets\n network traffic to and from the database. For Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases, specify MYSQL. \n For Aurora PostgreSQL and RDS for PostgreSQL databases, specify POSTGRESQL. For RDS for Microsoft SQL Server, specify \n SQLSERVER.

", "smithy.api#required": {} } @@ -5647,6 +5694,7 @@ "Auth": { "target": "com.amazonaws.rds#UserAuthConfigList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The authorization mechanism that the proxy uses.

", "smithy.api#required": {} } @@ -5654,6 +5702,7 @@ "RoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.

", "smithy.api#required": {} } @@ -5661,6 +5710,7 @@ "VpcSubnetIds": { "target": "com.amazonaws.rds#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more VPC subnet IDs to associate with the new proxy.

", "smithy.api#required": {} } @@ -5674,7 +5724,6 @@ "RequireTLS": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.\n By enabling this setting, you can enforce encrypted TLS connections to the proxy.

" } }, @@ -5687,7 +5736,6 @@ "DebugLogging": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the proxy includes detailed information about SQL statements in its logs.\n This information helps you to debug issues involving SQL behavior or the performance\n and scalability of the proxy connections. The debug information includes the text of\n SQL statements that you submit through the proxy. Thus, only enable this setting\n when needed for debugging, and only when you have security measures in place to\n safeguard any sensitive information that appears in the logs.

" } }, @@ -5758,6 +5806,7 @@ "DBSecurityGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the DB security group. This value is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mysecuritygroup\n

", "smithy.api#required": {} } @@ -5765,6 +5814,7 @@ "DBSecurityGroupDescription": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB security group.

", "smithy.api#required": {} } @@ -5861,6 +5911,7 @@ "DBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB snapshot.

\n

Constraints:

\n \n

Example: my-snapshot-id\n

", "smithy.api#required": {} } @@ -5868,6 +5919,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB instance that you want to create the snapshot of.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -5974,6 +6026,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the DB subnet group. This value is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mydbsubnetgroup\n

", "smithy.api#required": {} } @@ -5981,6 +6034,7 @@ "DBSubnetGroupDescription": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the DB subnet group.

", "smithy.api#required": {} } @@ -5988,6 +6042,7 @@ "SubnetIds": { "target": "com.amazonaws.rds#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The EC2 Subnet IDs for the DB subnet group.

", "smithy.api#required": {} } @@ -6087,6 +6142,7 @@ "SubscriptionName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the subscription.

\n

Constraints: The name must be less than 255 characters.

", "smithy.api#required": {} } @@ -6094,6 +6150,7 @@ "SnsTopicArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

", "smithy.api#required": {} } @@ -6301,6 +6358,7 @@ "OptionGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the name of the option group to be created.

\n

Constraints:

\n \n

Example: myoptiongroup\n

", "smithy.api#required": {} } @@ -6308,6 +6366,7 @@ "EngineName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the name of the engine that this option group should be associated with.

\n

Valid Values:

\n ", "smithy.api#required": {} } @@ -6315,6 +6374,7 @@ "MajorEngineVersion": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the major version of the engine that this option group should be associated with.

", "smithy.api#required": {} } @@ -6322,6 +6382,7 @@ "OptionGroupDescription": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of the option group.

", "smithy.api#required": {} } @@ -6670,7 +6731,6 @@ "StorageEncrypted": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB cluster is encrypted.

" } }, @@ -6857,7 +6917,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether minor version patches are applied automatically.

\n

This setting is only for non-Aurora Multi-AZ DB clusters.

" } }, @@ -7015,7 +7074,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

" } }, @@ -7028,14 +7086,12 @@ "StorageEncrypted": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the source DB cluster is encrypted.

" } }, "AllocatedStorage": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For all database engines except Amazon Aurora, AllocatedStorage specifies the allocated storage size in gibibytes (GiB). \n For Aurora, AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but instead automatically\n adjusts as needed.

" } }, @@ -7072,7 +7128,6 @@ "Port": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number that the automated backup used for connections.

\n

Default: Inherits from the source DB cluster

\n

Valid Values: 1150-65535\n

" } }, @@ -7473,7 +7528,6 @@ "IsClusterWriter": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cluster member is the primary DB instance for the DB cluster.

" } }, @@ -7828,7 +7882,6 @@ "AllocatedStorage": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The allocated storage size of the DB cluster snapshot in gibibytes (GiB).

" } }, @@ -7841,7 +7894,6 @@ "Port": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the DB cluster was listening on at the time of the snapshot.

" } }, @@ -7884,14 +7936,12 @@ "PercentProgress": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB cluster snapshot is encrypted.

" } }, @@ -7916,7 +7966,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

" } }, @@ -8143,14 +8192,12 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.

" } }, "SupportsReadReplica": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the database engine version supports read replicas.

" } }, @@ -8175,14 +8222,12 @@ "SupportsParallelQuery": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you can use Aurora parallel query with a specific DB engine version.

" } }, "SupportsGlobalDatabases": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you can use Aurora global databases with a specific DB engine version.

" } }, @@ -8228,7 +8273,6 @@ "SupportsBabelfish": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the engine version supports Babelfish for Aurora PostgreSQL.

" } }, @@ -8345,7 +8389,6 @@ "AllocatedStorage": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage in gibibytes (GiB) allocated for the DB instance.

" } }, @@ -8364,7 +8407,6 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which automatic DB snapshots are retained.

" } }, @@ -8419,7 +8461,6 @@ "MultiAZ": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance is a Multi-AZ deployment. This setting doesn't apply to RDS Custom DB instances.

" } }, @@ -8432,7 +8473,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether minor version patches are applied automatically.

" } }, @@ -8499,7 +8539,6 @@ "PubliclyAccessible": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance is publicly accessible.

\n

When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint\n resolves to the private IP address from within the DB cluster's virtual private cloud\n (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access\n to the DB cluster is ultimately controlled by the security group it uses. That public\n access isn't permitted if the security group assigned to the DB cluster doesn't permit\n it.

\n

When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

\n

For more information, see CreateDBInstance.

" } }, @@ -8524,7 +8563,6 @@ "DbInstancePort": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.

" } }, @@ -8537,7 +8575,6 @@ "StorageEncrypted": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance is encrypted.

" } }, @@ -8568,7 +8605,6 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether tags are copied from the DB instance to snapshots of the DB instance.

\n

This setting doesn't apply to Amazon Aurora DB instances. Copying tags to snapshots is managed by the DB cluster. Setting this\n value for an Aurora DB instance has no effect on the DB cluster setting. For more\n information, see DBCluster.

" } }, @@ -8611,7 +8647,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the DB instance.

\n

For a list of engine versions that support IAM database authentication, see \n IAM database authentication\n in the Amazon RDS User Guide and IAM \n database authentication in Aurora in the Amazon Aurora User Guide.

" } }, @@ -8648,7 +8683,6 @@ "DeletionProtection": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance has deletion protection enabled.\n The database can't be deleted when deletion protection is enabled.\n For more information, see \n \n Deleting a DB Instance.

" } }, @@ -8796,7 +8830,6 @@ "DedicatedLogVolume": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.

" } }, @@ -8864,7 +8897,6 @@ "AllocatedStorage": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The allocated storage size for the the automated backup in gibibytes (GiB).

" } }, @@ -8877,7 +8909,6 @@ "Port": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number that the automated backup used for connections.

\n

Default: Inherits from the source DB instance

\n

Valid Values: 1150-65535\n

" } }, @@ -8944,7 +8975,6 @@ "Encrypted": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the automated backup is encrypted.

" } }, @@ -8969,7 +8999,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, \n and otherwise false.

" } }, @@ -9252,7 +9281,6 @@ "Normal": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

" } }, @@ -9541,21 +9569,18 @@ "RequireTLS": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

" } }, "IdleClientTimeout": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.\n The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by\n later connection requests.

\n

Default: 1800 (30 minutes)

\n

Constraints: 1 to 28,800

" } }, "DebugLogging": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the proxy includes detailed information about SQL statements in its logs.\n This information helps you to debug issues involving SQL behavior or the performance\n and scalability of the proxy connections. The debug information includes the text of\n SQL statements that you submit through the proxy. Thus, only enable this setting\n when needed for debugging, and only when you have security measures in place to\n safeguard any sensitive information that appears in the logs.

" } }, @@ -9659,7 +9684,6 @@ "IsDefault": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this endpoint is the default endpoint for the associated DB proxy.\n Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the\n DB proxy can be either read/write or read-only.

" } } @@ -9932,7 +9956,6 @@ "Port": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.

" } }, @@ -10000,7 +10023,6 @@ "IsDefault": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this target group is the first one used for connection requests by the associated proxy.\n Because each proxy is currently associated with a single target group, currently this setting\n is always true.

" } }, @@ -10283,7 +10305,6 @@ "AllocatedStorage": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the allocated storage size in gibibytes (GiB).

" } }, @@ -10296,7 +10317,6 @@ "Port": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine was listening on at the time of the snapshot.

" } }, @@ -10357,7 +10377,6 @@ "PercentProgress": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the estimated data that has been transferred.

" } }, @@ -10388,7 +10407,6 @@ "Encrypted": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB snapshot is encrypted.

" } }, @@ -10413,7 +10431,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

" } }, @@ -10465,7 +10482,6 @@ "DedicatedLogVolume": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.

" } } @@ -10822,6 +10838,7 @@ "BlueGreenDeploymentIdentifier": { "target": "com.amazonaws.rds#BlueGreenDeploymentIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the blue/green deployment to delete. This parameter isn't\n case-sensitive.

\n

Constraints:\n

\n ", "smithy.api#required": {} } @@ -10874,6 +10891,7 @@ "Engine": { "target": "com.amazonaws.rds#CustomEngineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine. The only supported engines are custom-oracle-ee and custom-oracle-ee-cdb.

", "smithy.api#required": {} } @@ -10881,6 +10899,7 @@ "EngineVersion": { "target": "com.amazonaws.rds#CustomEngineVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The custom engine version (CEV) for your DB instance. This option is required for \n RDS Custom, but optional for Amazon RDS. The combination of Engine and \n EngineVersion is unique per customer per Amazon Web Services Region.

", "smithy.api#required": {} } @@ -10974,6 +10993,7 @@ "DbClusterResourceId": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the source DB cluster, which can't be changed and which is unique to an Amazon Web Services Region.

", "smithy.api#required": {} } @@ -11048,6 +11068,7 @@ "DBClusterEndpointIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier associated with the custom endpoint. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -11063,6 +11084,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -11070,7 +11092,6 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted.\n If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot \n is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. \n By default, this parameter is disabled.

\n \n

You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is disabled.

\n
" } }, @@ -11127,6 +11148,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -11210,6 +11232,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster snapshot to delete.

\n

Constraints: Must be the name of an existing DB cluster snapshot in the available state.

", "smithy.api#required": {} } @@ -11372,6 +11395,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -11379,7 +11403,6 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to skip the creation of a final DB snapshot before deleting the instance.\n If you enable this parameter, RDS doesn't create a DB snapshot. If you don't enable this parameter, \n RDS creates a DB snapshot before the DB instance is deleted. By default, skip isn't enabled, \n and the DB snapshot is created.

\n \n

If you don't enable this parameter, you must specify the FinalDBSnapshotIdentifier parameter.

\n
\n

When a DB instance is in a failure state and has a status of failed, incompatible-restore, \n or incompatible-network, RDS can delete the instance only if you enable this parameter.

\n

If you delete a read replica or an RDS Custom instance, you must enable this setting.

\n

This setting is required for RDS Custom.

" } }, @@ -11447,6 +11470,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -11503,6 +11527,7 @@ "DBProxyEndpointName": { "target": "com.amazonaws.rds#DBProxyEndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB proxy endpoint to delete.

", "smithy.api#required": {} } @@ -11532,6 +11557,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB proxy to delete.

", "smithy.api#required": {} } @@ -11590,6 +11616,7 @@ "DBSecurityGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB security group to delete.

\n \n

You can't delete the default DB security group.

\n
\n

Constraints:

\n ", "smithy.api#required": {} } @@ -11663,6 +11690,7 @@ "DBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB snapshot identifier.

\n

Constraints: Must be the name of an existing DB snapshot in the available state.

", "smithy.api#required": {} } @@ -11722,6 +11750,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database subnet group to delete.

\n \n

You can't delete the default subnet group.

\n
\n

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

\n

Example: mydbsubnetgroup\n

", "smithy.api#required": {} } @@ -11786,6 +11815,7 @@ "SubscriptionName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the RDS event notification subscription you want to delete.

", "smithy.api#required": {} } @@ -11855,6 +11885,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the global database cluster being deleted.

", "smithy.api#required": {} } @@ -11910,6 +11941,7 @@ "OptionGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the option group to be deleted.

\n \n

You can't delete default option groups.

\n
", "smithy.api#required": {} } @@ -11952,6 +11984,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DBProxy that is associated with the DBProxyTargetGroup.

", "smithy.api#required": {} } @@ -12344,6 +12377,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the DB cluster to be described. This parameter is\n stored as a lowercase string.

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -12638,6 +12672,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a specific DB cluster parameter group to return parameter details for.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -12717,6 +12752,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB cluster snapshot to describe the attributes for.

", "smithy.api#required": {} } @@ -12994,14 +13030,12 @@ "IncludeShared": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include shared manual DB cluster snapshots \n from other Amazon Web Services accounts that this Amazon Web Services account has been given \n permission to copy or restore. By default, these snapshots are not included.

\n

You can give an Amazon Web Services account permission to restore a manual DB cluster snapshot from\n another Amazon Web Services account by the ModifyDBClusterSnapshotAttribute API action.

" } }, "IncludePublic": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include manual DB cluster snapshots that are public and can be copied \n or restored by any Amazon Web Services account. By default, the public snapshots are not included.

\n

You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.

" } }, @@ -13292,7 +13326,6 @@ "IncludeShared": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the output includes information about clusters\n shared from other Amazon Web Services accounts.

" } } @@ -13398,7 +13431,6 @@ "DefaultOnly": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to return only the default version of the specified engine or the engine and major version combination.

" } }, @@ -13820,14 +13852,12 @@ "LastWritten": { "target": "com.amazonaws.rds#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A POSIX timestamp when the last log entry was written.

" } }, "Size": { "target": "com.amazonaws.rds#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size, in bytes, of the log file for the specified DB instance.

" } } @@ -13851,6 +13881,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The customer-assigned name of the DB instance that contains the log files you want to list.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -13864,14 +13895,12 @@ "FileLastWritten": { "target": "com.amazonaws.rds#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Filters the available log files for files written since the specified date, in POSIX timestamp format with milliseconds.

" } }, "FileSize": { "target": "com.amazonaws.rds#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Filters the available log files for files larger than the specified size.

" } }, @@ -14072,6 +14101,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a specific DB parameter group to return details for.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -14299,6 +14329,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DBProxy associated with the target group.

", "smithy.api#required": {} } @@ -14390,6 +14421,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DBProxyTarget to describe.

", "smithy.api#required": {} } @@ -14555,6 +14587,7 @@ "DBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB snapshot to describe the attributes for.

", "smithy.api#required": {} } @@ -14809,14 +14842,12 @@ "IncludeShared": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include shared manual DB cluster snapshots \n from other Amazon Web Services accounts that this Amazon Web Services account has been given \n permission to copy or restore. By default, these snapshots are not included.

\n

You can give an Amazon Web Services account permission to restore a manual DB snapshot from\n another Amazon Web Services account by using the ModifyDBSnapshotAttribute API action.

\n

This setting doesn't apply to RDS Custom.

" } }, "IncludePublic": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include manual DB cluster snapshots that are public and can be copied \n or restored by any Amazon Web Services account. By default, the public snapshots are not included.

\n

You can share a manual DB snapshot as public by using the ModifyDBSnapshotAttribute API.

\n

This setting doesn't apply to RDS Custom.

" } }, @@ -14979,6 +15010,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group family to return engine parameter information for.

", "smithy.api#required": {} } @@ -15066,6 +15098,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group family.

\n

Valid Values:

\n ", "smithy.api#required": {} } @@ -15651,6 +15684,7 @@ "EngineName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A required parameter. Options available for the given engine name are described.

\n

Valid Values:

\n ", "smithy.api#required": {} } @@ -15844,6 +15878,7 @@ "Engine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the engine to retrieve DB instance options for.

\n

Valid Values:

\n ", "smithy.api#required": {} } @@ -16470,6 +16505,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The customer identifier or the ARN of your DB instance.

", "smithy.api#required": {} } @@ -16578,10 +16614,7 @@ } }, "com.amazonaws.rds#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.rds#DoubleOptional": { "type": "double" @@ -16592,14 +16625,12 @@ "From": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value in the range.

" } }, "To": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value in the range.

" } } @@ -16671,7 +16702,6 @@ "AdditionalDataPending": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that, if true, indicates there is more data to be downloaded.

" } } @@ -16686,6 +16716,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The customer-assigned name of the DB instance that contains the log files you want to list.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -16693,6 +16724,7 @@ "LogFileName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the log file to be downloaded.

", "smithy.api#required": {} } @@ -16706,7 +16738,6 @@ "NumberOfLines": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines to download. If the number of lines specified results in a file over 1 MB in size, the file is truncated at 1 MB in size.

\n

If the NumberOfLines parameter is specified, then the block of lines returned can be from the beginning \n or the end of the log file, depending on the value of the Marker parameter.

\n " } } @@ -16786,7 +16817,6 @@ "Port": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -17016,7 +17046,6 @@ "Enabled": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating if the subscription is enabled. True indicates the subscription is enabled.

" } }, @@ -17191,14 +17220,12 @@ "PercentProgress": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The progress of the snapshot or cluster export task as a percentage.

" } }, "TotalExtractedDataInGB": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of data exported, in gigabytes.

" } }, @@ -17330,6 +17357,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster to force a failover for. This parameter isn't case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -17389,6 +17417,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.rds#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the global database cluster (Aurora global database) this operation should apply to. \n The identifier is the unique key assigned by the user when the Aurora global database is created. In other words,\n it's the name of the Aurora global database.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -17396,6 +17425,7 @@ "TargetDbClusterIdentifier": { "target": "com.amazonaws.rds#DBClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the secondary Aurora DB cluster that you want to promote to the primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that\n Aurora can locate the cluster in its Amazon Web Services Region.

", "smithy.api#required": {} } @@ -17452,7 +17482,6 @@ "IsDataLossAllowed": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the operation is a global switchover or a global failover. If data loss is allowed, then the operation is a global failover. \n Otherwise, it's a switchover.

" } } @@ -17496,6 +17525,7 @@ "Name": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the filter. Filter names are case-sensitive.

", "smithy.api#required": {} } @@ -17503,6 +17533,7 @@ "Values": { "target": "com.amazonaws.rds#FilterValueList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more filter values. Filter values are case-sensitive.

", "smithy.api#required": {} } @@ -17658,7 +17689,6 @@ "IsWriter": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the Aurora DB cluster is the primary cluster\n (that is, has read-write capability) for the global\n cluster with which it is associated.

" } }, @@ -17931,10 +17961,7 @@ } }, "com.amazonaws.rds#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.rds#IntegerOptional": { "type": "integer" @@ -18490,6 +18517,7 @@ "ResourceName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon RDS resource with tags to be listed. This value is an Amazon Resource Name (ARN). For information about \n creating an ARN, \n see \n Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.

", "smithy.api#required": {} } @@ -18548,10 +18576,7 @@ } }, "com.amazonaws.rds#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.rds#LongOptional": { "type": "long" @@ -18822,6 +18847,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -18875,6 +18901,7 @@ "Engine": { "target": "com.amazonaws.rds#CustomEngineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB engine. The only supported values are custom-oracle-ee and custom-oracle-ee-cdb.

", "smithy.api#required": {} } @@ -18882,6 +18909,7 @@ "EngineVersion": { "target": "com.amazonaws.rds#CustomEngineVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The custom engine version (CEV) that you want to modify. This option is required for \n RDS Custom for Oracle, but optional for Amazon RDS. The combination of Engine and \n EngineVersion is unique per customer per Amazon Web Services Region.

", "smithy.api#required": {} } @@ -19092,6 +19120,7 @@ "DBClusterEndpointIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the endpoint to modify. This parameter is stored as a lowercase string.

", "smithy.api#required": {} } @@ -19125,6 +19154,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -19138,7 +19168,6 @@ "ApplyImmediately": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the modifications in this request and any pending modifications are \n asynchronously applied as soon as possible, regardless of the PreferredMaintenanceWindow setting \n for the DB cluster. If this parameter is disabled, changes to the DB cluster are applied during the next \n maintenance window.

\n

Most modifications can be applied immediately or during the next scheduled maintenance window. Some \n modifications, such as turning on deletion protection and changing the master password, are applied \n immediately—regardless of when you choose to apply them.

\n

By default, this parameter is disabled.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

" } }, @@ -19217,7 +19246,6 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether major version upgrades are allowed.

\n

Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters

\n

Constraints:

\n " } }, @@ -19365,7 +19393,6 @@ "AllowEngineModeChange": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether engine mode changes from serverless to provisioned \n are allowed.

\n

Valid for Cluster Type: Aurora Serverless v1 DB clusters only

\n

Constraints:

\n " } }, @@ -19437,6 +19464,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group to modify.

", "smithy.api#required": {} } @@ -19444,6 +19472,7 @@ "Parameters": { "target": "com.amazonaws.rds#ParametersList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of parameters in the DB cluster parameter group to modify.

\n

Valid Values (for the application method): immediate | pending-reboot\n

\n \n

You can use the immediate value with dynamic parameters only. You can use the \n pending-reboot value for both dynamic and static parameters.

\n

When the application method is immediate, changes to dynamic parameters are applied immediately \n to the DB clusters associated with the parameter group. When the application method is pending-reboot, \n changes to dynamic and static parameters are applied after a reboot without failover to the DB clusters associated with the \n parameter group.

\n
", "smithy.api#required": {} } @@ -19520,6 +19549,7 @@ "DBClusterSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB cluster snapshot to modify the attributes for.

", "smithy.api#required": {} } @@ -19527,6 +19557,7 @@ "AttributeName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster snapshot attribute to modify.

\n

To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB cluster snapshot, \n set this value to restore.

\n \n

To view the list of attributes available to modify, use the\n DescribeDBClusterSnapshotAttributes API operation.

\n
", "smithy.api#required": {} } @@ -19685,6 +19716,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of DB instance to modify. This value is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -19722,7 +19754,6 @@ "ApplyImmediately": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the modifications in this request and any pending modifications are asynchronously applied as soon as possible, \n regardless of the PreferredMaintenanceWindow setting for the DB instance. By default, this parameter is disabled.

\n

If this parameter is disabled, changes to the DB instance are applied during the next maintenance window. Some parameter changes can cause an outage\n and are applied on the next call to RebootDBInstance, or the next failure reboot. Review the table of parameters in \n Modifying a DB Instance in the \n Amazon RDS User Guide to see the impact of enabling or disabling ApplyImmediately for each modified parameter and to \n determine when the changes are applied.

" } }, @@ -19771,7 +19802,6 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether major version upgrades are allowed. Changing this parameter doesn't \n result in an outage and the change is asynchronously applied as soon as possible.

\n

This setting doesn't apply to RDS Custom DB instances.

\n

Constraints:

\n " } }, @@ -20101,6 +20131,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -20108,6 +20139,7 @@ "Parameters": { "target": "com.amazonaws.rds#ParametersList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of parameter names, values, and the application methods for the parameter update. At least one parameter name, value, and \n application method must be supplied; later arguments are optional. A maximum of 20 parameters can be modified in a single request.

\n

Valid Values (for the application method): immediate | pending-reboot\n

\n

You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic \n and static parameters.

\n

When the application method is immediate, changes to dynamic parameters are applied immediately to the DB instances associated with \n the parameter group.

\n

When the application method is pending-reboot, changes to dynamic and static parameters are applied after a reboot without failover \n to the DB instances associated with the parameter group.

\n \n

You can't use pending-reboot with dynamic parameters on RDS for SQL Server DB instances. Use immediate.

\n
\n

For more information on modifying DB parameters, see Working \n with DB parameter groups in the Amazon RDS User Guide.

", "smithy.api#required": {} } @@ -20173,6 +20205,7 @@ "DBProxyEndpointName": { "target": "com.amazonaws.rds#DBProxyEndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB proxy sociated with the DB proxy endpoint that you want to modify.

", "smithy.api#required": {} } @@ -20214,6 +20247,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DBProxy to modify.

", "smithy.api#required": {} } @@ -20308,6 +20342,7 @@ "TargetGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the target group to modify.

", "smithy.api#required": {} } @@ -20315,6 +20350,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the proxy.

", "smithy.api#required": {} } @@ -20460,6 +20496,7 @@ "DBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB snapshot to modify the attributes for.

", "smithy.api#required": {} } @@ -20467,6 +20504,7 @@ "AttributeName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB snapshot attribute to modify.

\n

To manage authorization for other Amazon Web Services accounts to copy or restore a manual DB snapshot, \n set this value to restore.

\n \n

To view the list of attributes available to modify, use the\n DescribeDBSnapshotAttributes API operation.

\n
", "smithy.api#required": {} } @@ -20506,6 +20544,7 @@ "DBSnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB snapshot to modify.

", "smithy.api#required": {} } @@ -20628,6 +20667,7 @@ "DBSubnetGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the DB subnet group. This value is stored as a lowercase string.\n You can't modify the default subnet group.

\n

Constraints: Must match the name of an existing DBSubnetGroup. Must not be default.

\n

Example: mydbsubnetgroup\n

", "smithy.api#required": {} } @@ -20641,6 +20681,7 @@ "SubnetIds": { "target": "com.amazonaws.rds#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The EC2 subnet IDs for the DB subnet group.

", "smithy.api#required": {} } @@ -20726,6 +20767,7 @@ "SubscriptionName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the RDS event notification subscription.

", "smithy.api#required": {} } @@ -20916,6 +20958,7 @@ "OptionGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the option group to be modified.

\n

Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance once it is associated with a DB instance

", "smithy.api#required": {} } @@ -20935,7 +20978,6 @@ "ApplyImmediately": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.

" } } @@ -20991,14 +21033,12 @@ "Persistent": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this option is persistent.

" } }, "Permanent": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this option is permanent.

" } }, @@ -21043,6 +21083,7 @@ "OptionName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration of options to include in a group.

", "smithy.api#required": {} } @@ -21127,7 +21168,6 @@ "AllowsVpcAndNonVpcInstanceMemberships": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this option group can be applied to both VPC \n and non-VPC instances. The value true indicates the option group \n can be applied to both VPC and non-VPC instances.

" } }, @@ -21265,7 +21305,6 @@ "PortRequired": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the option requires a port.

" } }, @@ -21290,28 +21329,24 @@ "Persistent": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Persistent options can't be removed from an option group while DB instances are associated with the option group. If you disassociate all DB instances from the option group, your can remove the persistent option from the option group.

" } }, "Permanent": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Permanent options can never be removed from an option group. An option group containing a permanent option can't be removed from a DB instance.

" } }, "RequiresAutoMinorEngineVersionUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, you must enable the Auto Minor Version Upgrade setting for your DB instance \n before you can use this option.\n You can enable Auto Minor Version Upgrade when you first create your DB instance,\n or by modifying your DB instance later.

" } }, "VpcOnly": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, you can only use this option with a DB instance that is in a VPC.

" } }, @@ -21380,14 +21415,12 @@ "IsModifiable": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this option group option can be changed from the default value.

" } }, "IsRequired": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a value must be specified for this option setting of the option group option.

" } }, @@ -21550,14 +21583,12 @@ "IsModifiable": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the option setting can be modified from the default.

" } }, "IsCollection": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the option setting is part of a collection.

" } } @@ -21596,7 +21627,6 @@ "IsDefault": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the version is the default version of the option.

" } } @@ -21674,28 +21704,24 @@ "MultiAZCapable": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance is Multi-AZ capable.

" } }, "ReadReplicaCapable": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance can have a read replica.

" } }, "Vpc": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance is in a VPC.

" } }, "SupportsStorageEncryption": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports encrypted storage.

" } }, @@ -21708,28 +21734,24 @@ "SupportsIops": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports provisioned IOPS.

" } }, "SupportsEnhancedMonitoring": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds.

" } }, "SupportsIAMDatabaseAuthentication": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports IAM database authentication.

" } }, "SupportsPerformanceInsights": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports Performance Insights.

" } }, @@ -21796,7 +21818,6 @@ "OutpostCapable": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports RDS on Outposts.

\n

For more information about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts \n in the Amazon RDS User Guide.\n

" } }, @@ -21809,14 +21830,12 @@ "SupportsGlobalDatabases": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you can use Aurora global databases with a specific combination of other DB engine attributes.

" } }, "SupportsClusters": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether DB instances can be configured as a Multi-AZ DB cluster.

\n

For more information on Multi-AZ DB clusters, see \n \n Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide.\n

" } }, @@ -21829,7 +21848,6 @@ "SupportsStorageThroughput": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports storage throughput.

" } }, @@ -21860,7 +21878,6 @@ "SupportsDedicatedLogVolume": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports using a dedicated log volume (DLV).

" } } @@ -21961,7 +21978,6 @@ "IsModifiable": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be modified.\n Some parameters have security or operational implications\n that prevent them from being changed.

" } }, @@ -22340,6 +22356,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DB cluster read replica to promote. This parameter isn't\n case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster-replica1\n

", "smithy.api#required": {} } @@ -22367,6 +22384,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier. This value is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mydbinstance\n

", "smithy.api#required": {} } @@ -22480,6 +22498,7 @@ "ReservedDBInstancesOfferingId": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Reserved DB instance offering to purchase.

\n

Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706

", "smithy.api#required": {} } @@ -22522,14 +22541,12 @@ "From": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value in the range.

" } }, "To": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value in the range.

" } }, @@ -22615,6 +22632,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -22684,6 +22702,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -22717,7 +22736,6 @@ "RecurringChargeAmount": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of the recurring charge.

" } }, @@ -22788,6 +22806,7 @@ "DBProxyName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the DBProxy that is associated with the DBProxyTargetGroup.

", "smithy.api#required": {} } @@ -22959,6 +22978,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to disassociate the IAM role from.

", "smithy.api#required": {} } @@ -22966,6 +22986,7 @@ "RoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to disassociate from the Aurora DB cluster, for example\n arn:aws:iam::123456789012:role/AuroraAccessRole.

", "smithy.api#required": {} } @@ -23010,6 +23031,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB instance to disassociate the IAM role from.

", "smithy.api#required": {} } @@ -23017,6 +23039,7 @@ "RoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role to disassociate from the DB instance,\n for example, arn:aws:iam::123456789012:role/AccessRole.

", "smithy.api#required": {} } @@ -23024,6 +23047,7 @@ "FeatureName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature for the DB instance that the IAM role is to be disassociated from.\n For information about supported feature names, see DBEngineVersion.

", "smithy.api#required": {} } @@ -23088,6 +23112,7 @@ "SubscriptionName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the RDS event notification subscription you want to remove a source identifier from.

", "smithy.api#required": {} } @@ -23095,6 +23120,7 @@ "SourceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source identifier to be removed from the subscription, such as the DB instance identifier \n for a DB instance or the name of a security group.

", "smithy.api#required": {} } @@ -23167,6 +23193,7 @@ "ResourceName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon RDS resource that the tags are removed from. This value is an Amazon Resource Name (ARN). For information about \n creating an ARN, \n see \n Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.\n

", "smithy.api#required": {} } @@ -23174,6 +23201,7 @@ "TagKeys": { "target": "com.amazonaws.rds#KeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key (name) of the tag to be removed.

", "smithy.api#required": {} } @@ -23231,21 +23259,18 @@ "Duration": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the reservation in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price charged for this reserved DB instance.

" } }, "UsagePrice": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The hourly price charged for this reserved DB instance.

" } }, @@ -23258,7 +23283,6 @@ "DBInstanceCount": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of reserved DB instances.

" } }, @@ -23277,7 +23301,6 @@ "MultiAZ": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the reservation applies to Multi-AZ deployments.

" } }, @@ -23409,21 +23432,18 @@ "Duration": { "target": "com.amazonaws.rds#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the offering in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price charged for this offering.

" } }, "UsagePrice": { "target": "com.amazonaws.rds#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The hourly price charged for this offering.

" } }, @@ -23448,7 +23468,6 @@ "MultiAZ": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the offering applies to Multi-AZ deployments.

" } }, @@ -23549,6 +23568,7 @@ "DBClusterParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster parameter group to reset.

", "smithy.api#required": {} } @@ -23556,7 +23576,6 @@ "ResetAllParameters": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to reset all parameters in the DB cluster parameter group \n to their default values. You can't use this parameter if there \n is a list of parameter names specified for the Parameters parameter.

" } }, @@ -23611,6 +23630,7 @@ "DBParameterGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB parameter group.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -23618,7 +23638,6 @@ "ResetAllParameters": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to reset all parameters in the DB parameter group to default values. \n By default, all parameters in the DB parameter group are reset to default values.

" } }, @@ -23822,6 +23841,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to create from the source data in the Amazon S3 bucket. This parameter isn't case-sensitive.

\n

Constraints:

\n \n

Example: my-cluster1\n

", "smithy.api#required": {} } @@ -23847,6 +23867,7 @@ "Engine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database engine to be used for this DB cluster.

\n

Valid Values: aurora-mysql (for Aurora MySQL)

", "smithy.api#required": {} } @@ -23866,6 +23887,7 @@ "MasterUsername": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the master user for the restored DB cluster.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -23918,6 +23940,7 @@ "SourceEngine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the database engine that was backed up to create the files stored in the\n Amazon S3 bucket.

\n

Valid Values: mysql\n

", "smithy.api#required": {} } @@ -23925,6 +23948,7 @@ "SourceEngineVersion": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the database that the backup files were created from.

\n

MySQL versions 5.7 and 8.0 are supported.

\n

Example: 5.7.40, 8.0.28\n

", "smithy.api#required": {} } @@ -23932,6 +23956,7 @@ "S3BucketName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon S3 bucket that contains the data used to create the Amazon Aurora DB cluster.

", "smithy.api#required": {} } @@ -23945,6 +23970,7 @@ "S3IngestionRoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) role that authorizes\n Amazon RDS to access the Amazon S3 bucket on your behalf.

", "smithy.api#required": {} } @@ -24170,6 +24196,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB cluster to create from the DB snapshot or DB cluster snapshot.\n This parameter isn't case-sensitive.

\n

Constraints:

\n \n

Example: my-snapshot-id\n

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", "smithy.api#required": {} } @@ -24177,6 +24204,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the DB snapshot or DB cluster snapshot to restore from.

\n

You can use either the name or the Amazon Resource Name (ARN) to specify a DB\n cluster snapshot. However, you can use only the ARN to specify a DB snapshot.

\n

Constraints:

\n \n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", "smithy.api#required": {} } @@ -24184,6 +24212,7 @@ "Engine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The database engine to use for the new DB cluster.

\n

Default: The same as source

\n

Constraint: Must be compatible with the engine of the source

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", "smithy.api#required": {} } @@ -24482,6 +24511,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new DB cluster to be created.

\n

Constraints:

\n \n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

", "smithy.api#required": {} } @@ -24507,7 +24537,6 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to restore the DB cluster to the latest \n restorable backup time. By default, the DB cluster isn't restored to the latest \n restorable backup time.

\n

Constraints: Can't be specified if RestoreToTime parameter is provided.

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, @@ -24777,6 +24806,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the DB instance to create from the DB snapshot. This parameter isn't case-sensitive.

\n

Constraints:

\n \n

Example: my-snapshot-id\n

", "smithy.api#required": {} } @@ -25109,6 +25139,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier. This parameter is stored as a lowercase string.

\n

Constraints:

\n \n

Example: mydbinstance\n

", "smithy.api#required": {} } @@ -25122,6 +25153,7 @@ "DBInstanceClass": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The compute and memory capacity of the DB instance, \n for example db.m4.large.\n Not all DB instance classes are available in all Amazon Web Services Regions, \n or for all database engines.\n For the full list of DB instance classes,\n and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.\n

\n

Importing from Amazon S3 isn't supported on the db.t2.micro DB instance class.

", "smithy.api#required": {} } @@ -25129,6 +25161,7 @@ "Engine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database engine to be used for this instance.

\n

Valid Values: \n mysql\n

", "smithy.api#required": {} } @@ -25292,6 +25325,7 @@ "SourceEngine": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the engine of your source database.

\n

Valid Values: \n mysql\n

", "smithy.api#required": {} } @@ -25299,6 +25333,7 @@ "SourceEngineVersion": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the database that the backup files were created from.

\n

MySQL versions 5.6 and 5.7 are supported.

\n

Example: 5.6.40\n

", "smithy.api#required": {} } @@ -25306,6 +25341,7 @@ "S3BucketName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of your Amazon S3 bucket \n that contains your database backup file.

", "smithy.api#required": {} } @@ -25319,6 +25355,7 @@ "S3IngestionRoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An Amazon Web Services Identity and Access Management (IAM) role to allow Amazon RDS to access your Amazon S3 bucket.

", "smithy.api#required": {} } @@ -25602,6 +25639,7 @@ "TargetDBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new DB instance to create.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -25615,7 +25653,6 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB instance is restored from the latest backup time. By default, the DB instance \n isn't restored from the latest backup time.

\n

Constraints:

\n " } }, @@ -25935,6 +25972,7 @@ "DBSecurityGroupName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the DB security group to revoke ingress from.

", "smithy.api#required": {} } @@ -26277,7 +26315,6 @@ "SupportsDBInstanceAutomatedBackupsReplication": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the source Amazon Web Services Region supports replicating automated backups to the current Amazon Web Services Region.

" } } @@ -26432,6 +26469,7 @@ "ResourceArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the DB cluster,\n for example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.

", "smithy.api#required": {} } @@ -26439,6 +26477,7 @@ "Mode": { "target": "com.amazonaws.rds#ActivityStreamMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the mode of the database activity stream.\n Database events such as a change or access generate an activity stream event.\n The database session can handle these events either synchronously or asynchronously.

", "smithy.api#required": {} } @@ -26446,6 +26485,7 @@ "KmsKeyId": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream.\n The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

", "smithy.api#required": {} } @@ -26497,7 +26537,6 @@ "ApplyImmediately": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not the database activity stream will start as soon as possible, \n regardless of the maintenance window for the database.

" } }, @@ -26563,6 +26602,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the Amazon Aurora DB cluster to be started. This parameter is stored as\n a lowercase string.

", "smithy.api#required": {} } @@ -26712,6 +26752,7 @@ "SourceDBInstanceArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, \n arn:aws:rds:us-west-2:123456789012:db:mydatabase.

", "smithy.api#required": {} } @@ -26756,6 +26797,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user-supplied instance identifier.

", "smithy.api#required": {} } @@ -26850,6 +26892,7 @@ "ExportTaskIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the export task. This ID isn't an identifier for\n the Amazon S3 bucket where the data is to be exported.

", "smithy.api#required": {} } @@ -26857,6 +26900,7 @@ "SourceArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the snapshot or cluster to export to Amazon S3.

", "smithy.api#required": {} } @@ -26864,6 +26908,7 @@ "S3BucketName": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon S3 bucket to export the snapshot or cluster data to.

", "smithy.api#required": {} } @@ -26871,6 +26916,7 @@ "IamRoleArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the IAM role to use for writing to the Amazon S3 bucket \n when exporting a snapshot or cluster.

\n

In the IAM policy attached to your IAM role, include the following required actions to allow the transfer of files from Amazon\n RDS or Amazon Aurora to an S3 bucket:

\n \n

In the policy, include the resources to identify the S3 bucket and objects in the bucket. The following list of resources shows\n the Amazon Resource Name (ARN) format for accessing S3:

\n ", "smithy.api#required": {} } @@ -26878,6 +26924,7 @@ "KmsKeyId": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Web Services KMS key to use to encrypt the data exported to Amazon S3. The Amazon Web Services KMS \n key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. \n The caller of this operation must be authorized to run the following operations. \n These can be set in the Amazon Web Services KMS key policy:

\n ", "smithy.api#required": {} } @@ -26949,6 +26996,7 @@ "ResourceArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the DB cluster for the database activity stream.\n For example, arn:aws:rds:us-east-1:12345667890:cluster:das-cluster.

", "smithy.api#required": {} } @@ -27041,6 +27089,7 @@ "DBClusterIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB cluster identifier of the Amazon Aurora DB cluster to be stopped. This parameter is stored as\n a lowercase string.

", "smithy.api#required": {} } @@ -27165,6 +27214,7 @@ "SourceDBInstanceArn": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source DB instance for which to stop replicating\n automate backups, for example,\n arn:aws:rds:us-west-2:123456789012:db:mydatabase.

", "smithy.api#required": {} } @@ -27191,6 +27241,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user-supplied instance identifier.

", "smithy.api#required": {} } @@ -27446,6 +27497,7 @@ "BlueGreenDeploymentIdentifier": { "target": "com.amazonaws.rds#BlueGreenDeploymentIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the blue/green deployment.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -27539,6 +27591,7 @@ "GlobalClusterIdentifier": { "target": "com.amazonaws.rds#GlobalClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the global database cluster to switch over. This parameter isn't case-sensitive.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -27546,6 +27599,7 @@ "TargetDbClusterIdentifier": { "target": "com.amazonaws.rds#DBClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the secondary Aurora DB cluster to promote to the new primary for the global database cluster. Use the Amazon Resource Name (ARN) for the identifier so that\n Aurora can locate the cluster in its Amazon Web Services Region.

", "smithy.api#required": {} } @@ -27592,6 +27646,7 @@ "DBInstanceIdentifier": { "target": "com.amazonaws.rds#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The DB instance identifier of the current standby database. This value is stored as a lowercase string.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -27890,14 +27945,12 @@ "AutoUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

" } }, "IsMajorVersionUpgrade": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether upgrading to the target version requires upgrading the major version of the database engine.

" } }, @@ -28054,7 +28107,6 @@ "SupportsDedicatedLogVolume": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports using a dedicated log volume (DLV).

" } } @@ -28093,7 +28145,6 @@ "SupportsStorageAutoscaling": { "target": "com.amazonaws.rds#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not Amazon RDS can automatically scale storage for DB instances that use the new instance class.

" } }, diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index 94d3ba7c3cf..4938e916680 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -70,6 +70,7 @@ "ReservedNodeId": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A string representing the node identifier of the DC1 Reserved Node to be\n exchanged.

", "smithy.api#required": {} } @@ -77,6 +78,7 @@ "TargetReservedNodeOfferingId": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the DC2 Reserved Node offering to be used for the exchange.\n You can obtain the value for the parameter by calling GetReservedNodeExchangeOfferings\n

", "smithy.api#required": {} } @@ -332,6 +334,7 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare that the consumer is to use with the account or the namespace.

", "smithy.api#required": {} } @@ -631,6 +634,7 @@ "ClusterSecurityGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the security group to which the ingress rule is added.

", "smithy.api#required": {} } @@ -693,6 +697,7 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare that producers are to authorize\n sharing for.

", "smithy.api#required": {} } @@ -700,6 +705,7 @@ "ConsumerIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the data consumer that is authorized to access the datashare. This identifier is an Amazon Web Services account ID or a keyword, such as ADX.

", "smithy.api#required": {} } @@ -753,6 +759,7 @@ "Account": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID to grant access to.

", "smithy.api#required": {} } @@ -827,6 +834,7 @@ "AccountWithRestoreAccess": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the Amazon Web Services account authorized to restore the specified\n snapshot.

\n

To share a snapshot with Amazon Web Services Support, specify amazon-redshift-support.

", "smithy.api#required": {} } @@ -900,6 +908,7 @@ "Identifiers": { "target": "com.amazonaws.redshift#DeleteClusterSnapshotMessageList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of identifiers for the snapshots that you want to delete.

", "smithy.api#required": {} } @@ -989,6 +998,7 @@ "SnapshotIdentifierList": { "target": "com.amazonaws.redshift#SnapshotIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of snapshot identifiers you want to modify.

", "smithy.api#required": {} } @@ -1002,7 +1012,6 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether to override an exception if the retention period\n has passed.

" } } @@ -1050,10 +1059,7 @@ } }, "com.amazonaws.redshift#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.redshift#BooleanOptional": { "type": "boolean" @@ -1107,6 +1113,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the cluster that you want to cancel a resize operation\n for.

", "smithy.api#required": {} } @@ -1205,14 +1212,12 @@ "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automatic cluster snapshots are retained.

" } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The default number of days to retain a manual snapshot. If the value is -1, the\n snapshot is retained indefinitely. This setting doesn't change the retention period\n of existing snapshots.

\n

The value must be either -1 or an integer between 1 and 3,653.

" } }, @@ -1273,28 +1278,24 @@ "AllowVersionUpgrade": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that, if true, indicates that major version upgrades\n will be applied automatically to the cluster during the maintenance window.

" } }, "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of compute nodes in the cluster.

" } }, "PubliclyAccessible": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that, if true, indicates that the cluster can be\n accessed from a public network.

" } }, "Encrypted": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that, if true, indicates that data in the cluster is\n encrypted at rest.

" } }, @@ -1361,7 +1362,6 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

An option that specifies whether to create the cluster with enhanced VPC routing\n enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a\n VPC. For more information, see Enhanced VPC Routing in\n the Amazon Redshift Cluster Management Guide.

\n

If this option is true, enhanced VPC routing is enabled.

\n

Default: false

" } }, @@ -2173,14 +2173,12 @@ "RetentionPeriod": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automated snapshots are retained in the destination region\n after they are copied from a source region.

" } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automated snapshots are retained in the destination region\n after they are copied from a source region. If the value is -1, the manual snapshot is\n retained indefinitely.

\n

The value must be either -1 or an integer between 1 and 3,653.

" } }, @@ -2483,6 +2481,7 @@ "SourceSnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the source snapshot.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -2496,6 +2495,7 @@ "TargetSnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier given to the new manual snapshot.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -2569,6 +2569,7 @@ "AuthenticationProfileName": { "target": "com.amazonaws.redshift#AuthenticationProfileNameString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the authentication profile to be created.

", "smithy.api#required": {} } @@ -2576,6 +2577,7 @@ "AuthenticationProfileContent": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The content of the authentication profile in JSON format. \n The maximum length of the JSON string is determined by a quota for your account.

", "smithy.api#required": {} } @@ -2697,6 +2699,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the cluster. You use this identifier to refer to the\n cluster for any subsequent cluster operations such as deleting or modifying. The\n identifier also appears in the Amazon Redshift console.

\n

Constraints:

\n \n

Example: myexamplecluster\n

", "smithy.api#required": {} } @@ -2710,6 +2713,7 @@ "NodeType": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The node type to be provisioned for the cluster. For information about node types,\n go to Working with\n Clusters in the Amazon Redshift Cluster Management Guide.

\n

Valid Values: ds2.xlarge | ds2.8xlarge |\n dc1.large | dc1.8xlarge | \n dc2.large | dc2.8xlarge | \n ra3.xlplus | ra3.4xlarge | ra3.16xlarge\n

", "smithy.api#required": {} } @@ -2717,6 +2721,7 @@ "MasterUsername": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user name associated with the admin user account for the cluster that is being\n created.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -2945,6 +2950,7 @@ "ParameterGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group.

\n

Constraints:

\n \n \n

This value is stored as a lower-case string.

\n
", "smithy.api#required": {} } @@ -2952,6 +2958,7 @@ "ParameterGroupFamily": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Redshift engine version to which the cluster parameter group applies. The\n cluster engine version determines the set of parameters.

\n

To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of\n all the parameter groups that are owned by your Amazon Web Services account, including the default\n parameter groups for each Amazon Redshift engine version. The parameter group family names\n associated with the default parameter groups provide you the valid values. For example,\n a valid family name is \"redshift-1.0\".

", "smithy.api#required": {} } @@ -2959,6 +2966,7 @@ "Description": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the parameter group.

", "smithy.api#required": {} } @@ -3029,6 +3037,7 @@ "ClusterSecurityGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the security group. Amazon Redshift stores the value as a lowercase\n string.

\n

Constraints:

\n \n

Example: examplesecuritygroup\n

", "smithy.api#required": {} } @@ -3036,6 +3045,7 @@ "Description": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the security group.

", "smithy.api#required": {} } @@ -3104,6 +3114,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the snapshot that you are requesting. This identifier must\n be unique for all snapshots within the Amazon Web Services account.

\n

Constraints:

\n \n

Example: my-snapshot-id\n

", "smithy.api#required": {} } @@ -3111,6 +3122,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier for which you want a snapshot.

", "smithy.api#required": {} } @@ -3188,6 +3200,7 @@ "ClusterSubnetGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the subnet group. Amazon Redshift stores the value as a lowercase\n string.

\n

Constraints:

\n \n

Example: examplesubnetgroup\n

", "smithy.api#required": {} } @@ -3195,6 +3208,7 @@ "Description": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the subnet group.

", "smithy.api#required": {} } @@ -3202,6 +3216,7 @@ "SubnetIds": { "target": "com.amazonaws.redshift#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single\n request.

", "smithy.api#required": {} } @@ -3258,6 +3273,7 @@ "CustomDomainName": { "target": "com.amazonaws.redshift#CustomDomainNameString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The custom domain name for a custom domain association.

", "smithy.api#required": {} } @@ -3265,6 +3281,7 @@ "CustomDomainCertificateArn": { "target": "com.amazonaws.redshift#CustomDomainCertificateArnString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The certificate Amazon Resource Name (ARN) for the custom domain name association.

", "smithy.api#required": {} } @@ -3272,6 +3289,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier that the custom domain is associated with.

", "smithy.api#required": {} } @@ -3375,6 +3393,7 @@ "EndpointName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Redshift-managed VPC endpoint name.

\n

An endpoint name must contain 1-30 characters.\n Valid characters are A-Z, a-z, 0-9, and hyphen(-).\n The first character must be a letter.\n The name can't contain two consecutive hyphens or end with a hyphen.

", "smithy.api#required": {} } @@ -3382,6 +3401,7 @@ "SubnetGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.

", "smithy.api#required": {} } @@ -3450,6 +3470,7 @@ "SubscriptionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the event subscription to be created.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3457,6 +3478,7 @@ "SnsTopicArn": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event\n notifications. The ARN is created by Amazon SNS when you create a topic and subscribe to\n it.

", "smithy.api#required": {} } @@ -3546,6 +3568,7 @@ "HsmClientCertificateIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier to be assigned to the new HSM client certificate that the cluster\n will use to connect to the HSM to use the database encryption keys.

", "smithy.api#required": {} } @@ -3605,6 +3628,7 @@ "HsmConfigurationIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier to be assigned to the new Amazon Redshift HSM configuration.

", "smithy.api#required": {} } @@ -3612,6 +3636,7 @@ "Description": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A text description of the HSM configuration to be created.

", "smithy.api#required": {} } @@ -3619,6 +3644,7 @@ "HsmIpAddress": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IP address that the Amazon Redshift cluster must use to access the HSM.

", "smithy.api#required": {} } @@ -3626,6 +3652,7 @@ "HsmPartitionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the partition in the HSM where the Amazon Redshift clusters will store their\n database encryption keys.

", "smithy.api#required": {} } @@ -3633,6 +3660,7 @@ "HsmPartitionPassword": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The password required to access the HSM partition.

", "smithy.api#required": {} } @@ -3640,6 +3668,7 @@ "HsmServerPublicCertificate": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The HSMs public certificate file. When using Cloud HSM, the file name is\n server.pem.

", "smithy.api#required": {} } @@ -3705,6 +3734,7 @@ "ScheduledActionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduled action. The name must be unique within an account. \n For more information about this parameter, see ScheduledAction.

", "smithy.api#required": {} } @@ -3712,6 +3742,7 @@ "TargetAction": { "target": "com.amazonaws.redshift#ScheduledActionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON format string of the Amazon Redshift API operation with input parameters. \n For more information about this parameter, see ScheduledAction.

", "smithy.api#required": {} } @@ -3719,6 +3750,7 @@ "Schedule": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The schedule in at( ) or cron( ) format. \n For more information about this parameter, see ScheduledAction.

", "smithy.api#required": {} } @@ -3726,6 +3758,7 @@ "IamRole": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IAM role to assume to run the target action. \n For more information about this parameter, see ScheduledAction.

", "smithy.api#required": {} } @@ -3797,6 +3830,7 @@ "SnapshotCopyGrantName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the snapshot copy grant. This name must be unique in the region for the\n Amazon Web Services account.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -3938,6 +3972,7 @@ "ResourceName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) to which you want to add the tag or tags. For\n example, arn:aws:redshift:us-east-2:123456789:cluster:t1.

", "smithy.api#required": {} } @@ -3945,6 +3980,7 @@ "Tags": { "target": "com.amazonaws.redshift#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more name/value pairs to add as tags to the specified resource. Each tag\n name is passed in with the parameter Key and the corresponding value is\n passed in with the parameter Value. The Key and\n Value parameters are separated by a comma (,). Separate multiple tags\n with a space. For example, --tags \"Key\"=\"owner\",\"Value\"=\"admin\"\n \"Key\"=\"environment\",\"Value\"=\"test\" \"Key\"=\"version\",\"Value\"=\"1.0\".

", "smithy.api#required": {} } @@ -3996,6 +4032,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster that you want to limit usage.

", "smithy.api#required": {} } @@ -4003,6 +4040,7 @@ "FeatureType": { "target": "com.amazonaws.redshift#UsageLimitFeatureType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Redshift feature that you want to limit.

", "smithy.api#required": {} } @@ -4010,6 +4048,7 @@ "LimitType": { "target": "com.amazonaws.redshift#UsageLimitLimitType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of limit. Depending on the feature type, this can be based on a time duration or data size.\n If FeatureType is spectrum, then LimitType must be data-scanned.\n If FeatureType is concurrency-scaling, then LimitType must be time.\n If FeatureType is cross-region-datasharing, then LimitType must be data-scanned.\n

", "smithy.api#required": {} } @@ -4017,7 +4056,7 @@ "Amount": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).\n The value must be a positive number.\n

", "smithy.api#required": {} } @@ -4125,14 +4164,12 @@ "TotalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of storage currently used for snapshots.

" } }, "TotalProvisionedStorageInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of storage currently provisioned.

" } } @@ -4159,7 +4196,6 @@ "AllowPubliclyAccessibleConsumers": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the datashare can be shared to a publicly accessible cluster.

" } }, @@ -4338,14 +4374,12 @@ "TotalDataInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Describes the total amount of data to be transfered in megabytes.

" } }, "DataTransferredInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Describes the total amount of data that has been transfered in MB's.

" } }, @@ -4398,6 +4432,7 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare to remove authorization from.

", "smithy.api#required": {} } @@ -4405,6 +4440,7 @@ "ConsumerIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the data consumer that is to have authorization removed from the datashare. \n This identifier is an Amazon Web Services account ID or a keyword, such as ADX.

", "smithy.api#required": {} } @@ -4501,6 +4537,7 @@ "AuthenticationProfileName": { "target": "com.amazonaws.redshift#AuthenticationProfileNameString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the authentication profile to delete.

", "smithy.api#required": {} } @@ -4559,6 +4596,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to be deleted.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -4566,7 +4604,6 @@ "SkipFinalClusterSnapshot": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final snapshot of the cluster is created before Amazon Redshift\n deletes the cluster. If true, a final cluster snapshot is not created. If\n false, a final cluster snapshot is created before the cluster is\n deleted.

\n \n

The FinalClusterSnapshotIdentifier parameter must be\n specified if SkipFinalClusterSnapshot is\n false.

\n
\n

Default: false\n

" } }, @@ -4614,6 +4651,7 @@ "ParameterGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the parameter group to be deleted.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -4661,6 +4699,7 @@ "ClusterSecurityGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster security group to be deleted.

", "smithy.api#required": {} } @@ -4697,6 +4736,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the manual snapshot to be deleted.

\n

Constraints: Must be the name of an existing snapshot that is in the\n available, failed, or cancelled\n state.

", "smithy.api#required": {} } @@ -4761,6 +4801,7 @@ "ClusterSubnetGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster subnet group name to be deleted.

", "smithy.api#required": {} } @@ -4800,6 +4841,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to delete a custom domain association for.

", "smithy.api#required": {} } @@ -4844,6 +4886,7 @@ "EndpointName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Redshift-managed VPC endpoint to delete.

", "smithy.api#required": {} } @@ -4879,6 +4922,7 @@ "SubscriptionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon Redshift event notification subscription to be deleted.

", "smithy.api#required": {} } @@ -4915,6 +4959,7 @@ "HsmClientCertificateIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the HSM client certificate to be deleted.

", "smithy.api#required": {} } @@ -4951,6 +4996,7 @@ "HsmConfigurationIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the Amazon Redshift HSM configuration to be deleted.

", "smithy.api#required": {} } @@ -5010,6 +5056,7 @@ "ScheduledActionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduled action to delete.

", "smithy.api#required": {} } @@ -5045,6 +5092,7 @@ "SnapshotCopyGrantName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the snapshot copy grant to delete.

", "smithy.api#required": {} } @@ -5081,6 +5129,7 @@ "ScheduleIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier of the snapshot schedule to delete.

", "smithy.api#required": {} } @@ -5116,6 +5165,7 @@ "ResourceName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) from which you want to remove the tag or tags. For\n example, arn:aws:redshift:us-east-2:123456789:cluster:t1.

", "smithy.api#required": {} } @@ -5123,6 +5173,7 @@ "TagKeys": { "target": "com.amazonaws.redshift#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key that you want to delete.

", "smithy.api#required": {} } @@ -5159,6 +5210,7 @@ "UsageLimitId": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the usage limit to delete.

", "smithy.api#required": {} } @@ -5422,6 +5474,7 @@ "ParameterGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a cluster parameter group for which to return details.

", "smithy.api#required": {} } @@ -6297,6 +6350,7 @@ "ParameterGroupFamily": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group family.

", "smithy.api#required": {} } @@ -6781,6 +6835,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster from which to get the logging status.

\n

Example: examplecluster\n

", "smithy.api#required": {} } @@ -6832,6 +6887,7 @@ "ActionType": { "target": "com.amazonaws.redshift#ActionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action type to evaluate for possible node configurations.\n Specify \"restore-cluster\" to get configuration combinations based on an existing snapshot. \n Specify \"recommend-node-config\" to get configuration recommendations based on an existing cluster or snapshot. \n Specify \"resize-cluster\" to get configuration combinations for elastic resize based on an existing cluster.\n

", "smithy.api#required": {} } @@ -6961,6 +7017,7 @@ "AccountId": { "target": "com.amazonaws.redshift#PartnerIntegrationAccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID that owns the cluster.

", "smithy.api#required": {} } @@ -6968,6 +7025,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#PartnerIntegrationClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the cluster whose partner integration is being described.

", "smithy.api#required": {} } @@ -7219,6 +7277,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of a cluster whose resize progress you are requesting. This\n parameter is case-sensitive.

\n

By default, resize operations for all clusters defined for an Amazon Web Services account are\n returned.

", "smithy.api#required": {} } @@ -7702,6 +7761,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster on which logging is to be stopped.

\n

Example: examplecluster\n

", "smithy.api#required": {} } @@ -7744,6 +7804,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the source cluster that you want to disable copying of\n snapshots to a destination region.

\n

Constraints: Must be the valid name of an existing cluster that has cross-region\n snapshot copy enabled.

", "smithy.api#required": {} } @@ -7791,6 +7852,7 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare to remove association for.

", "smithy.api#required": {} } @@ -7819,10 +7881,7 @@ } }, "com.amazonaws.redshift#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.redshift#DoubleOptional": { "type": "double" @@ -7935,6 +7994,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster on which logging is to be started.

\n

Example: examplecluster\n

", "smithy.api#required": {} } @@ -8022,6 +8082,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the source cluster to copy snapshots from.

\n

Constraints: Must be the valid name of an existing cluster that does not already\n have cross-region snapshot copy enabled.

", "smithy.api#required": {} } @@ -8029,6 +8090,7 @@ "DestinationRegion": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The destination Amazon Web Services Region that you want to copy snapshots to.

\n

Constraints: Must be the name of a valid Amazon Web Services Region. For more information, see\n Regions and Endpoints in the Amazon Web Services General Reference.\n

", "smithy.api#required": {} } @@ -8080,7 +8142,6 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the database engine is listening on.

" } }, @@ -8137,7 +8198,6 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on which the cluster accepts incoming connections.

" } }, @@ -8243,7 +8303,6 @@ "AllowedAllVPCs": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether all VPCs in the grantee account are allowed access to the cluster.

" } }, @@ -8256,7 +8315,6 @@ "EndpointCount": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Redshift-managed VPC endpoints created for the authorization.

" } } @@ -8603,7 +8661,6 @@ "Enabled": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether the subscription is enabled; true\n indicates that the subscription is enabled.

" } }, @@ -8715,6 +8772,7 @@ "DbUser": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a database user. If a user name matching DbUser exists in\n the database, the temporary user credentials have the same permissions as the existing\n user. If DbUser doesn't exist in the database and Autocreate\n is True, a new user is created using the value for DbUser with\n PUBLIC permissions. If a database user matching the value for DbUser\n doesn't exist and Autocreate is False, then the command\n succeeds but the connection attempt will fail because the user doesn't exist in the\n database.

\n

For more information, see CREATE USER in the Amazon\n Redshift Database Developer Guide.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -8863,6 +8921,7 @@ "ActionType": { "target": "com.amazonaws.redshift#ReservedNodeExchangeActionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action type of the reserved-node configuration. The action type can be an exchange initiated from either a snapshot or a resize.

", "smithy.api#required": {} } @@ -8960,6 +9019,7 @@ "ReservedNodeId": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A string representing the node identifier for the DC1 Reserved Node to be\n exchanged.

", "smithy.api#required": {} } @@ -9385,10 +9445,7 @@ } }, "com.amazonaws.redshift#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.redshift#IntegerOptional": { "type": "integer" @@ -9949,7 +10006,6 @@ "LoggingEnabled": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n true if logging is on, false if logging is off.

" } }, @@ -10001,10 +10057,7 @@ } }, "com.amazonaws.redshift#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.redshift#LongOptional": { "type": "long" @@ -10081,6 +10134,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to be modified.

", "smithy.api#required": {} } @@ -10139,6 +10193,7 @@ "AuthenticationProfileName": { "target": "com.amazonaws.redshift#AuthenticationProfileNameString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the authentication profile to replace.

", "smithy.api#required": {} } @@ -10146,6 +10201,7 @@ "AuthenticationProfileContent": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The new content of the authentication profile in JSON format.\n The maximum length of the JSON string is determined by a quota for your account.

", "smithy.api#required": {} } @@ -10281,6 +10337,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of a cluster whose database revision you want to modify.

\n

Example: examplecluster\n

", "smithy.api#required": {} } @@ -10288,6 +10345,7 @@ "RevisionTarget": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the database revision. You can retrieve this value from the\n response to the DescribeClusterDbRevisions request.

", "smithy.api#required": {} } @@ -10334,6 +10392,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster for which you want to associate or\n disassociate IAM roles.

", "smithy.api#required": {} } @@ -10399,6 +10458,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the cluster.

", "smithy.api#required": {} } @@ -10455,6 +10515,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster to be modified.

\n

Example: examplecluster\n

", "smithy.api#required": {} } @@ -10647,6 +10708,7 @@ "ParameterGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the parameter group to be modified.

", "smithy.api#required": {} } @@ -10654,6 +10716,7 @@ "Parameters": { "target": "com.amazonaws.redshift#ParametersList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of parameters to be modified. A maximum of 20 parameters can be modified\n in a single request.

\n

For each parameter to be modified, you must supply at least the parameter name and\n parameter value; other name-value pairs of the parameter are optional.

\n

For the workload management (WLM) configuration, you must supply all the name-value\n pairs in the wlm_json_configuration parameter.

", "smithy.api#required": {} } @@ -10704,6 +10767,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the snapshot whose setting you want to modify.

", "smithy.api#required": {} } @@ -10717,7 +10781,6 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean option to override an exception if the retention period has already\n passed.

" } } @@ -10766,6 +10829,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for the cluster whose snapshot schedule you want to modify.\n

", "smithy.api#required": {} } @@ -10825,6 +10889,7 @@ "ClusterSubnetGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the subnet group to be modified.

", "smithy.api#required": {} } @@ -10838,6 +10903,7 @@ "SubnetIds": { "target": "com.amazonaws.redshift#SubnetIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single\n request.

", "smithy.api#required": {} } @@ -10900,6 +10966,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to change a custom domain association for.

", "smithy.api#required": {} } @@ -10979,6 +11046,7 @@ "EndpointName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The endpoint to be modified.

", "smithy.api#required": {} } @@ -11041,6 +11109,7 @@ "SubscriptionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the modified Amazon Redshift event notification subscription.

", "smithy.api#required": {} } @@ -11133,6 +11202,7 @@ "ScheduledActionName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the scheduled action to modify.

", "smithy.api#required": {} } @@ -11219,6 +11289,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster for which you want to change the retention\n period for either automated or manual snapshots that are copied to a destination Amazon Web Services Region.

\n

Constraints: Must be the valid name of an existing cluster that has cross-region\n snapshot copy enabled.

", "smithy.api#required": {} } @@ -11226,7 +11297,7 @@ "RetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of days to retain automated snapshots in the destination Amazon Web Services Region\n after they are copied from the source Amazon Web Services Region.

\n

By default, this only changes the retention period of copied automated snapshots.

\n

If you decrease the retention period for automated snapshots that are copied to a\n destination Amazon Web Services Region, Amazon Redshift deletes any existing automated snapshots that were\n copied to the destination Amazon Web Services Region and that fall outside of the new retention\n period.

\n

Constraints: Must be at least 1 and no more than 35 for automated snapshots.

\n

If you specify the manual option, only newly copied manual snapshots will\n have the new retention period.

\n

If you specify the value of -1 newly copied manual snapshots are retained\n indefinitely.

\n

Constraints: The number of days must be either -1 or an integer between 1 and 3,653\n for manual snapshots.

", "smithy.api#required": {} } @@ -11234,7 +11305,6 @@ "Manual": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to apply the snapshot retention period to newly copied manual\n snapshots instead of automated snapshots.

" } } @@ -11284,6 +11354,7 @@ "ScheduleIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique alphanumeric identifier of the schedule to modify.

", "smithy.api#required": {} } @@ -11291,6 +11362,7 @@ "ScheduleDefinitions": { "target": "com.amazonaws.redshift#ScheduleDefinitionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An updated list of schedule definitions. A schedule definition is made up of schedule\n expressions, for example, \"cron(30 12 *)\" or \"rate(12 hours)\".

", "smithy.api#required": {} } @@ -11329,6 +11401,7 @@ "UsageLimitId": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the usage limit to modify.

", "smithy.api#required": {} } @@ -11403,7 +11476,6 @@ "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of nodes.

" } }, @@ -11709,7 +11781,6 @@ "IsModifiable": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, the parameter can be modified. Some parameters have security\n or operational implications that prevent them from being changed.

" } }, @@ -11848,6 +11919,7 @@ "AccountId": { "target": "com.amazonaws.redshift#PartnerIntegrationAccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID that owns the cluster.

", "smithy.api#required": {} } @@ -11855,6 +11927,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#PartnerIntegrationClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the cluster that receives data from the partner.

", "smithy.api#required": {} } @@ -11862,6 +11935,7 @@ "DatabaseName": { "target": "com.amazonaws.redshift#PartnerIntegrationDatabaseName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database that receives data from the partner.

", "smithy.api#required": {} } @@ -11869,6 +11943,7 @@ "PartnerName": { "target": "com.amazonaws.redshift#PartnerIntegrationPartnerName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the partner that is authorized to send data.

", "smithy.api#required": {} } @@ -11984,6 +12059,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to be paused.

", "smithy.api#required": {} } @@ -12116,6 +12192,7 @@ "ReservedNodeOfferingId": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the reserved node offering you want to purchase.

", "smithy.api#required": {} } @@ -12169,6 +12246,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier.

", "smithy.api#required": {} } @@ -12196,7 +12274,6 @@ "RecurringChargeAmount": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount charged per the period of time specified by the recurring charge\n frequency.

" } }, @@ -12653,7 +12730,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12696,7 +12772,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -12709,7 +12786,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12723,7 +12799,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12746,7 +12821,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12781,7 +12855,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -12792,14 +12865,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -12813,14 +12888,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -12829,18 +12902,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -12849,7 +12921,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -12869,14 +12942,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -12890,7 +12965,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -12910,7 +12984,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -12921,14 +12994,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -12939,9 +13014,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -13666,6 +13743,7 @@ "DataShareArn": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the datashare to reject.

", "smithy.api#required": {} } @@ -13705,21 +13783,18 @@ "Duration": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the node reservation in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The fixed cost Amazon Redshift charges you for this reserved node.

" } }, "UsagePrice": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The hourly rate Amazon Redshift charges you for this reserved node.

" } }, @@ -13732,7 +13807,6 @@ "NodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of reserved compute nodes.

" } }, @@ -13808,7 +13882,6 @@ "TargetReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The target reserved-node count.

" } }, @@ -13899,7 +13972,6 @@ "SourceReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The source reserved-node count in the cluster.

" } }, @@ -13918,7 +13990,6 @@ "TargetReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The count of target reserved nodes in the cluster.

" } } @@ -14021,21 +14092,18 @@ "Duration": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds, for which the offering will reserve the node.

" } }, "FixedPrice": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The upfront fixed charge you will pay to purchase the specific reserved node\n offering.

" } }, "UsagePrice": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The rate you are charged for each hour the cluster that is using the offering is\n running.

" } }, @@ -14196,6 +14264,7 @@ "ParameterGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster parameter group to be reset.

", "smithy.api#required": {} } @@ -14203,7 +14272,6 @@ "ResetAllParameters": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, all parameters in the specified parameter group will be reset\n to their default values.

\n

Default: true\n

" } }, @@ -14284,6 +14352,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the cluster to resize.

", "smithy.api#required": {} } @@ -14352,7 +14421,6 @@ "AllowCancelResize": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating if the resize operation can be cancelled.

" } } @@ -14624,6 +14692,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster that will be created from restoring the\n snapshot.

\n

Constraints:

\n ", "smithy.api#required": {} } @@ -14861,35 +14930,30 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes per second being transferred from the backup storage.\n Returns the average rate for a completed backup.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the set of snapshot data used to restore the cluster.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes that have been transferred from snapshot storage.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time an in-progress restore has been running, or the amount of time\n it took a completed restore to finish.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The estimate of the time remaining before the restore will complete. Returns 0 for\n a completed restore.\n This field is only updated when you restore to DC2 and DS2 node types.

" } } @@ -14939,6 +15003,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the Amazon Redshift cluster to restore the table to.

", "smithy.api#required": {} } @@ -14946,6 +15011,7 @@ "SnapshotIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the snapshot to restore the table from. This snapshot must have\n been created from the Amazon Redshift cluster specified by the\n ClusterIdentifier parameter.

", "smithy.api#required": {} } @@ -14953,6 +15019,7 @@ "SourceDatabaseName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the source database that contains the table to restore from.

", "smithy.api#required": {} } @@ -14966,6 +15033,7 @@ "SourceTableName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the source table to restore from.

", "smithy.api#required": {} } @@ -14985,6 +15053,7 @@ "NewTableName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the table to create as a result of the current request.

", "smithy.api#required": {} } @@ -15041,6 +15110,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the cluster to be resumed.

", "smithy.api#required": {} } @@ -15125,6 +15195,7 @@ "ClusterSecurityGroupName": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the security Group from which to revoke the ingress rule.

", "smithy.api#required": {} } @@ -15223,7 +15294,6 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to force the revoke action. \n If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.

" } } @@ -15282,6 +15352,7 @@ "AccountWithRestoreAccess": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the Amazon Web Services account that can no longer restore the specified\n snapshot.

", "smithy.api#required": {} } @@ -15332,6 +15403,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the cluster that you want to rotate the encryption keys\n for.

\n

Constraints: Must be the name of valid cluster that has encryption\n enabled.

", "smithy.api#required": {} } @@ -15538,6 +15610,7 @@ "Name": { "target": "com.amazonaws.redshift#ScheduledActionFilterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of element to filter.

", "smithy.api#required": {} } @@ -15545,6 +15618,7 @@ "Values": { "target": "com.amazonaws.redshift#ValueStringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of values. Compare if the value (of type defined by Name) equals an item in the list of scheduled actions.

", "smithy.api#required": {} } @@ -15780,7 +15854,6 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the cluster is listening on.

" } }, @@ -15829,7 +15902,6 @@ "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of nodes in the cluster.

" } }, @@ -15848,7 +15920,6 @@ "Encrypted": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If true, the data in the snapshot is encrypted at rest.

" } }, @@ -15861,7 +15932,6 @@ "EncryptedWithHSM": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A boolean that indicates whether the snapshot data is encrypted using the HSM keys\n of the source cluster. true indicates that the data is encrypted using HSM\n keys.

" } }, @@ -15880,42 +15950,36 @@ "TotalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the complete set of backup data that would be used to restore the\n cluster.

" } }, "ActualIncrementalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the incremental backup.

" } }, "BackupProgressInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes that have been transferred to the snapshot\n backup.

" } }, "CurrentBackupRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes per second being transferred to the snapshot backup.\n Returns 0 for a completed backup.

" } }, "EstimatedSecondsToCompletion": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The estimate of the time remaining before the snapshot backup will complete.\n Returns 0 for a completed backup.

" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time an in-progress snapshot backup has been running, or the amount\n of time it took a completed backup to finish.

" } }, @@ -15940,7 +16004,6 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.redshift#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

An option that specifies whether to create the cluster with enhanced VPC routing\n enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a\n VPC. For more information, see Enhanced VPC Routing in\n the Amazon Redshift Cluster Management Guide.

\n

If this option is true, enhanced VPC routing is enabled.

\n

Default: false

" } }, @@ -16370,6 +16433,7 @@ "Attribute": { "target": "com.amazonaws.redshift#SnapshotAttributeToSortBy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The category for sorting the snapshots.

", "smithy.api#required": {} } @@ -17130,6 +17194,7 @@ "AccountId": { "target": "com.amazonaws.redshift#PartnerIntegrationAccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID that owns the cluster.

", "smithy.api#required": {} } @@ -17137,6 +17202,7 @@ "ClusterIdentifier": { "target": "com.amazonaws.redshift#PartnerIntegrationClusterIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cluster identifier of the cluster whose partner integration status is being updated.

", "smithy.api#required": {} } @@ -17144,6 +17210,7 @@ "DatabaseName": { "target": "com.amazonaws.redshift#PartnerIntegrationDatabaseName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the database whose partner integration status is being updated.

", "smithy.api#required": {} } @@ -17151,6 +17218,7 @@ "PartnerName": { "target": "com.amazonaws.redshift#PartnerIntegrationPartnerName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the partner whose integration status is being updated.

", "smithy.api#required": {} } @@ -17158,6 +17226,7 @@ "Status": { "target": "com.amazonaws.redshift#PartnerIntegrationStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the updated status.

", "smithy.api#required": {} } @@ -17229,7 +17298,6 @@ "Amount": { "target": "com.amazonaws.redshift#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

" } }, diff --git a/codegen/sdk-codegen/aws-models/robomaker.json b/codegen/sdk-codegen/aws-models/robomaker.json index d0735e918bf..dcdd2970fab 100644 --- a/codegen/sdk-codegen/aws-models/robomaker.json +++ b/codegen/sdk-codegen/aws-models/robomaker.json @@ -5965,7 +5965,6 @@ "com.amazonaws.robomaker#NonSystemPort": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1024, "max": 65535 @@ -6033,7 +6032,6 @@ "com.amazonaws.robomaker#Port": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -6060,7 +6058,6 @@ "jobPort": { "target": "com.amazonaws.robomaker#Port", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the simulation job instance to use as a remote connection point.\n

", "smithy.api#required": {} } @@ -6068,7 +6065,6 @@ "applicationPort": { "target": "com.amazonaws.robomaker#NonSystemPort", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the application.

", "smithy.api#required": {} } @@ -9609,7 +9605,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9652,7 +9647,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -9665,7 +9661,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9679,7 +9674,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9702,7 +9696,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9737,7 +9730,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -9748,14 +9740,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -9769,14 +9763,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -9785,11 +9777,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -9800,14 +9792,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -9821,7 +9815,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9841,7 +9834,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -9852,14 +9844,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -9870,9 +9864,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/route-53.json b/codegen/sdk-codegen/aws-models/route-53.json index d5fbce4bb35..85d222c1b78 100644 --- a/codegen/sdk-codegen/aws-models/route-53.json +++ b/codegen/sdk-codegen/aws-models/route-53.json @@ -317,7 +317,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -360,7 +359,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -373,7 +373,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -387,7 +386,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -767,7 +765,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -802,7 +799,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -813,14 +809,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -834,14 +832,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -850,11 +846,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -865,14 +861,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -886,7 +884,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -906,7 +903,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -917,14 +913,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -935,9 +933,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1492,7 +1492,6 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The current value for the limit that is specified by Type.

", "smithy.api#required": {} } @@ -6703,7 +6702,6 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The current value for the limit that is specified by Type.

", "smithy.api#required": {} } @@ -7292,7 +7290,6 @@ "com.amazonaws.route53#LimitValue": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -10152,7 +10149,6 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET\n\t\t\tlimit.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json b/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json index f8a10559161..333778a4fec 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-cluster.json @@ -272,7 +272,6 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycluster#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of routing controls objects that you want to return with this call. The default value is 500.

" } } @@ -305,7 +304,6 @@ "com.amazonaws.route53recoverycluster#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json b/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json index 70f8d88b488..c7bebe1a8cd 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-control-config.json @@ -35,6 +35,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } @@ -52,6 +53,7 @@ "AssertedControls": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

", "smithy.api#required": {} } @@ -59,6 +61,7 @@ "ControlPanelArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the control panel.

", "smithy.api#required": {} } @@ -66,6 +69,7 @@ "Name": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the assertion rule. You can use any non-white space character in the name.

", "smithy.api#required": {} } @@ -73,6 +77,7 @@ "RuleConfig": { "target": "com.amazonaws.route53recoverycontrolconfig#RuleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria that you set for specific assertion routing controls (AssertedControls) that designate how many routing control states must be ON as the result of a transaction. For example, if you have three assertion routing controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion routing control states must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

", "smithy.api#required": {} } @@ -80,6 +85,7 @@ "SafetyRuleArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the assertion rule.

", "smithy.api#required": {} } @@ -87,6 +93,7 @@ "Status": { "target": "com.amazonaws.route53recoverycontrolconfig#Status", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The deployment status of an assertion rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

", "smithy.api#required": {} } @@ -94,6 +101,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -115,6 +123,7 @@ "Name": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the assertion rule. You can use any non-white space character in the name.

", "smithy.api#required": {} } @@ -122,6 +131,7 @@ "SafetyRuleArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the assertion rule.

", "smithy.api#required": {} } @@ -129,6 +139,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -202,6 +213,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } @@ -316,6 +328,7 @@ "ClusterName": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cluster.

", "smithy.api#required": {} } @@ -399,6 +412,7 @@ "ClusterArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the cluster for the control panel.

", "smithy.api#required": {} } @@ -406,6 +420,7 @@ "ControlPanelName": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the control panel.

", "smithy.api#required": {} } @@ -489,6 +504,7 @@ "ClusterArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the cluster that includes the routing control.

", "smithy.api#required": {} } @@ -502,6 +518,7 @@ "RoutingControlName": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the routing control.

", "smithy.api#required": {} } @@ -1290,6 +1307,7 @@ "ControlPanelArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the control panel.

", "smithy.api#required": {} } @@ -1297,6 +1315,7 @@ "GatingControls": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of gating routing control Amazon Resource Names (ARNs). For a simple \"on/off\" switch, specify the ARN for one routing control. The gating routing controls are evaluated by the rule configuration that you specify to determine if the target routing control states can be changed.

", "smithy.api#required": {} } @@ -1304,6 +1323,7 @@ "Name": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the gating rule. You can use any non-white space character in the name.

", "smithy.api#required": {} } @@ -1311,6 +1331,7 @@ "RuleConfig": { "target": "com.amazonaws.route53recoverycontrolconfig#RuleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria that you set for gating routing controls that designate how many of the routing control states must be ON to allow you to update target routing control states.

", "smithy.api#required": {} } @@ -1318,6 +1339,7 @@ "SafetyRuleArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gating rule.

", "smithy.api#required": {} } @@ -1325,6 +1347,7 @@ "Status": { "target": "com.amazonaws.route53recoverycontrolconfig#Status", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The deployment status of a gating rule. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

", "smithy.api#required": {} } @@ -1332,6 +1355,7 @@ "TargetControls": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of target routing control Amazon Resource Names (ARNs) for which the states can only be updated if the rule configuration that you specify evaluates to true for the gating routing control. As a simple example, if you have a single gating control, it acts as an overall \"on/off\" switch for a set of target routing controls. You can use this to manually override automated failover, for example.

", "smithy.api#required": {} } @@ -1339,6 +1363,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -1360,6 +1385,7 @@ "Name": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the gating rule. You can use any non-white space character in the name.

", "smithy.api#required": {} } @@ -1367,6 +1393,7 @@ "SafetyRuleArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the gating rule.

", "smithy.api#required": {} } @@ -1374,6 +1401,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -1444,6 +1472,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } @@ -1963,6 +1992,7 @@ "AssertedControls": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three Amazon Web Services Regions.

", "smithy.api#required": {} } @@ -1970,6 +2000,7 @@ "ControlPanelArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the control panel.

", "smithy.api#required": {} } @@ -1977,6 +2008,7 @@ "Name": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the assertion rule. You can use any non-white space character in the name.

", "smithy.api#required": {} } @@ -1984,6 +2016,7 @@ "RuleConfig": { "target": "com.amazonaws.route53recoverycontrolconfig#RuleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria that you set for specific assertion controls (routing controls) that designate how many control states must be ON as the result of a transaction. For example, if you have three assertion controls, you might specify ATLEAST 2 for your rule configuration. This means that at least two assertion controls must be ON, so that at least two Amazon Web Services Regions have traffic flowing to them.

", "smithy.api#required": {} } @@ -1991,6 +2024,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -2006,6 +2040,7 @@ "ControlPanelArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the control panel.

", "smithy.api#required": {} } @@ -2013,6 +2048,7 @@ "GatingControls": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.

", "smithy.api#required": {} } @@ -2020,6 +2056,7 @@ "Name": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the new gating rule.

", "smithy.api#required": {} } @@ -2027,6 +2064,7 @@ "RuleConfig": { "target": "com.amazonaws.route53recoverycontrolconfig#RuleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The criteria that you set for specific gating controls (routing controls) that designate how many control states must be ON to allow you to change (set or unset) the target control states.

", "smithy.api#required": {} } @@ -2034,6 +2072,7 @@ "TargetControls": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three Amazon Web Services Regions. Now you specify ATLEAST 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true.

In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.

", "smithy.api#required": {} } @@ -2041,6 +2080,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -2056,6 +2096,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } @@ -2901,6 +2942,7 @@ "Inverted": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

", "smithy.api#required": {} } @@ -2908,6 +2950,7 @@ "Threshold": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

", "smithy.api#required": {} } @@ -2915,6 +2958,7 @@ "Type": { "target": "com.amazonaws.route53recoverycontrolconfig#RuleType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A rule can be one of the following: ATLEAST, AND, or OR.

", "smithy.api#required": {} } @@ -2956,6 +3000,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } @@ -3035,6 +3080,7 @@ "Tags": { "target": "com.amazonaws.route53recoverycontrolconfig#__mapOf__stringMin0Max256PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags associated with the resource.

", "smithy.api#required": {} } @@ -3058,6 +3104,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } @@ -3111,6 +3158,7 @@ "TagKeys": { "target": "com.amazonaws.route53recoverycontrolconfig#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Keys for the tags to be removed.

", "smithy.api#httpQuery": "TagKeys", "smithy.api#required": {} @@ -3171,6 +3219,7 @@ "ControlPanelArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the control panel.

", "smithy.api#required": {} } @@ -3178,6 +3227,7 @@ "ControlPanelName": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the control panel.

", "smithy.api#required": {} } @@ -3245,6 +3295,7 @@ "RoutingControlArn": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max256PatternAZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the routing control.

", "smithy.api#required": {} } @@ -3252,6 +3303,7 @@ "RoutingControlName": { "target": "com.amazonaws.route53recoverycontrolconfig#__stringMin1Max64PatternS", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the routing control.

", "smithy.api#required": {} } @@ -3351,6 +3403,7 @@ "Message": { "target": "com.amazonaws.route53recoverycontrolconfig#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#jsonName": "message", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json b/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json index a2a7e390214..e1f506e5f4e 100644 --- a/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json +++ b/codegen/sdk-codegen/aws-models/route53-recovery-readiness.json @@ -51,6 +51,7 @@ "CellArn": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the cell.

", "smithy.api#jsonName": "cellArn", "smithy.api#required": {} @@ -59,6 +60,7 @@ "CellName": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax64PatternAAZAZ09Z", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cell.

", "smithy.api#jsonName": "cellName", "smithy.api#required": {} @@ -67,6 +69,7 @@ "Cells": { "target": "com.amazonaws.route53recoveryreadiness#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of cell ARNs.

", "smithy.api#jsonName": "cells", "smithy.api#required": {} @@ -75,6 +78,7 @@ "ParentReadinessScopes": { "target": "com.amazonaws.route53recoveryreadiness#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.

", "smithy.api#jsonName": "parentReadinessScopes", "smithy.api#required": {} @@ -148,6 +152,7 @@ "CellName": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the cell to create.

", "smithy.api#jsonName": "cellName", "smithy.api#required": {} @@ -254,6 +259,7 @@ "CrossAccountAuthorization": { "target": "com.amazonaws.route53recoveryreadiness#CrossAccountAuthorization", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The cross-account authorization.

", "smithy.api#jsonName": "crossAccountAuthorization", "smithy.api#required": {} @@ -319,6 +325,7 @@ "ReadinessCheckName": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the readiness check to create.

", "smithy.api#jsonName": "readinessCheckName", "smithy.api#required": {} @@ -327,6 +334,7 @@ "ResourceSetName": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the resource set to check.

", "smithy.api#jsonName": "resourceSetName", "smithy.api#required": {} @@ -425,6 +433,7 @@ "RecoveryGroupName": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the recovery group to create.

", "smithy.api#jsonName": "recoveryGroupName", "smithy.api#required": {} @@ -517,6 +526,7 @@ "ResourceSetName": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the resource set to create.

", "smithy.api#jsonName": "resourceSetName", "smithy.api#required": {} @@ -525,6 +535,7 @@ "ResourceSetType": { "target": "com.amazonaws.route53recoveryreadiness#__stringPatternAWSAZaZ09AZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource type of the resources in the resource set. Enter one of the following values for resource type:

AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource

", "smithy.api#jsonName": "resourceSetType", "smithy.api#required": {} @@ -533,6 +544,7 @@ "Resources": { "target": "com.amazonaws.route53recoveryreadiness#__listOfResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of resource objects in the resource set.

", "smithy.api#jsonName": "resources", "smithy.api#required": {} @@ -2226,6 +2238,7 @@ "ResourceType": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax64", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource type that the readiness rule applies to.

", "smithy.api#jsonName": "resourceType", "smithy.api#required": {} @@ -2234,6 +2247,7 @@ "RuleDescription": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of a readiness rule.

", "smithy.api#jsonName": "ruleDescription", "smithy.api#required": {} @@ -2242,6 +2256,7 @@ "RuleId": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax64", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID for the readiness rule.

", "smithy.api#jsonName": "ruleId", "smithy.api#required": {} @@ -2461,6 +2476,7 @@ "ReadinessCheckArn": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with a readiness check.

", "smithy.api#jsonName": "readinessCheckArn", "smithy.api#required": {} @@ -2476,6 +2492,7 @@ "ResourceSet": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax64PatternAAZAZ09Z", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the resource set to be checked.

", "smithy.api#jsonName": "resourceSet", "smithy.api#required": {} @@ -2527,6 +2544,7 @@ "RecommendationText": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Text of the recommendations that are provided to make an application more recovery resilient.

", "smithy.api#jsonName": "recommendationText", "smithy.api#required": {} @@ -2543,6 +2561,7 @@ "Cells": { "target": "com.amazonaws.route53recoveryreadiness#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of a cell's Amazon Resource Names (ARNs).

", "smithy.api#jsonName": "cells", "smithy.api#required": {} @@ -2551,6 +2570,7 @@ "RecoveryGroupArn": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the recovery group.

", "smithy.api#jsonName": "recoveryGroupArn", "smithy.api#required": {} @@ -2559,6 +2579,7 @@ "RecoveryGroupName": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax64PatternAAZAZ09Z", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the recovery group.

", "smithy.api#jsonName": "recoveryGroupName", "smithy.api#required": {} @@ -2641,6 +2662,7 @@ "LastCheckedTimestamp": { "target": "com.amazonaws.route53recoveryreadiness#ReadinessCheckTimestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time (UTC) that the resource was last checked for readiness, in ISO-8601 format.

", "smithy.api#jsonName": "lastCheckedTimestamp", "smithy.api#required": {} @@ -2649,6 +2671,7 @@ "Readiness": { "target": "com.amazonaws.route53recoveryreadiness#Readiness", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The readiness of a resource.

", "smithy.api#jsonName": "readiness", "smithy.api#required": {} @@ -2672,6 +2695,7 @@ "ResourceSetArn": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the resource set.

", "smithy.api#jsonName": "resourceSetArn", "smithy.api#required": {} @@ -2680,6 +2704,7 @@ "ResourceSetName": { "target": "com.amazonaws.route53recoveryreadiness#__stringMax64PatternAAZAZ09Z", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the resource set.

", "smithy.api#jsonName": "resourceSetName", "smithy.api#required": {} @@ -2688,6 +2713,7 @@ "ResourceSetType": { "target": "com.amazonaws.route53recoveryreadiness#__stringPatternAWSAZaZ09AZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource type of the resources in the resource set. Enter one of the following values for resource type:

AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource

", "smithy.api#jsonName": "resourceSetType", "smithy.api#required": {} @@ -2696,6 +2722,7 @@ "Resources": { "target": "com.amazonaws.route53recoveryreadiness#__listOfResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of resource objects.

", "smithy.api#jsonName": "resources", "smithy.api#required": {} @@ -2869,7 +2896,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2912,7 +2938,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2925,7 +2952,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2939,7 +2965,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2962,7 +2987,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2997,7 +3021,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3008,14 +3031,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3029,14 +3054,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3045,11 +3068,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3060,14 +3083,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3081,7 +3106,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3101,7 +3125,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3112,14 +3135,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3130,9 +3155,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3463,6 +3490,7 @@ "LastCheckedTimestamp": { "target": "com.amazonaws.route53recoveryreadiness#ReadinessCheckTimestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time the resource was last checked for readiness, in ISO-8601 format, UTC.

", "smithy.api#jsonName": "lastCheckedTimestamp", "smithy.api#required": {} @@ -3471,6 +3499,7 @@ "Messages": { "target": "com.amazonaws.route53recoveryreadiness#__listOfMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Details about the resource's readiness.

", "smithy.api#jsonName": "messages", "smithy.api#required": {} @@ -3479,6 +3508,7 @@ "Readiness": { "target": "com.amazonaws.route53recoveryreadiness#Readiness", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The readiness at rule level.

", "smithy.api#jsonName": "readiness", "smithy.api#required": {} @@ -3487,6 +3517,7 @@ "RuleId": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the rule.

", "smithy.api#jsonName": "ruleId", "smithy.api#required": {} @@ -3539,6 +3570,7 @@ "Tags": { "target": "com.amazonaws.route53recoveryreadiness#Tags", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -3648,6 +3680,7 @@ "TagKeys": { "target": "com.amazonaws.route53recoveryreadiness#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The keys for tags you add to resources.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -3706,6 +3739,7 @@ "Cells": { "target": "com.amazonaws.route53recoveryreadiness#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of cell Amazon Resource Names (ARNs), which completely replaces the previous list.

", "smithy.api#jsonName": "cells", "smithy.api#required": {} @@ -3807,6 +3841,7 @@ "ResourceSetName": { "target": "com.amazonaws.route53recoveryreadiness#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the resource set to be checked.

", "smithy.api#jsonName": "resourceSetName", "smithy.api#required": {} @@ -3893,6 +3928,7 @@ "Cells": { "target": "com.amazonaws.route53recoveryreadiness#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of cell Amazon Resource Names (ARNs). This list completely replaces the previous list.

", "smithy.api#jsonName": "cells", "smithy.api#required": {} @@ -3996,6 +4032,7 @@ "ResourceSetType": { "target": "com.amazonaws.route53recoveryreadiness#__stringPatternAWSAZaZ09AZaZ09", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource type of the resources in the resource set. Enter one of the following values for resource type:

AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource

", "smithy.api#jsonName": "resourceSetType", "smithy.api#required": {} @@ -4004,6 +4041,7 @@ "Resources": { "target": "com.amazonaws.route53recoveryreadiness#__listOfResource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of resource objects.

", "smithy.api#jsonName": "resources", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/s3-control.json b/codegen/sdk-codegen/aws-models/s3-control.json index 7b83470c3f3..44b0018d490 100644 --- a/codegen/sdk-codegen/aws-models/s3-control.json +++ b/codegen/sdk-codegen/aws-models/s3-control.json @@ -323,7 +323,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -354,7 +353,6 @@ "assign": "url" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -368,7 +366,6 @@ "assign": "partitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -418,9 +415,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -433,7 +432,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -447,7 +445,6 @@ "assign": "partitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -575,7 +572,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -674,16 +670,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid region: region was not a valid DNS name.", "type": "error" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -705,7 +704,6 @@ "assign": "accessPointArn" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -734,7 +732,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -754,7 +751,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -784,7 +780,6 @@ "assign": "outpostId" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -798,7 +793,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -855,7 +849,6 @@ "assign": "partitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -875,7 +868,6 @@ "assign": "arnPartition" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -903,7 +895,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -923,7 +914,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -948,7 +938,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -968,7 +957,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1011,7 +999,6 @@ "assign": "outpostType" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1026,7 +1013,6 @@ "assign": "accessPointName" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1040,7 +1026,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1145,83 +1130,97 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Expected an outpost type `accesspoint`, found `{outpostType}`", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: expected an access point name", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: Expected a 4-component resource", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointArn#accountId}`", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: missing account ID", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid region in ARN: `{accessPointArn#region}` (invalid DNS name)", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", "type": "error" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The Outpost Id was not set", "type": "error" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: No ARN type specified", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1243,7 +1242,6 @@ "assign": "bucketArn" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1272,7 +1270,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1292,7 +1289,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1322,7 +1318,6 @@ "assign": "outpostId" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1336,7 +1331,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1399,7 +1393,6 @@ "assign": "arnPartition" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1413,7 +1406,6 @@ "assign": "partitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1441,7 +1433,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1461,7 +1452,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1486,7 +1476,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1506,7 +1495,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1549,7 +1537,6 @@ "assign": "outpostType" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1564,7 +1551,6 @@ "assign": "bucketName" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1578,7 +1564,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1683,83 +1668,97 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: Expected an outpost type `bucket`, found `{outpostType}`", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: expected a bucket name", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: Expected a 4-component resource", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: missing account ID", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Client was configured for partition `{partitionResult#name}` but ARN has `{arnPartition#name}`", "type": "error" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`., found: `{outpostId}`", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: The Outpost Id was not set", "type": "error" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid ARN: No ARN type specified", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -1773,7 +1772,6 @@ "assign": "partitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1787,7 +1785,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1903,7 +1900,6 @@ "assign": "url" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -1982,7 +1978,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2380,16 +2377,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid region: region was not a valid DNS name.", "type": "error" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -11744,7 +11744,6 @@ "com.amazonaws.s3control#MinStorageBytesPercentage": { "type": "double", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0.1, "max": 100 @@ -15081,14 +15080,12 @@ "MaxDepth": { "target": "com.amazonaws.s3control#StorageLensPrefixLevelMaxDepth", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The max depth of the selection criteria

" } }, "MinStorageBytesPercentage": { "target": "com.amazonaws.s3control#MinStorageBytesPercentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of storage bytes percentage whose metrics will be selected.

\n \n

You must choose a value greater than or equal to 1.0.

\n
" } } @@ -15303,7 +15300,6 @@ "com.amazonaws.s3control#StorageLensPrefixLevelMaxDepth": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 diff --git a/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json index 02d7bc59bc8..112e05d2737 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-a2i-runtime.json @@ -105,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -148,7 +147,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -161,7 +161,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -175,7 +174,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -198,7 +196,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -233,7 +230,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -244,14 +240,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -265,14 +263,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -281,11 +277,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -296,14 +292,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -317,7 +315,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -337,7 +334,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -348,14 +344,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -366,9 +364,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -842,6 +842,7 @@ "CreationTime": { "target": "com.amazonaws.sagemakera2iruntime#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation time when Amazon Augmented AI created the human loop.

", "smithy.api#required": {} } @@ -861,6 +862,7 @@ "HumanLoopStatus": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the human loop.

", "smithy.api#required": {} } @@ -868,6 +870,7 @@ "HumanLoopName": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human loop. The name must be lowercase, unique within the Region in your\n account, and can have up to 63 characters. Valid characters: a-z, 0-9, and - (hyphen).

", "smithy.api#required": {} } @@ -875,6 +878,7 @@ "HumanLoopArn": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the human loop.

", "smithy.api#required": {} } @@ -882,6 +886,7 @@ "FlowDefinitionArn": { "target": "com.amazonaws.sagemakera2iruntime#FlowDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the flow definition.

", "smithy.api#required": {} } @@ -932,6 +937,7 @@ "ContentClassifiers": { "target": "com.amazonaws.sagemakera2iruntime#ContentClassifiers", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Declares that your content is free of personally identifiable information or adult content.

\n

Amazon SageMaker can restrict the Amazon Mechanical Turk workers who can view your task based on this information.

", "smithy.api#required": {} } @@ -947,6 +953,7 @@ "InputContent": { "target": "com.amazonaws.sagemakera2iruntime#InputContent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Serialized input from the human loop. The input must be a string representation of a file in JSON format.

", "smithy.api#required": {} } @@ -972,6 +979,7 @@ "OutputS3Uri": { "target": "com.amazonaws.sagemakera2iruntime#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the Amazon S3 object where Amazon Augmented AI stores your human loop output.

", "smithy.api#required": {} } @@ -1139,6 +1147,7 @@ "FlowDefinitionArn": { "target": "com.amazonaws.sagemakera2iruntime#FlowDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a flow definition.

", "smithy.api#httpQuery": "FlowDefinitionArn", "smithy.api#required": {} @@ -1161,7 +1170,6 @@ "MaxResults": { "target": "com.amazonaws.sagemakera2iruntime#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The total number of items to return. If the total number of available items is more than\n the value specified in MaxResults, then a NextToken is returned in\n the output. You can use this token to display the next page of results.

", "smithy.api#httpQuery": "MaxResults" } @@ -1177,6 +1185,7 @@ "HumanLoopSummaries": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects that contain information about the human loops.

", "smithy.api#required": {} } @@ -1195,7 +1204,6 @@ "com.amazonaws.sagemakera2iruntime#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1295,6 +1303,7 @@ "HumanLoopName": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human loop.

", "smithy.api#required": {} } @@ -1302,6 +1311,7 @@ "FlowDefinitionArn": { "target": "com.amazonaws.sagemakera2iruntime#FlowDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the flow definition associated with this human\n loop.

", "smithy.api#required": {} } @@ -1309,6 +1319,7 @@ "HumanLoopInput": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that contains information about the human loop.

", "smithy.api#required": {} } @@ -1375,6 +1386,7 @@ "HumanLoopName": { "target": "com.amazonaws.sagemakera2iruntime#HumanLoopName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human loop that you want to stop.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/sagemaker-edge.json b/codegen/sdk-codegen/aws-models/sagemaker-edge.json index e9cceefc711..b0fb191aa87 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-edge.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-edge.json @@ -99,7 +99,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -142,7 +141,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -155,7 +155,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -169,7 +168,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -192,7 +190,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -227,7 +224,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -238,14 +234,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -259,14 +257,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -275,11 +271,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -290,14 +286,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -311,7 +309,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -331,7 +328,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -342,14 +338,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -360,9 +358,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1069,7 +1069,6 @@ "Value": { "target": "com.amazonaws.sagemakeredge#Value", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Returns the value of the metric.

" } }, @@ -1148,6 +1147,7 @@ "DeviceName": { "target": "com.amazonaws.sagemakeredge#DeviceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique name of the device you want to get the configuration of active deployments from.

", "smithy.api#required": {} } @@ -1155,6 +1155,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemakeredge#DeviceFleetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet that the device belongs to.

", "smithy.api#required": {} } @@ -1206,6 +1207,7 @@ "DeviceName": { "target": "com.amazonaws.sagemakeredge#DeviceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique name of the device you want to get the registration status from.

", "smithy.api#required": {} } @@ -1213,6 +1215,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemakeredge#DeviceFleetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet that the device belongs to.

", "smithy.api#required": {} } @@ -1385,6 +1388,7 @@ "AgentVersion": { "target": "com.amazonaws.sagemakeredge#Version", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the version of the agent.

", "smithy.api#required": {} } @@ -1392,6 +1396,7 @@ "DeviceName": { "target": "com.amazonaws.sagemakeredge#DeviceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique name of the device.

", "smithy.api#required": {} } @@ -1399,6 +1404,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemakeredge#DeviceFleetName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet that the device belongs to.

", "smithy.api#required": {} } @@ -1421,10 +1427,7 @@ "type": "timestamp" }, "com.amazonaws.sagemakeredge#Value": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.sagemakeredge#Version": { "type": "string", diff --git a/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json index 677e59c91fb..e6365139bf6 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-featurestore-runtime.json @@ -115,7 +115,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -158,7 +157,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -171,7 +171,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -185,7 +184,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -208,7 +206,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -243,7 +240,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -254,14 +250,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -275,14 +273,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -291,11 +287,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -306,14 +302,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -327,7 +325,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -347,7 +344,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -358,14 +354,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -376,9 +374,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -740,6 +740,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature group that the record belongs to.

", "smithy.api#required": {} } @@ -747,6 +748,7 @@ "RecordIdentifierValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value for the RecordIdentifier in string format of a Record from a\n FeatureGroup that is causing an error when attempting to be\n retrieved.

", "smithy.api#required": {} } @@ -754,6 +756,7 @@ "ErrorCode": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code of an error that has occurred when attempting to retrieve a batch of\n Records. For more information on errors, see Errors.

", "smithy.api#required": {} } @@ -761,6 +764,7 @@ "ErrorMessage": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Message", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error message of an error that has occurred when attempting to retrieve a record in\n the batch.

", "smithy.api#required": {} } @@ -787,6 +791,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the FeatureGroup containing the\n records you are retrieving in a batch.

", "smithy.api#required": {} } @@ -794,6 +799,7 @@ "RecordIdentifiersValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#RecordIdentifiers", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value for a list of record identifiers in string format.

", "smithy.api#required": {} } @@ -827,6 +833,7 @@ "Identifiers": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#BatchGetRecordIdentifiers", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list containing the name or Amazon Resource Name (ARN) of the\n FeatureGroup, the list of names of Features to be retrieved,\n and the corresponding RecordIdentifier values as strings.

", "smithy.api#required": {} } @@ -848,6 +855,7 @@ "Records": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#BatchGetRecordResultDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of Records you requested to be retrieved in batch.

", "smithy.api#required": {} } @@ -855,6 +863,7 @@ "Errors": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#BatchGetRecordErrors", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of errors that have occurred when retrieving a batch of Records.

", "smithy.api#required": {} } @@ -862,6 +871,7 @@ "UnprocessedIdentifiers": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#UnprocessedIdentifiers", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unprocessed list of FeatureGroup names, with their corresponding\n RecordIdentifier value, and Feature name.

", "smithy.api#required": {} } @@ -877,6 +887,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The FeatureGroupName containing Records you retrieved in a batch.

", "smithy.api#required": {} } @@ -884,6 +895,7 @@ "RecordIdentifierValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the record identifier in string format.

", "smithy.api#required": {} } @@ -891,6 +903,7 @@ "Record": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Record", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Record retrieved.

", "smithy.api#required": {} } @@ -962,6 +975,7 @@ "RecordIdentifierValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value for the RecordIdentifier that uniquely identifies the record, in\n string format.

", "smithy.api#httpQuery": "RecordIdentifierValueAsString", "smithy.api#required": {} @@ -970,6 +984,7 @@ "EventTime": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Timestamp indicating when the deletion event occurred. EventTime can be\n used to query data at a certain point in time.

", "smithy.api#httpQuery": "EventTime", "smithy.api#required": {} @@ -1068,6 +1083,7 @@ "FeatureName": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a feature that a feature value corresponds to.

", "smithy.api#required": {} } @@ -1137,6 +1153,7 @@ "RecordIdentifierValueAsString": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#ValueAsString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value that corresponds to RecordIdentifier type and uniquely identifies\n the record in the FeatureGroup.

", "smithy.api#httpQuery": "RecordIdentifierValueAsString", "smithy.api#required": {} @@ -1248,6 +1265,7 @@ "Record": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#Record", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of FeatureValues to be inserted. This will be a full over-write. If you only want\n to update few of the feature values, do the following:

\n ", "smithy.api#required": {} } @@ -1353,6 +1371,7 @@ "Unit": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#TtlDurationUnit", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n TtlDuration time unit.

", "smithy.api#required": {} } @@ -1360,6 +1379,7 @@ "Value": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#TtlDurationValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n TtlDuration time value.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/sagemaker-metrics.json b/codegen/sdk-codegen/aws-models/sagemaker-metrics.json index c2f289e19f5..0d050f622a4 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-metrics.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-metrics.json @@ -58,7 +58,6 @@ "MetricIndex": { "target": "com.amazonaws.sagemakermetrics#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An index that corresponds to the metric in the request.

" } } @@ -85,6 +84,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemakermetrics#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Trial Component to associate with the metrics.

", "smithy.api#required": {} } @@ -92,6 +92,7 @@ "MetricData": { "target": "com.amazonaws.sagemakermetrics#RawMetricDataList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of raw metric values to put.

", "smithy.api#required": {} } @@ -116,10 +117,7 @@ } }, "com.amazonaws.sagemakermetrics#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.sagemakermetrics#ExperimentEntityName": { "type": "string", @@ -132,10 +130,7 @@ } }, "com.amazonaws.sagemakermetrics#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.sagemakermetrics#MetricName": { "type": "string", @@ -182,6 +177,7 @@ "MetricName": { "target": "com.amazonaws.sagemakermetrics#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } @@ -189,6 +185,7 @@ "Timestamp": { "target": "com.amazonaws.sagemakermetrics#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the metric was recorded.

", "smithy.api#required": {} } @@ -202,7 +199,7 @@ "Value": { "target": "com.amazonaws.sagemakermetrics#Double", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric value.

", "smithy.api#required": {} } @@ -288,7 +285,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -307,7 +303,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -335,13 +330,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -354,7 +350,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -368,7 +363,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -391,7 +385,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -426,11 +419,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -441,16 +432,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -464,14 +458,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -480,15 +472,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -499,16 +490,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -522,7 +516,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -542,11 +535,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -557,20 +548,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -581,18 +574,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker-runtime.json b/codegen/sdk-codegen/aws-models/sagemaker-runtime.json index 87841548987..30d8e59a521 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker-runtime.json +++ b/codegen/sdk-codegen/aws-models/sagemaker-runtime.json @@ -100,7 +100,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +142,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -156,7 +156,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -170,7 +169,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -193,7 +191,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -228,7 +225,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -239,14 +235,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -260,14 +258,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -276,18 +272,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws", { "fn": "getAttr", "argv": [ @@ -296,7 +291,8 @@ }, "name" ] - } + }, + "aws" ] } ], @@ -312,7 +308,6 @@ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -321,7 +316,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -341,14 +337,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -362,7 +360,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -382,7 +379,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -393,14 +389,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -411,9 +409,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1304,6 +1304,7 @@ "InputLocation": { "target": "com.amazonaws.sagemakerruntime#InputLocationHeader", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 URI where the inference request payload is stored.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-InputLocation", "smithy.api#required": {} @@ -1370,6 +1371,7 @@ "Body": { "target": "com.amazonaws.sagemakerruntime#BodyBlob", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides input data, in the format specified in the ContentType\n request header. Amazon SageMaker passes all of the data in the body to the model.

\n

For information about the format of the request body, see Common Data\n Formats-Inference.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} @@ -1442,6 +1444,7 @@ "Body": { "target": "com.amazonaws.sagemakerruntime#BodyBlob", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Includes the inference provided by the model.

\n

For information about the format of the response body, see Common Data\n Formats-Inference.

\n

If the explainer is activated, the body includes the explanations provided by the\n model. For more information, see the Response section\n under Invoke the Endpoint in the Developer Guide.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} @@ -1524,6 +1527,7 @@ "Body": { "target": "com.amazonaws.sagemakerruntime#BodyBlob", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides input data, in the format specified in the ContentType\n request header. Amazon SageMaker passes all of the data in the body to the model.

\n

For information about the format of the request body, see Common Data\n Formats-Inference.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index d93f2c3762c..6ba6a75defd 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -61,6 +61,7 @@ "SourceUri": { "target": "com.amazonaws.sagemaker#String2048", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the source.

", "smithy.api#required": {} } @@ -205,6 +206,7 @@ "SourceArn": { "target": "com.amazonaws.sagemaker#AssociationEntityArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the source.

", "smithy.api#required": {} } @@ -212,6 +214,7 @@ "DestinationArn": { "target": "com.amazonaws.sagemaker#AssociationEntityArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the destination.

", "smithy.api#required": {} } @@ -265,6 +268,7 @@ "ResourceArn": { "target": "com.amazonaws.sagemaker#ResourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that you want to tag.

", "smithy.api#required": {} } @@ -272,6 +276,7 @@ "Tags": { "target": "com.amazonaws.sagemaker#TagList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of key-value pairs. You can use tags to categorize your Amazon Web Services\n resources in different ways, for example, by purpose, owner, or environment. For more\n information, see Tagging Amazon Web Services Resources.

", "smithy.api#required": {} } @@ -313,6 +318,7 @@ "Name": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique name to identify the additional inference specification. The name must \n be unique within the list of your additional inference specifications for a \n particular model package.

", "smithy.api#required": {} } @@ -326,6 +332,7 @@ "Containers": { "target": "com.amazonaws.sagemaker#ModelPackageContainerDefinitionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon ECR registry path of the Docker image that contains the inference code.

", "smithy.api#required": {} } @@ -377,6 +384,7 @@ "S3DataType": { "target": "com.amazonaws.sagemaker#AdditionalS3DataSourceDataType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data type of the additional data source that you specify for use in inference or\n training.

", "smithy.api#required": {} } @@ -384,6 +392,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The uniform resource identifier (URI) used to identify an additional data source used\n in inference or training.

", "smithy.api#required": {} } @@ -416,6 +425,7 @@ "Version": { "target": "com.amazonaws.sagemaker#EdgeVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Version of the agent.

", "smithy.api#required": {} } @@ -423,7 +433,7 @@ "AgentCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of Edge Manager agents.

", "smithy.api#required": {} } @@ -580,6 +590,7 @@ "TrainingInputMode": { "target": "com.amazonaws.sagemaker#TrainingInputMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -592,7 +603,6 @@ "EnableSageMakerMetricsTimeSeries": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To generate and save time-series metrics during training, set to true.\n The default is false and time-series metrics aren't generated except in the\n following cases:

\n " } }, @@ -680,6 +690,7 @@ "Name": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the algorithm for which the overall status is being reported.

", "smithy.api#required": {} } @@ -687,6 +698,7 @@ "Status": { "target": "com.amazonaws.sagemaker#DetailedAlgorithmStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status.

", "smithy.api#required": {} } @@ -714,6 +726,7 @@ "AlgorithmName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the algorithm that is described by the summary.

", "smithy.api#required": {} } @@ -721,6 +734,7 @@ "AlgorithmArn": { "target": "com.amazonaws.sagemaker#AlgorithmArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the algorithm.

", "smithy.api#required": {} } @@ -734,6 +748,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the algorithm was created.

", "smithy.api#required": {} } @@ -741,6 +756,7 @@ "AlgorithmStatus": { "target": "com.amazonaws.sagemaker#AlgorithmStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The overall status of the algorithm.

", "smithy.api#required": {} } @@ -762,6 +778,7 @@ "ProfileName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the profile for the algorithm. The name must have 1 to 63 characters.\n Valid characters are a-z, A-Z, 0-9, and - (hyphen).

", "smithy.api#required": {} } @@ -769,6 +786,7 @@ "TrainingJobDefinition": { "target": "com.amazonaws.sagemaker#TrainingJobDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The TrainingJobDefinition object that describes the training job that\n SageMaker runs to validate your algorithm.

", "smithy.api#required": {} } @@ -802,6 +820,7 @@ "ValidationRole": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IAM roles that SageMaker uses to run the training jobs.

", "smithy.api#required": {} } @@ -809,6 +828,7 @@ "ValidationProfiles": { "target": "com.amazonaws.sagemaker#AlgorithmValidationProfiles", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of AlgorithmValidationProfile objects, each of which specifies a\n training job and batch transform job that SageMaker runs to validate your algorithm.

", "smithy.api#required": {} } @@ -824,6 +844,7 @@ "AnnotationConsolidationLambdaArn": { "target": "com.amazonaws.sagemaker#LambdaFunctionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a Lambda function implements the logic for annotation consolidation and to process output data.

\n

This parameter is required for all labeling jobs. For built-in task types, use one\n of the following Amazon SageMaker Ground Truth Lambda function ARNs for\n AnnotationConsolidationLambdaArn. For custom labeling workflows, see\n Post-annotation Lambda.

\n

\n Bounding box - Finds the most similar boxes from\n different workers based on the Jaccard index of the boxes.

\n \n

\n Image classification - Uses a variant of the\n Expectation Maximization approach to estimate the true class of an image based on\n annotations from individual workers.

\n \n

\n Multi-label image classification - Uses a variant of\n the Expectation Maximization approach to estimate the true classes of an image based on\n annotations from individual workers.

\n \n

\n Semantic segmentation - Treats each pixel in an image\n as a multi-class classification and treats pixel annotations from workers as \"votes\" for\n the correct label.

\n \n

\n Text classification - Uses a variant of the\n Expectation Maximization approach to estimate the true class of text based on\n annotations from individual workers.

\n \n

\n Multi-label text classification - Uses a variant of\n the Expectation Maximization approach to estimate the true classes of text based on\n annotations from individual workers.

\n \n

\n Named entity recognition - Groups similar selections\n and calculates aggregate boundaries, resolving to most-assigned label.

\n \n

\n Video Classification - Use this task type when you need workers to classify videos using\n predefined labels that you specify. Workers are shown videos and are asked to choose one\n label for each video.

\n \n

\n Video Frame Object Detection - Use this task type to\n have workers identify and locate objects in a sequence of video frames (images extracted\n from a video) using bounding boxes. For example, you can use this task to ask workers to\n identify and localize various objects in a series of video frames, such as cars, bikes,\n and pedestrians.

\n \n

\n Video Frame Object Tracking - Use this task type to\n have workers track the movement of objects in a sequence of video frames (images\n extracted from a video) using bounding boxes. For example, you can use this task to ask\n workers to track the movement of objects, such as cars, bikes, and pedestrians.

\n \n

\n 3D Point Cloud Object Detection - Use this task type\n when you want workers to classify objects in a 3D point cloud by drawing 3D cuboids\n around objects. For example, you can use this task type to ask workers to identify\n different types of objects in a point cloud, such as cars, bikes, and\n pedestrians.

\n \n

\n 3D Point Cloud Object Tracking - Use this task type\n when you want workers to draw 3D cuboids around objects that appear in a sequence of 3D\n point cloud frames. For example, you can use this task type to ask workers to track the\n movement of vehicles across multiple point cloud frames.

\n \n

\n 3D Point Cloud Semantic Segmentation - Use this task\n type when you want workers to create a point-level semantic segmentation masks by\n painting objects in a 3D point cloud using different colors where each color is assigned\n to one of the classes you specify.

\n \n

\n Use the following ARNs for Label Verification and Adjustment Jobs\n

\n

Use label verification and adjustment jobs to review and adjust labels. To learn more,\n see Verify and Adjust Labels .

\n

\n Semantic Segmentation Adjustment - Treats each pixel\n in an image as a multi-class classification and treats pixel adjusted annotations from\n workers as \"votes\" for the correct label.

\n \n

\n Semantic Segmentation Verification - Uses a variant\n of the Expectation Maximization approach to estimate the true class of verification\n judgment for semantic segmentation labels based on annotations from individual\n workers.

\n \n

\n Bounding Box Adjustment - Finds the most similar\n boxes from different workers based on the Jaccard index of the adjusted\n annotations.

\n \n

\n Bounding Box Verification - Uses a variant of the\n Expectation Maximization approach to estimate the true class of verification judgement\n for bounding box labels based on annotations from individual workers.

\n \n

\n Video Frame Object Detection Adjustment - \n Use this task type when you want workers to adjust bounding boxes that workers have added \n to video frames to classify and localize objects in a sequence of video frames.

\n \n

\n Video Frame Object Tracking Adjustment - \n Use this task type when you want workers to adjust bounding boxes that workers have added \n to video frames to track object movement across a sequence of video frames.

\n \n

\n 3D Point Cloud Object Detection Adjustment - Use this\n task type when you want workers to adjust 3D cuboids around objects in a 3D point cloud.

\n \n

\n 3D Point Cloud Object Tracking Adjustment - Use this\n task type when you want workers to adjust 3D cuboids around objects that appear in a\n sequence of 3D point cloud frames.

\n \n

\n 3D Point Cloud Semantic Segmentation Adjustment - Use this task\n type when you want workers to adjust a point-level semantic segmentation masks using a paint tool.

\n ", "smithy.api#required": {} } @@ -1352,10 +1373,7 @@ } }, "com.amazonaws.sagemaker#AppManaged": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#AppName": { "type": "string", @@ -1418,6 +1436,7 @@ "ImageUri": { "target": "com.amazonaws.sagemaker#ImageUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The container image to be run by the processing job.

", "smithy.api#required": {} } @@ -1551,6 +1570,7 @@ "SourceUri": { "target": "com.amazonaws.sagemaker#String2048", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the source.

", "smithy.api#required": {} } @@ -1601,6 +1621,7 @@ "SourceIdType": { "target": "com.amazonaws.sagemaker#ArtifactSourceIdType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of ID.

", "smithy.api#required": {} } @@ -1608,6 +1629,7 @@ "Value": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID.

", "smithy.api#required": {} } @@ -1716,6 +1738,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the component to associated with the trial.

", "smithy.api#required": {} } @@ -1723,6 +1746,7 @@ "TrialName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial to associate with.

", "smithy.api#required": {} } @@ -1882,6 +1906,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#AsyncInferenceOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the configuration for asynchronous inference invocation outputs.

", "smithy.api#required": {} } @@ -2006,18 +2031,21 @@ "Catalog": { "target": "com.amazonaws.sagemaker#AthenaCatalog", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Database": { "target": "com.amazonaws.sagemaker#AthenaDatabase", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "QueryString": { "target": "com.amazonaws.sagemaker#AthenaQueryString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -2027,6 +2055,7 @@ "OutputS3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location in Amazon S3 where Athena query results are stored.

", "smithy.api#required": {} } @@ -2040,6 +2069,7 @@ "OutputFormat": { "target": "com.amazonaws.sagemaker#AthenaResultFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -2177,10 +2207,7 @@ } }, "com.amazonaws.sagemaker#AutoGenerateEndpointName": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#AutoMLAlgorithm": { "type": "enum", @@ -2247,6 +2274,7 @@ "AutoMLAlgorithms": { "target": "com.amazonaws.sagemaker#AutoMLAlgorithms", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The selection of algorithms run on a dataset to train the model candidates of an Autopilot\n job.

\n \n

Selected algorithms must belong to the list corresponding to the training mode set in\n AutoMLJobConfig.Mode (ENSEMBLING or\n HYPERPARAMETER_TUNING). Choose a minimum of 1 algorithm.

\n
\n ", "smithy.api#required": {} } @@ -2286,6 +2314,7 @@ "CandidateName": { "target": "com.amazonaws.sagemaker#CandidateName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the candidate.

", "smithy.api#required": {} } @@ -2296,6 +2325,7 @@ "ObjectiveStatus": { "target": "com.amazonaws.sagemaker#ObjectiveStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The objective's status.

", "smithy.api#required": {} } @@ -2303,6 +2333,7 @@ "CandidateSteps": { "target": "com.amazonaws.sagemaker#CandidateSteps", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the candidate's steps.

", "smithy.api#required": {} } @@ -2310,6 +2341,7 @@ "CandidateStatus": { "target": "com.amazonaws.sagemaker#CandidateStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The candidate's status.

", "smithy.api#required": {} } @@ -2323,6 +2355,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation time.

", "smithy.api#required": {} } @@ -2336,6 +2369,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last modified time.

", "smithy.api#required": {} } @@ -2389,6 +2423,7 @@ "CandidateStepType": { "target": "com.amazonaws.sagemaker#CandidateStepType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether the candidate is at the transform, training, or processing step.

", "smithy.api#required": {} } @@ -2396,6 +2431,7 @@ "CandidateStepArn": { "target": "com.amazonaws.sagemaker#CandidateStepArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN for the candidate's step.

", "smithy.api#required": {} } @@ -2403,6 +2439,7 @@ "CandidateStepName": { "target": "com.amazonaws.sagemaker#CandidateStepName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the candidate's step.

", "smithy.api#required": {} } @@ -2424,6 +2461,7 @@ "DataSource": { "target": "com.amazonaws.sagemaker#AutoMLDataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data source for an AutoML channel.

", "smithy.api#required": {} } @@ -2437,6 +2475,7 @@ "TargetAttributeName": { "target": "com.amazonaws.sagemaker#TargetAttributeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the target variable in supervised learning, usually represented by\n 'y'.

", "smithy.api#required": {} } @@ -2487,6 +2526,7 @@ "Image": { "target": "com.amazonaws.sagemaker#ContainerImage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Elastic Container Registry (Amazon ECR) path of the container. For more\n information, see \n ContainerDefinition.

", "smithy.api#required": {} } @@ -2494,6 +2534,7 @@ "ModelDataUrl": { "target": "com.amazonaws.sagemaker#Url", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the model artifacts. For more information, see \n ContainerDefinition.

", "smithy.api#required": {} } @@ -2527,6 +2568,7 @@ "S3DataSource": { "target": "com.amazonaws.sagemaker#AutoMLS3DataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location of the input data.

", "smithy.api#required": {} } @@ -2747,6 +2789,7 @@ "MetricName": { "target": "com.amazonaws.sagemaker#AutoMLMetricEnum", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the objective metric used to measure the predictive quality of a machine\n learning system. During training, the model's parameters are updated iteratively to\n optimize its performance based on the feedback provided by the objective metric when\n evaluating the model on the validation dataset.

\n

For the list of all available metrics supported by Autopilot, see Autopilot\n metrics.

\n

If you do not specify a metric explicitly, the default behavior is to automatically\n use:

\n ", "smithy.api#required": {} } @@ -2953,6 +2996,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the AutoML job you are requesting.

", "smithy.api#required": {} } @@ -2960,6 +3004,7 @@ "AutoMLJobArn": { "target": "com.amazonaws.sagemaker#AutoMLJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the AutoML job.

", "smithy.api#required": {} } @@ -2967,6 +3012,7 @@ "AutoMLJobStatus": { "target": "com.amazonaws.sagemaker#AutoMLJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the AutoML job.

", "smithy.api#required": {} } @@ -2974,6 +3020,7 @@ "AutoMLJobSecondaryStatus": { "target": "com.amazonaws.sagemaker#AutoMLJobSecondaryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The secondary status of the AutoML job.

", "smithy.api#required": {} } @@ -2981,6 +3028,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When the AutoML job was created.

", "smithy.api#required": {} } @@ -2994,6 +3042,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When the AutoML job was last modified.

", "smithy.api#required": {} } @@ -3018,7 +3067,6 @@ "com.amazonaws.sagemaker#AutoMLMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3296,6 +3344,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 output path. Must be 128 characters or less.

", "smithy.api#required": {} } @@ -3449,6 +3498,7 @@ "S3DataType": { "target": "com.amazonaws.sagemaker#AutoMLS3DataType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data type.

\n ", "smithy.api#required": {} } @@ -3456,6 +3506,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile\n depending on the data type.

", "smithy.api#required": {} } @@ -3500,7 +3551,6 @@ "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to use traffic encryption between the container layers.

" } }, @@ -3561,6 +3611,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ParameterKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hyperparameter to optimize using Autotune.

", "smithy.api#required": {} } @@ -3568,6 +3619,7 @@ "ValueHint": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An example value of the hyperparameter to optimize using Autotune.

", "smithy.api#required": {} } @@ -3609,6 +3661,7 @@ "Mode": { "target": "com.amazonaws.sagemaker#AutotuneMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Set Mode to Enabled if you want to use Autotune.

", "smithy.api#required": {} } @@ -3660,6 +3713,7 @@ "DestinationS3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location being used to capture the data.

", "smithy.api#required": {} } @@ -3673,7 +3727,6 @@ "GenerateInferenceId": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Flag that indicates whether to append inference id to the output.

" } } @@ -3700,6 +3753,7 @@ "ErrorCode": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

", "smithy.api#required": {} } @@ -3707,6 +3761,7 @@ "ErrorResponse": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

", "smithy.api#required": {} } @@ -3731,6 +3786,7 @@ "ModelPackageArnList": { "target": "com.amazonaws.sagemaker#ModelPackageArnList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of Amazon Resource Name (ARN) of the model package groups.

", "smithy.api#required": {} } @@ -3766,6 +3822,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The group name for the model package

", "smithy.api#required": {} } @@ -3779,6 +3836,7 @@ "ModelPackageArn": { "target": "com.amazonaws.sagemaker#ModelPackageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model package.

", "smithy.api#required": {} } @@ -3792,6 +3850,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation time of the mortgage package summary.

", "smithy.api#required": {} } @@ -3799,12 +3858,14 @@ "InferenceSpecification": { "target": "com.amazonaws.sagemaker#InferenceSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ModelPackageStatus": { "target": "com.amazonaws.sagemaker#ModelPackageStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the mortgage package.

", "smithy.api#required": {} } @@ -3843,6 +3904,7 @@ "DataCapturedDestinationS3Uri": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location being used to capture the data.

", "smithy.api#required": {} } @@ -3850,6 +3912,7 @@ "DatasetFormat": { "target": "com.amazonaws.sagemaker#MonitoringDatasetFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The dataset format for your batch transform job.

", "smithy.api#required": {} } @@ -3857,6 +3920,7 @@ "LocalPath": { "target": "com.amazonaws.sagemaker#ProcessingLocalPath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Path to the filesystem where the batch transform data is available to the container.

", "smithy.api#required": {} } @@ -3983,6 +4047,7 @@ "TrafficRoutingConfiguration": { "target": "com.amazonaws.sagemaker#TrafficRoutingConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the traffic routing strategy to shift traffic from the old fleet to the new\n fleet during an endpoint deployment.

", "smithy.api#required": {} } @@ -4005,10 +4070,7 @@ } }, "com.amazonaws.sagemaker#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#BooleanOperator": { "type": "enum", @@ -4103,6 +4165,7 @@ "Explainability": { "target": "com.amazonaws.sagemaker#ExplainabilityLocation", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 prefix to the explainability artifacts generated for the AutoML\n candidate.

", "smithy.api#required": {} } @@ -4331,6 +4394,7 @@ "Type": { "target": "com.amazonaws.sagemaker#CapacitySizeType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the endpoint capacity type.

\n ", "smithy.api#required": {} } @@ -4338,6 +4402,7 @@ "Value": { "target": "com.amazonaws.sagemaker#CapacitySizeValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the capacity size, either as a number of instances or a capacity\n percentage.

", "smithy.api#required": {} } @@ -4415,6 +4480,7 @@ "CaptureMode": { "target": "com.amazonaws.sagemaker#CaptureMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specify the boundary of data to capture.

", "smithy.api#required": {} } @@ -4469,6 +4535,7 @@ "Name": { "target": "com.amazonaws.sagemaker#String64", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Name of the environment variable.

", "smithy.api#required": {} } @@ -4476,6 +4543,7 @@ "Value": { "target": "com.amazonaws.sagemaker#CategoricalParameterRangeValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of values you can pass.

", "smithy.api#required": {} } @@ -4491,6 +4559,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ParameterKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the categorical hyperparameter to tune.

", "smithy.api#required": {} } @@ -4498,6 +4567,7 @@ "Values": { "target": "com.amazonaws.sagemaker#ParameterValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of the categories\n for\n the hyperparameter.

", "smithy.api#required": {} } @@ -4513,6 +4583,7 @@ "Values": { "target": "com.amazonaws.sagemaker#ParameterValues", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The allowed categories for the hyperparameter.

", "smithy.api#required": {} } @@ -4561,7 +4632,6 @@ "com.amazonaws.sagemaker#Cents": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 99 @@ -4569,10 +4639,7 @@ } }, "com.amazonaws.sagemaker#CertifyForMarketplace": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#Channel": { "type": "structure", @@ -4580,6 +4647,7 @@ "ChannelName": { "target": "com.amazonaws.sagemaker#ChannelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the channel.

", "smithy.api#required": {} } @@ -4587,6 +4655,7 @@ "DataSource": { "target": "com.amazonaws.sagemaker#DataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the channel data.

", "smithy.api#required": {} } @@ -4642,6 +4711,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ChannelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the channel.

", "smithy.api#required": {} } @@ -4655,13 +4725,13 @@ "IsRequired": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the channel is required by the algorithm.

" } }, "SupportedContentTypes": { "target": "com.amazonaws.sagemaker#ContentTypes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The supported MIME types for the data.

", "smithy.api#required": {} } @@ -4675,6 +4745,7 @@ "SupportedInputModes": { "target": "com.amazonaws.sagemaker#InputModes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The allowed input mode, either FILE or PIPE.

\n

In FILE mode, Amazon SageMaker copies the data from the input source onto the local Amazon\n Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This\n is the most commonly used input mode.

\n

In PIPE mode, Amazon SageMaker streams input data from the source directly to your algorithm\n without using the EBS volume.

", "smithy.api#required": {} } @@ -4702,6 +4773,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the S3 path where you want SageMaker to store checkpoints. For example,\n s3://bucket-name/key-name-prefix.

", "smithy.api#required": {} } @@ -4775,14 +4847,12 @@ "SkipCheck": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

This flag indicates if the drift check against the previous baseline will be skipped or not. \n If it is set to False, the previous baseline of the configured check type must be available.

" } }, "RegisterNewBaseline": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

This flag indicates if a newly calculated baseline can be accessed through step properties \n BaselineUsedForDriftCheckConstraints and BaselineUsedForDriftCheckStatistics. \n If it is set to False, the previous baseline of the configured check type must also be available. \n These can be accessed through the BaselineUsedForDriftCheckConstraints property.

" } } @@ -4829,6 +4899,7 @@ "ShapConfig": { "target": "com.amazonaws.sagemaker#ClarifyShapConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for SHAP analysis.

", "smithy.api#required": {} } @@ -5096,6 +5167,7 @@ "ShapBaselineConfig": { "target": "com.amazonaws.sagemaker#ClarifyShapBaselineConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for the SHAP baseline of the Kernal SHAP algorithm.

", "smithy.api#required": {} } @@ -5149,6 +5221,7 @@ "Language": { "target": "com.amazonaws.sagemaker#ClarifyTextLanguage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the language of the text features in ISO 639-1 or\n ISO 639-3 code of a\n supported language.

\n \n

For a mix of multiple languages, use code 'xx'.

\n
", "smithy.api#required": {} } @@ -5156,6 +5229,7 @@ "Granularity": { "target": "com.amazonaws.sagemaker#ClarifyTextGranularity", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unit of granularity for the analysis of text features. For example, if the unit is\n 'token', then each token (like a word in English) of the text is\n treated as a feature. SHAP values are computed for each unit/feature.

", "smithy.api#required": {} } @@ -5602,6 +5676,7 @@ "RepositoryUrl": { "target": "com.amazonaws.sagemaker#RepositoryUrl", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL of the Git repository.

", "smithy.api#required": {} } @@ -5697,6 +5772,7 @@ "CodeRepositoryName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Git repository.

", "smithy.api#required": {} } @@ -5704,6 +5780,7 @@ "CodeRepositoryArn": { "target": "com.amazonaws.sagemaker#CodeRepositoryArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Git repository.

", "smithy.api#required": {} } @@ -5711,6 +5788,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the Git repository was created.

", "smithy.api#required": {} } @@ -5718,6 +5796,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#LastModifiedTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the Git repository was last modified.

", "smithy.api#required": {} } @@ -5745,6 +5824,7 @@ "UserPool": { "target": "com.amazonaws.sagemaker#CognitoUserPool", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A \n user pool is a user directory in Amazon Cognito. \n With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. \n Your users can also sign in through social identity providers like \n Google, Facebook, Amazon, or Apple, and through SAML identity providers.

", "smithy.api#required": {} } @@ -5752,6 +5832,7 @@ "ClientId": { "target": "com.amazonaws.sagemaker#ClientId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The client ID for your Amazon Cognito user pool.

", "smithy.api#required": {} } @@ -5767,6 +5848,7 @@ "UserPool": { "target": "com.amazonaws.sagemaker#CognitoUserPool", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An identifier for a user pool. The user pool must be in the same region as the service\n that you are calling.

", "smithy.api#required": {} } @@ -5774,6 +5856,7 @@ "UserGroup": { "target": "com.amazonaws.sagemaker#CognitoUserGroup", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An identifier for a user group.

", "smithy.api#required": {} } @@ -5781,6 +5864,7 @@ "ClientId": { "target": "com.amazonaws.sagemaker#ClientId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An identifier for an application client. You must create the app client ID using\n Amazon Cognito.

", "smithy.api#required": {} } @@ -5967,6 +6051,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model compilation job that you want a summary for.

", "smithy.api#required": {} } @@ -5974,6 +6059,7 @@ "CompilationJobArn": { "target": "com.amazonaws.sagemaker#CompilationJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model compilation job.

", "smithy.api#required": {} } @@ -5981,6 +6067,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time when the model compilation job was created.

", "smithy.api#required": {} } @@ -6030,6 +6117,7 @@ "CompilationJobStatus": { "target": "com.amazonaws.sagemaker#CompilationJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the model compilation job.

", "smithy.api#required": {} } @@ -6393,6 +6481,7 @@ "SourceUri": { "target": "com.amazonaws.sagemaker#String2048", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the source.

", "smithy.api#required": {} } @@ -6470,6 +6559,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ParameterKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the continuous hyperparameter to tune.

", "smithy.api#required": {} } @@ -6477,6 +6567,7 @@ "MinValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum value for the hyperparameter.\n The\n tuning job uses floating-point values between this value and MaxValuefor\n tuning.

", "smithy.api#required": {} } @@ -6484,6 +6575,7 @@ "MaxValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum value for the hyperparameter. The tuning job uses floating-point values\n between MinValue value and this value for tuning.

", "smithy.api#required": {} } @@ -6505,6 +6597,7 @@ "MinValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum floating-point value allowed.

", "smithy.api#required": {} } @@ -6512,6 +6605,7 @@ "MaxValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum floating-point value allowed.

", "smithy.api#required": {} } @@ -6580,6 +6674,7 @@ "ActionName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the action. Must be unique to your account in an Amazon Web Services Region.

", "smithy.api#required": {} } @@ -6587,6 +6682,7 @@ "Source": { "target": "com.amazonaws.sagemaker#ActionSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source type, ID, and URI.

", "smithy.api#required": {} } @@ -6594,6 +6690,7 @@ "ActionType": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The action type.

", "smithy.api#required": {} } @@ -6662,6 +6759,7 @@ "AlgorithmName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the algorithm.

", "smithy.api#required": {} } @@ -6675,6 +6773,7 @@ "TrainingSpecification": { "target": "com.amazonaws.sagemaker#TrainingSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies details about training jobs run by this algorithm, including the\n following:

\n ", "smithy.api#required": {} } @@ -6694,7 +6793,6 @@ "CertifyForMarketplace": { "target": "com.amazonaws.sagemaker#CertifyForMarketplace", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to certify the algorithm so that it can be listed in Amazon Web Services\n Marketplace.

" } }, @@ -6715,6 +6813,7 @@ "AlgorithmArn": { "target": "com.amazonaws.sagemaker#AlgorithmArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the new algorithm.

", "smithy.api#required": {} } @@ -6767,6 +6866,7 @@ "AppImageConfigName": { "target": "com.amazonaws.sagemaker#AppImageConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the AppImageConfig. Must be unique to your account.

", "smithy.api#required": {} } @@ -6808,6 +6908,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -6821,6 +6922,7 @@ "AppType": { "target": "com.amazonaws.sagemaker#AppType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of app.

", "smithy.api#required": {} } @@ -6828,6 +6930,7 @@ "AppName": { "target": "com.amazonaws.sagemaker#AppName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app.

", "smithy.api#required": {} } @@ -6898,6 +7001,7 @@ "Source": { "target": "com.amazonaws.sagemaker#ArtifactSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID, ID type, and URI of the source.

", "smithy.api#required": {} } @@ -6905,6 +7009,7 @@ "ArtifactType": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The artifact type.

", "smithy.api#required": {} } @@ -6969,6 +7074,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies an Autopilot job. The name must be unique to your account and is case\n insensitive.

", "smithy.api#required": {} } @@ -6976,6 +7082,7 @@ "InputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLInputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of channel objects that describes the input data and its location. Each channel\n is a named input source. Similar to InputDataConfig supported by HyperParameterTrainingJobDefinition. Format(s) supported: CSV, Parquet. A\n minimum of 500 rows is required for the training dataset. There is not a minimum number of\n rows required for the validation dataset.

", "smithy.api#required": {} } @@ -6983,6 +7090,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLOutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides information about encryption and the Amazon S3 output path needed to store artifacts\n from an AutoML job. Format(s) supported: CSV.

", "smithy.api#required": {} } @@ -7008,6 +7116,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the role that is used to access the data.

", "smithy.api#required": {} } @@ -7015,7 +7124,6 @@ "GenerateCandidateDefinitionsOnly": { "target": "com.amazonaws.sagemaker#GenerateCandidateDefinitionsOnly", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Generates possible candidates without training the models. A candidate is a combination\n of data preprocessors, algorithms, and algorithm parameter settings.

" } }, @@ -7042,6 +7150,7 @@ "AutoMLJobArn": { "target": "com.amazonaws.sagemaker#AutoMLJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ARN assigned to the AutoML job when it is created.

", "smithy.api#required": {} } @@ -7077,6 +7186,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies an Autopilot job. The name must be unique to your account and is case\n insensitive.

", "smithy.api#required": {} } @@ -7084,6 +7194,7 @@ "AutoMLJobInputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLJobInputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of channel objects describing the input data and their location. Each channel\n is a named input source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters.\n The supported formats depend on the problem type:

\n ", "smithy.api#required": {} } @@ -7091,6 +7202,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLOutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides information about encryption and the Amazon S3 output path needed to store artifacts\n from an AutoML job.

", "smithy.api#required": {} } @@ -7098,6 +7210,7 @@ "AutoMLProblemTypeConfig": { "target": "com.amazonaws.sagemaker#AutoMLProblemTypeConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the configuration settings of one of the supported problem types.

", "smithy.api#required": {} } @@ -7105,6 +7218,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the role that is used to access the data.

", "smithy.api#required": {} } @@ -7150,6 +7264,7 @@ "AutoMLJobArn": { "target": "com.amazonaws.sagemaker#AutoMLJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ARN assigned to the AutoMLJob when it is created.

", "smithy.api#required": {} } @@ -7177,6 +7292,7 @@ "CodeRepositoryName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Git repository. The name must have 1 to 63 characters. Valid\n characters are a-z, A-Z, 0-9, and - (hyphen).

", "smithy.api#required": {} } @@ -7184,6 +7300,7 @@ "GitConfig": { "target": "com.amazonaws.sagemaker#GitConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies details about the repository, including the URL where the repository is\n located, the default branch, and credentials to use to access the repository.

", "smithy.api#required": {} } @@ -7205,6 +7322,7 @@ "CodeRepositoryArn": { "target": "com.amazonaws.sagemaker#CodeRepositoryArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the new repository.

", "smithy.api#required": {} } @@ -7240,6 +7358,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.

", "smithy.api#required": {} } @@ -7247,6 +7366,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on\n your behalf.

\n

During model compilation, Amazon SageMaker needs your permission to:

\n \n

You grant permissions for all of these tasks to an IAM role. To pass this role to\n Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For\n more information, see Amazon SageMaker\n Roles.\n

", "smithy.api#required": {} } @@ -7266,6 +7386,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#OutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides information about the output location for the compiled model and the target\n device the model runs on.

", "smithy.api#required": {} } @@ -7279,6 +7400,7 @@ "StoppingCondition": { "target": "com.amazonaws.sagemaker#StoppingCondition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a limit to how long a model compilation job can run. When the job reaches\n the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training\n costs.

", "smithy.api#required": {} } @@ -7300,6 +7422,7 @@ "CompilationJobArn": { "target": "com.amazonaws.sagemaker#CompilationJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If the action is successful, the service sends back an HTTP 200 response. Amazon SageMaker returns\n the following data in JSON format:

\n ", "smithy.api#required": {} } @@ -7332,6 +7455,7 @@ "ContextName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the context. Must be unique to your account in an Amazon Web Services Region.

", "smithy.api#required": {} } @@ -7339,6 +7463,7 @@ "Source": { "target": "com.amazonaws.sagemaker#ContextSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source type, ID, and URI.

", "smithy.api#required": {} } @@ -7346,6 +7471,7 @@ "ContextType": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The context type.

", "smithy.api#required": {} } @@ -7413,6 +7539,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the monitoring job definition.

", "smithy.api#required": {} } @@ -7426,6 +7553,7 @@ "DataQualityAppSpecification": { "target": "com.amazonaws.sagemaker#DataQualityAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the container that runs the monitoring job.

", "smithy.api#required": {} } @@ -7433,6 +7561,7 @@ "DataQualityJobInput": { "target": "com.amazonaws.sagemaker#DataQualityJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of inputs for the monitoring job. Currently endpoints are supported as monitoring\n inputs.

", "smithy.api#required": {} } @@ -7440,12 +7569,14 @@ "DataQualityJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -7458,6 +7589,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -7482,6 +7614,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job definition.

", "smithy.api#required": {} } @@ -7517,6 +7650,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet that the device belongs to.

", "smithy.api#required": {} } @@ -7536,6 +7670,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#EdgeOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The output configuration for storing sample data collected by the fleet.

", "smithy.api#required": {} } @@ -7583,6 +7718,7 @@ "DomainName": { "target": "com.amazonaws.sagemaker#DomainName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the domain.

", "smithy.api#required": {} } @@ -7590,6 +7726,7 @@ "AuthMode": { "target": "com.amazonaws.sagemaker#AuthMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The mode of authentication that members use to access the domain.

", "smithy.api#required": {} } @@ -7597,6 +7734,7 @@ "DefaultUserSettings": { "target": "com.amazonaws.sagemaker#UserSettings", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The default settings to use to create a user profile when UserSettings isn't specified\n in the call to the CreateUserProfile API.

\n

\n SecurityGroups is aggregated when specified in both calls. For all other\n settings in UserSettings, the values specified in CreateUserProfile\n take precedence over those specified in CreateDomain.

", "smithy.api#required": {} } @@ -7604,6 +7742,7 @@ "SubnetIds": { "target": "com.amazonaws.sagemaker#Subnets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC subnets that Studio uses for communication.

", "smithy.api#required": {} } @@ -7611,6 +7750,7 @@ "VpcId": { "target": "com.amazonaws.sagemaker#VpcId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.

", "smithy.api#required": {} } @@ -7708,6 +7848,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan.

", "smithy.api#required": {} } @@ -7715,6 +7856,7 @@ "ModelConfigs": { "target": "com.amazonaws.sagemaker#EdgeDeploymentModelConfigs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of models associated with the edge deployment plan.

", "smithy.api#required": {} } @@ -7722,6 +7864,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The device fleet used for this edge deployment plan.

", "smithy.api#required": {} } @@ -7749,6 +7892,7 @@ "EdgeDeploymentPlanArn": { "target": "com.amazonaws.sagemaker#EdgeDeploymentPlanArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the edge deployment plan.

", "smithy.api#required": {} } @@ -7781,6 +7925,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan.

", "smithy.api#required": {} } @@ -7788,6 +7933,7 @@ "Stages": { "target": "com.amazonaws.sagemaker#DeploymentStages", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of stages to be added to the edge deployment plan.

", "smithy.api#required": {} } @@ -7820,6 +7966,7 @@ "EdgePackagingJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge packaging job.

", "smithy.api#required": {} } @@ -7827,6 +7974,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the SageMaker Neo compilation job that will be used to locate model artifacts for packaging.

", "smithy.api#required": {} } @@ -7834,6 +7982,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model.

", "smithy.api#required": {} } @@ -7841,6 +7990,7 @@ "ModelVersion": { "target": "com.amazonaws.sagemaker#EdgeVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the model.

", "smithy.api#required": {} } @@ -7848,6 +7998,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to download and upload the model, and to contact SageMaker Neo.

", "smithy.api#required": {} } @@ -7855,6 +8006,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#EdgeOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides information about the output location for the packaged model.

", "smithy.api#required": {} } @@ -7916,6 +8068,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint configuration. You specify this name in a CreateEndpoint request.

", "smithy.api#required": {} } @@ -7923,6 +8076,7 @@ "ProductionVariants": { "target": "com.amazonaws.sagemaker#ProductionVariantList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of ProductionVariant objects, one for each model that you want\n to host at this endpoint.

", "smithy.api#required": {} } @@ -7971,6 +8125,7 @@ "EndpointConfigArn": { "target": "com.amazonaws.sagemaker#EndpointConfigArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint configuration.

", "smithy.api#required": {} } @@ -7986,6 +8141,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint.The name must be unique within an Amazon Web Services\n Region in your Amazon Web Services account. The name is case-insensitive in\n CreateEndpoint, but the case is preserved and must be matched in InvokeEndpoint.

", "smithy.api#required": {} } @@ -7993,6 +8149,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of an endpoint configuration. For more information, see CreateEndpointConfig.

", "smithy.api#required": {} } @@ -8017,6 +8174,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint.

", "smithy.api#required": {} } @@ -8049,6 +8207,7 @@ "ExperimentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the experiment. The name must be unique in your Amazon Web Services account and is not\n case-sensitive.

", "smithy.api#required": {} } @@ -8116,6 +8275,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the FeatureGroup. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account. The name:

\n ", "smithy.api#required": {} } @@ -8123,6 +8283,7 @@ "RecordIdentifierFeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Feature whose value uniquely identifies a\n Record defined in the FeatureStore. Only the latest record per\n identifier value will be stored in the OnlineStore.\n RecordIdentifierFeatureName must be one of feature definitions'\n names.

\n

You use the RecordIdentifierFeatureName to access data in a\n FeatureStore.

\n

This name:

\n ", "smithy.api#required": {} } @@ -8130,6 +8291,7 @@ "EventTimeFeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature that stores the EventTime of a Record\n in a FeatureGroup.

\n

An EventTime is a point in time when a new event occurs that corresponds to\n the creation or update of a Record in a FeatureGroup. All\n Records in the FeatureGroup must have a corresponding\n EventTime.

\n

An EventTime can be a String or Fractional.

\n ", "smithy.api#required": {} } @@ -8137,6 +8299,7 @@ "FeatureDefinitions": { "target": "com.amazonaws.sagemaker#FeatureDefinitions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of Feature names and types. Name and Type\n is compulsory per Feature.

\n

Valid feature FeatureTypes are Integral,\n Fractional and String.

\n

\n FeatureNames cannot be any of the following: is_deleted,\n write_time, api_invocation_time\n

\n

You can create up to 2,500 FeatureDefinitions per\n FeatureGroup.

", "smithy.api#required": {} } @@ -8182,6 +8345,7 @@ "FeatureGroupArn": { "target": "com.amazonaws.sagemaker#FeatureGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the FeatureGroup. This is a unique\n identifier for the feature group.

", "smithy.api#required": {} } @@ -8217,6 +8381,7 @@ "FlowDefinitionName": { "target": "com.amazonaws.sagemaker#FlowDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of your flow definition.

", "smithy.api#required": {} } @@ -8236,6 +8401,7 @@ "HumanLoopConfig": { "target": "com.amazonaws.sagemaker#HumanLoopConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object containing information about the tasks the human reviewers will perform.

", "smithy.api#required": {} } @@ -8243,6 +8409,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#FlowDefinitionOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object containing information about where the human review results will be uploaded.

", "smithy.api#required": {} } @@ -8250,6 +8417,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

", "smithy.api#required": {} } @@ -8271,6 +8439,7 @@ "FlowDefinitionArn": { "target": "com.amazonaws.sagemaker#FlowDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the flow definition you create.

", "smithy.api#required": {} } @@ -8306,6 +8475,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to create.

", "smithy.api#required": {} } @@ -8313,6 +8483,7 @@ "HubDescription": { "target": "com.amazonaws.sagemaker#HubDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the hub.

", "smithy.api#required": {} } @@ -8352,6 +8523,7 @@ "HubArn": { "target": "com.amazonaws.sagemaker#HubArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hub.

", "smithy.api#required": {} } @@ -8387,6 +8559,7 @@ "HumanTaskUiName": { "target": "com.amazonaws.sagemaker#HumanTaskUiName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the user interface you are creating.

", "smithy.api#required": {} } @@ -8394,6 +8567,7 @@ "UiTemplate": { "target": "com.amazonaws.sagemaker#UiTemplate", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -8414,6 +8588,7 @@ "HumanTaskUiArn": { "target": "com.amazonaws.sagemaker#HumanTaskUiArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the human review workflow user interface you create.

", "smithy.api#required": {} } @@ -8449,6 +8624,7 @@ "HyperParameterTuningJobName": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the tuning job. This name is the prefix for the names of all training jobs\n that this tuning job launches. The name must be unique within the same Amazon Web Services account and Amazon Web Services Region. The name must have 1 to 32 characters. Valid\n characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name is not case\n sensitive.

", "smithy.api#required": {} } @@ -8456,6 +8632,7 @@ "HyperParameterTuningJobConfig": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The HyperParameterTuningJobConfig object that describes the tuning job,\n including the search strategy, the objective metric used to evaluate training jobs,\n ranges of parameters to search, and resource limits for the tuning job. For more\n information, see How\n Hyperparameter Tuning Works.

", "smithy.api#required": {} } @@ -8501,6 +8678,7 @@ "HyperParameterTuningJobArn": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the tuning job. SageMaker assigns an ARN to a\n hyperparameter tuning job when you create it.

", "smithy.api#required": {} } @@ -8548,6 +8726,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image. Must be unique to your account.

", "smithy.api#required": {} } @@ -8555,6 +8734,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -8613,6 +8793,7 @@ "BaseImage": { "target": "com.amazonaws.sagemaker#ImageBaseImage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The registry path of the container image to use as the starting point for this\n version. The path is an Amazon Elastic Container Registry (ECR) URI in the following format:

\n

\n .dkr.ecr..amazonaws.com/\n

", "smithy.api#required": {} } @@ -8620,6 +8801,7 @@ "ClientToken": { "target": "com.amazonaws.sagemaker#ClientToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique ID. If not specified, the Amazon Web Services CLI and Amazon Web Services SDKs, such as the SDK for Python\n (Boto3), add a unique value to the call.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -8628,6 +8810,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ImageName of the Image to create a version of.

", "smithy.api#required": {} } @@ -8671,7 +8854,6 @@ "Horovod": { "target": "com.amazonaws.sagemaker#Horovod", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates Horovod compatibility.

" } }, @@ -8726,6 +8908,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the inference experiment.

", "smithy.api#required": {} } @@ -8733,6 +8916,7 @@ "Type": { "target": "com.amazonaws.sagemaker#InferenceExperimentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The type of the inference experiment that you want to run. The following types of experiments are possible:\n

\n ", "smithy.api#required": {} } @@ -8752,6 +8936,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage\n Amazon SageMaker Inference endpoints for model deployment.\n

", "smithy.api#required": {} } @@ -8759,6 +8944,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The name of the Amazon SageMaker endpoint on which you want to run the inference experiment.\n

", "smithy.api#required": {} } @@ -8766,6 +8952,7 @@ "ModelVariants": { "target": "com.amazonaws.sagemaker#ModelVariantConfigList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An array of ModelVariantConfig objects. There is one for each variant in the inference\n experiment. Each ModelVariantConfig object in the array describes the infrastructure\n configuration for the corresponding variant.\n

", "smithy.api#required": {} } @@ -8779,6 +8966,7 @@ "ShadowModeConfig": { "target": "com.amazonaws.sagemaker#ShadowModeConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The configuration of ShadowMode inference experiment type. Use this field to specify a\n production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a\n percentage of the inference requests. For the shadow variant also specify the percentage of requests that\n Amazon SageMaker replicates.\n

", "smithy.api#required": {} } @@ -8806,6 +8994,7 @@ "InferenceExperimentArn": { "target": "com.amazonaws.sagemaker#InferenceExperimentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN for your inference experiment.

", "smithy.api#required": {} } @@ -8841,6 +9030,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the recommendation job. The name must be unique within \n the Amazon Web Services Region and within your Amazon Web Services account.\n The job name is passed down to the resources created by the recommendation job.\n The names of resources (such as the model, endpoint configuration, endpoint, and compilation)\n that are prefixed with the job name are truncated at 40 characters.

", "smithy.api#required": {} } @@ -8848,6 +9038,7 @@ "JobType": { "target": "com.amazonaws.sagemaker#RecommendationJobType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the type of recommendation job. Specify Default to initiate an instance \n recommendation and Advanced to initiate a load test. If left unspecified, \n Amazon SageMaker Inference Recommender will run an instance recommendation (DEFAULT) job.

", "smithy.api#required": {} } @@ -8855,6 +9046,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker \n to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -8862,6 +9054,7 @@ "InputConfig": { "target": "com.amazonaws.sagemaker#RecommendationJobInputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides information about the versioned model package Amazon Resource Name (ARN), \n the traffic pattern, and endpoint configurations.

", "smithy.api#required": {} } @@ -8901,6 +9094,7 @@ "JobArn": { "target": "com.amazonaws.sagemaker#RecommendationJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the recommendation job.

", "smithy.api#required": {} } @@ -8936,6 +9130,7 @@ "LabelingJobName": { "target": "com.amazonaws.sagemaker#LabelingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the labeling job. This name is used to identify the job in a list of\n labeling jobs. Labeling job names must be unique within an Amazon Web Services account and region.\n LabelingJobName is not case sensitive. For example, Example-job and\n example-job are considered the same labeling job name by Ground Truth.

", "smithy.api#required": {} } @@ -8943,6 +9138,7 @@ "LabelAttributeName": { "target": "com.amazonaws.sagemaker#LabelAttributeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The attribute name to use for the label in the output manifest file. This is the key\n for the key/value pair formed with the label that a worker assigns to the object. The\n LabelAttributeName must meet the following requirements.

\n \n

\n \n

If you are creating an adjustment or verification labeling job, you must use a\n different\n LabelAttributeName than the one used in the original labeling job. The\n original labeling job is the Ground Truth labeling job that produced the labels that you\n want verified or adjusted. To learn more about adjustment and verification labeling\n jobs, see Verify and Adjust\n Labels.

\n
", "smithy.api#required": {} } @@ -8950,6 +9146,7 @@ "InputConfig": { "target": "com.amazonaws.sagemaker#LabelingJobInputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Input data for the labeling job, such as the Amazon S3 location of the data objects and the\n location of the manifest file that describes the data objects.

\n

You must specify at least one of the following: S3DataSource or\n SnsDataSource.

\n \n

If you use the Amazon Mechanical Turk workforce, your input data should not include\n confidential information, personal information or protected health information. Use\n ContentClassifiers to specify that your data is free of personally\n identifiable information and adult content.

", "smithy.api#required": {} } @@ -8957,6 +9154,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#LabelingJobOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the output data and the Amazon Web Services Key Management Service key ID for the key used to encrypt\n the output data, if any.

", "smithy.api#required": {} } @@ -8964,6 +9162,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform tasks on your behalf\n during data labeling. You must grant this role the necessary permissions so that Amazon SageMaker\n can successfully complete data labeling.

", "smithy.api#required": {} } @@ -8989,6 +9188,7 @@ "HumanTaskConfig": { "target": "com.amazonaws.sagemaker#HumanTaskConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the labeling task and how it is presented to workers; including, but not limited to price, keywords, and batch size (task count).

", "smithy.api#required": {} } @@ -9010,6 +9210,7 @@ "LabelingJobArn": { "target": "com.amazonaws.sagemaker#LabelingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify the\n labeling job.

", "smithy.api#required": {} } @@ -9062,6 +9263,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the bias job definition. The name must be unique within an Amazon Web Services \n Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -9075,6 +9277,7 @@ "ModelBiasAppSpecification": { "target": "com.amazonaws.sagemaker#ModelBiasAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the model bias job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -9082,6 +9285,7 @@ "ModelBiasJobInput": { "target": "com.amazonaws.sagemaker#ModelBiasJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Inputs for the model bias job.

", "smithy.api#required": {} } @@ -9089,12 +9293,14 @@ "ModelBiasJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -9107,6 +9313,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -9131,6 +9338,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model bias job.

", "smithy.api#required": {} } @@ -9189,6 +9397,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#ModelCardNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the model card to export.

", "smithy.api#required": {} } @@ -9196,13 +9405,13 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.

" } }, "ModelCardExportJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card export job.

", "smithy.api#required": {} } @@ -9210,6 +9419,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#ModelCardExportOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The model card output configuration that specifies the Amazon S3 path for exporting.

", "smithy.api#required": {} } @@ -9225,6 +9435,7 @@ "ModelCardExportJobArn": { "target": "com.amazonaws.sagemaker#ModelCardExportJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card export job.

", "smithy.api#required": {} } @@ -9240,6 +9451,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique name of the model card.

", "smithy.api#required": {} } @@ -9253,6 +9465,7 @@ "Content": { "target": "com.amazonaws.sagemaker#ModelCardContent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The content of the model card. Content must be in model card JSON schema and provided as a string.

", "smithy.api#required": {} } @@ -9260,6 +9473,7 @@ "ModelCardStatus": { "target": "com.amazonaws.sagemaker#ModelCardStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.

\n ", "smithy.api#required": {} } @@ -9281,6 +9495,7 @@ "ModelCardArn": { "target": "com.amazonaws.sagemaker#ModelCardArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the successfully created model card.

", "smithy.api#required": {} } @@ -9316,6 +9531,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model explainability job definition. The name must be unique within an\n Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -9329,6 +9545,7 @@ "ModelExplainabilityAppSpecification": { "target": "com.amazonaws.sagemaker#ModelExplainabilityAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the model explainability job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -9336,6 +9553,7 @@ "ModelExplainabilityJobInput": { "target": "com.amazonaws.sagemaker#ModelExplainabilityJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Inputs for the model explainability job.

", "smithy.api#required": {} } @@ -9343,12 +9561,14 @@ "ModelExplainabilityJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -9361,6 +9581,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -9385,6 +9606,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model explainability job.

", "smithy.api#required": {} } @@ -9400,6 +9622,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new model.

", "smithy.api#required": {} } @@ -9425,6 +9648,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that SageMaker can assume to access model\n artifacts and docker image for deployment on ML compute instances or for batch transform\n jobs. Deploying on ML compute instances is part of model hosting. For more information,\n see SageMaker\n Roles.

\n \n

To be able to pass this role to SageMaker, the caller of this API must have the\n iam:PassRole permission.

\n
", "smithy.api#required": {} } @@ -9444,7 +9668,6 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Isolates the model container. No inbound or outbound network calls can be made to or\n from the model container.

" } } @@ -9459,6 +9682,7 @@ "ModelArn": { "target": "com.amazonaws.sagemaker#ModelArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the model created in SageMaker.

", "smithy.api#required": {} } @@ -9511,6 +9735,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group.

", "smithy.api#required": {} } @@ -9538,6 +9763,7 @@ "ModelPackageGroupArn": { "target": "com.amazonaws.sagemaker#ModelPackageGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model group.

", "smithy.api#required": {} } @@ -9589,7 +9815,6 @@ "CertifyForMarketplace": { "target": "com.amazonaws.sagemaker#CertifyForMarketplace", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to certify the model package for listing on Amazon Web Services Marketplace.

\n

This parameter is optional for unversioned models, and does not apply to versioned\n models.

" } }, @@ -9660,7 +9885,6 @@ "SkipModelValidation": { "target": "com.amazonaws.sagemaker#SkipModelValidation", "traits": { - "smithy.api#default": "None", "smithy.api#documentation": "

Indicates if you want to skip model validation.

" } } @@ -9675,6 +9899,7 @@ "ModelPackageArn": { "target": "com.amazonaws.sagemaker#ModelPackageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the new model package.

", "smithy.api#required": {} } @@ -9710,6 +9935,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring job definition.

", "smithy.api#required": {} } @@ -9723,6 +9949,7 @@ "ModelQualityAppSpecification": { "target": "com.amazonaws.sagemaker#ModelQualityAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The container that runs the monitoring job.

", "smithy.api#required": {} } @@ -9730,6 +9957,7 @@ "ModelQualityJobInput": { "target": "com.amazonaws.sagemaker#ModelQualityJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of the inputs that are monitored. Currently endpoints are supported.

", "smithy.api#required": {} } @@ -9737,12 +9965,14 @@ "ModelQualityJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -9755,6 +9985,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -9779,6 +10010,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model quality monitoring job.

", "smithy.api#required": {} } @@ -9814,6 +10046,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring schedule. The name must be unique within an Amazon Web Services \n Region within an Amazon Web Services account.

", "smithy.api#required": {} } @@ -9821,6 +10054,7 @@ "MonitoringScheduleConfig": { "target": "com.amazonaws.sagemaker#MonitoringScheduleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration object that specifies the monitoring schedule and defines the monitoring \n job.

", "smithy.api#required": {} } @@ -9842,6 +10076,7 @@ "MonitoringScheduleArn": { "target": "com.amazonaws.sagemaker#MonitoringScheduleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitoring schedule.

", "smithy.api#required": {} } @@ -9874,6 +10109,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new notebook instance.

", "smithy.api#required": {} } @@ -9881,6 +10117,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of ML compute instance to launch for the notebook instance.

", "smithy.api#required": {} } @@ -9900,6 +10137,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When you send any requests to Amazon Web Services resources from the notebook\n instance, SageMaker assumes this role to perform tasks on your behalf. You must grant this\n role necessary permissions so SageMaker can perform these tasks. The policy must allow the\n SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For\n more information, see SageMaker Roles.

\n \n

To be able to pass this role to SageMaker, the caller of this API must have the\n iam:PassRole permission.

\n
", "smithy.api#required": {} } @@ -9998,6 +10236,7 @@ "NotebookInstanceLifecycleConfigName": { "target": "com.amazonaws.sagemaker#NotebookInstanceLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle configuration.

", "smithy.api#required": {} } @@ -10073,6 +10312,7 @@ "PipelineName": { "target": "com.amazonaws.sagemaker#PipelineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the pipeline.

", "smithy.api#required": {} } @@ -10104,6 +10344,7 @@ "ClientRequestToken": { "target": "com.amazonaws.sagemaker#IdempotencyToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than one time.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -10112,6 +10353,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources.

", "smithy.api#required": {} } @@ -10170,6 +10412,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -10177,6 +10420,7 @@ "UserProfileName": { "target": "com.amazonaws.sagemaker#UserProfileName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the UserProfile to sign-in as.

", "smithy.api#required": {} } @@ -10236,6 +10480,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the notebook instance.

", "smithy.api#required": {} } @@ -10306,6 +10551,7 @@ "ProcessingJobName": { "target": "com.amazonaws.sagemaker#ProcessingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the processing job. The name must be unique within an Amazon Web Services Region in the\n Amazon Web Services account.

", "smithy.api#required": {} } @@ -10313,6 +10559,7 @@ "ProcessingResources": { "target": "com.amazonaws.sagemaker#ProcessingResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the resources, ML compute instances, and ML storage volumes to deploy for a\n processing job. In distributed training, you specify more than one instance.

", "smithy.api#required": {} } @@ -10326,6 +10573,7 @@ "AppSpecification": { "target": "com.amazonaws.sagemaker#AppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the processing job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -10345,6 +10593,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on\n your behalf.

", "smithy.api#required": {} } @@ -10369,6 +10618,7 @@ "ProcessingJobArn": { "target": "com.amazonaws.sagemaker#ProcessingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the processing job.

", "smithy.api#required": {} } @@ -10401,6 +10651,7 @@ "ProjectName": { "target": "com.amazonaws.sagemaker#ProjectEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the project.

", "smithy.api#required": {} } @@ -10414,6 +10665,7 @@ "ServiceCatalogProvisioningDetails": { "target": "com.amazonaws.sagemaker#ServiceCatalogProvisioningDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The product ID and provisioning artifact ID to provision a service catalog. The provisioning \n artifact ID will default to the latest provisioning artifact ID of the product, if you don't \n provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service\n Catalog.

", "smithy.api#required": {} } @@ -10435,6 +10687,7 @@ "ProjectArn": { "target": "com.amazonaws.sagemaker#ProjectArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the project.

", "smithy.api#required": {} } @@ -10442,6 +10695,7 @@ "ProjectId": { "target": "com.amazonaws.sagemaker#ProjectId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the new project.

", "smithy.api#required": {} } @@ -10477,6 +10731,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the associated Domain.

", "smithy.api#required": {} } @@ -10484,6 +10739,7 @@ "SpaceName": { "target": "com.amazonaws.sagemaker#SpaceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the space.

", "smithy.api#required": {} } @@ -10542,6 +10798,7 @@ "StudioLifecycleConfigName": { "target": "com.amazonaws.sagemaker#StudioLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Studio Lifecycle Configuration to create.

", "smithy.api#required": {} } @@ -10549,6 +10806,7 @@ "StudioLifecycleConfigContent": { "target": "com.amazonaws.sagemaker#StudioLifecycleConfigContent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The content of your Studio Lifecycle Configuration script. This content must be base64 encoded.

", "smithy.api#required": {} } @@ -10556,6 +10814,7 @@ "StudioLifecycleConfigAppType": { "target": "com.amazonaws.sagemaker#StudioLifecycleConfigAppType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The App type that the Lifecycle Configuration is attached to.

", "smithy.api#required": {} } @@ -10614,6 +10873,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the training job. The name must be unique within an Amazon Web Services\n Region in an Amazon Web Services account.

", "smithy.api#required": {} } @@ -10627,6 +10887,7 @@ "AlgorithmSpecification": { "target": "com.amazonaws.sagemaker#AlgorithmSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The registry path of the Docker image that contains the training algorithm and\n algorithm-specific metadata, including the input mode. For more information about\n algorithms provided by SageMaker, see Algorithms. For information about\n providing your own algorithms, see Using Your Own Algorithms with\n Amazon SageMaker.

", "smithy.api#required": {} } @@ -10634,6 +10895,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that SageMaker can assume to perform\n tasks on your behalf.

\n

During model training, SageMaker needs your permission to read input data from an S3\n bucket, download a Docker image that contains training code, write model artifacts to an\n S3 bucket, write logs to Amazon CloudWatch Logs, and publish metrics to Amazon CloudWatch. You grant\n permissions for all of these tasks to an IAM role. For more information, see SageMaker\n Roles.

\n \n

To be able to pass this role to SageMaker, the caller of this API must have the\n iam:PassRole permission.

\n
", "smithy.api#required": {} } @@ -10647,6 +10909,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#OutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the path to the S3 location where you want to store model artifacts. SageMaker\n creates subfolders for the artifacts.

", "smithy.api#required": {} } @@ -10654,6 +10917,7 @@ "ResourceConfig": { "target": "com.amazonaws.sagemaker#ResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resources, including the ML compute instances and ML storage volumes, to use\n for model training.

\n

ML storage volumes store model artifacts and incremental states. Training\n algorithms might also use ML storage volumes for scratch space. If you want SageMaker to use\n the ML storage volume to store the training data, choose File as the\n TrainingInputMode in the algorithm specification. For distributed\n training algorithms, specify an instance count greater than 1.

", "smithy.api#required": {} } @@ -10667,6 +10931,7 @@ "StoppingCondition": { "target": "com.amazonaws.sagemaker#StoppingCondition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a limit to how long a model training job can run. It also specifies how long\n a managed Spot training job has to complete. When the job reaches the time limit, SageMaker\n ends the training job. Use this API to cap model training costs.

\n

To stop a job, SageMaker sends the algorithm the SIGTERM signal, which delays\n job termination for 120 seconds. Algorithms can use this 120-second window to save the\n model artifacts, so the results of training are not lost.

", "smithy.api#required": {} } @@ -10680,21 +10945,18 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Isolates the training container. No inbound or outbound network calls can be made,\n except for calls between peers within a training cluster for distributed training. If\n you enable network isolation for training jobs that are configured to use a VPC, SageMaker\n downloads and uploads customer data and model artifacts through the specified VPC, but\n the training container does not have network access.

" } }, "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To encrypt all communications between ML compute instances in distributed training,\n choose True. Encryption provides greater security for distributed training,\n but training might take longer. How long it takes depends on the amount of communication\n between compute instances, especially if you use a deep learning algorithm in\n distributed training. For more information, see Protect Communications Between ML\n Compute Instances in a Distributed Training Job.

" } }, "EnableManagedSpotTraining": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To train models using managed spot training, choose True. Managed spot\n training provides a fully managed and scalable infrastructure for training machine\n learning models. this option is useful when training jobs can be interrupted and when\n there is flexibility when the training job is run.

\n

The complete and intermediate results of jobs are stored in an Amazon S3 bucket, and can be\n used as a starting point to train models incrementally. Amazon SageMaker provides metrics and\n logs in CloudWatch. They can be used to see when managed spot training jobs are running,\n interrupted, resumed, or completed.

" } }, @@ -10751,6 +11013,7 @@ "TrainingJobArn": { "target": "com.amazonaws.sagemaker#TrainingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the training job.

", "smithy.api#required": {} } @@ -10789,6 +11052,7 @@ "TransformJobName": { "target": "com.amazonaws.sagemaker#TransformJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the transform job. The name must be unique within an Amazon Web Services Region in an\n Amazon Web Services account.

", "smithy.api#required": {} } @@ -10796,6 +11060,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model that you want to use for the transform job.\n ModelName must be the name of an existing Amazon SageMaker model within an Amazon Web Services\n Region in an Amazon Web Services account.

", "smithy.api#required": {} } @@ -10833,6 +11098,7 @@ "TransformInput": { "target": "com.amazonaws.sagemaker#TransformInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the input source and\n the\n way the transform job consumes it.

", "smithy.api#required": {} } @@ -10840,6 +11106,7 @@ "TransformOutput": { "target": "com.amazonaws.sagemaker#TransformOutput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the results of the transform job.

", "smithy.api#required": {} } @@ -10853,6 +11120,7 @@ "TransformResources": { "target": "com.amazonaws.sagemaker#TransformResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the resources, including\n ML\n instance types and ML instance count, to use for the transform\n job.

", "smithy.api#required": {} } @@ -10883,6 +11151,7 @@ "TransformJobArn": { "target": "com.amazonaws.sagemaker#TransformJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the transform job.

", "smithy.api#required": {} } @@ -10935,6 +11204,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the component. The name must be unique in your Amazon Web Services account and is not\n case-sensitive.

", "smithy.api#required": {} } @@ -11015,6 +11285,7 @@ "TrialName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial. The name must be unique in your Amazon Web Services account and is not\n case-sensitive.

", "smithy.api#required": {} } @@ -11028,6 +11299,7 @@ "ExperimentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the experiment to associate the trial with.

", "smithy.api#required": {} } @@ -11086,6 +11358,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the associated Domain.

", "smithy.api#required": {} } @@ -11093,6 +11366,7 @@ "UserProfileName": { "target": "com.amazonaws.sagemaker#UserProfileName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A name for the UserProfile. This value is not case sensitive.

", "smithy.api#required": {} } @@ -11173,6 +11447,7 @@ "WorkforceName": { "target": "com.amazonaws.sagemaker#WorkforceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private workforce.

", "smithy.api#required": {} } @@ -11200,6 +11475,7 @@ "WorkforceArn": { "target": "com.amazonaws.sagemaker#WorkforceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the workforce.

", "smithy.api#required": {} } @@ -11235,6 +11511,7 @@ "WorkteamName": { "target": "com.amazonaws.sagemaker#WorkteamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the work team. Use this name to identify the work team.

", "smithy.api#required": {} } @@ -11248,6 +11525,7 @@ "MemberDefinitions": { "target": "com.amazonaws.sagemaker#MemberDefinitions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of MemberDefinition objects that contains objects that identify\n the workers that make up the work team.

\n

Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For\n private workforces created using Amazon Cognito use CognitoMemberDefinition. For\n workforces created using your own OIDC identity provider (IdP) use\n OidcMemberDefinition. Do not provide input for both of these parameters\n in a single request.

\n

For workforces created using Amazon Cognito, private work teams correspond to Amazon Cognito\n user groups within the user pool used to create a workforce. All of the\n CognitoMemberDefinition objects that make up the member definition must\n have the same ClientId and UserPool values. To add a Amazon\n Cognito user group to an existing worker pool, see Adding groups to a User\n Pool. For more information about user pools, see Amazon Cognito User\n Pools.

\n

For workforces created using your own OIDC IdP, specify the user groups that you want to \n include in your private work team in OidcMemberDefinition by listing those groups\n in Groups.

", "smithy.api#required": {} } @@ -11255,6 +11533,7 @@ "Description": { "target": "com.amazonaws.sagemaker#String200", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the work team.

", "smithy.api#required": {} } @@ -11338,6 +11617,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the CustomImage. Must be unique to your account.

", "smithy.api#required": {} } @@ -11351,6 +11631,7 @@ "AppImageConfigName": { "target": "com.amazonaws.sagemaker#AppImageConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the AppImageConfig.

", "smithy.api#required": {} } @@ -11445,13 +11726,13 @@ "EnableCapture": { "target": "com.amazonaws.sagemaker#EnableCapture", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether data capture should be enabled or disabled (defaults to enabled).

" } }, "InitialSamplingPercentage": { "target": "com.amazonaws.sagemaker#SamplingPercentage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The percentage of requests SageMaker will capture. A lower value is recommended\n for Endpoints with high traffic.

", "smithy.api#required": {} } @@ -11459,6 +11740,7 @@ "DestinationS3Uri": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location used to capture the data.

", "smithy.api#required": {} } @@ -11472,6 +11754,7 @@ "CaptureOptions": { "target": "com.amazonaws.sagemaker#CaptureOptionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies data Model Monitor will capture. You can configure whether to collect only\n input, only output, or both

", "smithy.api#required": {} } @@ -11493,7 +11776,7 @@ "EnableCapture": { "target": "com.amazonaws.sagemaker#EnableCapture", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether data capture is enabled or disabled.

", "smithy.api#required": {} } @@ -11501,6 +11784,7 @@ "CaptureStatus": { "target": "com.amazonaws.sagemaker#CaptureStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether data capture is currently functional.

", "smithy.api#required": {} } @@ -11508,6 +11792,7 @@ "CurrentSamplingPercentage": { "target": "com.amazonaws.sagemaker#SamplingPercentage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The percentage of requests being captured by your Endpoint.

", "smithy.api#required": {} } @@ -11515,6 +11800,7 @@ "DestinationS3Uri": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location being used to capture the data.

", "smithy.api#required": {} } @@ -11522,6 +11808,7 @@ "KmsKeyId": { "target": "com.amazonaws.sagemaker#KmsKeyId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The KMS key being used to encrypt the data in Amazon S3.

", "smithy.api#required": {} } @@ -11537,6 +11824,7 @@ "TableName": { "target": "com.amazonaws.sagemaker#TableName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Glue table.

", "smithy.api#required": {} } @@ -11544,6 +11832,7 @@ "Catalog": { "target": "com.amazonaws.sagemaker#Catalog", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Glue table catalog.

", "smithy.api#required": {} } @@ -11551,6 +11840,7 @@ "Database": { "target": "com.amazonaws.sagemaker#Database", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Glue table database.

", "smithy.api#required": {} } @@ -11627,6 +11917,7 @@ "ImageUri": { "target": "com.amazonaws.sagemaker#ImageUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The container image that the data quality monitoring job runs.

", "smithy.api#required": {} } @@ -11794,6 +12085,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Path to Amazon S3 storage location for metrics and tensors.

", "smithy.api#required": {} } @@ -11821,6 +12113,7 @@ "RuleConfigurationName": { "target": "com.amazonaws.sagemaker#RuleConfigurationName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the rule configuration. It must be unique relative to other rule\n configuration names.

", "smithy.api#required": {} } @@ -11840,6 +12133,7 @@ "RuleEvaluatorImage": { "target": "com.amazonaws.sagemaker#AlgorithmImage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Elastic Container (ECR) Image for the managed rule evaluation.

", "smithy.api#required": {} } @@ -11853,7 +12147,6 @@ "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#OptionalVolumeSizeInGB", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size, in GB, of the ML storage volume attached to the processing instance.

" } }, @@ -11933,7 +12226,6 @@ "com.amazonaws.sagemaker#DefaultGid": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -11969,7 +12261,6 @@ "com.amazonaws.sagemaker#DefaultUid": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -11999,6 +12290,7 @@ "ActionName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the action to delete.

", "smithy.api#required": {} } @@ -12040,6 +12332,7 @@ "AlgorithmName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the algorithm to delete.

", "smithy.api#required": {} } @@ -12092,6 +12385,7 @@ "AppImageConfigName": { "target": "com.amazonaws.sagemaker#AppImageConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the AppImageConfig to delete.

", "smithy.api#required": {} } @@ -12107,6 +12401,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -12120,6 +12415,7 @@ "AppType": { "target": "com.amazonaws.sagemaker#AppType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of app.

", "smithy.api#required": {} } @@ -12127,6 +12423,7 @@ "AppName": { "target": "com.amazonaws.sagemaker#AppName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app.

", "smithy.api#required": {} } @@ -12216,6 +12513,7 @@ "SourceArn": { "target": "com.amazonaws.sagemaker#AssociationEntityArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the source.

", "smithy.api#required": {} } @@ -12223,6 +12521,7 @@ "DestinationArn": { "target": "com.amazonaws.sagemaker#AssociationEntityArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the destination.

", "smithy.api#required": {} } @@ -12270,6 +12569,7 @@ "CodeRepositoryName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Git repository to delete.

", "smithy.api#required": {} } @@ -12302,6 +12602,7 @@ "ContextName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the context to delete.

", "smithy.api#required": {} } @@ -12348,6 +12649,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the data quality monitoring job definition to delete.

", "smithy.api#required": {} } @@ -12380,6 +12682,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet to delete.

", "smithy.api#required": {} } @@ -12415,6 +12718,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -12453,6 +12757,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan to delete.

", "smithy.api#required": {} } @@ -12485,6 +12790,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan from which the stage will be deleted.

", "smithy.api#required": {} } @@ -12492,6 +12798,7 @@ "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage.

", "smithy.api#required": {} } @@ -12531,6 +12838,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint configuration that you want to delete.

", "smithy.api#required": {} } @@ -12546,6 +12854,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint that you want to delete.

", "smithy.api#required": {} } @@ -12578,6 +12887,7 @@ "ExperimentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the experiment to delete.

", "smithy.api#required": {} } @@ -12624,6 +12934,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the FeatureGroup you want to delete. The name must be unique\n within an Amazon Web Services Region in an Amazon Web Services account.

", "smithy.api#required": {} } @@ -12659,6 +12970,7 @@ "FlowDefinitionName": { "target": "com.amazonaws.sagemaker#FlowDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the flow definition you are deleting.

", "smithy.api#required": {} } @@ -12721,6 +13033,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub that you want to delete content in.

", "smithy.api#required": {} } @@ -12728,6 +13041,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of content that you want to delete from a hub.

", "smithy.api#required": {} } @@ -12735,6 +13049,7 @@ "HubContentName": { "target": "com.amazonaws.sagemaker#HubContentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the content that you want to delete from a hub.

", "smithy.api#required": {} } @@ -12742,6 +13057,7 @@ "HubContentVersion": { "target": "com.amazonaws.sagemaker#HubContentVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the content that you want to delete from a hub.

", "smithy.api#required": {} } @@ -12757,6 +13073,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to delete.

", "smithy.api#required": {} } @@ -12789,6 +13106,7 @@ "HumanTaskUiName": { "target": "com.amazonaws.sagemaker#HumanTaskUiName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human task user interface (work task template) you want to delete.

", "smithy.api#required": {} } @@ -12831,6 +13149,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to delete.

", "smithy.api#required": {} } @@ -12873,6 +13192,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to delete.

", "smithy.api#required": {} } @@ -12927,6 +13247,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment you want to delete.

", "smithy.api#required": {} } @@ -12942,6 +13263,7 @@ "InferenceExperimentArn": { "target": "com.amazonaws.sagemaker#InferenceExperimentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the deleted inference experiment.

", "smithy.api#required": {} } @@ -12986,6 +13308,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model bias job definition to delete.

", "smithy.api#required": {} } @@ -13021,6 +13344,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card to delete.

", "smithy.api#required": {} } @@ -13053,6 +13377,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model explainability job definition to delete.

", "smithy.api#required": {} } @@ -13068,6 +13393,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model to delete.

", "smithy.api#required": {} } @@ -13117,6 +13443,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#ArnOrName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group to delete.

", "smithy.api#required": {} } @@ -13144,6 +13471,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group for which to delete the policy.

", "smithy.api#required": {} } @@ -13159,6 +13487,7 @@ "ModelPackageName": { "target": "com.amazonaws.sagemaker#VersionedArnOrName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the model package to delete.

\n

When you specify a name, the name must have 1 to 63 characters. Valid\n characters are a-z, A-Z, 0-9, and - (hyphen).

", "smithy.api#required": {} } @@ -13191,6 +13520,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model quality monitoring job definition to delete.

", "smithy.api#required": {} } @@ -13223,6 +13553,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring schedule to delete.

", "smithy.api#required": {} } @@ -13250,6 +13581,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the SageMaker notebook instance to delete.

", "smithy.api#required": {} } @@ -13277,6 +13609,7 @@ "NotebookInstanceLifecycleConfigName": { "target": "com.amazonaws.sagemaker#NotebookInstanceLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle configuration to delete.

", "smithy.api#required": {} } @@ -13309,6 +13642,7 @@ "PipelineName": { "target": "com.amazonaws.sagemaker#PipelineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the pipeline to delete.

", "smithy.api#required": {} } @@ -13316,6 +13650,7 @@ "ClientRequestToken": { "target": "com.amazonaws.sagemaker#IdempotencyToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than one time.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -13363,6 +13698,7 @@ "ProjectName": { "target": "com.amazonaws.sagemaker#ProjectEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the project to delete.

", "smithy.api#required": {} } @@ -13398,6 +13734,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the associated Domain.

", "smithy.api#required": {} } @@ -13405,6 +13742,7 @@ "SpaceName": { "target": "com.amazonaws.sagemaker#SpaceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the space.

", "smithy.api#required": {} } @@ -13440,6 +13778,7 @@ "StudioLifecycleConfigName": { "target": "com.amazonaws.sagemaker#StudioLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Studio Lifecycle Configuration to delete.

", "smithy.api#required": {} } @@ -13467,6 +13806,7 @@ "ResourceArn": { "target": "com.amazonaws.sagemaker#ResourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource whose tags you want to\n delete.

", "smithy.api#required": {} } @@ -13474,6 +13814,7 @@ "TagKeys": { "target": "com.amazonaws.sagemaker#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array or one or more tag keys to delete.

", "smithy.api#required": {} } @@ -13530,6 +13871,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the component to delete.

", "smithy.api#required": {} } @@ -13559,6 +13901,7 @@ "TrialName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial to delete.

", "smithy.api#required": {} } @@ -13608,6 +13951,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -13615,6 +13959,7 @@ "UserProfileName": { "target": "com.amazonaws.sagemaker#UserProfileName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user profile name.

", "smithy.api#required": {} } @@ -13642,6 +13987,7 @@ "WorkforceName": { "target": "com.amazonaws.sagemaker#WorkforceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the workforce.

", "smithy.api#required": {} } @@ -13681,6 +14027,7 @@ "WorkteamName": { "target": "com.amazonaws.sagemaker#WorkteamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the work team to delete.

", "smithy.api#required": {} } @@ -13696,7 +14043,7 @@ "Success": { "target": "com.amazonaws.sagemaker#Success", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns true if the work team was successfully deleted; otherwise,\n returns false.

", "smithy.api#required": {} } @@ -13790,6 +14137,7 @@ "RecommendationStatus": { "target": "com.amazonaws.sagemaker#RecommendationStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Status of the deployment recommendation. The status NOT_APPLICABLE means that SageMaker\n is unable to provide a default recommendation for the model using the information provided. If the deployment status is IN_PROGRESS,\n retry your API call after a few seconds to get a COMPLETED deployment recommendation.

", "smithy.api#required": {} } @@ -13811,6 +14159,7 @@ "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage.

", "smithy.api#required": {} } @@ -13818,6 +14167,7 @@ "DeviceSelectionConfig": { "target": "com.amazonaws.sagemaker#DeviceSelectionConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configuration of the devices in the stage.

", "smithy.api#required": {} } @@ -13836,7 +14186,6 @@ "com.amazonaws.sagemaker#DeploymentStageMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "max": 10 } @@ -13854,6 +14203,7 @@ "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage.

", "smithy.api#required": {} } @@ -13861,6 +14211,7 @@ "DeviceSelectionConfig": { "target": "com.amazonaws.sagemaker#DeviceSelectionConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configuration of the devices in the stage.

", "smithy.api#required": {} } @@ -13868,6 +14219,7 @@ "DeploymentConfig": { "target": "com.amazonaws.sagemaker#EdgeDeploymentConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configuration of the deployment details.

", "smithy.api#required": {} } @@ -13875,6 +14227,7 @@ "DeploymentStatus": { "target": "com.amazonaws.sagemaker#EdgeDeploymentStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

General status of the current state.

", "smithy.api#required": {} } @@ -13908,6 +14261,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet the devices belong to.

", "smithy.api#required": {} } @@ -13915,6 +14269,7 @@ "DeviceNames": { "target": "com.amazonaws.sagemaker#DeviceNames", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique IDs of the devices.

", "smithy.api#required": {} } @@ -13961,6 +14316,7 @@ "ActionName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the action to describe.

", "smithy.api#required": {} } @@ -14065,6 +14421,7 @@ "AlgorithmName": { "target": "com.amazonaws.sagemaker#ArnOrName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the algorithm to describe.

", "smithy.api#required": {} } @@ -14080,6 +14437,7 @@ "AlgorithmName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the algorithm being described.

", "smithy.api#required": {} } @@ -14087,6 +14445,7 @@ "AlgorithmArn": { "target": "com.amazonaws.sagemaker#AlgorithmArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the algorithm.

", "smithy.api#required": {} } @@ -14100,6 +14459,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp specifying when the algorithm was created.

", "smithy.api#required": {} } @@ -14107,6 +14467,7 @@ "TrainingSpecification": { "target": "com.amazonaws.sagemaker#TrainingSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Details about training jobs run by this algorithm.

", "smithy.api#required": {} } @@ -14126,6 +14487,7 @@ "AlgorithmStatus": { "target": "com.amazonaws.sagemaker#AlgorithmStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the algorithm.

", "smithy.api#required": {} } @@ -14133,6 +14495,7 @@ "AlgorithmStatusDetails": { "target": "com.amazonaws.sagemaker#AlgorithmStatusDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Details about the current status of the algorithm.

", "smithy.api#required": {} } @@ -14146,7 +14509,6 @@ "CertifyForMarketplace": { "target": "com.amazonaws.sagemaker#CertifyForMarketplace", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the algorithm is certified to be listed in Amazon Web Services\n Marketplace.

" } } @@ -14195,6 +14557,7 @@ "AppImageConfigName": { "target": "com.amazonaws.sagemaker#AppImageConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the AppImageConfig to describe.

", "smithy.api#required": {} } @@ -14248,6 +14611,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -14261,6 +14625,7 @@ "AppType": { "target": "com.amazonaws.sagemaker#AppType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of app.

", "smithy.api#required": {} } @@ -14268,6 +14633,7 @@ "AppName": { "target": "com.amazonaws.sagemaker#AppName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the app.

", "smithy.api#required": {} } @@ -14386,6 +14752,7 @@ "ArtifactArn": { "target": "com.amazonaws.sagemaker#ArtifactArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the artifact to describe.

", "smithy.api#required": {} } @@ -14483,6 +14850,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Requests information about an AutoML job using its unique name.

", "smithy.api#required": {} } @@ -14498,6 +14866,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the name of the AutoML job.

", "smithy.api#required": {} } @@ -14505,6 +14874,7 @@ "AutoMLJobArn": { "target": "com.amazonaws.sagemaker#AutoMLJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the ARN of the AutoML job.

", "smithy.api#required": {} } @@ -14512,6 +14882,7 @@ "InputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLInputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the input data configuration for the AutoML job.

", "smithy.api#required": {} } @@ -14519,6 +14890,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLOutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the job's output data config.

", "smithy.api#required": {} } @@ -14526,6 +14898,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that has read permission to the input data\n location and write permission to the output data location in Amazon S3.

", "smithy.api#required": {} } @@ -14551,6 +14924,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the creation time of the AutoML job.

", "smithy.api#required": {} } @@ -14564,6 +14938,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the job's last modified time.

", "smithy.api#required": {} } @@ -14589,6 +14964,7 @@ "AutoMLJobStatus": { "target": "com.amazonaws.sagemaker#AutoMLJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the status of the AutoML job.

", "smithy.api#required": {} } @@ -14596,6 +14972,7 @@ "AutoMLJobSecondaryStatus": { "target": "com.amazonaws.sagemaker#AutoMLJobSecondaryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the secondary status of the AutoML job.

", "smithy.api#required": {} } @@ -14603,7 +14980,6 @@ "GenerateCandidateDefinitionsOnly": { "target": "com.amazonaws.sagemaker#GenerateCandidateDefinitionsOnly", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the output for an AutoML job generates candidate definitions\n only.

" } }, @@ -14659,6 +15035,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Requests information about an AutoML job V2 using its unique name.

", "smithy.api#required": {} } @@ -14674,6 +15051,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the name of the AutoML job V2.

", "smithy.api#required": {} } @@ -14681,6 +15059,7 @@ "AutoMLJobArn": { "target": "com.amazonaws.sagemaker#AutoMLJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the Amazon Resource Name (ARN) of the AutoML job V2.

", "smithy.api#required": {} } @@ -14688,6 +15067,7 @@ "AutoMLJobInputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLJobInputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns an array of channel objects describing the input data and their location.

", "smithy.api#required": {} } @@ -14695,6 +15075,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#AutoMLOutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the job's output data config.

", "smithy.api#required": {} } @@ -14702,6 +15083,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the Identity and Access Management role that has read permission to the input data location and\n write permission to the output data location in Amazon S3.

", "smithy.api#required": {} } @@ -14721,6 +15103,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the creation time of the AutoML job V2.

", "smithy.api#required": {} } @@ -14734,6 +15117,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the job's last modified time.

", "smithy.api#required": {} } @@ -14759,6 +15143,7 @@ "AutoMLJobStatus": { "target": "com.amazonaws.sagemaker#AutoMLJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the status of the AutoML job V2.

", "smithy.api#required": {} } @@ -14766,6 +15151,7 @@ "AutoMLJobSecondaryStatus": { "target": "com.amazonaws.sagemaker#AutoMLJobSecondaryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns the secondary status of the AutoML job V2.

", "smithy.api#required": {} } @@ -14832,6 +15218,7 @@ "CodeRepositoryName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Git repository to describe.

", "smithy.api#required": {} } @@ -14847,6 +15234,7 @@ "CodeRepositoryName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Git repository.

", "smithy.api#required": {} } @@ -14854,6 +15242,7 @@ "CodeRepositoryArn": { "target": "com.amazonaws.sagemaker#CodeRepositoryArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Git repository.

", "smithy.api#required": {} } @@ -14861,6 +15250,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the repository was created.

", "smithy.api#required": {} } @@ -14868,6 +15258,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#LastModifiedTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the repository was last changed.

", "smithy.api#required": {} } @@ -14906,6 +15297,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model compilation job that you want information about.

", "smithy.api#required": {} } @@ -14921,6 +15313,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model compilation job.

", "smithy.api#required": {} } @@ -14928,6 +15321,7 @@ "CompilationJobArn": { "target": "com.amazonaws.sagemaker#CompilationJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model compilation job.

", "smithy.api#required": {} } @@ -14935,6 +15329,7 @@ "CompilationJobStatus": { "target": "com.amazonaws.sagemaker#CompilationJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the model compilation job.

", "smithy.api#required": {} } @@ -14954,6 +15349,7 @@ "StoppingCondition": { "target": "com.amazonaws.sagemaker#StoppingCondition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a limit to how long a model compilation job can run. When the job reaches\n the time limit, Amazon SageMaker ends the compilation job. Use this API to cap model training\n costs.

", "smithy.api#required": {} } @@ -14973,6 +15369,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the model compilation job was created.

", "smithy.api#required": {} } @@ -14980,6 +15377,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#LastModifiedTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the status\n of\n the model compilation job was last modified.

", "smithy.api#required": {} } @@ -14987,6 +15385,7 @@ "FailureReason": { "target": "com.amazonaws.sagemaker#FailureReason", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If a model compilation job failed, the reason it failed.

", "smithy.api#required": {} } @@ -14994,6 +15393,7 @@ "ModelArtifacts": { "target": "com.amazonaws.sagemaker#ModelArtifacts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the location in Amazon S3 that has been configured for storing the model\n artifacts used in the compilation job.

", "smithy.api#required": {} } @@ -15007,6 +15407,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes to perform the model\n compilation job.

", "smithy.api#required": {} } @@ -15014,6 +15415,7 @@ "InputConfig": { "target": "com.amazonaws.sagemaker#InputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the location in Amazon S3 of the input model artifacts, the name and\n shape of the expected data inputs, and the framework in which the model was\n trained.

", "smithy.api#required": {} } @@ -15021,6 +15423,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#OutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the output location for the compiled model and the target device\n that the model runs on.

", "smithy.api#required": {} } @@ -15065,6 +15468,7 @@ "ContextName": { "target": "com.amazonaws.sagemaker#ExperimentEntityNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the context to describe.

", "smithy.api#required": {} } @@ -15165,6 +15569,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the data quality monitoring job definition to describe.

", "smithy.api#required": {} } @@ -15180,6 +15585,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the data quality monitoring job definition.

", "smithy.api#required": {} } @@ -15187,6 +15593,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the data quality monitoring job definition.

", "smithy.api#required": {} } @@ -15194,6 +15601,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the data quality monitoring job definition was created.

", "smithy.api#required": {} } @@ -15207,6 +15615,7 @@ "DataQualityAppSpecification": { "target": "com.amazonaws.sagemaker#DataQualityAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the container that runs the data quality monitoring job.

", "smithy.api#required": {} } @@ -15214,6 +15623,7 @@ "DataQualityJobInput": { "target": "com.amazonaws.sagemaker#DataQualityJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of inputs for the data quality monitoring job. Currently endpoints are\n supported.

", "smithy.api#required": {} } @@ -15221,12 +15631,14 @@ "DataQualityJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -15239,6 +15651,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -15291,6 +15704,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -15306,6 +15720,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -15313,6 +15728,7 @@ "DeviceFleetArn": { "target": "com.amazonaws.sagemaker#DeviceFleetArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The The Amazon Resource Name (ARN) of the fleet.

", "smithy.api#required": {} } @@ -15320,6 +15736,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#EdgeOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The output configuration for storing sampled data.

", "smithy.api#required": {} } @@ -15333,6 +15750,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Timestamp of when the device fleet was created.

", "smithy.api#required": {} } @@ -15340,6 +15758,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Timestamp of when the device fleet was last updated.

", "smithy.api#required": {} } @@ -15373,6 +15792,7 @@ "DeviceName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique ID of the device.

", "smithy.api#required": {} } @@ -15380,6 +15800,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet the devices belong to.

", "smithy.api#required": {} } @@ -15401,6 +15822,7 @@ "DeviceName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the device.

", "smithy.api#required": {} } @@ -15414,6 +15836,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet the device belongs to.

", "smithy.api#required": {} } @@ -15427,6 +15850,7 @@ "RegistrationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp of the last registration or de-reregistration.

", "smithy.api#required": {} } @@ -15446,7 +15870,6 @@ "MaxModels": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of models.

" } }, @@ -15490,6 +15913,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -15659,6 +16083,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the deployment plan to describe.

", "smithy.api#required": {} } @@ -15672,7 +16097,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#DeploymentStageMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to select (50 by default).

" } } @@ -15687,6 +16111,7 @@ "EdgeDeploymentPlanArn": { "target": "com.amazonaws.sagemaker#EdgeDeploymentPlanArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of edge deployment plan.

", "smithy.api#required": {} } @@ -15694,6 +16119,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan.

", "smithy.api#required": {} } @@ -15701,6 +16127,7 @@ "ModelConfigs": { "target": "com.amazonaws.sagemaker#EdgeDeploymentModelConfigs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of models associated with the edge deployment plan.

", "smithy.api#required": {} } @@ -15708,6 +16135,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The device fleet used for this edge deployment plan.

", "smithy.api#required": {} } @@ -15715,27 +16143,25 @@ "EdgeDeploymentSuccess": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of edge devices with the successful deployment.

" } }, "EdgeDeploymentPending": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of edge devices yet to pick up deployment, or in progress.

" } }, "EdgeDeploymentFailed": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of edge devices that failed the deployment.

" } }, "Stages": { "target": "com.amazonaws.sagemaker#DeploymentStageStatusSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of stages in the edge deployment plan.

", "smithy.api#required": {} } @@ -15786,6 +16212,7 @@ "EdgePackagingJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge packaging job.

", "smithy.api#required": {} } @@ -15801,6 +16228,7 @@ "EdgePackagingJobArn": { "target": "com.amazonaws.sagemaker#EdgePackagingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the edge packaging job.

", "smithy.api#required": {} } @@ -15808,6 +16236,7 @@ "EdgePackagingJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge packaging job.

", "smithy.api#required": {} } @@ -15851,6 +16280,7 @@ "EdgePackagingJobStatus": { "target": "com.amazonaws.sagemaker#EdgePackagingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the packaging job.

", "smithy.api#required": {} } @@ -15983,6 +16413,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint configuration.

", "smithy.api#required": {} } @@ -15998,6 +16429,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the SageMaker endpoint configuration.

", "smithy.api#required": {} } @@ -16005,6 +16437,7 @@ "EndpointConfigArn": { "target": "com.amazonaws.sagemaker#EndpointConfigArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint configuration.

", "smithy.api#required": {} } @@ -16012,6 +16445,7 @@ "ProductionVariants": { "target": "com.amazonaws.sagemaker#ProductionVariantList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of ProductionVariant objects, one for each model that you\n want to host at this endpoint.

", "smithy.api#required": {} } @@ -16028,6 +16462,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the endpoint configuration was created.

", "smithy.api#required": {} } @@ -16061,6 +16496,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint.

", "smithy.api#required": {} } @@ -16076,6 +16512,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the endpoint.

", "smithy.api#required": {} } @@ -16083,6 +16520,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint.

", "smithy.api#required": {} } @@ -16090,6 +16528,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint configuration associated with this endpoint.

", "smithy.api#required": {} } @@ -16106,6 +16545,7 @@ "EndpointStatus": { "target": "com.amazonaws.sagemaker#EndpointStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the endpoint.

\n ", "smithy.api#required": {} } @@ -16119,6 +16559,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the endpoint was created.

", "smithy.api#required": {} } @@ -16126,6 +16567,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the endpoint was last modified.

", "smithy.api#required": {} } @@ -16188,6 +16630,7 @@ "ExperimentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the experiment to describe.

", "smithy.api#required": {} } @@ -16282,6 +16725,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the FeatureGroup you want\n described.

", "smithy.api#required": {} } @@ -16303,6 +16747,7 @@ "FeatureGroupArn": { "target": "com.amazonaws.sagemaker#FeatureGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the FeatureGroup.

", "smithy.api#required": {} } @@ -16310,6 +16755,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

he name of the FeatureGroup.

", "smithy.api#required": {} } @@ -16317,6 +16763,7 @@ "RecordIdentifierFeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Feature used for RecordIdentifier, whose value\n uniquely identifies a record stored in the feature store.

", "smithy.api#required": {} } @@ -16324,6 +16771,7 @@ "EventTimeFeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature that stores the EventTime of a Record in a\n FeatureGroup.

\n

An EventTime is a point in time when a new event occurs that corresponds\n to the creation or update of a Record in a FeatureGroup. All\n Records in the FeatureGroup have a corresponding\n EventTime.

", "smithy.api#required": {} } @@ -16331,6 +16779,7 @@ "FeatureDefinitions": { "target": "com.amazonaws.sagemaker#FeatureDefinitions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of the Features in the FeatureGroup. Each feature is\n defined by a FeatureName and FeatureType.

", "smithy.api#required": {} } @@ -16338,6 +16787,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp indicating when SageMaker created the FeatureGroup.

", "smithy.api#required": {} } @@ -16399,6 +16849,7 @@ "NextToken": { "target": "com.amazonaws.sagemaker#NextToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A token to resume pagination of the list of Features\n (FeatureDefinitions).

", "smithy.api#required": {} } @@ -16437,6 +16888,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the feature group containing the\n feature.

", "smithy.api#required": {} } @@ -16444,6 +16896,7 @@ "FeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature.

", "smithy.api#required": {} } @@ -16459,6 +16912,7 @@ "FeatureGroupArn": { "target": "com.amazonaws.sagemaker#FeatureGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the feature group that contains the feature.

", "smithy.api#required": {} } @@ -16466,6 +16920,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature group that you've specified.

", "smithy.api#required": {} } @@ -16473,6 +16928,7 @@ "FeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature that you've specified.

", "smithy.api#required": {} } @@ -16480,6 +16936,7 @@ "FeatureType": { "target": "com.amazonaws.sagemaker#FeatureType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The data type of the feature.

", "smithy.api#required": {} } @@ -16487,6 +16944,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp indicating when the feature was created.

", "smithy.api#required": {} } @@ -16494,6 +16952,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#LastModifiedTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp indicating when the metadata for the feature group was modified. For\n example, if you add a parameter describing the feature, the timestamp changes to reflect\n the last time you

", "smithy.api#required": {} } @@ -16538,6 +16997,7 @@ "FlowDefinitionName": { "target": "com.amazonaws.sagemaker#FlowDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the flow definition.

", "smithy.api#required": {} } @@ -16553,6 +17013,7 @@ "FlowDefinitionArn": { "target": "com.amazonaws.sagemaker#FlowDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the flow defintion.

", "smithy.api#required": {} } @@ -16560,6 +17021,7 @@ "FlowDefinitionName": { "target": "com.amazonaws.sagemaker#FlowDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the flow definition.

", "smithy.api#required": {} } @@ -16567,6 +17029,7 @@ "FlowDefinitionStatus": { "target": "com.amazonaws.sagemaker#FlowDefinitionStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the flow definition. Valid values are listed below.

", "smithy.api#required": {} } @@ -16574,6 +17037,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp when the flow definition was created.

", "smithy.api#required": {} } @@ -16593,6 +17057,7 @@ "HumanLoopConfig": { "target": "com.amazonaws.sagemaker#HumanLoopConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object containing information about who works on the task, the workforce task price, and other task details.

", "smithy.api#required": {} } @@ -16600,6 +17065,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#FlowDefinitionOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object containing information about the output file.

", "smithy.api#required": {} } @@ -16607,6 +17073,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) execution role for the flow definition.

", "smithy.api#required": {} } @@ -16662,6 +17129,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub that contains the content to describe.

", "smithy.api#required": {} } @@ -16669,6 +17137,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of content in the hub.

", "smithy.api#required": {} } @@ -16676,6 +17145,7 @@ "HubContentName": { "target": "com.amazonaws.sagemaker#HubContentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the content to describe.

", "smithy.api#required": {} } @@ -16697,6 +17167,7 @@ "HubContentName": { "target": "com.amazonaws.sagemaker#HubContentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub content.

", "smithy.api#required": {} } @@ -16704,6 +17175,7 @@ "HubContentArn": { "target": "com.amazonaws.sagemaker#HubContentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hub content.

", "smithy.api#required": {} } @@ -16711,6 +17183,7 @@ "HubContentVersion": { "target": "com.amazonaws.sagemaker#HubContentVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the hub content.

", "smithy.api#required": {} } @@ -16718,6 +17191,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of hub content.

", "smithy.api#required": {} } @@ -16725,6 +17199,7 @@ "DocumentSchemaVersion": { "target": "com.amazonaws.sagemaker#DocumentSchemaVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The document schema version for the hub content.

", "smithy.api#required": {} } @@ -16732,6 +17207,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub that contains the content.

", "smithy.api#required": {} } @@ -16739,6 +17215,7 @@ "HubArn": { "target": "com.amazonaws.sagemaker#HubArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hub that contains the content.

", "smithy.api#required": {} } @@ -16764,6 +17241,7 @@ "HubContentDocument": { "target": "com.amazonaws.sagemaker#HubContentDocument", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.

", "smithy.api#required": {} } @@ -16783,6 +17261,7 @@ "HubContentStatus": { "target": "com.amazonaws.sagemaker#HubContentStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the hub content.

", "smithy.api#required": {} } @@ -16796,6 +17275,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that hub content was created.

", "smithy.api#required": {} } @@ -16811,6 +17291,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to describe.

", "smithy.api#required": {} } @@ -16826,6 +17307,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub.

", "smithy.api#required": {} } @@ -16833,6 +17315,7 @@ "HubArn": { "target": "com.amazonaws.sagemaker#HubArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hub.

", "smithy.api#required": {} } @@ -16864,6 +17347,7 @@ "HubStatus": { "target": "com.amazonaws.sagemaker#HubStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the hub.

", "smithy.api#required": {} } @@ -16877,6 +17361,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the hub was created.

", "smithy.api#required": {} } @@ -16884,6 +17369,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the hub was last modified.

", "smithy.api#required": {} } @@ -16916,6 +17402,7 @@ "HumanTaskUiName": { "target": "com.amazonaws.sagemaker#HumanTaskUiName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human task user interface \n (worker task template) you want information about.

", "smithy.api#required": {} } @@ -16931,6 +17418,7 @@ "HumanTaskUiArn": { "target": "com.amazonaws.sagemaker#HumanTaskUiArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the human task user interface (worker task template).

", "smithy.api#required": {} } @@ -16938,6 +17426,7 @@ "HumanTaskUiName": { "target": "com.amazonaws.sagemaker#HumanTaskUiName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human task user interface (worker task template).

", "smithy.api#required": {} } @@ -16951,6 +17440,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp when the human task user interface was created.

", "smithy.api#required": {} } @@ -16958,6 +17448,7 @@ "UiTemplate": { "target": "com.amazonaws.sagemaker#UiTemplateInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -16989,6 +17480,7 @@ "HyperParameterTuningJobName": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the tuning job.

", "smithy.api#required": {} } @@ -17004,6 +17496,7 @@ "HyperParameterTuningJobName": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hyperparameter tuning job.

", "smithy.api#required": {} } @@ -17011,6 +17504,7 @@ "HyperParameterTuningJobArn": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the tuning job.

", "smithy.api#required": {} } @@ -17018,6 +17512,7 @@ "HyperParameterTuningJobConfig": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The HyperParameterTuningJobConfig object that specifies the configuration of\n the tuning job.

", "smithy.api#required": {} } @@ -17037,6 +17532,7 @@ "HyperParameterTuningJobStatus": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the tuning job: InProgress, Completed, Failed, Stopping, or\n Stopped.

", "smithy.api#required": {} } @@ -17044,6 +17540,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the tuning job started.

", "smithy.api#required": {} } @@ -17063,6 +17560,7 @@ "TrainingJobStatusCounters": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The TrainingJobStatusCounters object that specifies the number of training\n jobs, categorized by status, that this tuning job launched.

", "smithy.api#required": {} } @@ -17070,6 +17568,7 @@ "ObjectiveStatusCounters": { "target": "com.amazonaws.sagemaker#ObjectiveStatusCounters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ObjectiveStatusCounters object that specifies the number of training jobs,\n categorized by the status of their final objective metric, that this tuning job\n launched.

", "smithy.api#required": {} } @@ -17235,6 +17734,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to describe.

", "smithy.api#required": {} } @@ -17392,6 +17892,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image.

", "smithy.api#required": {} } @@ -17503,7 +18004,6 @@ "Horovod": { "target": "com.amazonaws.sagemaker#Horovod", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates Horovod compatibility.

" } }, @@ -17541,6 +18041,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment to describe.

", "smithy.api#required": {} } @@ -17556,6 +18057,7 @@ "Arn": { "target": "com.amazonaws.sagemaker#InferenceExperimentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the inference experiment being described.

", "smithy.api#required": {} } @@ -17563,6 +18065,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment.

", "smithy.api#required": {} } @@ -17570,6 +18073,7 @@ "Type": { "target": "com.amazonaws.sagemaker#InferenceExperimentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the inference experiment.

", "smithy.api#required": {} } @@ -17583,6 +18087,7 @@ "Status": { "target": "com.amazonaws.sagemaker#InferenceExperimentStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The status of the inference experiment. The following are the possible statuses for an inference\n experiment:\n

\n ", "smithy.api#required": {} } @@ -17626,6 +18131,7 @@ "EndpointMetadata": { "target": "com.amazonaws.sagemaker#EndpointMetadata", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metadata of the endpoint on which the inference experiment ran.

", "smithy.api#required": {} } @@ -17633,6 +18139,7 @@ "ModelVariants": { "target": "com.amazonaws.sagemaker#ModelVariantConfigSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An array of ModelVariantConfigSummary objects. There is one for each variant in the inference\n experiment. Each ModelVariantConfigSummary object in the array describes the infrastructure\n configuration for deploying the corresponding variant.\n

", "smithy.api#required": {} } @@ -17683,6 +18190,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job. The name must be unique within an \n Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -17698,6 +18206,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job. The name must be unique within an \n Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -17711,6 +18220,7 @@ "JobType": { "target": "com.amazonaws.sagemaker#RecommendationJobType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job type that you provided when you initiated the job.

", "smithy.api#required": {} } @@ -17718,6 +18228,7 @@ "JobArn": { "target": "com.amazonaws.sagemaker#RecommendationJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job.

", "smithy.api#required": {} } @@ -17725,6 +18236,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services \n Identity and Access Management (IAM) role you provided when you initiated the job.

", "smithy.api#required": {} } @@ -17732,6 +18244,7 @@ "Status": { "target": "com.amazonaws.sagemaker#RecommendationJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the job.

", "smithy.api#required": {} } @@ -17739,6 +18252,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the job was created.

", "smithy.api#required": {} } @@ -17752,6 +18266,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#LastModifiedTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the job was last modified.

", "smithy.api#required": {} } @@ -17765,6 +18280,7 @@ "InputConfig": { "target": "com.amazonaws.sagemaker#RecommendationJobInputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns information about the versioned model package Amazon Resource Name (ARN), \n the traffic pattern, and endpoint configurations you provided when you initiated the job.

", "smithy.api#required": {} } @@ -17815,6 +18331,7 @@ "LabelingJobName": { "target": "com.amazonaws.sagemaker#LabelingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the labeling job to return information for.

", "smithy.api#required": {} } @@ -17830,6 +18347,7 @@ "LabelingJobStatus": { "target": "com.amazonaws.sagemaker#LabelingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The processing status of the labeling job.

", "smithy.api#required": {} } @@ -17837,6 +18355,7 @@ "LabelCounters": { "target": "com.amazonaws.sagemaker#LabelCounters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides a breakdown of the number of data objects labeled by humans, the number of\n objects labeled by machine, the number of objects than couldn't be labeled, and the\n total number of objects labeled.

", "smithy.api#required": {} } @@ -17850,6 +18369,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the labeling job was created.

", "smithy.api#required": {} } @@ -17857,6 +18377,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the labeling job was last updated.

", "smithy.api#required": {} } @@ -17864,6 +18385,7 @@ "JobReferenceCode": { "target": "com.amazonaws.sagemaker#JobReferenceCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for work done as part of a labeling job.

", "smithy.api#required": {} } @@ -17871,6 +18393,7 @@ "LabelingJobName": { "target": "com.amazonaws.sagemaker#LabelingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name assigned to the labeling job when it was created.

", "smithy.api#required": {} } @@ -17878,6 +18401,7 @@ "LabelingJobArn": { "target": "com.amazonaws.sagemaker#LabelingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the labeling job.

", "smithy.api#required": {} } @@ -17891,6 +18415,7 @@ "InputConfig": { "target": "com.amazonaws.sagemaker#LabelingJobInputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Input configuration information for the labeling job, such as the Amazon S3 location of the\n data objects and the location of the manifest file that describes the data\n objects.

", "smithy.api#required": {} } @@ -17898,6 +18423,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#LabelingJobOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the job's output data and the Amazon Web Services Key Management\n Service key ID for the key used to encrypt the output data, if any.

", "smithy.api#required": {} } @@ -17905,6 +18431,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) that SageMaker assumes to perform tasks on your behalf\n during data labeling.

", "smithy.api#required": {} } @@ -17930,6 +18457,7 @@ "HumanTaskConfig": { "target": "com.amazonaws.sagemaker#HumanTaskConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configuration information required for human workers to complete a labeling\n task.

", "smithy.api#required": {} } @@ -17974,6 +18502,7 @@ "LineageGroupName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lineage group.

", "smithy.api#required": {} } @@ -18068,6 +18597,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -18083,6 +18613,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model bias job.

", "smithy.api#required": {} } @@ -18090,6 +18621,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the bias job definition. The name must be unique within an Amazon Web Services \n Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -18097,6 +18629,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the model bias job was created.

", "smithy.api#required": {} } @@ -18110,6 +18643,7 @@ "ModelBiasAppSpecification": { "target": "com.amazonaws.sagemaker#ModelBiasAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the model bias job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -18117,6 +18651,7 @@ "ModelBiasJobInput": { "target": "com.amazonaws.sagemaker#ModelBiasJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Inputs for the model bias job.

", "smithy.api#required": {} } @@ -18124,12 +18659,14 @@ "ModelBiasJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -18142,6 +18679,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that has read permission to the \n input data location and write permission to the output data location in Amazon S3.

", "smithy.api#required": {} } @@ -18194,6 +18732,7 @@ "ModelCardExportJobArn": { "target": "com.amazonaws.sagemaker#ModelCardExportJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card export job to describe.

", "smithy.api#required": {} } @@ -18209,6 +18748,7 @@ "ModelCardExportJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card export job to describe.

", "smithy.api#required": {} } @@ -18216,6 +18756,7 @@ "ModelCardExportJobArn": { "target": "com.amazonaws.sagemaker#ModelCardExportJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card export job.

", "smithy.api#required": {} } @@ -18223,6 +18764,7 @@ "Status": { "target": "com.amazonaws.sagemaker#ModelCardExportJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The completion status of the model card export job.

\n ", "smithy.api#required": {} } @@ -18230,6 +18772,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the model card that the model export job exports.

", "smithy.api#required": {} } @@ -18237,7 +18780,7 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the model card that the model export job exports.

", "smithy.api#required": {} } @@ -18245,6 +18788,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#ModelCardExportOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The export output details for the model card.

", "smithy.api#required": {} } @@ -18252,6 +18796,7 @@ "CreatedAt": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the model export job was created.

", "smithy.api#required": {} } @@ -18259,6 +18804,7 @@ "LastModifiedAt": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the model export job was last modified.

", "smithy.api#required": {} } @@ -18286,6 +18832,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#ModelCardNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the model card to describe.

", "smithy.api#required": {} } @@ -18293,7 +18840,6 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version of the model card to describe. If a version is not provided, then the latest version of the model card is described.

" } } @@ -18308,6 +18854,7 @@ "ModelCardArn": { "target": "com.amazonaws.sagemaker#ModelCardArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card.

", "smithy.api#required": {} } @@ -18315,6 +18862,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card.

", "smithy.api#required": {} } @@ -18322,7 +18870,7 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the model card.

", "smithy.api#required": {} } @@ -18330,6 +18878,7 @@ "Content": { "target": "com.amazonaws.sagemaker#ModelCardContent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The content of the model card.

", "smithy.api#required": {} } @@ -18337,6 +18886,7 @@ "ModelCardStatus": { "target": "com.amazonaws.sagemaker#ModelCardStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.

\n ", "smithy.api#required": {} } @@ -18350,6 +18900,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time the model card was created.

", "smithy.api#required": {} } @@ -18357,6 +18908,7 @@ "CreatedBy": { "target": "com.amazonaws.sagemaker#UserContext", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -18403,6 +18955,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model explainability job definition. The name must be unique within an\n Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -18418,6 +18971,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model explainability job.

", "smithy.api#required": {} } @@ -18425,6 +18979,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the explainability job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -18432,6 +18987,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the model explainability job was created.

", "smithy.api#required": {} } @@ -18445,6 +19001,7 @@ "ModelExplainabilityAppSpecification": { "target": "com.amazonaws.sagemaker#ModelExplainabilityAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the model explainability job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -18452,6 +19009,7 @@ "ModelExplainabilityJobInput": { "target": "com.amazonaws.sagemaker#ModelExplainabilityJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Inputs for the model explainability job.

", "smithy.api#required": {} } @@ -18459,12 +19017,14 @@ "ModelExplainabilityJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -18477,6 +19037,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that has read permission to the \n input data location and write permission to the output data location in Amazon S3.

", "smithy.api#required": {} } @@ -18495,6 +19056,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model.

", "smithy.api#required": {} } @@ -18510,6 +19072,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the SageMaker model.

", "smithy.api#required": {} } @@ -18535,6 +19098,7 @@ "ExecutionRoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that you specified for the\n model.

", "smithy.api#required": {} } @@ -18548,6 +19112,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the model was created.

", "smithy.api#required": {} } @@ -18555,6 +19120,7 @@ "ModelArn": { "target": "com.amazonaws.sagemaker#ModelArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model.

", "smithy.api#required": {} } @@ -18562,7 +19128,6 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If True, no inbound or outbound network calls can be made to or from the\n model container.

" } }, @@ -18607,6 +19172,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#ArnOrName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of gthe model group to describe.

", "smithy.api#required": {} } @@ -18622,6 +19188,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group.

", "smithy.api#required": {} } @@ -18629,6 +19196,7 @@ "ModelPackageGroupArn": { "target": "com.amazonaws.sagemaker#ModelPackageGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model group.

", "smithy.api#required": {} } @@ -18642,6 +19210,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the model group was created.

", "smithy.api#required": {} } @@ -18649,12 +19218,14 @@ "CreatedBy": { "target": "com.amazonaws.sagemaker#UserContext", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ModelPackageGroupStatus": { "target": "com.amazonaws.sagemaker#ModelPackageGroupStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the model group.

", "smithy.api#required": {} } @@ -18670,6 +19241,7 @@ "ModelPackageName": { "target": "com.amazonaws.sagemaker#VersionedArnOrName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the model package to describe.

\n

When you specify a name, the name must have 1 to 63 characters. Valid\n characters are a-z, A-Z, 0-9, and - (hyphen).

", "smithy.api#required": {} } @@ -18685,6 +19257,7 @@ "ModelPackageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model package being described.

", "smithy.api#required": {} } @@ -18704,6 +19277,7 @@ "ModelPackageArn": { "target": "com.amazonaws.sagemaker#ModelPackageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model package.

", "smithy.api#required": {} } @@ -18717,6 +19291,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp specifying when the model package was created.

", "smithy.api#required": {} } @@ -18742,6 +19317,7 @@ "ModelPackageStatus": { "target": "com.amazonaws.sagemaker#ModelPackageStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the model package.

", "smithy.api#required": {} } @@ -18749,6 +19325,7 @@ "ModelPackageStatusDetails": { "target": "com.amazonaws.sagemaker#ModelPackageStatusDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Details about the current status of the model package.

", "smithy.api#required": {} } @@ -18756,7 +19333,6 @@ "CertifyForMarketplace": { "target": "com.amazonaws.sagemaker#CertifyForMarketplace", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the model package is certified for listing on Amazon Web Services Marketplace.

" } }, @@ -18863,6 +19439,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model quality job. The name must be unique within an Amazon Web Services\n Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -18878,6 +19455,7 @@ "JobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model quality job.

", "smithy.api#required": {} } @@ -18885,6 +19463,7 @@ "JobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the quality job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.

", "smithy.api#required": {} } @@ -18892,6 +19471,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the model quality job was created.

", "smithy.api#required": {} } @@ -18905,6 +19485,7 @@ "ModelQualityAppSpecification": { "target": "com.amazonaws.sagemaker#ModelQualityAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the model quality job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -18912,6 +19493,7 @@ "ModelQualityJobInput": { "target": "com.amazonaws.sagemaker#ModelQualityJobInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Inputs for the model quality job.

", "smithy.api#required": {} } @@ -18919,12 +19501,14 @@ "ModelQualityJobOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "JobResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -18937,6 +19521,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -18972,6 +19557,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of a previously created monitoring schedule.

", "smithy.api#required": {} } @@ -18987,6 +19573,7 @@ "MonitoringScheduleArn": { "target": "com.amazonaws.sagemaker#MonitoringScheduleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitoring schedule.

", "smithy.api#required": {} } @@ -18994,6 +19581,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the monitoring schedule.

", "smithy.api#required": {} } @@ -19001,6 +19589,7 @@ "MonitoringScheduleStatus": { "target": "com.amazonaws.sagemaker#ScheduleStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of an monitoring job.

", "smithy.api#required": {} } @@ -19020,6 +19609,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the monitoring job was created.

", "smithy.api#required": {} } @@ -19027,6 +19617,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the monitoring job was last modified.

", "smithy.api#required": {} } @@ -19034,6 +19625,7 @@ "MonitoringScheduleConfig": { "target": "com.amazonaws.sagemaker#MonitoringScheduleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration object that specifies the monitoring schedule and defines the monitoring \n job.

", "smithy.api#required": {} } @@ -19149,6 +19741,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the notebook instance that you want information about.

", "smithy.api#required": {} } @@ -19176,6 +19769,7 @@ "NotebookInstanceLifecycleConfigName": { "target": "com.amazonaws.sagemaker#NotebookInstanceLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle configuration to describe.

", "smithy.api#required": {} } @@ -19409,6 +20003,7 @@ "PipelineExecutionArn": { "target": "com.amazonaws.sagemaker#PipelineExecutionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the pipeline execution.

", "smithy.api#required": {} } @@ -19461,6 +20056,7 @@ "PipelineExecutionArn": { "target": "com.amazonaws.sagemaker#PipelineExecutionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the pipeline execution.

", "smithy.api#required": {} } @@ -19553,6 +20149,7 @@ "PipelineName": { "target": "com.amazonaws.sagemaker#PipelineNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the pipeline to describe.

", "smithy.api#required": {} } @@ -19711,6 +20308,7 @@ "ProcessingJobName": { "target": "com.amazonaws.sagemaker#ProcessingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the processing job. The name must be unique within an Amazon Web Services Region in the\n Amazon Web Services account.

", "smithy.api#required": {} } @@ -19738,6 +20336,7 @@ "ProcessingJobName": { "target": "com.amazonaws.sagemaker#ProcessingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the processing job. The name must be unique within an Amazon Web Services Region in the\n Amazon Web Services account.

", "smithy.api#required": {} } @@ -19745,6 +20344,7 @@ "ProcessingResources": { "target": "com.amazonaws.sagemaker#ProcessingResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the resources, ML compute instances, and ML storage volumes to deploy for a\n processing job. In distributed training, you specify more than one instance.

", "smithy.api#required": {} } @@ -19758,6 +20358,7 @@ "AppSpecification": { "target": "com.amazonaws.sagemaker#AppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the processing job to run a specified container image.

", "smithy.api#required": {} } @@ -19789,6 +20390,7 @@ "ProcessingJobArn": { "target": "com.amazonaws.sagemaker#ProcessingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the processing job.

", "smithy.api#required": {} } @@ -19796,6 +20398,7 @@ "ProcessingJobStatus": { "target": "com.amazonaws.sagemaker#ProcessingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides the status of a processing job.

", "smithy.api#required": {} } @@ -19833,6 +20436,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the processing job was created.

", "smithy.api#required": {} } @@ -19878,6 +20482,7 @@ "ProjectName": { "target": "com.amazonaws.sagemaker#ProjectEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the project to describe.

", "smithy.api#required": {} } @@ -19893,6 +20498,7 @@ "ProjectArn": { "target": "com.amazonaws.sagemaker#ProjectArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the project.

", "smithy.api#required": {} } @@ -19900,6 +20506,7 @@ "ProjectName": { "target": "com.amazonaws.sagemaker#ProjectEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the project.

", "smithy.api#required": {} } @@ -19907,6 +20514,7 @@ "ProjectId": { "target": "com.amazonaws.sagemaker#ProjectId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the project.

", "smithy.api#required": {} } @@ -19920,6 +20528,7 @@ "ServiceCatalogProvisioningDetails": { "target": "com.amazonaws.sagemaker#ServiceCatalogProvisioningDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information used to provision a service catalog product. For information, see What is Amazon Web Services Service\n Catalog.

", "smithy.api#required": {} } @@ -19933,6 +20542,7 @@ "ProjectStatus": { "target": "com.amazonaws.sagemaker#ProjectStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the project.

", "smithy.api#required": {} } @@ -19943,6 +20553,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time when the project was created.

", "smithy.api#required": {} } @@ -19984,6 +20595,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the associated Domain.

", "smithy.api#required": {} } @@ -19991,6 +20603,7 @@ "SpaceName": { "target": "com.amazonaws.sagemaker#SpaceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the space.

", "smithy.api#required": {} } @@ -20085,6 +20698,7 @@ "StudioLifecycleConfigName": { "target": "com.amazonaws.sagemaker#StudioLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Studio Lifecycle Configuration to describe.

", "smithy.api#required": {} } @@ -20156,6 +20770,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the subscribed work team to describe.

", "smithy.api#required": {} } @@ -20171,6 +20786,7 @@ "SubscribedWorkteam": { "target": "com.amazonaws.sagemaker#SubscribedWorkteam", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Workteam instance that contains information about the work team.

", "smithy.api#required": {} } @@ -20249,6 +20865,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the training job.

", "smithy.api#required": {} } @@ -20264,6 +20881,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the model training job.

", "smithy.api#required": {} } @@ -20271,6 +20889,7 @@ "TrainingJobArn": { "target": "com.amazonaws.sagemaker#TrainingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the training job.

", "smithy.api#required": {} } @@ -20296,6 +20915,7 @@ "ModelArtifacts": { "target": "com.amazonaws.sagemaker#ModelArtifacts", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the Amazon S3 location that is configured for storing model artifacts.\n

", "smithy.api#required": {} } @@ -20303,6 +20923,7 @@ "TrainingJobStatus": { "target": "com.amazonaws.sagemaker#TrainingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the training job.

\n

SageMaker provides the following training job statuses:

\n \n

For more detailed information, see SecondaryStatus.

", "smithy.api#required": {} } @@ -20310,6 +20931,7 @@ "SecondaryStatus": { "target": "com.amazonaws.sagemaker#SecondaryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides detailed information about the state of the training job. For detailed\n information on the secondary status of the training job, see StatusMessage\n under SecondaryStatusTransition.

\n

SageMaker provides primary statuses and secondary statuses that apply to each of\n them:

\n
\n
InProgress
\n
\n \n
\n
Completed
\n
\n \n
\n
Failed
\n
\n \n
\n
Stopped
\n
\n \n
\n
Stopping
\n
\n \n
\n
\n \n

Valid values for SecondaryStatus are subject to change.

\n
\n

We no longer support the following secondary statuses:

\n ", "smithy.api#required": {} } @@ -20329,6 +20951,7 @@ "AlgorithmSpecification": { "target": "com.amazonaws.sagemaker#AlgorithmSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the algorithm used for training, and algorithm metadata.\n

", "smithy.api#required": {} } @@ -20354,6 +20977,7 @@ "ResourceConfig": { "target": "com.amazonaws.sagemaker#ResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Resources, including ML compute instances and ML storage volumes, that are\n configured for model training.

", "smithy.api#required": {} } @@ -20367,6 +20991,7 @@ "StoppingCondition": { "target": "com.amazonaws.sagemaker#StoppingCondition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a limit to how long a model training job can run. It also specifies how long\n a managed Spot training job has to complete. When the job reaches the time limit, SageMaker\n ends the training job. Use this API to cap model training costs.

\n

To stop a job, SageMaker sends the algorithm the SIGTERM signal, which delays\n job termination for 120 seconds. Algorithms can use this 120-second window to save the\n model artifacts, so the results of training are not lost.

", "smithy.api#required": {} } @@ -20374,6 +20999,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates when the training job was created.

", "smithy.api#required": {} } @@ -20411,21 +21037,18 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If you want to allow inbound or outbound network calls, except for calls between peers\n within a training cluster for distributed training, choose True. If you\n enable network isolation for training jobs that are configured to use a VPC, SageMaker\n downloads and uploads customer data and model artifacts through the specified VPC, but\n the training container does not have network access.

" } }, "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To encrypt all communications between ML compute instances in distributed training,\n choose True. Encryption provides greater security for distributed training,\n but training might take longer. How long it takes depends on the amount of communication\n between compute instances, especially if you use a deep learning algorithms in\n distributed training.

" } }, "EnableManagedSpotTraining": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean indicating whether managed spot training is enabled (True) or\n not (False).

" } }, @@ -20578,6 +21201,7 @@ "TransformJobName": { "target": "com.amazonaws.sagemaker#TransformJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the transform job that you want to view details of.

", "smithy.api#required": {} } @@ -20593,6 +21217,7 @@ "TransformJobName": { "target": "com.amazonaws.sagemaker#TransformJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the transform job.

", "smithy.api#required": {} } @@ -20600,6 +21225,7 @@ "TransformJobArn": { "target": "com.amazonaws.sagemaker#TransformJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the transform job.

", "smithy.api#required": {} } @@ -20607,6 +21233,7 @@ "TransformJobStatus": { "target": "com.amazonaws.sagemaker#TransformJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The\n status of the transform job. If the transform job failed, the reason\n is returned in the FailureReason field.

", "smithy.api#required": {} } @@ -20620,6 +21247,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model used in the transform job.

", "smithy.api#required": {} } @@ -20657,6 +21285,7 @@ "TransformInput": { "target": "com.amazonaws.sagemaker#TransformInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the dataset to be transformed and the Amazon S3 location where it is\n stored.

", "smithy.api#required": {} } @@ -20676,6 +21305,7 @@ "TransformResources": { "target": "com.amazonaws.sagemaker#TransformResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes\n the resources, including ML instance types and ML instance count, to\n use for the transform job.

", "smithy.api#required": {} } @@ -20683,6 +21313,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the transform Job was created.

", "smithy.api#required": {} } @@ -20762,6 +21393,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial component to describe.

", "smithy.api#required": {} } @@ -20890,6 +21522,7 @@ "TrialName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial to describe.

", "smithy.api#required": {} } @@ -20987,6 +21620,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -20994,6 +21628,7 @@ "UserProfileName": { "target": "com.amazonaws.sagemaker#UserProfileName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user profile name. This value is not case sensitive.

", "smithy.api#required": {} } @@ -21095,6 +21730,7 @@ "WorkforceName": { "target": "com.amazonaws.sagemaker#WorkforceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private workforce whose access you want to restrict.\n WorkforceName is automatically set to default when a\n workforce is created and cannot be modified.

", "smithy.api#required": {} } @@ -21110,6 +21746,7 @@ "Workforce": { "target": "com.amazonaws.sagemaker#Workforce", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A single private workforce, which is automatically created when you create your first\n private work team. You can create one private work force in each Amazon Web Services Region. By default,\n any workforce-related API operation used in a specific region will apply to the\n workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.

", "smithy.api#required": {} } @@ -21137,6 +21774,7 @@ "WorkteamName": { "target": "com.amazonaws.sagemaker#WorkteamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the work team to return a description of.

", "smithy.api#required": {} } @@ -21152,6 +21790,7 @@ "Workteam": { "target": "com.amazonaws.sagemaker#Workteam", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Workteam instance that contains information about the work team.\n

", "smithy.api#required": {} } @@ -21176,6 +21815,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#VariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the variant to update.

", "smithy.api#required": {} } @@ -21288,6 +21928,7 @@ "DeviceName": { "target": "com.amazonaws.sagemaker#DeviceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the device.

", "smithy.api#required": {} } @@ -21372,6 +22013,7 @@ "EdgeDeploymentPlanArn": { "target": "com.amazonaws.sagemaker#EdgeDeploymentPlanArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the edge deployment plan.

", "smithy.api#required": {} } @@ -21379,6 +22021,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan.

", "smithy.api#required": {} } @@ -21386,6 +22029,7 @@ "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage in the edge deployment plan.

", "smithy.api#required": {} } @@ -21405,6 +22049,7 @@ "DeviceName": { "target": "com.amazonaws.sagemaker#DeviceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the device.

", "smithy.api#required": {} } @@ -21412,6 +22057,7 @@ "DeviceArn": { "target": "com.amazonaws.sagemaker#DeviceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the device.

", "smithy.api#required": {} } @@ -21483,6 +22129,7 @@ "DeviceFleetArn": { "target": "com.amazonaws.sagemaker#DeviceFleetArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon Resource Name (ARN) of the device fleet.

", "smithy.api#required": {} } @@ -21490,6 +22137,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the device fleet.

", "smithy.api#required": {} } @@ -21533,6 +22181,7 @@ "DeviceSubsetType": { "target": "com.amazonaws.sagemaker#DeviceSubsetType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Type of device subsets to deploy to the current stage.

", "smithy.api#required": {} } @@ -21540,7 +22189,6 @@ "Percentage": { "target": "com.amazonaws.sagemaker#Percentage", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Percentage of devices in the fleet to deploy to the current stage.

" } }, @@ -21567,7 +22215,7 @@ "ConnectedDeviceCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of devices connected with a heartbeat.

", "smithy.api#required": {} } @@ -21575,7 +22223,7 @@ "RegisteredDeviceCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of registered devices.

", "smithy.api#required": {} } @@ -21620,6 +22268,7 @@ "DeviceName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier of the device.

", "smithy.api#required": {} } @@ -21627,6 +22276,7 @@ "DeviceArn": { "target": "com.amazonaws.sagemaker#DeviceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon Resource Name (ARN) of the device.

", "smithy.api#required": {} } @@ -21758,10 +22408,7 @@ } }, "com.amazonaws.sagemaker#DisableProfiler": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#DisableSagemakerServicecatalogPortfolio": { "type": "operation", @@ -21790,28 +22437,16 @@ } }, "com.amazonaws.sagemaker#DisassociateAdditionalCodeRepositories": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#DisassociateDefaultCodeRepository": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#DisassociateNotebookInstanceAcceleratorTypes": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#DisassociateNotebookInstanceLifecycleConfig": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#DisassociateTrialComponent": { "type": "operation", @@ -21836,6 +22471,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the component to disassociate from the trial.

", "smithy.api#required": {} } @@ -21843,6 +22479,7 @@ "TrialName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial to disassociate from.

", "smithy.api#required": {} } @@ -21885,7 +22522,6 @@ "com.amazonaws.sagemaker#Dollars": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 2 @@ -22089,10 +22725,7 @@ } }, "com.amazonaws.sagemaker#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.sagemaker#DoubleParameterValue": { "type": "double" @@ -22221,28 +22854,24 @@ "MinCapacity": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The recommended minimum capacity to specify for your autoscaling policy.

" } }, "MaxCapacity": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The recommended maximum capacity to specify for your autoscaling policy.

" } }, "ScaleInCooldown": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The recommended scale in cooldown time for your autoscaling policy.

" } }, "ScaleOutCooldown": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The recommended scale out cooldown time for your autoscaling policy.

" } }, @@ -22321,6 +22950,7 @@ "FailureHandlingPolicy": { "target": "com.amazonaws.sagemaker#FailureHandlingPolicy", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Toggle that determines whether to rollback to previous configuration if the current\n deployment fails. By default this is turned on. You may turn this off if you want to\n investigate the errors yourself.

", "smithy.api#required": {} } @@ -22336,6 +22966,7 @@ "ModelHandle": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name the device application uses to reference this model.

", "smithy.api#required": {} } @@ -22343,6 +22974,7 @@ "EdgePackagingJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The edge packaging job associated with this deployment.

", "smithy.api#required": {} } @@ -22380,6 +23012,7 @@ "EdgeDeploymentPlanArn": { "target": "com.amazonaws.sagemaker#EdgeDeploymentPlanArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the edge deployment plan.

", "smithy.api#required": {} } @@ -22387,6 +23020,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan.

", "smithy.api#required": {} } @@ -22394,6 +23028,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the device fleet used for the deployment.

", "smithy.api#required": {} } @@ -22401,7 +23036,7 @@ "EdgeDeploymentSuccess": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of edge devices with the successful deployment.

", "smithy.api#required": {} } @@ -22409,7 +23044,7 @@ "EdgeDeploymentPending": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of edge devices yet to pick up the deployment, or in progress.

", "smithy.api#required": {} } @@ -22417,7 +23052,7 @@ "EdgeDeploymentFailed": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of edge devices that failed the deployment.

", "smithy.api#required": {} } @@ -22445,6 +23080,7 @@ "StageStatus": { "target": "com.amazonaws.sagemaker#StageStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The general status of the current stage.

", "smithy.api#required": {} } @@ -22452,7 +23088,7 @@ "EdgeDeploymentSuccessInStage": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of edge devices with the successful deployment in the current stage.

", "smithy.api#required": {} } @@ -22460,7 +23096,7 @@ "EdgeDeploymentPendingInStage": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of edge devices yet to pick up the deployment in current stage, or in\n progress.

", "smithy.api#required": {} } @@ -22468,7 +23104,7 @@ "EdgeDeploymentFailedInStage": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of edge devices that failed the deployment in current stage.

", "smithy.api#required": {} } @@ -22496,6 +23132,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model.

", "smithy.api#required": {} } @@ -22503,6 +23140,7 @@ "ModelVersion": { "target": "com.amazonaws.sagemaker#EdgeVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The model version.

", "smithy.api#required": {} } @@ -22530,6 +23168,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model.

", "smithy.api#required": {} } @@ -22537,6 +23176,7 @@ "ModelVersion": { "target": "com.amazonaws.sagemaker#EdgeVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The model version.

", "smithy.api#required": {} } @@ -22544,7 +23184,7 @@ "OfflineDeviceCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of devices that have this model version and do not have a heart beat.

", "smithy.api#required": {} } @@ -22552,7 +23192,7 @@ "ConnectedDeviceCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of devices that have this model version and have a heart beat.

", "smithy.api#required": {} } @@ -22560,7 +23200,7 @@ "ActiveDeviceCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of devices that have this model version, a heart beat, and are currently running.

", "smithy.api#required": {} } @@ -22568,7 +23208,7 @@ "SamplingDeviceCount": { "target": "com.amazonaws.sagemaker#Long", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of devices with this model version and are producing sample data.

", "smithy.api#required": {} } @@ -22596,6 +23236,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model.

", "smithy.api#required": {} } @@ -22603,6 +23244,7 @@ "ModelVersion": { "target": "com.amazonaws.sagemaker#EdgeVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version model.

", "smithy.api#required": {} } @@ -22624,6 +23266,7 @@ "S3OutputLocation": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Simple Storage (S3) bucker URI.

", "smithy.api#required": {} } @@ -22714,6 +23357,7 @@ "EdgePackagingJobArn": { "target": "com.amazonaws.sagemaker#EdgePackagingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the edge packaging job.

", "smithy.api#required": {} } @@ -22721,6 +23365,7 @@ "EdgePackagingJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge packaging job.

", "smithy.api#required": {} } @@ -22728,6 +23373,7 @@ "EdgePackagingJobStatus": { "target": "com.amazonaws.sagemaker#EdgePackagingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the edge packaging job.

", "smithy.api#required": {} } @@ -22782,6 +23428,7 @@ "Type": { "target": "com.amazonaws.sagemaker#EdgePresetDeploymentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The deployment type created by SageMaker Edge Manager. Currently only \n supports Amazon Web Services IoT Greengrass Version 2 components.

", "smithy.api#required": {} } @@ -22864,10 +23511,7 @@ } }, "com.amazonaws.sagemaker#EnableCapture": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#EnableIotRoleAlias": { "type": "boolean" @@ -22904,6 +23548,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint.

", "smithy.api#required": {} } @@ -22911,6 +23556,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint.

", "smithy.api#required": {} } @@ -22918,6 +23564,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The endpoint configuration associated with the endpoint.

", "smithy.api#required": {} } @@ -22934,6 +23581,7 @@ "EndpointStatus": { "target": "com.amazonaws.sagemaker#EndpointStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the endpoint.

", "smithy.api#required": {} } @@ -22947,6 +23595,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the endpoint was created.

", "smithy.api#required": {} } @@ -22954,6 +23603,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last time the endpoint was modified.

", "smithy.api#required": {} } @@ -23044,6 +23694,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint configuration.

", "smithy.api#required": {} } @@ -23051,6 +23702,7 @@ "EndpointConfigArn": { "target": "com.amazonaws.sagemaker#EndpointConfigArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint configuration.

", "smithy.api#required": {} } @@ -23058,6 +23710,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the endpoint configuration was created.

", "smithy.api#required": {} } @@ -23079,6 +23732,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a customer's endpoint.

", "smithy.api#required": {} } @@ -23094,6 +23748,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An endpoint in customer's account which has enabled DataCaptureConfig\n enabled.

", "smithy.api#required": {} } @@ -23101,6 +23756,7 @@ "LocalPath": { "target": "com.amazonaws.sagemaker#ProcessingLocalPath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Path to the filesystem where the endpoint data is available to the container.

", "smithy.api#required": {} } @@ -23211,6 +23867,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint.

", "smithy.api#required": {} } @@ -23264,6 +23921,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint made during a recommendation job.

", "smithy.api#required": {} } @@ -23271,6 +23929,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the production variant (deployed model) made during a recommendation job.

", "smithy.api#required": {} } @@ -23301,6 +23960,7 @@ "Metrics": { "target": "com.amazonaws.sagemaker#InferenceMetrics", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metrics for an existing endpoint.

", "smithy.api#required": {} } @@ -23308,6 +23968,7 @@ "EndpointInfo": { "target": "com.amazonaws.sagemaker#EndpointInfo", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -23416,6 +24077,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint.

", "smithy.api#required": {} } @@ -23423,6 +24085,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint.

", "smithy.api#required": {} } @@ -23430,6 +24093,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the endpoint was created.

", "smithy.api#required": {} } @@ -23437,6 +24101,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the endpoint was last modified.

", "smithy.api#required": {} } @@ -23444,6 +24109,7 @@ "EndpointStatus": { "target": "com.amazonaws.sagemaker#EndpointStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the endpoint.

\n \n

To get a list of endpoints with a specified status, use the StatusEquals\n filter with a call to ListEndpoints.

", "smithy.api#required": {} } @@ -23522,6 +24188,7 @@ "Key": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The environment key suggested by the Amazon SageMaker Inference Recommender.

", "smithy.api#required": {} } @@ -23529,6 +24196,7 @@ "ValueType": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value type suggested by the Amazon SageMaker Inference Recommender.

", "smithy.api#required": {} } @@ -23536,6 +24204,7 @@ "Value": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value suggested by the Amazon SageMaker Inference Recommender.

", "smithy.api#required": {} } @@ -23804,6 +24473,7 @@ "SourceArn": { "target": "com.amazonaws.sagemaker#ExperimentSourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source.

", "smithy.api#required": {} } @@ -24263,6 +24933,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of FeatureGroup.

", "smithy.api#required": {} } @@ -24270,6 +24941,7 @@ "FeatureGroupArn": { "target": "com.amazonaws.sagemaker#FeatureGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Unique identifier for the FeatureGroup.

", "smithy.api#required": {} } @@ -24277,6 +24949,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp indicating the time of creation time of the\n FeatureGroup.

", "smithy.api#required": {} } @@ -24498,6 +25171,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 URI for the file source.

", "smithy.api#required": {} } @@ -24536,14 +25210,12 @@ "DefaultUid": { "target": "com.amazonaws.sagemaker#DefaultUid", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The default POSIX user ID (UID). If not specified, defaults to 1000.

" } }, "DefaultGid": { "target": "com.amazonaws.sagemaker#DefaultGid", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The default POSIX group ID (GID). If not specified, defaults to 100.

" } } @@ -24558,6 +25230,7 @@ "FileSystemId": { "target": "com.amazonaws.sagemaker#FileSystemId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The file system id.

", "smithy.api#required": {} } @@ -24565,6 +25238,7 @@ "FileSystemAccessMode": { "target": "com.amazonaws.sagemaker#FileSystemAccessMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The access mode of the mount of the directory associated with the channel. A directory\n can be mounted either in ro (read-only) or rw (read-write)\n mode.

", "smithy.api#required": {} } @@ -24572,6 +25246,7 @@ "FileSystemType": { "target": "com.amazonaws.sagemaker#FileSystemType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The file system type.

", "smithy.api#required": {} } @@ -24579,6 +25254,7 @@ "DirectoryPath": { "target": "com.amazonaws.sagemaker#DirectoryPath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The full path to the directory to associate with the channel.

", "smithy.api#required": {} } @@ -24713,6 +25389,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ResourcePropertyName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A resource property name. For example, TrainingJobName. For\n valid property names, see SearchRecord.\n You must specify a valid property for the resource.

", "smithy.api#required": {} } @@ -24768,6 +25445,7 @@ "MetricName": { "target": "com.amazonaws.sagemaker#AutoMLMetricEnum", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric with the best result. For a description of the possible objective\n metrics, see AutoMLJobObjective$MetricName.

", "smithy.api#required": {} } @@ -24775,7 +25453,7 @@ "Value": { "target": "com.amazonaws.sagemaker#MetricValue", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the metric with the best result.

", "smithy.api#required": {} } @@ -24803,6 +25481,7 @@ "MetricName": { "target": "com.amazonaws.sagemaker#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the objective metric. For SageMaker built-in algorithms, metrics are defined\n per algorithm. See the metrics for XGBoost as an\n example. You can also use a custom algorithm for training and define your own metrics.\n For more information, see Define metrics and environment variables.

", "smithy.api#required": {} } @@ -24810,7 +25489,7 @@ "Value": { "target": "com.amazonaws.sagemaker#MetricValue", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the objective metric.

", "smithy.api#required": {} } @@ -24850,10 +25529,7 @@ } }, "com.amazonaws.sagemaker#Float": { - "type": "float", - "traits": { - "smithy.api#default": 0 - } + "type": "float" }, "com.amazonaws.sagemaker#FlowDefinitionArn": { "type": "string", @@ -24881,6 +25557,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 path where the object containing human output will be made available.

\n

To learn more about the format of Amazon A2I output data, see Amazon A2I\n Output Data.

", "smithy.api#required": {} } @@ -24937,6 +25614,7 @@ "FlowDefinitionName": { "target": "com.amazonaws.sagemaker#FlowDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the flow definition.

", "smithy.api#required": {} } @@ -24944,6 +25622,7 @@ "FlowDefinitionArn": { "target": "com.amazonaws.sagemaker#FlowDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the flow definition.

", "smithy.api#required": {} } @@ -24951,6 +25630,7 @@ "FlowDefinitionStatus": { "target": "com.amazonaws.sagemaker#FlowDefinitionStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the flow definition. Valid values:

", "smithy.api#required": {} } @@ -24958,6 +25638,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp when SageMaker created the flow definition.

", "smithy.api#required": {} } @@ -25152,10 +25833,7 @@ } }, "com.amazonaws.sagemaker#GenerateCandidateDefinitionsOnly": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#GetDeviceFleetReport": { "type": "operation", @@ -25175,6 +25853,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -25190,6 +25869,7 @@ "DeviceFleetArn": { "target": "com.amazonaws.sagemaker#DeviceFleetArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the device.

", "smithy.api#required": {} } @@ -25197,6 +25877,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -25265,6 +25946,7 @@ "LineageGroupName": { "target": "com.amazonaws.sagemaker#LineageGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the lineage group.

", "smithy.api#required": {} } @@ -25312,6 +25994,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group for which to get the resource policy.

", "smithy.api#required": {} } @@ -25327,6 +26010,7 @@ "ResourcePolicy": { "target": "com.amazonaws.sagemaker#PolicyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource policy for the model group.

", "smithy.api#required": {} } @@ -25392,6 +26076,7 @@ "InferenceRecommendationsJobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a previously completed Inference Recommender job.

", "smithy.api#required": {} } @@ -25493,6 +26178,7 @@ "Resource": { "target": "com.amazonaws.sagemaker#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the SageMaker resource to search for.

", "smithy.api#required": {} } @@ -25528,6 +26214,7 @@ "RepositoryUrl": { "target": "com.amazonaws.sagemaker#GitConfigUrl", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URL where the Git repository is located.

", "smithy.api#required": {} } @@ -25654,10 +26341,7 @@ } }, "com.amazonaws.sagemaker#Horovod": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#HubArn": { "type": "string", @@ -25747,6 +26431,7 @@ "HubContentName": { "target": "com.amazonaws.sagemaker#HubContentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub content.

", "smithy.api#required": {} } @@ -25754,6 +26439,7 @@ "HubContentArn": { "target": "com.amazonaws.sagemaker#HubContentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hub content.

", "smithy.api#required": {} } @@ -25761,6 +26447,7 @@ "HubContentVersion": { "target": "com.amazonaws.sagemaker#HubContentVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the hub content.

", "smithy.api#required": {} } @@ -25768,6 +26455,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of hub content.

", "smithy.api#required": {} } @@ -25775,6 +26463,7 @@ "DocumentSchemaVersion": { "target": "com.amazonaws.sagemaker#DocumentSchemaVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the hub content document schema.

", "smithy.api#required": {} } @@ -25800,6 +26489,7 @@ "HubContentStatus": { "target": "com.amazonaws.sagemaker#HubContentStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the hub content.

", "smithy.api#required": {} } @@ -25807,6 +26497,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the hub content was created.

", "smithy.api#required": {} } @@ -25965,6 +26656,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub.

", "smithy.api#required": {} } @@ -25972,6 +26664,7 @@ "HubArn": { "target": "com.amazonaws.sagemaker#HubArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the hub.

", "smithy.api#required": {} } @@ -25997,6 +26690,7 @@ "HubStatus": { "target": "com.amazonaws.sagemaker#HubStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the hub.

", "smithy.api#required": {} } @@ -26004,6 +26698,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the hub was created.

", "smithy.api#required": {} } @@ -26011,6 +26706,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the hub was last modified.

", "smithy.api#required": {} } @@ -26154,6 +26850,7 @@ "HumanLoopActivationConditions": { "target": "com.amazonaws.sagemaker#SynthesizedJsonHumanLoopActivationConditions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

JSON expressing use-case specific conditions declaratively. If any condition is matched, atomic tasks are created against the configured work team. \n The set of conditions is different for Rekognition and Textract. For more information about how to structure the JSON, see \n JSON Schema for Human Loop Activation Conditions in Amazon Augmented AI \n in the Amazon SageMaker Developer Guide.

", "smithy.api#required": {} } @@ -26169,6 +26866,7 @@ "HumanLoopActivationConditionsConfig": { "target": "com.amazonaws.sagemaker#HumanLoopActivationConditionsConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Container structure for defining under what conditions SageMaker creates a human\n loop.

", "smithy.api#required": {} } @@ -26184,6 +26882,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Amazon Resource Name (ARN) of a team of workers. To learn more about the types of\n workforces and work teams you can create and use with Amazon A2I, see Create\n and Manage Workforces.

", "smithy.api#required": {} } @@ -26191,6 +26890,7 @@ "HumanTaskUiArn": { "target": "com.amazonaws.sagemaker#HumanTaskUiArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the human task user interface.

\n

You can use standard HTML and Crowd HTML Elements to create a custom worker task\n template. You use this template to create a human task UI.

\n

To learn how to create a custom HTML template, see Create Custom Worker\n Task Template.

\n

To learn how to create a human task UI, which is a worker task template that can be used\n in a flow definition, see Create and Delete a Worker Task Templates.

", "smithy.api#required": {} } @@ -26198,6 +26898,7 @@ "TaskTitle": { "target": "com.amazonaws.sagemaker#FlowDefinitionTaskTitle", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A title for the human worker task.

", "smithy.api#required": {} } @@ -26205,6 +26906,7 @@ "TaskDescription": { "target": "com.amazonaws.sagemaker#FlowDefinitionTaskDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description for the human worker task.

", "smithy.api#required": {} } @@ -26212,6 +26914,7 @@ "TaskCount": { "target": "com.amazonaws.sagemaker#FlowDefinitionTaskCount", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of distinct workers who will perform the same task on each object.\n For example, if TaskCount is set to 3 for an image classification \n labeling job, three workers will classify each input image. \n Increasing TaskCount can improve label accuracy.

", "smithy.api#required": {} } @@ -26248,6 +26951,7 @@ "AwsManagedHumanLoopRequestSource": { "target": "com.amazonaws.sagemaker#AwsManagedHumanLoopRequestSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies whether Amazon Rekognition or Amazon Textract are used as the integration source. \n The default field settings and JSON parsing rules are different based on the integration source. Valid values:

", "smithy.api#required": {} } @@ -26263,6 +26967,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the work team assigned to complete the tasks.

", "smithy.api#required": {} } @@ -26270,6 +26975,7 @@ "UiConfig": { "target": "com.amazonaws.sagemaker#UiConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Information about the user interface that workers use to complete the labeling\n task.

", "smithy.api#required": {} } @@ -26277,6 +26983,7 @@ "PreHumanTaskLambdaArn": { "target": "com.amazonaws.sagemaker#LambdaFunctionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a Lambda function that is run before a data object\n is sent to a human worker. Use this function to provide input to a custom labeling\n job.

\n

For built-in\n task types, use one of the following Amazon SageMaker Ground Truth Lambda function ARNs for\n PreHumanTaskLambdaArn. For custom labeling workflows, see Pre-annotation Lambda.

\n

\n Bounding box - Finds the most similar boxes from\n different workers based on the Jaccard index of the boxes.

\n \n

\n Image classification - Uses a variant of the Expectation\n Maximization approach to estimate the true class of an image based on\n annotations from individual workers.

\n \n

\n Multi-label image classification - Uses a variant of the Expectation\n Maximization approach to estimate the true classes of an image based on\n annotations from individual workers.

\n \n

\n Semantic segmentation - Treats each pixel in an image as\n a multi-class classification and treats pixel annotations from workers as\n \"votes\" for the correct label.

\n \n

\n Text classification - Uses a variant of the Expectation\n Maximization approach to estimate the true class of text based on annotations\n from individual workers.

\n \n

\n Multi-label text classification - Uses a variant of the\n Expectation Maximization approach to estimate the true classes of text based on\n annotations from individual workers.

\n \n

\n Named entity recognition - Groups similar selections and\n calculates aggregate boundaries, resolving to most-assigned label.

\n \n

\n Video Classification - Use this task type when you need workers to classify videos using\n predefined labels that you specify. Workers are shown videos and are asked to choose one\n label for each video.

\n \n

\n Video Frame Object Detection - Use this task type to\n have workers identify and locate objects in a sequence of video frames (images extracted\n from a video) using bounding boxes. For example, you can use this task to ask workers to\n identify and localize various objects in a series of video frames, such as cars, bikes,\n and pedestrians.

\n \n

\n Video Frame Object Tracking - Use this task type to\n have workers track the movement of objects in a sequence of video frames (images\n extracted from a video) using bounding boxes. For example, you can use this task to ask\n workers to track the movement of objects, such as cars, bikes, and pedestrians.

\n \n

\n 3D Point Cloud Modalities\n

\n

Use the following pre-annotation lambdas for 3D point cloud labeling modality tasks.\n See 3D Point Cloud Task types\n to learn more.

\n

\n 3D Point Cloud Object Detection - \n Use this task type when you want workers to classify objects in a 3D point cloud by \n drawing 3D cuboids around objects. For example, you can use this task type to ask workers \n to identify different types of objects in a point cloud, such as cars, bikes, and pedestrians.

\n \n

\n 3D Point Cloud Object Tracking - \n Use this task type when you want workers to draw 3D cuboids around objects\n that appear in a sequence of 3D point cloud frames. \n For example, you can use this task type to ask workers to track \n the movement of vehicles across multiple point cloud frames.\n

\n \n

\n 3D Point Cloud Semantic Segmentation - \n Use this task type when you want workers to create a point-level semantic segmentation masks by \n painting objects in a 3D point cloud using different colors where each color is assigned to one of \n the classes you specify.

\n \n

\n Use the following ARNs for Label Verification and Adjustment Jobs\n

\n

Use label verification and adjustment jobs to review and adjust labels. To learn more,\n see Verify and Adjust Labels .

\n

\n Bounding box verification - Uses a variant of the\n Expectation Maximization approach to estimate the true class of verification\n judgement for bounding box labels based on annotations from individual\n workers.

\n \n

\n Bounding box adjustment - Finds the most similar boxes\n from different workers based on the Jaccard index of the adjusted\n annotations.

\n \n

\n Semantic segmentation verification - Uses a variant of\n the Expectation Maximization approach to estimate the true class of verification\n judgment for semantic segmentation labels based on annotations from individual\n workers.

\n \n

\n Semantic segmentation adjustment - Treats each pixel in\n an image as a multi-class classification and treats pixel adjusted annotations\n from workers as \"votes\" for the correct label.

\n \n

\n Video Frame Object Detection Adjustment - \n Use this task type when you want workers to adjust bounding boxes that workers have added \n to video frames to classify and localize objects in a sequence of video frames.

\n \n

\n Video Frame Object Tracking Adjustment - \n Use this task type when you want workers to adjust bounding boxes that workers have added \n to video frames to track object movement across a sequence of video frames.

\n \n

\n 3D point cloud object detection adjustment - Adjust\n 3D cuboids in a point cloud frame.

\n \n

\n 3D point cloud object tracking adjustment - Adjust 3D\n cuboids across a sequence of point cloud frames.

\n \n

\n 3D point cloud semantic segmentation adjustment -\n Adjust semantic segmentation masks in a 3D point cloud.

\n ", "smithy.api#required": {} } @@ -26290,6 +26997,7 @@ "TaskTitle": { "target": "com.amazonaws.sagemaker#TaskTitle", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A title for the task for your human workers.

", "smithy.api#required": {} } @@ -26297,6 +27005,7 @@ "TaskDescription": { "target": "com.amazonaws.sagemaker#TaskDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the task for your human workers.

", "smithy.api#required": {} } @@ -26304,6 +27013,7 @@ "NumberOfHumanWorkersPerDataObject": { "target": "com.amazonaws.sagemaker#NumberOfHumanWorkersPerDataObject", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of human workers that will label an object.

", "smithy.api#required": {} } @@ -26311,6 +27021,7 @@ "TaskTimeLimitInSeconds": { "target": "com.amazonaws.sagemaker#TaskTimeLimitInSeconds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The amount of time that a worker has to complete a task.

\n

If you create a custom labeling job, the maximum value for this parameter is 8 hours\n (28,800 seconds).

\n

If you create a labeling job using a built-in task type the maximum\n for this parameter depends on the task type you use:

\n ", "smithy.api#required": {} } @@ -26330,6 +27041,7 @@ "AnnotationConsolidationConfig": { "target": "com.amazonaws.sagemaker#AnnotationConsolidationConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures how labels are consolidated across human workers.

", "smithy.api#required": {} } @@ -26394,6 +27106,7 @@ "HumanTaskUiName": { "target": "com.amazonaws.sagemaker#HumanTaskUiName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the human task user interface.

", "smithy.api#required": {} } @@ -26401,6 +27114,7 @@ "HumanTaskUiArn": { "target": "com.amazonaws.sagemaker#HumanTaskUiArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the human task user interface.

", "smithy.api#required": {} } @@ -26408,6 +27122,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp when SageMaker created the human task user interface.

", "smithy.api#required": {} } @@ -26429,6 +27144,7 @@ "TrainingInputMode": { "target": "com.amazonaws.sagemaker#TrainingInputMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -26494,6 +27210,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ParameterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of this hyperparameter. The name must be unique.

", "smithy.api#required": {} } @@ -26507,6 +27224,7 @@ "Type": { "target": "com.amazonaws.sagemaker#ParameterType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of this hyperparameter. The valid types are Integer,\n Continuous, Categorical, and FreeText.

", "smithy.api#required": {} } @@ -26520,14 +27238,12 @@ "IsTunable": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this hyperparameter is tunable in a hyperparameter tuning\n job.

" } }, "IsRequired": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this hyperparameter is required.

" } }, @@ -26578,6 +27294,7 @@ "AlgorithmSpecification": { "target": "com.amazonaws.sagemaker#HyperParameterAlgorithmSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The HyperParameterAlgorithmSpecification object that\n specifies\n the resource algorithm to use for the training jobs that the tuning\n job launches.

", "smithy.api#required": {} } @@ -26585,6 +27302,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the\n IAM\n role associated with the training jobs that the tuning job\n launches.

", "smithy.api#required": {} } @@ -26604,6 +27322,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#OutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the path to the Amazon S3 bucket where you\n store\n model artifacts from the training jobs that the tuning job\n launches.

", "smithy.api#required": {} } @@ -26617,6 +27336,7 @@ "StoppingCondition": { "target": "com.amazonaws.sagemaker#StoppingCondition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a limit to how long a model hyperparameter training job can run. It also\n specifies how long a managed spot training job has to complete. When the job reaches the\n time limit, SageMaker ends the training job. Use this API to cap model training costs.

", "smithy.api#required": {} } @@ -26624,21 +27344,18 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Isolates the training container. No inbound or outbound network calls can be made,\n except for calls between peers within a training cluster for distributed training. If\n network isolation is used for training jobs that are configured to use a VPC, SageMaker\n downloads and uploads customer data and model artifacts through the specified VPC, but\n the training container does not have network access.

" } }, "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To encrypt all communications between ML compute instances in distributed training,\n choose True. Encryption provides greater security for distributed training,\n but training might take longer. How long it takes depends on the amount of communication\n between compute instances, especially if you use a deep learning algorithm in\n distributed training.

" } }, "EnableManagedSpotTraining": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean indicating whether managed spot training is enabled (True) or\n not (False).

" } }, @@ -26743,6 +27460,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the training job.

", "smithy.api#required": {} } @@ -26750,6 +27468,7 @@ "TrainingJobArn": { "target": "com.amazonaws.sagemaker#TrainingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the training job.

", "smithy.api#required": {} } @@ -26763,6 +27482,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the training job was created.

", "smithy.api#required": {} } @@ -26782,6 +27502,7 @@ "TrainingJobStatus": { "target": "com.amazonaws.sagemaker#TrainingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The\n status\n of the training job.

", "smithy.api#required": {} } @@ -26789,6 +27510,7 @@ "TunedHyperParameters": { "target": "com.amazonaws.sagemaker#HyperParameters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A\n list of the hyperparameters for which you specified ranges to\n search.

", "smithy.api#required": {} } @@ -26833,6 +27555,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#TrainingInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type used for processing of hyperparameter optimization jobs. Choose from\n general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge\n or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more\n information about instance types, see instance type\n descriptions.

", "smithy.api#required": {} } @@ -26840,7 +27563,7 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#TrainingInstanceCount", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of instances of the type specified by InstanceType. Choose an\n instance count larger than 1 for distributed training algorithms. See Step 2:\n Launch a SageMaker Distributed Training Job Using the SageMaker Python SDK for more\n information.

", "smithy.api#required": {} } @@ -26848,7 +27571,7 @@ "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#VolumeSizeInGB", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The volume size in GB of the data to be processed for hyperparameter optimization\n (optional).

", "smithy.api#required": {} } @@ -26886,7 +27609,6 @@ "NumberOfTrainingJobsObjectiveNotImproving": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs launched by a tuning job that are not improving (1% or\n less) as measured by model performance evaluated against an objective function.

" } }, @@ -26907,6 +27629,7 @@ "Strategy": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobStrategyType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies how hyperparameter tuning chooses the combinations of hyperparameter values\n to use for the training job it launches. For information about search strategies, see\n How\n Hyperparameter Tuning Works.

", "smithy.api#required": {} } @@ -26926,6 +27649,7 @@ "ResourceLimits": { "target": "com.amazonaws.sagemaker#ResourceLimits", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ResourceLimits\n object that specifies the maximum number of training and parallel training jobs that can\n be used for this hyperparameter tuning job.

", "smithy.api#required": {} } @@ -26965,7 +27689,6 @@ "RuntimeInSeconds": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The wall clock runtime in seconds used by your hyperparameter tuning job.

" } } @@ -26990,6 +27713,7 @@ "Type": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobObjectiveType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to\n minimize\n or maximize the objective metric.

", "smithy.api#required": {} } @@ -26997,6 +27721,7 @@ "MetricName": { "target": "com.amazonaws.sagemaker#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The\n name of the metric to use for the objective metric.

", "smithy.api#required": {} } @@ -27240,6 +27965,7 @@ "HyperParameterTuningJobName": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the tuning job.

", "smithy.api#required": {} } @@ -27247,6 +27973,7 @@ "HyperParameterTuningJobArn": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The\n Amazon\n Resource Name (ARN) of the tuning job.

", "smithy.api#required": {} } @@ -27254,6 +27981,7 @@ "HyperParameterTuningJobStatus": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the\n tuning\n job.

", "smithy.api#required": {} } @@ -27261,6 +27989,7 @@ "Strategy": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobStrategyType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the search strategy hyperparameter tuning uses to choose which\n hyperparameters to\n evaluate\n at each iteration.

", "smithy.api#required": {} } @@ -27268,6 +27997,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the tuning job was created.

", "smithy.api#required": {} } @@ -27287,6 +28017,7 @@ "TrainingJobStatusCounters": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The TrainingJobStatusCounters object that specifies the numbers of training\n jobs, categorized by status, that this tuning job launched.

", "smithy.api#required": {} } @@ -27294,6 +28025,7 @@ "ObjectiveStatusCounters": { "target": "com.amazonaws.sagemaker#ObjectiveStatusCounters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ObjectiveStatusCounters object that specifies the numbers of training jobs,\n categorized by objective metric status, that this tuning job launched.

", "smithy.api#required": {} } @@ -27315,6 +28047,7 @@ "ParentHyperParameterTuningJobs": { "target": "com.amazonaws.sagemaker#ParentHyperParameterTuningJobs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of hyperparameter tuning jobs that are used as the starting point for the new\n hyperparameter tuning job. For more information about warm starting a hyperparameter\n tuning job, see Using a Previous\n Hyperparameter Tuning Job as a Starting Point.

\n

Hyperparameter tuning jobs created before October 1, 2018 cannot be used as parent\n jobs for warm start tuning jobs.

", "smithy.api#required": {} } @@ -27322,6 +28055,7 @@ "WarmStartType": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobWarmStartType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies one of the following:

\n
\n
IDENTICAL_DATA_AND_ALGORITHM
\n
\n

The new hyperparameter tuning job uses the same input data and training\n image as the parent tuning jobs. You can change the hyperparameter ranges to\n search and the maximum number of training jobs that the hyperparameter\n tuning job launches. You cannot use a new version of the training algorithm,\n unless the changes in the new version do not affect the algorithm itself.\n For example, changes that improve logging or adding support for a different\n data format are allowed. You can also change hyperparameters from tunable to\n static, and from static to tunable, but the total number of static plus\n tunable hyperparameters must remain the same as it is in all parent jobs.\n The objective metric for the new tuning job must be the same as for all\n parent jobs.

\n
\n
TRANSFER_LEARNING
\n
\n

The new hyperparameter tuning job can include input data, hyperparameter\n ranges, maximum number of concurrent training jobs, and maximum number of\n training jobs that are different than those of its parent hyperparameter\n tuning jobs. The training image can also be a different version from the\n version used in the parent hyperparameter tuning job. You can also change\n hyperparameters from tunable to static, and from static to tunable, but the\n total number of static plus tunable hyperparameters must remain the same as\n it is in all parent jobs. The objective metric for the new tuning job must\n be the same as for all parent jobs.

\n
\n
", "smithy.api#required": {} } @@ -27369,14 +28103,12 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#TrainingInstanceCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of compute instances of type InstanceType to use. For distributed training, select a value greater than 1.

" } }, "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#OptionalVolumeSizeInGB", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The volume size in GB for the storage volume to be used in processing hyperparameter\n optimization jobs (optional). These volumes store model artifacts, incremental states\n and optionally, scratch space for training algorithms. Do not provide a value for this\n parameter if a value for InstanceConfigs is also specified.

\n

Some instance types have a fixed total local storage size. If you select one of these\n instances for training, VolumeSizeInGB cannot be greater than this total\n size. For a list of instance types with local instance storage and their sizes, see\n instance store volumes.

\n \n

SageMaker supports only the General Purpose SSD\n (gp2) storage volume type.

\n
" } }, @@ -27543,6 +28275,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When the image was created.

", "smithy.api#required": {} } @@ -27568,6 +28301,7 @@ "ImageArn": { "target": "com.amazonaws.sagemaker#ImageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the image.

", "smithy.api#required": {} } @@ -27575,6 +28309,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image.

", "smithy.api#required": {} } @@ -27582,6 +28317,7 @@ "ImageStatus": { "target": "com.amazonaws.sagemaker#ImageStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the image.

", "smithy.api#required": {} } @@ -27589,6 +28325,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When the image was last modified.

", "smithy.api#required": {} } @@ -27638,6 +28375,7 @@ "RepositoryAccessMode": { "target": "com.amazonaws.sagemaker#RepositoryAccessMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Set this to one of the following values:

\n ", "smithy.api#required": {} } @@ -27837,6 +28575,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When the version was created.

", "smithy.api#required": {} } @@ -27850,6 +28589,7 @@ "ImageArn": { "target": "com.amazonaws.sagemaker#ImageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the image the version is based on.

", "smithy.api#required": {} } @@ -27857,6 +28597,7 @@ "ImageVersionArn": { "target": "com.amazonaws.sagemaker#ImageVersionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the version.

", "smithy.api#required": {} } @@ -27864,6 +28605,7 @@ "ImageVersionStatus": { "target": "com.amazonaws.sagemaker#ImageVersionStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the version.

", "smithy.api#required": {} } @@ -27871,6 +28613,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

When the version was last modified.

", "smithy.api#required": {} } @@ -27878,6 +28621,7 @@ "Version": { "target": "com.amazonaws.sagemaker#ImageVersionNumber", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version number.

", "smithy.api#required": {} } @@ -28021,6 +28765,7 @@ "HubContentName": { "target": "com.amazonaws.sagemaker#HubContentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub content to import.

", "smithy.api#required": {} } @@ -28034,6 +28779,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of hub content to import.

", "smithy.api#required": {} } @@ -28041,6 +28787,7 @@ "DocumentSchemaVersion": { "target": "com.amazonaws.sagemaker#DocumentSchemaVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the hub content schema to import.

", "smithy.api#required": {} } @@ -28048,6 +28795,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to import content into.

", "smithy.api#required": {} } @@ -28073,6 +28821,7 @@ "HubContentDocument": { "target": "com.amazonaws.sagemaker#HubContentDocument", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The hub content document that describes information about the hub content such as type, associated containers, scripts, and more.

", "smithy.api#required": {} } @@ -28100,6 +28849,7 @@ "HubArn": { "target": "com.amazonaws.sagemaker#HubArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the hub that the content was imported into.

", "smithy.api#required": {} } @@ -28107,6 +28857,7 @@ "HubContentArn": { "target": "com.amazonaws.sagemaker#HubContentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the hub content that was imported.

", "smithy.api#required": {} } @@ -28122,6 +28873,7 @@ "Mode": { "target": "com.amazonaws.sagemaker#InferenceExecutionMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

How containers in a multi-container are run. The following values are valid.

\n ", "smithy.api#required": {} } @@ -28164,6 +28916,7 @@ "Destination": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 bucket where the inference request and response data is stored.

", "smithy.api#required": {} } @@ -28314,6 +29067,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment.

", "smithy.api#required": {} } @@ -28321,6 +29075,7 @@ "Type": { "target": "com.amazonaws.sagemaker#InferenceExperimentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the inference experiment.

", "smithy.api#required": {} } @@ -28334,6 +29089,7 @@ "Status": { "target": "com.amazonaws.sagemaker#InferenceExperimentStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the inference experiment.

", "smithy.api#required": {} } @@ -28353,6 +29109,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp at which the inference experiment was created.

", "smithy.api#required": {} } @@ -28366,6 +29123,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp when you last modified the inference experiment.

", "smithy.api#required": {} } @@ -28407,7 +29165,7 @@ "MaxInvocations": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The expected maximum number of requests per minute for the instance.

", "smithy.api#required": {} } @@ -28415,7 +29173,7 @@ "ModelLatency": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The expected model latency at maximum invocations per minute for the instance.

", "smithy.api#required": {} } @@ -28431,6 +29189,7 @@ "Metrics": { "target": "com.amazonaws.sagemaker#RecommendationMetrics", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metrics used to decide what recommendation to make.

", "smithy.api#required": {} } @@ -28438,6 +29197,7 @@ "EndpointConfiguration": { "target": "com.amazonaws.sagemaker#EndpointOutputConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the endpoint configuration parameters.

", "smithy.api#required": {} } @@ -28445,6 +29205,7 @@ "ModelConfiguration": { "target": "com.amazonaws.sagemaker#ModelConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the model configuration.

", "smithy.api#required": {} } @@ -28490,6 +29251,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job.

", "smithy.api#required": {} } @@ -28497,6 +29259,7 @@ "JobDescription": { "target": "com.amazonaws.sagemaker#RecommendationJobDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The job description.

", "smithy.api#required": {} } @@ -28504,6 +29267,7 @@ "JobType": { "target": "com.amazonaws.sagemaker#RecommendationJobType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The recommendation job type.

", "smithy.api#required": {} } @@ -28511,6 +29275,7 @@ "JobArn": { "target": "com.amazonaws.sagemaker#RecommendationJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the recommendation job.

", "smithy.api#required": {} } @@ -28518,6 +29283,7 @@ "Status": { "target": "com.amazonaws.sagemaker#RecommendationJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the job.

", "smithy.api#required": {} } @@ -28525,6 +29291,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the job was created.

", "smithy.api#required": {} } @@ -28538,6 +29305,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker \n to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -28545,6 +29313,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#LastModifiedTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the job was last modified.

", "smithy.api#required": {} } @@ -28584,6 +29353,7 @@ "StepType": { "target": "com.amazonaws.sagemaker#RecommendationStepType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the subtask.

\n

\n BENCHMARK: Evaluate the performance of your model on different instance types.

", "smithy.api#required": {} } @@ -28591,6 +29361,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Inference Recommender job.

", "smithy.api#required": {} } @@ -28598,6 +29369,7 @@ "Status": { "target": "com.amazonaws.sagemaker#RecommendationJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the benchmark.

", "smithy.api#required": {} } @@ -28631,6 +29403,7 @@ "Containers": { "target": "com.amazonaws.sagemaker#ModelPackageContainerDefinitionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon ECR registry path of the Docker image that contains the inference code.

", "smithy.api#required": {} } @@ -28650,6 +29423,7 @@ "SupportedContentTypes": { "target": "com.amazonaws.sagemaker#ContentTypes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The supported MIME types for the input data.

", "smithy.api#required": {} } @@ -28657,6 +29431,7 @@ "SupportedResponseMIMETypes": { "target": "com.amazonaws.sagemaker#ResponseMIMETypes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The supported MIME types for the output data.

", "smithy.api#required": {} } @@ -28706,6 +29481,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 path where the model artifacts, which result from model training, are stored.\n This path must point to a single gzip compressed tar archive (.tar.gz suffix).

", "smithy.api#required": {} } @@ -28719,6 +29495,7 @@ "Framework": { "target": "com.amazonaws.sagemaker#Framework", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the framework in which the model was trained. For example:\n TENSORFLOW.

", "smithy.api#required": {} } @@ -28780,6 +29557,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#TrainingInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the instance type of the instance group.

", "smithy.api#required": {} } @@ -28787,7 +29565,7 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#TrainingInstanceCount", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the number of instances of the instance group.

", "smithy.api#required": {} } @@ -28795,6 +29573,7 @@ "InstanceGroupName": { "target": "com.amazonaws.sagemaker#InstanceGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the name of the instance group.

", "smithy.api#required": {} } @@ -28844,6 +29623,7 @@ "MinimumInstanceMetadataServiceVersion": { "target": "com.amazonaws.sagemaker#MinimumInstanceMetadataServiceVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance, there is no default.

", "smithy.api#required": {} } @@ -29309,10 +30089,7 @@ } }, "com.amazonaws.sagemaker#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.sagemaker#IntegerParameterRange": { "type": "structure", @@ -29320,6 +30097,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ParameterKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hyperparameter to search.

", "smithy.api#required": {} } @@ -29327,6 +30105,7 @@ "MinValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum\n value\n of the hyperparameter to search.

", "smithy.api#required": {} } @@ -29334,6 +30113,7 @@ "MaxValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum\n value\n of the hyperparameter to search.

", "smithy.api#required": {} } @@ -29355,6 +30135,7 @@ "MinValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The minimum integer value allowed.

", "smithy.api#required": {} } @@ -29362,6 +30143,7 @@ "MaxValue": { "target": "com.amazonaws.sagemaker#ParameterValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum integer value allowed.

", "smithy.api#required": {} } @@ -29384,10 +30166,7 @@ } }, "com.amazonaws.sagemaker#IntegerValue": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.sagemaker#InvocationEndTime": { "type": "timestamp" @@ -29616,6 +30395,7 @@ "KernelSpecs": { "target": "com.amazonaws.sagemaker#KernelSpecs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The specification of the Jupyter kernels in the image.

", "smithy.api#required": {} } @@ -29646,6 +30426,7 @@ "Name": { "target": "com.amazonaws.sagemaker#KernelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Jupyter kernel in the image. This value is case sensitive.

", "smithy.api#required": {} } @@ -29706,7 +30487,6 @@ "com.amazonaws.sagemaker#LabelCounter": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -29718,35 +30498,30 @@ "TotalLabeled": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects labeled.

" } }, "HumanLabeled": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects labeled by a human worker.

" } }, "MachineLabeled": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects labeled by automated data labeling.

" } }, "FailedNonRetryableError": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that could not be labeled due to an error.

" } }, "Unlabeled": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects not yet labeled.

" } } @@ -29761,21 +30536,18 @@ "HumanLabeled": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of data objects labeled by a human worker.

" } }, "PendingHuman": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of data objects that need to be labeled by a human worker.

" } }, "Total": { "target": "com.amazonaws.sagemaker#LabelCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of tasks in the labeling job.

" } } @@ -29800,6 +30572,7 @@ "LabelingJobAlgorithmSpecificationArn": { "target": "com.amazonaws.sagemaker#LabelingJobAlgorithmSpecificationArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling. You\n must select one of the following ARNs:

\n ", "smithy.api#required": {} } @@ -29877,6 +30650,7 @@ "JobReferenceCode": { "target": "com.amazonaws.sagemaker#JobReferenceCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a labeling job. You can use this to refer to a specific\n labeling job.

", "smithy.api#required": {} } @@ -29884,6 +30658,7 @@ "WorkRequesterAccountId": { "target": "com.amazonaws.sagemaker#AccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID of the account used to start the labeling\n job.

", "smithy.api#required": {} } @@ -29891,6 +30666,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the labeling job was created.

", "smithy.api#required": {} } @@ -29924,6 +30700,7 @@ "DataSource": { "target": "com.amazonaws.sagemaker#LabelingJobDataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the input data.

", "smithy.api#required": {} } @@ -29955,6 +30732,7 @@ "OutputDatasetS3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 bucket location of the manifest file for labeled data.

", "smithy.api#required": {} } @@ -29976,6 +30754,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location to write output data.

", "smithy.api#required": {} } @@ -30020,6 +30799,7 @@ "ManifestS3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 location of the manifest file that describes the input data objects.

\n

The input manifest file referenced in ManifestS3Uri must contain one of\n the following keys: source-ref or source. The value of the\n keys are interpreted as follows:

\n \n

If you are a new user of Ground Truth, it is recommended you review Use an Input Manifest File in the Amazon SageMaker Developer Guide to learn how to\n create an input manifest file.

", "smithy.api#required": {} } @@ -30035,6 +30815,7 @@ "SnsTopicArn": { "target": "com.amazonaws.sagemaker#SnsTopicArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of the input topic\n you will use to send new data objects to a streaming labeling job.

", "smithy.api#required": {} } @@ -30111,6 +30892,7 @@ "LabelingJobName": { "target": "com.amazonaws.sagemaker#LabelingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the labeling job.

", "smithy.api#required": {} } @@ -30118,6 +30900,7 @@ "LabelingJobArn": { "target": "com.amazonaws.sagemaker#LabelingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) assigned to the labeling job when it was\n created.

", "smithy.api#required": {} } @@ -30125,6 +30908,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the job was created (timestamp).

", "smithy.api#required": {} } @@ -30132,6 +30916,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the job was last modified (timestamp).

", "smithy.api#required": {} } @@ -30139,6 +30924,7 @@ "LabelingJobStatus": { "target": "com.amazonaws.sagemaker#LabelingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of the labeling job.

", "smithy.api#required": {} } @@ -30146,6 +30932,7 @@ "LabelCounters": { "target": "com.amazonaws.sagemaker#LabelCounters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Counts showing the progress of the labeling job.

", "smithy.api#required": {} } @@ -30153,6 +30940,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the work team assigned to the job.

", "smithy.api#required": {} } @@ -30160,6 +30948,7 @@ "PreHumanTaskLambdaArn": { "target": "com.amazonaws.sagemaker#LambdaFunctionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a Lambda function. The function is run before each\n data object is sent to a worker.

", "smithy.api#required": {} } @@ -30238,6 +31027,7 @@ "Status": { "target": "com.amazonaws.sagemaker#LastUpdateStatusValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A value that indicates whether the update was made successful.

", "smithy.api#required": {} } @@ -30563,6 +31353,7 @@ "AlgorithmSummaryList": { "target": "com.amazonaws.sagemaker#AlgorithmSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

>An array of AlgorithmSummary objects, each of which lists an\n algorithm.

", "smithy.api#required": {} } @@ -30607,6 +31398,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image.

", "smithy.api#required": {} } @@ -31136,7 +31928,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#AutoMLMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Request a list of jobs up to a specified limit.

" } }, @@ -31157,6 +31948,7 @@ "AutoMLJobSummaries": { "target": "com.amazonaws.sagemaker#AutoMLJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Returns a summary list of jobs.

", "smithy.api#required": {} } @@ -31201,6 +31993,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List the candidates created for the job by providing the job's name.

", "smithy.api#required": {} } @@ -31232,7 +32025,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#AutoMLMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

List the job's candidates up to a specified limit.

" } }, @@ -31253,6 +32045,7 @@ "Candidates": { "target": "com.amazonaws.sagemaker#AutoMLCandidates", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Summaries about the AutoMLCandidates.

", "smithy.api#required": {} } @@ -31354,6 +32147,7 @@ "CodeRepositorySummaryList": { "target": "com.amazonaws.sagemaker#CodeRepositorySummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Gets a list of summaries of the Git repositories. Each summary specifies the following\n values for the repository:

\n ", "smithy.api#required": {} } @@ -31461,6 +32255,7 @@ "CompilationJobSummaries": { "target": "com.amazonaws.sagemaker#CompilationJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of CompilationJobSummary objects, each describing a model compilation job.\n

", "smithy.api#required": {} } @@ -31678,6 +32473,7 @@ "JobDefinitionSummaries": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of data quality monitoring job definitions.

", "smithy.api#required": {} } @@ -31723,7 +32519,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#ListMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to select.

" } }, @@ -31780,6 +32575,7 @@ "DeviceFleetSummaries": { "target": "com.amazonaws.sagemaker#DeviceFleetSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Summary of the device fleet.

", "smithy.api#required": {} } @@ -31848,7 +32644,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#ListMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Maximum number of results to select.

" } }, @@ -31881,6 +32676,7 @@ "DeviceSummaries": { "target": "com.amazonaws.sagemaker#DeviceSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Summary of devices.

", "smithy.api#required": {} } @@ -31984,7 +32780,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#ListMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to select (50 by default).

" } }, @@ -32047,6 +32842,7 @@ "EdgeDeploymentPlanSummaries": { "target": "com.amazonaws.sagemaker#EdgeDeploymentPlanSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of summaries of edge deployment plans.

", "smithy.api#required": {} } @@ -32121,7 +32917,6 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#ListMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Maximum number of results to select.

" } }, @@ -32190,6 +32985,7 @@ "EdgePackagingJobSummaries": { "target": "com.amazonaws.sagemaker#EdgePackagingJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Summaries of edge packaging jobs.

", "smithy.api#required": {} } @@ -32314,6 +33110,7 @@ "EndpointConfigs": { "target": "com.amazonaws.sagemaker#EndpointConfigSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of endpoint configurations.

", "smithy.api#required": {} } @@ -32421,6 +33218,7 @@ "Endpoints": { "target": "com.amazonaws.sagemaker#EndpointSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array or endpoint objects.

", "smithy.api#required": {} } @@ -32598,6 +33396,7 @@ "FeatureGroupSummaries": { "target": "com.amazonaws.sagemaker#FeatureGroupSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A summary of feature groups.

", "smithy.api#required": {} } @@ -32605,6 +33404,7 @@ "NextToken": { "target": "com.amazonaws.sagemaker#NextToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A token to resume pagination of ListFeatureGroups results.

", "smithy.api#required": {} } @@ -32676,6 +33476,7 @@ "FlowDefinitionSummaries": { "target": "com.amazonaws.sagemaker#FlowDefinitionSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects describing the flow definitions.

", "smithy.api#required": {} } @@ -32714,6 +33515,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to list the content versions of.

", "smithy.api#required": {} } @@ -32721,6 +33523,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of hub content to list versions of.

", "smithy.api#required": {} } @@ -32728,6 +33531,7 @@ "HubContentName": { "target": "com.amazonaws.sagemaker#HubContentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub content.

", "smithy.api#required": {} } @@ -32791,6 +33595,7 @@ "HubContentSummaries": { "target": "com.amazonaws.sagemaker#HubContentInfoList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The summaries of the listed hub content versions.

", "smithy.api#required": {} } @@ -32829,6 +33634,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to list the contents of.

", "smithy.api#required": {} } @@ -32836,6 +33642,7 @@ "HubContentType": { "target": "com.amazonaws.sagemaker#HubContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of hub content to list.

", "smithy.api#required": {} } @@ -32899,6 +33706,7 @@ "HubContentSummaries": { "target": "com.amazonaws.sagemaker#HubContentInfoList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The summaries of the listed hub content.

", "smithy.api#required": {} } @@ -32994,6 +33802,7 @@ "HubSummaries": { "target": "com.amazonaws.sagemaker#HubInfoList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The summaries of the listed hubs.

", "smithy.api#required": {} } @@ -33071,6 +33880,7 @@ "HumanTaskUiSummaries": { "target": "com.amazonaws.sagemaker#HumanTaskUiSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of objects describing the human task user interfaces.

", "smithy.api#required": {} } @@ -33178,6 +33988,7 @@ "HyperParameterTuningJobSummaries": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of HyperParameterTuningJobSummary objects that\n describe\n the tuning jobs that the ListHyperParameterTuningJobs\n request returned.

", "smithy.api#required": {} } @@ -33234,6 +34045,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to list the versions of.

", "smithy.api#required": {} } @@ -33540,6 +34352,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the Inference Recommender job.

", "smithy.api#required": {} } @@ -33697,6 +34510,7 @@ "InferenceRecommendationsJobs": { "target": "com.amazonaws.sagemaker#InferenceRecommendationsJobs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The recommendations created from the Amazon SageMaker Inference Recommender job.

", "smithy.api#required": {} } @@ -33782,6 +34596,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the work team for which you want to see labeling\n jobs for.

", "smithy.api#required": {} } @@ -33839,6 +34654,7 @@ "LabelingJobSummaryList": { "target": "com.amazonaws.sagemaker#LabelingJobForWorkteamSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of LabelingJobSummary objects, each describing a labeling\n job.

", "smithy.api#required": {} } @@ -34044,7 +34860,6 @@ "com.amazonaws.sagemaker#ListMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "max": 100 } @@ -34130,6 +34945,7 @@ "JobDefinitionSummaries": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON array in which each element is a summary for a model bias jobs.

", "smithy.api#required": {} } @@ -34169,6 +34985,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List export jobs for the model card with the specified name.

", "smithy.api#required": {} } @@ -34176,7 +34993,6 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

List export jobs for the model card with the specified version.

" } }, @@ -34239,6 +35055,7 @@ "ModelCardExportJobSummaries": { "target": "com.amazonaws.sagemaker#ModelCardExportJobSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The summaries of the listed model card export jobs.

", "smithy.api#required": {} } @@ -34301,6 +35118,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#ModelCardNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List model card versions for the model card with the specified name or Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -34340,6 +35158,7 @@ "ModelCardVersionSummaryList": { "target": "com.amazonaws.sagemaker#ModelCardVersionSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The summaries of the listed versions of the model card.

", "smithy.api#required": {} } @@ -34435,6 +35254,7 @@ "ModelCardSummaries": { "target": "com.amazonaws.sagemaker#ModelCardSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The summaries of the listed model cards.

", "smithy.api#required": {} } @@ -34530,6 +35350,7 @@ "JobDefinitionSummaries": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON array in which each element is a summary for a explainability bias jobs.

", "smithy.api#required": {} } @@ -34595,6 +35416,7 @@ "ModelMetadataSummaries": { "target": "com.amazonaws.sagemaker#ModelMetadataSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A structure that holds model metadata.

", "smithy.api#required": {} } @@ -34684,6 +35506,7 @@ "ModelPackageGroupSummaryList": { "target": "com.amazonaws.sagemaker#ModelPackageGroupSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of summaries of the model groups in your Amazon Web Services account.

", "smithy.api#required": {} } @@ -34791,6 +35614,7 @@ "ModelPackageSummaryList": { "target": "com.amazonaws.sagemaker#ModelPackageSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of ModelPackageSummary objects, each of which lists a model\n package.

", "smithy.api#required": {} } @@ -34886,6 +35710,7 @@ "JobDefinitionSummaries": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of summaries of model quality monitoring job definitions.

", "smithy.api#required": {} } @@ -34975,6 +35800,7 @@ "Models": { "target": "com.amazonaws.sagemaker#ModelSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of ModelSummary objects, each of which lists a\n model.

", "smithy.api#required": {} } @@ -35124,6 +35950,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a monitoring schedule.

", "smithy.api#required": {} } @@ -35287,6 +36114,7 @@ "MonitoringExecutionSummaries": { "target": "com.amazonaws.sagemaker#MonitoringExecutionSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON array in which each element is a summary for a monitoring execution.

", "smithy.api#required": {} } @@ -35412,6 +36240,7 @@ "MonitoringScheduleSummaries": { "target": "com.amazonaws.sagemaker#MonitoringScheduleSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON array in which each element is a summary for a monitoring schedule.

", "smithy.api#required": {} } @@ -35755,6 +36584,7 @@ "PipelineName": { "target": "com.amazonaws.sagemaker#PipelineNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the pipeline.

", "smithy.api#required": {} } @@ -35849,6 +36679,7 @@ "PipelineExecutionArn": { "target": "com.amazonaws.sagemaker#PipelineExecutionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the pipeline execution.

", "smithy.api#required": {} } @@ -36070,6 +36901,7 @@ "ProcessingJobSummaries": { "target": "com.amazonaws.sagemaker#ProcessingJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of ProcessingJobSummary objects, each listing a processing\n job.

", "smithy.api#required": {} } @@ -36158,6 +36990,7 @@ "ProjectSummaryList": { "target": "com.amazonaws.sagemaker#ProjectSummaryList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of summaries of projects.

", "smithy.api#required": {} } @@ -36373,13 +37206,13 @@ "MaxResults": { "target": "com.amazonaws.sagemaker#ListMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of requests to select.

" } }, "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan.

", "smithy.api#required": {} } @@ -36387,13 +37220,13 @@ "ExcludeDevicesDeployedInOtherStage": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Toggle for excluding devices deployed in other stages.

" } }, "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage in the deployment.

", "smithy.api#required": {} } @@ -36409,6 +37242,7 @@ "DeviceDeploymentSummaries": { "target": "com.amazonaws.sagemaker#DeviceDeploymentSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of summaries of devices allocated to the stage.

", "smithy.api#required": {} } @@ -36585,6 +37419,7 @@ "SubscribedWorkteams": { "target": "com.amazonaws.sagemaker#SubscribedWorkteams", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of Workteam objects, each describing a work team.

", "smithy.api#required": {} } @@ -36624,6 +37459,7 @@ "ResourceArn": { "target": "com.amazonaws.sagemaker#ResourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource whose tags you want to\n retrieve.

", "smithy.api#required": {} } @@ -36720,6 +37556,7 @@ "HyperParameterTuningJobName": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the tuning job whose training jobs you want to list.

", "smithy.api#required": {} } @@ -36765,6 +37602,7 @@ "TrainingJobSummaries": { "target": "com.amazonaws.sagemaker#HyperParameterTrainingJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of TrainingJobSummary objects that\n describe\n the training jobs that the\n ListTrainingJobsForHyperParameterTuningJob request returned.

", "smithy.api#required": {} } @@ -36860,6 +37698,7 @@ "TrainingJobSummaries": { "target": "com.amazonaws.sagemaker#TrainingJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of TrainingJobSummary objects, each listing a training\n job.

", "smithy.api#required": {} } @@ -36967,6 +37806,7 @@ "TransformJobSummaries": { "target": "com.amazonaws.sagemaker#TransformJobSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of\n TransformJobSummary\n objects.

", "smithy.api#required": {} } @@ -37336,6 +38176,7 @@ "Workforces": { "target": "com.amazonaws.sagemaker#Workforces", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list containing information about your workforce.

", "smithy.api#required": {} } @@ -37430,6 +38271,7 @@ "Workteams": { "target": "com.amazonaws.sagemaker#Workteams", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of Workteam objects, each describing a work team.

", "smithy.api#required": {} } @@ -37463,10 +38305,7 @@ } }, "com.amazonaws.sagemaker#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.sagemaker#MLFramework": { "type": "string", @@ -37556,7 +38395,6 @@ "com.amazonaws.sagemaker#MaxParallelExecutionSteps": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -37573,7 +38411,6 @@ "com.amazonaws.sagemaker#MaxParallelTrainingJobs": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -37608,7 +38445,6 @@ "com.amazonaws.sagemaker#MaxRuntimeInSeconds": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -37642,7 +38478,6 @@ "com.amazonaws.sagemaker#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 30 @@ -37745,7 +38580,6 @@ "Value": { "target": "com.amazonaws.sagemaker#Float", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The value of the metric.

" } }, @@ -37784,7 +38618,6 @@ "Value": { "target": "com.amazonaws.sagemaker#Float", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The value of the metric.

" } }, @@ -37811,6 +38644,7 @@ "Name": { "target": "com.amazonaws.sagemaker#MetricName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the metric.

", "smithy.api#required": {} } @@ -37818,6 +38652,7 @@ "Regex": { "target": "com.amazonaws.sagemaker#MetricRegex", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A regular expression that searches the output of a training job and gets the value of\n the metric. For more information about using regular expressions to define metrics, see\n Defining metrics and environment variables.

", "smithy.api#required": {} } @@ -37903,10 +38738,7 @@ } }, "com.amazonaws.sagemaker#MetricValue": { - "type": "float", - "traits": { - "smithy.api#default": 0 - } + "type": "float" }, "com.amazonaws.sagemaker#MetricsSource": { "type": "structure", @@ -37914,6 +38746,7 @@ "ContentType": { "target": "com.amazonaws.sagemaker#ContentType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The metric source content type.

", "smithy.api#required": {} } @@ -37927,6 +38760,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 URI for the metrics source.

", "smithy.api#required": {} } @@ -37991,7 +38825,6 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Isolates the model container. No inbound or outbound network calls can be made to or\n from the model container.

" } }, @@ -38051,6 +38884,7 @@ "S3ModelArtifacts": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The path of the S3 object that contains the model artifacts. For example,\n s3://bucket-name/keynameprefix/model.tar.gz.

", "smithy.api#required": {} } @@ -38066,6 +38900,7 @@ "ImageUri": { "target": "com.amazonaws.sagemaker#ImageUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The container image to be run by the model bias job.

", "smithy.api#required": {} } @@ -38073,6 +38908,7 @@ "ConfigUri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

JSON formatted S3 file that defines bias parameters. For more information on this JSON\n configuration file, see Configure\n bias parameters.

", "smithy.api#required": {} } @@ -38120,6 +38956,7 @@ "GroundTruthS3Input": { "target": "com.amazonaws.sagemaker#MonitoringGroundTruthS3Input", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Location of ground truth labels to use in model bias job.

", "smithy.api#required": {} } @@ -38164,7 +39001,6 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version of the model card.

" } }, @@ -38260,6 +39096,7 @@ "S3ExportArtifacts": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 URI of the exported model artifacts.

", "smithy.api#required": {} } @@ -38351,6 +39188,7 @@ "ModelCardExportJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card export job.

", "smithy.api#required": {} } @@ -38358,6 +39196,7 @@ "ModelCardExportJobArn": { "target": "com.amazonaws.sagemaker#ModelCardExportJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card export job.

", "smithy.api#required": {} } @@ -38365,6 +39204,7 @@ "Status": { "target": "com.amazonaws.sagemaker#ModelCardExportJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The completion status of the model card export job.

", "smithy.api#required": {} } @@ -38372,6 +39212,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card that the export job exports.

", "smithy.api#required": {} } @@ -38379,7 +39220,7 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the model card that the export job exports.

", "smithy.api#required": {} } @@ -38387,6 +39228,7 @@ "CreatedAt": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the model card export job was created.

", "smithy.api#required": {} } @@ -38394,6 +39236,7 @@ "LastModifiedAt": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the model card export job was last modified..

", "smithy.api#required": {} } @@ -38415,6 +39258,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 output path to export your model card PDF.

", "smithy.api#required": {} } @@ -38558,6 +39402,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card.

", "smithy.api#required": {} } @@ -38565,6 +39410,7 @@ "ModelCardArn": { "target": "com.amazonaws.sagemaker#ModelCardArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card.

", "smithy.api#required": {} } @@ -38572,6 +39418,7 @@ "ModelCardStatus": { "target": "com.amazonaws.sagemaker#ModelCardStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The approval status of the model card within your organization. Different organizations might have different criteria for model card review and approval.

\n ", "smithy.api#required": {} } @@ -38579,6 +39426,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the model card was created.

", "smithy.api#required": {} } @@ -38617,6 +39465,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model card.

", "smithy.api#required": {} } @@ -38624,6 +39473,7 @@ "ModelCardArn": { "target": "com.amazonaws.sagemaker#ModelCardArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model card.

", "smithy.api#required": {} } @@ -38631,6 +39481,7 @@ "ModelCardStatus": { "target": "com.amazonaws.sagemaker#ModelCardStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The approval status of the model card version within your organization. Different organizations might have different criteria for model card review and approval.

\n ", "smithy.api#required": {} } @@ -38638,7 +39489,7 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A version of the model card.

", "smithy.api#required": {} } @@ -38646,6 +39497,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time that the model card version was created.

", "smithy.api#required": {} } @@ -38736,6 +39588,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The endpoint name.

", "smithy.api#required": {} } @@ -38743,6 +39596,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint.

", "smithy.api#required": {} } @@ -38750,6 +39604,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates when the endpoint was created.

", "smithy.api#required": {} } @@ -38757,6 +39612,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last time the endpoint was modified.

", "smithy.api#required": {} } @@ -38764,6 +39620,7 @@ "EndpointStatus": { "target": "com.amazonaws.sagemaker#EndpointStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The endpoint status.

", "smithy.api#required": {} } @@ -38785,7 +39642,6 @@ "Enabled": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the alert action is turned on.

" } } @@ -38847,7 +39703,6 @@ "ModelCardVersion": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The model card version.

" } }, @@ -39004,6 +39859,7 @@ "S3DataSource": { "target": "com.amazonaws.sagemaker#S3ModelDataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the S3 location of ML model data to deploy.

", "smithy.api#required": {} } @@ -39019,7 +39875,6 @@ "AutoGenerateEndpointName": { "target": "com.amazonaws.sagemaker#AutoGenerateEndpointName", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to True to automatically generate an endpoint name for a one-click\n Autopilot model deployment; set to False otherwise. The default value is\n False.

\n \n

If you set AutoGenerateEndpointName to True, do not specify\n the EndpointName; otherwise a 400 error is thrown.

\n
" } }, @@ -39068,6 +39923,7 @@ "ImageUri": { "target": "com.amazonaws.sagemaker#ImageUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The container image to be run by the model explainability job.

", "smithy.api#required": {} } @@ -39075,6 +39931,7 @@ "ConfigUri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

JSON formatted Amazon S3 file that defines explainability parameters. For more\n information on this JSON configuration file, see Configure model explainability parameters.

", "smithy.api#required": {} } @@ -39130,6 +39987,7 @@ "InfrastructureType": { "target": "com.amazonaws.sagemaker#ModelInfrastructureType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The inference option to which to deploy your model. Possible values are the following:

\n ", "smithy.api#required": {} } @@ -39137,6 +39995,7 @@ "RealTimeInferenceConfig": { "target": "com.amazonaws.sagemaker#RealTimeInferenceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The infrastructure configuration for deploying the model to real-time inference.

", "smithy.api#required": {} } @@ -39163,6 +40022,7 @@ "DataInputConfig": { "target": "com.amazonaws.sagemaker#DataInputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The input configuration object for the model.

", "smithy.api#required": {} } @@ -39192,7 +40052,6 @@ "ValueInMilliseconds": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The model latency percentile value in milliseconds.

" } } @@ -39219,6 +40078,7 @@ "Name": { "target": "com.amazonaws.sagemaker#ModelMetadataFilterType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the of the model to filter by.

", "smithy.api#required": {} } @@ -39226,6 +40086,7 @@ "Value": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value to filter the model metadata.

", "smithy.api#required": {} } @@ -39302,6 +40163,7 @@ "Domain": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The machine learning domain of the model.

", "smithy.api#required": {} } @@ -39309,6 +40171,7 @@ "Framework": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The machine learning framework of the model.

", "smithy.api#required": {} } @@ -39316,6 +40179,7 @@ "Task": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The machine learning task of the model.

", "smithy.api#required": {} } @@ -39323,6 +40187,7 @@ "Model": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model.

", "smithy.api#required": {} } @@ -39330,6 +40195,7 @@ "FrameworkVersion": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The framework version of the model.

", "smithy.api#required": {} } @@ -39463,7 +40329,6 @@ "CertifyForMarketplace": { "target": "com.amazonaws.sagemaker#CertifyForMarketplace", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For\n information about listing model packages on Amazon Web Services Marketplace, see List Your\n Algorithm or Model Package on Amazon Web Services Marketplace.

" } }, @@ -39596,6 +40461,7 @@ "Image": { "target": "com.amazonaws.sagemaker#ContainerImage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

\n

If you are using your own custom algorithm instead of an algorithm provided by SageMaker,\n the inference code must meet SageMaker requirements. SageMaker supports both\n registry/repository[:tag] and registry/repository[@digest]\n image path formats. For more information, see Using Your Own Algorithms with Amazon\n SageMaker.

", "smithy.api#required": {} } @@ -39802,6 +40668,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group.

", "smithy.api#required": {} } @@ -39809,6 +40676,7 @@ "ModelPackageGroupArn": { "target": "com.amazonaws.sagemaker#ModelPackageGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model group.

", "smithy.api#required": {} } @@ -39822,6 +40690,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the model group was created.

", "smithy.api#required": {} } @@ -39829,6 +40698,7 @@ "ModelPackageGroupStatus": { "target": "com.amazonaws.sagemaker#ModelPackageGroupStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the model group.

", "smithy.api#required": {} } @@ -39902,6 +40772,7 @@ "ValidationStatuses": { "target": "com.amazonaws.sagemaker#ModelPackageStatusItemList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The validation status of the model package.

", "smithy.api#required": {} } @@ -39923,6 +40794,7 @@ "Name": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model package for which the overall status is being reported.

", "smithy.api#required": {} } @@ -39930,6 +40802,7 @@ "Status": { "target": "com.amazonaws.sagemaker#DetailedModelPackageStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status.

", "smithy.api#required": {} } @@ -39966,6 +40839,7 @@ "ModelPackageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model package.

", "smithy.api#required": {} } @@ -39985,6 +40859,7 @@ "ModelPackageArn": { "target": "com.amazonaws.sagemaker#ModelPackageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model package.

", "smithy.api#required": {} } @@ -39998,6 +40873,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#CreationTime", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the model package was created.

", "smithy.api#required": {} } @@ -40005,6 +40881,7 @@ "ModelPackageStatus": { "target": "com.amazonaws.sagemaker#ModelPackageStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The overall status of the model package.

", "smithy.api#required": {} } @@ -40055,6 +40932,7 @@ "ProfileName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the profile for the model package.

", "smithy.api#required": {} } @@ -40062,6 +40940,7 @@ "TransformJobDefinition": { "target": "com.amazonaws.sagemaker#TransformJobDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The TransformJobDefinition object that describes the transform job used\n for the validation of the model package.

", "smithy.api#required": {} } @@ -40089,6 +40968,7 @@ "ValidationRole": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IAM roles to be used for the validation of the model package.

", "smithy.api#required": {} } @@ -40096,6 +40976,7 @@ "ValidationProfiles": { "target": "com.amazonaws.sagemaker#ModelPackageValidationProfiles", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of ModelPackageValidationProfile objects, each of which\n specifies a batch transform job that SageMaker runs to validate your model package.

", "smithy.api#required": {} } @@ -40139,6 +41020,7 @@ "ImageUri": { "target": "com.amazonaws.sagemaker#ImageUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The address of the container image that the monitoring job runs.

", "smithy.api#required": {} } @@ -40216,6 +41098,7 @@ "GroundTruthS3Input": { "target": "com.amazonaws.sagemaker#MonitoringGroundTruthS3Input", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ground truth label provided for the model.

", "smithy.api#required": {} } @@ -40290,6 +41173,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model that you want a summary for.

", "smithy.api#required": {} } @@ -40297,6 +41181,7 @@ "ModelArn": { "target": "com.amazonaws.sagemaker#ModelArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model.

", "smithy.api#required": {} } @@ -40304,6 +41189,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates when the model was created.

", "smithy.api#required": {} } @@ -40363,6 +41249,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon SageMaker Model entity.

", "smithy.api#required": {} } @@ -40370,6 +41257,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#ModelVariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the variant.

", "smithy.api#required": {} } @@ -40377,6 +41265,7 @@ "InfrastructureConfig": { "target": "com.amazonaws.sagemaker#ModelInfrastructureConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for the infrastructure that the model will be deployed to.

", "smithy.api#required": {} } @@ -40404,6 +41293,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon SageMaker Model entity.

", "smithy.api#required": {} } @@ -40411,6 +41301,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#ModelVariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the variant.

", "smithy.api#required": {} } @@ -40418,6 +41309,7 @@ "InfrastructureConfig": { "target": "com.amazonaws.sagemaker#ModelInfrastructureConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration of the infrastructure that the model has been deployed to.

", "smithy.api#required": {} } @@ -40425,6 +41317,7 @@ "Status": { "target": "com.amazonaws.sagemaker#ModelVariantStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of deployment for the model variant on the hosted inference endpoint.

\n ", "smithy.api#required": {} } @@ -40528,6 +41421,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a monitoring schedule.

", "smithy.api#required": {} } @@ -40535,6 +41429,7 @@ "MonitoringAlertName": { "target": "com.amazonaws.sagemaker#MonitoringAlertName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a monitoring alert.

", "smithy.api#required": {} } @@ -40542,6 +41437,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates when the first alert transition occurred in an alert history.\n An alert transition can be from status InAlert to OK, \n or from OK to InAlert.

", "smithy.api#required": {} } @@ -40549,6 +41445,7 @@ "AlertStatus": { "target": "com.amazonaws.sagemaker#MonitoringAlertStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current alert status of an alert.

", "smithy.api#required": {} } @@ -40591,6 +41488,7 @@ "MonitoringAlertName": { "target": "com.amazonaws.sagemaker#MonitoringAlertName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a monitoring alert.

", "smithy.api#required": {} } @@ -40598,6 +41496,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates when a monitor alert was created.

", "smithy.api#required": {} } @@ -40605,6 +41504,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates when a monitor alert was last updated.

", "smithy.api#required": {} } @@ -40612,6 +41512,7 @@ "AlertStatus": { "target": "com.amazonaws.sagemaker#MonitoringAlertStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The current status of an alert.

", "smithy.api#required": {} } @@ -40619,6 +41520,7 @@ "DatapointsToAlert": { "target": "com.amazonaws.sagemaker#MonitoringDatapointsToAlert", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Within EvaluationPeriod, how many execution failures will raise an\n alert.

", "smithy.api#required": {} } @@ -40626,6 +41528,7 @@ "EvaluationPeriod": { "target": "com.amazonaws.sagemaker#MonitoringEvaluationPeriod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of most recent monitoring executions to consider when evaluating alert\n status.

", "smithy.api#required": {} } @@ -40633,6 +41536,7 @@ "Actions": { "target": "com.amazonaws.sagemaker#MonitoringAlertActions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of alert actions taken in response to an alert going into\n InAlert status.

", "smithy.api#required": {} } @@ -40660,6 +41564,7 @@ "ImageUri": { "target": "com.amazonaws.sagemaker#ImageUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The container image to be run by the monitoring job.

", "smithy.api#required": {} } @@ -40725,6 +41630,7 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#ProcessingInstanceCount", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of ML compute instances to use in the model monitoring job. For distributed\n processing jobs, specify a value greater than 1. The default value is 1.

", "smithy.api#required": {} } @@ -40732,6 +41638,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#ProcessingInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ML compute instance type for the processing job.

", "smithy.api#required": {} } @@ -40739,6 +41646,7 @@ "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#ProcessingVolumeSizeInGB", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The size of the ML storage volume, in gigabytes, that you want to provision. You must\n specify sufficient ML storage for your scenario.

", "smithy.api#required": {} } @@ -40786,7 +41694,6 @@ "Header": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the CSV data has a header.

" } } @@ -40883,6 +41790,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring schedule.

", "smithy.api#required": {} } @@ -40890,6 +41798,7 @@ "ScheduledTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time the monitoring job was scheduled.

", "smithy.api#required": {} } @@ -40897,6 +41806,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the monitoring job was created.

", "smithy.api#required": {} } @@ -40904,6 +41814,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that indicates the last time the monitoring job was modified.

", "smithy.api#required": {} } @@ -40911,6 +41822,7 @@ "MonitoringExecutionStatus": { "target": "com.amazonaws.sagemaker#ExecutionStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the monitoring job.

", "smithy.api#required": {} } @@ -41014,6 +41926,7 @@ "MonitoringInputs": { "target": "com.amazonaws.sagemaker#MonitoringInputs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker Endpoint.

", "smithy.api#required": {} } @@ -41021,6 +41934,7 @@ "MonitoringOutputConfig": { "target": "com.amazonaws.sagemaker#MonitoringOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The array of outputs from the monitoring job to be uploaded to Amazon S3.

", "smithy.api#required": {} } @@ -41028,6 +41942,7 @@ "MonitoringResources": { "target": "com.amazonaws.sagemaker#MonitoringResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the resources, ML compute instances, and ML storage volumes to deploy for a\n monitoring job. In distributed processing, you specify more than one instance.

", "smithy.api#required": {} } @@ -41035,6 +41950,7 @@ "MonitoringAppSpecification": { "target": "com.amazonaws.sagemaker#MonitoringAppSpecification", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Configures the monitoring job to run a specified Docker container image.

", "smithy.api#required": {} } @@ -41060,6 +41976,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can \n assume to perform tasks on your behalf.

", "smithy.api#required": {} } @@ -41112,6 +42029,7 @@ "MonitoringJobDefinitionName": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring job.

", "smithy.api#required": {} } @@ -41119,6 +42037,7 @@ "MonitoringJobDefinitionArn": { "target": "com.amazonaws.sagemaker#MonitoringJobDefinitionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitoring job.

", "smithy.api#required": {} } @@ -41126,6 +42045,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the monitoring job was created.

", "smithy.api#required": {} } @@ -41133,6 +42053,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint that the job monitors.

", "smithy.api#required": {} } @@ -41154,7 +42075,6 @@ "Line": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the file should be read as a JSON object per line.

" } } @@ -41166,7 +42086,6 @@ "com.amazonaws.sagemaker#MonitoringMaxRuntimeInSeconds": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 86400 @@ -41179,14 +42098,12 @@ "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to encrypt all communications between the instances used for the monitoring\n jobs. Choose True to encrypt communications. Encryption provides greater\n security for distributed jobs, but the processing might take longer.

" } }, "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to allow inbound and outbound network calls to and from the containers used for\n the monitoring job.

" } }, @@ -41204,6 +42121,7 @@ "S3Output": { "target": "com.amazonaws.sagemaker#MonitoringS3Output", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 storage location where the results of a monitoring job are\n saved.

", "smithy.api#required": {} } @@ -41219,6 +42137,7 @@ "MonitoringOutputs": { "target": "com.amazonaws.sagemaker#MonitoringOutputs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Monitoring outputs for monitoring jobs. This is where the output of the periodic\n monitoring jobs is uploaded.

", "smithy.api#required": {} } @@ -41282,6 +42201,7 @@ "ClusterConfig": { "target": "com.amazonaws.sagemaker#MonitoringClusterConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for the cluster resources used to run the processing job.

", "smithy.api#required": {} } @@ -41297,6 +42217,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#MonitoringS3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A URI that identifies the Amazon S3 storage location where Amazon SageMaker\n saves the results of a monitoring job.

", "smithy.api#required": {} } @@ -41304,6 +42225,7 @@ "LocalPath": { "target": "com.amazonaws.sagemaker#ProcessingLocalPath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The local path to the Amazon S3 storage location where Amazon SageMaker\n saves the results of a monitoring job. LocalPath is an absolute path for the output\n data.

", "smithy.api#required": {} } @@ -41484,6 +42406,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring schedule.

", "smithy.api#required": {} } @@ -41491,6 +42414,7 @@ "MonitoringScheduleArn": { "target": "com.amazonaws.sagemaker#MonitoringScheduleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitoring schedule.

", "smithy.api#required": {} } @@ -41498,6 +42422,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The creation time of the monitoring schedule.

", "smithy.api#required": {} } @@ -41505,6 +42430,7 @@ "LastModifiedTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The last time the monitoring schedule was modified.

", "smithy.api#required": {} } @@ -41512,6 +42438,7 @@ "MonitoringScheduleStatus": { "target": "com.amazonaws.sagemaker#ScheduleStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the monitoring schedule.

", "smithy.api#required": {} } @@ -41565,7 +42492,7 @@ "MaxRuntimeInSeconds": { "target": "com.amazonaws.sagemaker#MonitoringMaxRuntimeInSeconds", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum runtime allowed in seconds.

\n \n

The MaxRuntimeInSeconds cannot exceed the frequency of the job. For data\n quality and model explainability, this can be up to 3600 seconds for an hourly schedule.\n For model bias and model quality hourly schedules, this can be up to 1800\n seconds.

\n
", "smithy.api#required": {} } @@ -41654,6 +42581,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.sagemaker#NeoVpcSecurityGroupIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the\n security groups for the VPC that is specified in the Subnets field.

", "smithy.api#required": {} } @@ -41661,6 +42589,7 @@ "Subnets": { "target": "com.amazonaws.sagemaker#NeoVpcSubnets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the subnets in the VPC that you want to connect the compilation job to for\n accessing the model in Amazon S3.

", "smithy.api#required": {} } @@ -41720,6 +42649,7 @@ "NestedPropertyName": { "target": "com.amazonaws.sagemaker#ResourcePropertyName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the property to use in the nested filters. The value must match a listed property name,\n such as InputDataConfig.

", "smithy.api#required": {} } @@ -41727,6 +42657,7 @@ "Filters": { "target": "com.amazonaws.sagemaker#FilterList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of filters. Each filter acts on a property. Filters must contain at least one\n Filters value. For example, a NestedFilters call might\n include a filter on the PropertyName parameter of the\n InputDataConfig property:\n InputDataConfig.DataSource.S3DataSource.S3Uri.

", "smithy.api#required": {} } @@ -41754,14 +42685,12 @@ "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to encrypt all communications between distributed processing jobs. Choose\n True to encrypt communications. Encryption provides greater security for distributed\n processing jobs, but the processing might take longer.

" } }, "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to allow inbound and outbound network calls to and from the containers used for\n the processing job.

" } }, @@ -41939,6 +42868,7 @@ "NotebookInstanceLifecycleConfigName": { "target": "com.amazonaws.sagemaker#NotebookInstanceLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle configuration.

", "smithy.api#required": {} } @@ -41946,6 +42876,7 @@ "NotebookInstanceLifecycleConfigArn": { "target": "com.amazonaws.sagemaker#NotebookInstanceLifecycleConfigArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the lifecycle configuration.

", "smithy.api#required": {} } @@ -42100,6 +43031,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the notebook instance that you want a summary for.

", "smithy.api#required": {} } @@ -42107,6 +43039,7 @@ "NotebookInstanceArn": { "target": "com.amazonaws.sagemaker#NotebookInstanceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the notebook instance.

", "smithy.api#required": {} } @@ -42262,7 +43195,6 @@ "com.amazonaws.sagemaker#ObjectiveStatusCounter": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -42274,21 +43206,18 @@ "Succeeded": { "target": "com.amazonaws.sagemaker#ObjectiveStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs whose final objective metric was evaluated by the\n hyperparameter tuning job and used in the hyperparameter tuning process.

" } }, "Pending": { "target": "com.amazonaws.sagemaker#ObjectiveStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs that are in progress and pending evaluation of their final\n objective metric.

" } }, "Failed": { "target": "com.amazonaws.sagemaker#ObjectiveStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs whose final objective metric was not evaluated and used in\n the hyperparameter tuning process. This typically occurs when the training job failed or\n did not emit an objective metric.

" } } @@ -42303,6 +43232,7 @@ "S3StorageConfig": { "target": "com.amazonaws.sagemaker#S3StorageConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Simple Storage (Amazon S3) location of OfflineStore.

", "smithy.api#required": {} } @@ -42310,7 +43240,6 @@ "DisableGlueTableCreation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to True to disable the automatic creation of an Amazon Web Services Glue\n table when configuring an OfflineStore. If set to False, Feature\n Store will name the OfflineStore Glue table following Athena's\n naming recommendations.

\n

The default value is False.

" } }, @@ -42337,6 +43266,7 @@ "Status": { "target": "com.amazonaws.sagemaker#OfflineStoreStatusValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An OfflineStore status.

", "smithy.api#required": {} } @@ -42381,6 +43311,7 @@ "ClientId": { "target": "com.amazonaws.sagemaker#ClientId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP client ID used to configure your private workforce.

", "smithy.api#required": {} } @@ -42388,6 +43319,7 @@ "ClientSecret": { "target": "com.amazonaws.sagemaker#ClientSecret", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP client secret used to configure your private workforce.

", "smithy.api#required": {} } @@ -42395,6 +43327,7 @@ "Issuer": { "target": "com.amazonaws.sagemaker#OidcEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP issuer used to configure your private workforce.

", "smithy.api#required": {} } @@ -42402,6 +43335,7 @@ "AuthorizationEndpoint": { "target": "com.amazonaws.sagemaker#OidcEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP authorization endpoint used to configure your private workforce.

", "smithy.api#required": {} } @@ -42409,6 +43343,7 @@ "TokenEndpoint": { "target": "com.amazonaws.sagemaker#OidcEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP token endpoint used to configure your private workforce.

", "smithy.api#required": {} } @@ -42416,6 +43351,7 @@ "UserInfoEndpoint": { "target": "com.amazonaws.sagemaker#OidcEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP user information endpoint used to configure your private workforce.

", "smithy.api#required": {} } @@ -42423,6 +43359,7 @@ "LogoutEndpoint": { "target": "com.amazonaws.sagemaker#OidcEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP logout endpoint used to configure your private workforce.

", "smithy.api#required": {} } @@ -42430,6 +43367,7 @@ "JwksUri": { "target": "com.amazonaws.sagemaker#OidcEndpoint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.

", "smithy.api#required": {} } @@ -42505,6 +43443,7 @@ "Groups": { "target": "com.amazonaws.sagemaker#Groups", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of comma seperated strings that identifies\n user groups in your OIDC IdP. Each user group is\n made up of a group of private workers.

", "smithy.api#required": {} } @@ -42526,7 +43465,6 @@ "EnableOnlineStore": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Turn OnlineStore off by specifying False for the\n EnableOnlineStore flag. Turn OnlineStore on by specifying\n True for the EnableOnlineStore flag.

\n

The default value is False.

" } }, @@ -42652,7 +43590,6 @@ "com.amazonaws.sagemaker#OptionalVolumeSizeInGB": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -42698,6 +43635,7 @@ "S3OutputLocation": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For\n example, s3://bucket-name/key-name-prefix.

", "smithy.api#required": {} } @@ -42743,6 +43681,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the S3 path where you want SageMaker to store the model artifacts. For\n example, s3://bucket-name/key-name-prefix.

", "smithy.api#required": {} } @@ -42764,6 +43703,7 @@ "Name": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the output parameter.

", "smithy.api#required": {} } @@ -42771,6 +43711,7 @@ "Value": { "target": "com.amazonaws.sagemaker#String1024", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the output parameter.

", "smithy.api#required": {} } @@ -42808,7 +43749,7 @@ "MaxParallelExecutionSteps": { "target": "com.amazonaws.sagemaker#MaxParallelExecutionSteps", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The max number of steps that can be executed in parallel.

", "smithy.api#required": {} } @@ -42824,6 +43765,7 @@ "Name": { "target": "com.amazonaws.sagemaker#PipelineParameterName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the parameter to assign a value to. This \n parameter name must match a named parameter in the \n pipeline definition.

", "smithy.api#required": {} } @@ -42831,6 +43773,7 @@ "Value": { "target": "com.amazonaws.sagemaker#String1024", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The literal value for the parameter.

", "smithy.api#required": {} } @@ -43039,6 +43982,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint configuration used in the deployment.

", "smithy.api#required": {} } @@ -43072,6 +44016,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#VariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the variant.

", "smithy.api#required": {} } @@ -43155,7 +44100,6 @@ "com.amazonaws.sagemaker#Percentage": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "max": 100 } @@ -43304,6 +44248,7 @@ "Bucket": { "target": "com.amazonaws.sagemaker#BucketName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the S3 bucket.

", "smithy.api#required": {} } @@ -43311,6 +44256,7 @@ "ObjectKey": { "target": "com.amazonaws.sagemaker#Key", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The object key (or key name) uniquely identifies the \n object in an S3 bucket.

", "smithy.api#required": {} } @@ -43542,7 +44488,6 @@ "AttemptCount": { "target": "com.amazonaws.sagemaker#IntegerValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.

" } }, @@ -43927,6 +44872,7 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#ProcessingInstanceCount", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of ML compute instances to use in the processing job. For distributed\n processing jobs, specify a value greater than 1. The default value is 1.

", "smithy.api#required": {} } @@ -43934,6 +44880,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#ProcessingInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ML compute instance type for the processing job.

", "smithy.api#required": {} } @@ -43941,6 +44888,7 @@ "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#ProcessingVolumeSizeInGB", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The size of the ML storage volume in gigabytes that you want to provision. You must\n specify sufficient ML storage for your scenario.

\n \n

Certain Nitro-based instances include local storage with a fixed total size,\n dependent on the instance type. When using these instances for processing, Amazon SageMaker mounts\n the local instance storage instead of Amazon EBS gp2 storage. You can't request a\n VolumeSizeInGB greater than the total size of the local instance\n storage.

\n

For a list of instance types that support local instance storage, including the\n total size per instance type, see Instance Store Volumes.

\n
", "smithy.api#required": {} } @@ -43997,6 +44945,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Amazon SageMaker FeatureGroup to use as the destination for processing job output. Note that your \n processing script is responsible for putting records into your Feature Store.

", "smithy.api#required": {} } @@ -44012,6 +44961,7 @@ "InputName": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the processing job input.

", "smithy.api#required": {} } @@ -44019,7 +44969,6 @@ "AppManaged": { "target": "com.amazonaws.sagemaker#AppManaged", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

When True, input operations such as data download are managed natively by the\n processing job application. When False (default), input operations are managed by Amazon SageMaker.

" } }, @@ -44533,6 +45482,7 @@ "ProcessingJobName": { "target": "com.amazonaws.sagemaker#ProcessingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the processing job.

", "smithy.api#required": {} } @@ -44540,6 +45490,7 @@ "ProcessingJobArn": { "target": "com.amazonaws.sagemaker#ProcessingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the processing job..

", "smithy.api#required": {} } @@ -44547,6 +45498,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time at which the processing job was created.

", "smithy.api#required": {} } @@ -44566,6 +45518,7 @@ "ProcessingJobStatus": { "target": "com.amazonaws.sagemaker#ProcessingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the processing job.

", "smithy.api#required": {} } @@ -44600,7 +45553,6 @@ "com.amazonaws.sagemaker#ProcessingMaxRuntimeInSeconds": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 604800 @@ -44613,6 +45565,7 @@ "OutputName": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name for the processing job output.

", "smithy.api#required": {} } @@ -44632,7 +45585,6 @@ "AppManaged": { "target": "com.amazonaws.sagemaker#AppManaged", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

When True, output operations such as data upload are managed natively by the\n processing job application. When False (default), output operations are managed by\n Amazon SageMaker.

" } } @@ -44647,6 +45599,7 @@ "Outputs": { "target": "com.amazonaws.sagemaker#ProcessingOutputs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of outputs configuring the data to upload from the processing container.

", "smithy.api#required": {} } @@ -44680,6 +45633,7 @@ "ClusterConfig": { "target": "com.amazonaws.sagemaker#ProcessingClusterConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration for the resources in a cluster used to run the processing\n job.

", "smithy.api#required": {} } @@ -44746,6 +45700,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.

", "smithy.api#required": {} } @@ -44759,6 +45714,7 @@ "S3DataType": { "target": "com.amazonaws.sagemaker#ProcessingS3DataType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether you use an S3Prefix or a ManifestFile for\n the data type. If you choose S3Prefix, S3Uri identifies a key\n name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing\n job. If you choose ManifestFile, S3Uri identifies an object\n that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for\n the processing job.

", "smithy.api#required": {} } @@ -44809,6 +45765,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to save the results of\n a processing job.

", "smithy.api#required": {} } @@ -44816,6 +45773,7 @@ "LocalPath": { "target": "com.amazonaws.sagemaker#ProcessingLocalPath", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The local path of a directory where you want Amazon SageMaker to upload its contents to Amazon S3. \n LocalPath is an absolute path to a directory containing output files. \n This directory will be created by the platform and exist when your container's \n entrypoint is invoked.

", "smithy.api#required": {} } @@ -44823,6 +45781,7 @@ "S3UploadMode": { "target": "com.amazonaws.sagemaker#ProcessingS3UploadMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to upload the results of the processing job continuously or after the job\n completes.

", "smithy.api#required": {} } @@ -44855,7 +45814,7 @@ "MaxRuntimeInSeconds": { "target": "com.amazonaws.sagemaker#ProcessingMaxRuntimeInSeconds", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the maximum runtime in seconds.

", "smithy.api#required": {} } @@ -44913,6 +45872,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#VariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the production variant.

", "smithy.api#required": {} } @@ -44920,6 +45880,7 @@ "ModelName": { "target": "com.amazonaws.sagemaker#ModelName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model that you want to host. This is the name that you specified\n when creating the model.

", "smithy.api#required": {} } @@ -45045,6 +46006,7 @@ "DestinationS3Uri": { "target": "com.amazonaws.sagemaker#DestinationS3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 bucket to send the core dump to.

", "smithy.api#required": {} } @@ -45983,6 +46945,7 @@ "MemorySizeInMB": { "target": "com.amazonaws.sagemaker#ServerlessMemorySizeInMB", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.

", "smithy.api#required": {} } @@ -45990,6 +46953,7 @@ "MaxConcurrency": { "target": "com.amazonaws.sagemaker#ServerlessMaxConcurrency", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum number of concurrent invocations your serverless endpoint can process.

", "smithy.api#required": {} } @@ -46031,6 +46995,7 @@ "Status": { "target": "com.amazonaws.sagemaker#VariantStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The endpoint variant status which describes the current deployment stage status or\n operational status.

\n ", "smithy.api#required": {} } @@ -46070,6 +47035,7 @@ "VariantName": { "target": "com.amazonaws.sagemaker#VariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the variant.

", "smithy.api#required": {} } @@ -46171,7 +47137,6 @@ "DisableProfiler": { "target": "com.amazonaws.sagemaker#DisableProfiler", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Configuration to turn off Amazon SageMaker Debugger's system monitoring and profiling functionality. To turn it off, set to True.

" } } @@ -46204,7 +47169,6 @@ "DisableProfiler": { "target": "com.amazonaws.sagemaker#DisableProfiler", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To turn off Amazon SageMaker Debugger monitoring and profiling while a training job is in progress, set to True.

" } } @@ -46219,6 +47183,7 @@ "RuleConfigurationName": { "target": "com.amazonaws.sagemaker#RuleConfigurationName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the rule configuration. It must be unique relative to other rule configuration names.

", "smithy.api#required": {} } @@ -46238,6 +47203,7 @@ "RuleEvaluatorImage": { "target": "com.amazonaws.sagemaker#AlgorithmImage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Elastic Container Registry Image for the managed rule evaluation.

", "smithy.api#required": {} } @@ -46251,7 +47217,6 @@ "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#OptionalVolumeSizeInGB", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size, in GB, of the ML storage volume attached to the processing instance.

" } }, @@ -46579,6 +47544,7 @@ "ProjectName": { "target": "com.amazonaws.sagemaker#ProjectEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the project.

", "smithy.api#required": {} } @@ -46592,6 +47558,7 @@ "ProjectArn": { "target": "com.amazonaws.sagemaker#ProjectArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the project.

", "smithy.api#required": {} } @@ -46599,6 +47566,7 @@ "ProjectId": { "target": "com.amazonaws.sagemaker#ProjectId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the project.

", "smithy.api#required": {} } @@ -46606,6 +47574,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time that the project was created.

", "smithy.api#required": {} } @@ -46613,6 +47582,7 @@ "ProjectStatus": { "target": "com.amazonaws.sagemaker#ProjectStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the project.

", "smithy.api#required": {} } @@ -46644,6 +47614,7 @@ "PropertyNameHint": { "target": "com.amazonaws.sagemaker#PropertyNameHint", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Text that begins a property's name.

", "smithy.api#required": {} } @@ -46757,6 +47728,7 @@ "ModelPackageGroupName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model group to add a resource policy to.

", "smithy.api#required": {} } @@ -46764,6 +47736,7 @@ "ResourcePolicy": { "target": "com.amazonaws.sagemaker#PolicyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource policy for the model group.

", "smithy.api#required": {} } @@ -46779,6 +47752,7 @@ "ModelPackageGroupArn": { "target": "com.amazonaws.sagemaker#ModelPackageGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model package group.

", "smithy.api#required": {} } @@ -46842,14 +47816,12 @@ "SkipCheck": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

This flag indicates if the drift check against the previous baseline will be skipped or not. \n If it is set to False, the previous baseline of the configured check type must be available.

" } }, "RegisterNewBaseline": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

This flag indicates if a newly calculated baseline can be accessed through step properties \n BaselineUsedForDriftCheckConstraints and BaselineUsedForDriftCheckStatistics. \n If it is set to False, the previous baseline of the configured check type must also be available. \n These can be accessed through the BaselineUsedForDriftCheckConstraints and \n BaselineUsedForDriftCheckStatistics properties.

" } } @@ -46964,7 +47936,6 @@ "IncludeEdges": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Setting this value to True retrieves not only the entities of interest but also the \n Associations and \n lineage entities on the path. Set to False to only return lineage entities that match your query.

" } }, @@ -47134,6 +48105,7 @@ "DomainExecutionRoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the execution role for the RStudioServerPro Domain-level\n app.

", "smithy.api#required": {} } @@ -47164,6 +48136,7 @@ "DomainExecutionRoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The execution role for the RStudioServerPro Domain-level app.

", "smithy.api#required": {} } @@ -47219,6 +48192,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#InstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The instance type the model is deployed to.

", "smithy.api#required": {} } @@ -47226,6 +48200,7 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#TaskCount", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of instances of the type specified by InstanceType.

", "smithy.api#required": {} } @@ -47241,6 +48216,7 @@ "RecommendationId": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The recommendation ID which uniquely identifies each recommendation.

", "smithy.api#required": {} } @@ -47248,6 +48224,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#ProductionVariantInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The recommended instance type for Real-Time Inference.

", "smithy.api#required": {} } @@ -47417,6 +48394,7 @@ "ModelConfiguration": { "target": "com.amazonaws.sagemaker#ModelConfiguration", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -47631,7 +48609,6 @@ "MaxInvocations": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests per minute expected for the endpoint.

" } }, @@ -47720,6 +48697,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.sagemaker#RecommendationJobVpcSecurityGroupIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC security group IDs. IDs have the form of sg-xxxxxxxx.\n Specify the security groups for the VPC that is specified in the Subnets field.

", "smithy.api#required": {} } @@ -47727,6 +48705,7 @@ "Subnets": { "target": "com.amazonaws.sagemaker#RecommendationJobVpcSubnets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the subnets in the VPC to which you want to connect your model.

", "smithy.api#required": {} } @@ -47786,7 +48765,7 @@ "CostPerHour": { "target": "com.amazonaws.sagemaker#Float", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the cost per hour for the instance.

", "smithy.api#required": {} } @@ -47794,7 +48773,7 @@ "CostPerInference": { "target": "com.amazonaws.sagemaker#Float", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Defines the cost per inference for the instance .

", "smithy.api#required": {} } @@ -47802,7 +48781,7 @@ "MaxInvocations": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The expected maximum number of requests per minute for the instance.

", "smithy.api#required": {} } @@ -47810,7 +48789,7 @@ "ModelLatency": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The expected model latency at maximum invocation per minute for the instance.

", "smithy.api#required": {} } @@ -47923,30 +48902,35 @@ "ClusterId": { "target": "com.amazonaws.sagemaker#RedshiftClusterId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Database": { "target": "com.amazonaws.sagemaker#RedshiftDatabase", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "DbUser": { "target": "com.amazonaws.sagemaker#RedshiftUserName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "QueryString": { "target": "com.amazonaws.sagemaker#RedshiftQueryString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ClusterRoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.

", "smithy.api#required": {} } @@ -47954,6 +48938,7 @@ "OutputS3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location in Amazon S3 where the Redshift query results are stored.

", "smithy.api#required": {} } @@ -47967,6 +48952,7 @@ "OutputFormat": { "target": "com.amazonaws.sagemaker#RedshiftResultFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -48081,6 +49067,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -48088,6 +49075,7 @@ "Devices": { "target": "com.amazonaws.sagemaker#Devices", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of devices to register with SageMaker Edge Manager.

", "smithy.api#required": {} } @@ -48156,6 +49144,7 @@ "Task": { "target": "com.amazonaws.sagemaker#RenderableTask", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A RenderableTask object containing a representative task to\n render.

", "smithy.api#required": {} } @@ -48163,6 +49152,7 @@ "RoleArn": { "target": "com.amazonaws.sagemaker#RoleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the\n template.

", "smithy.api#required": {} } @@ -48184,6 +49174,7 @@ "RenderedContent": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Liquid template that renders the HTML for the worker UI.

", "smithy.api#required": {} } @@ -48191,6 +49182,7 @@ "Errors": { "target": "com.amazonaws.sagemaker#RenderingErrorList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of one or more RenderingError objects if any were encountered\n while rendering the template. If there were no errors, the list is empty.

", "smithy.api#required": {} } @@ -48206,6 +49198,7 @@ "Input": { "target": "com.amazonaws.sagemaker#TaskInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A JSON object that contains values for the variables defined in the template. It is\n made available to the template under the substitution variable task.input.\n For example, if you define a variable task.input.text in your template, you\n can supply the variable in the JSON object as \"text\": \"sample text\".

", "smithy.api#required": {} } @@ -48221,6 +49214,7 @@ "Code": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique identifier for a specific class of errors.

", "smithy.api#required": {} } @@ -48228,6 +49222,7 @@ "Message": { "target": "com.amazonaws.sagemaker#String", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A human-readable message describing the error.

", "smithy.api#required": {} } @@ -48266,6 +49261,7 @@ "RepositoryCredentialsProviderArn": { "target": "com.amazonaws.sagemaker#RepositoryCredentialsProviderArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function that provides\n credentials to authenticate to the private Docker registry where your model image is\n hosted. For information about how to create an Amazon Web Services Lambda function, see\n Create a Lambda function\n with the console in the Amazon Web Services Lambda Developer\n Guide.

", "smithy.api#required": {} } @@ -48331,6 +49327,7 @@ "ResourceCatalogArn": { "target": "com.amazonaws.sagemaker#ResourceCatalogArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the ResourceCatalog.

", "smithy.api#required": {} } @@ -48338,6 +49335,7 @@ "ResourceCatalogName": { "target": "com.amazonaws.sagemaker#ResourceCatalogName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the ResourceCatalog.

", "smithy.api#required": {} } @@ -48345,6 +49343,7 @@ "Description": { "target": "com.amazonaws.sagemaker#ResourceCatalogDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A free form description of the ResourceCatalog.

", "smithy.api#required": {} } @@ -48352,6 +49351,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The time the ResourceCatalog was created.

", "smithy.api#required": {} } @@ -48435,14 +49435,13 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#TrainingInstanceCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of ML compute instances to use. For distributed training, provide a\n value greater than 1.

" } }, "VolumeSizeInGB": { "target": "com.amazonaws.sagemaker#VolumeSizeInGB", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The size of the ML storage volume that you want to provision.

\n

ML storage volumes store model artifacts and incremental states. Training\n algorithms might also use the ML storage volume for scratch space. If you want to store\n the training data in the ML storage volume, choose File as the\n TrainingInputMode in the algorithm specification.

\n

When using an ML instance with NVMe SSD\n volumes, SageMaker doesn't provision Amazon EBS General Purpose SSD (gp2) storage.\n Available storage is fixed to the NVMe-type instance's storage capacity. SageMaker configures\n storage paths for training datasets, checkpoints, model artifacts, and outputs to use\n the entire capacity of the instance storage. For example, ML instance families with the\n NVMe-type instance storage include ml.p4d, ml.g4dn, and\n ml.g5.

\n

When using an ML instance with the EBS-only storage option and without instance\n storage, you must define the size of EBS volume through VolumeSizeInGB in\n the ResourceConfig API. For example, ML instance families that use EBS\n volumes include ml.c5 and ml.p2.

\n

To look up instance types and their instance storage types and volumes, see Amazon EC2 Instance Types.

\n

To find the default local paths defined by the SageMaker training platform, see Amazon SageMaker\n Training Storage Folders for Training Datasets, Checkpoints, Model Artifacts, and\n Outputs.

", "smithy.api#required": {} } @@ -48476,6 +49475,7 @@ "KeepAlivePeriodInSeconds": { "target": "com.amazonaws.sagemaker#KeepAlivePeriodInSeconds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The KeepAlivePeriodInSeconds value specified in the\n ResourceConfig to update.

", "smithy.api#required": {} } @@ -48530,7 +49530,7 @@ "MaxParallelTrainingJobs": { "target": "com.amazonaws.sagemaker#MaxParallelTrainingJobs", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The maximum number of concurrent training jobs that a hyperparameter tuning job can\n launch.

", "smithy.api#required": {} } @@ -48789,6 +49789,7 @@ "PipelineExecutionArn": { "target": "com.amazonaws.sagemaker#PipelineExecutionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the pipeline execution.

", "smithy.api#required": {} } @@ -48796,6 +49797,7 @@ "ClientRequestToken": { "target": "com.amazonaws.sagemaker#IdempotencyToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than once.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -48832,7 +49834,7 @@ "MaximumRetryAttempts": { "target": "com.amazonaws.sagemaker#MaximumRetryAttempts", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of times to retry the job. When the job is retried, it's\n SecondaryStatus is changed to STARTING.

", "smithy.api#required": {} } @@ -48858,6 +49860,7 @@ "MaximumBatchSize": { "target": "com.amazonaws.sagemaker#CapacitySize", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Batch size for each rolling step to provision capacity and turn on traffic on the new\n endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between\n 5% to 50% of the variant's total instance count.

", "smithy.api#required": {} } @@ -48865,6 +49868,7 @@ "WaitIntervalInSeconds": { "target": "com.amazonaws.sagemaker#WaitIntervalInSeconds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The length of the baking period, during which SageMaker monitors alarms for each batch on\n the new fleet.

", "smithy.api#required": {} } @@ -48992,6 +49996,7 @@ "S3DataType": { "target": "com.amazonaws.sagemaker#S3DataType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If you choose S3Prefix, S3Uri identifies a key name prefix.\n SageMaker uses all objects that match the specified key name prefix for model training.

\n

If you choose ManifestFile, S3Uri identifies an object that\n is a manifest file containing a list of object keys that you want SageMaker to use for model\n training.

\n

If you choose AugmentedManifestFile, S3Uri identifies an object that is\n an augmented manifest file in JSON lines format. This file contains the data you want to\n use for model training. AugmentedManifestFile can only be used if the\n Channel's input mode is Pipe.

", "smithy.api#required": {} } @@ -48999,6 +50004,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Depending on the value specified for the S3DataType, identifies either\n a key name prefix or a manifest. For example:

\n \n

Your input bucket must be located in same Amazon Web Services region as your\n training job.

", "smithy.api#required": {} } @@ -49055,6 +50061,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3ModelUri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the S3 path of ML model data to deploy.

", "smithy.api#required": {} } @@ -49062,6 +50069,7 @@ "S3DataType": { "target": "com.amazonaws.sagemaker#S3ModelDataType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies the type of ML model data to deploy.

\n

If you choose S3Prefix, S3Uri identifies a key name prefix.\n SageMaker uses all objects that match the specified key name prefix as part of the ML model\n data to deploy. A valid key name prefix identified by S3Uri always ends\n with a forward slash (/).

\n

If you choose S3Object, S3Uri identifies an object that is\n the ML model data to deploy.

", "smithy.api#required": {} } @@ -49069,6 +50077,7 @@ "CompressionType": { "target": "com.amazonaws.sagemaker#ModelCompressionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies how the ML model data is prepared.

\n

If you choose Gzip and choose S3Object as the value of\n S3DataType, S3Uri identifies an object that is a\n gzip-compressed TAR archive. SageMaker will attempt to decompress and untar the object during\n model deployment.

\n

If you choose None and chooose S3Object as the value of\n S3DataType, S3Uri identifies an object that represents an\n uncompressed ML model to deploy.

\n

If you choose None and choose S3Prefix as the value of\n S3DataType, S3Uri identifies a key name prefix, under\n which all objects represents the uncompressed ML model to deploy.

\n

If you choose None, then SageMaker will follow rules below when creating model data files\n under /opt/ml/model directory for use by your inference code:

\n ", "smithy.api#required": {} } @@ -49121,6 +50130,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 URI, or location in Amazon S3, of OfflineStore.

\n

S3 URIs have a format similar to the following:\n s3://example-bucket/prefix/.

", "smithy.api#required": {} } @@ -50128,7 +51138,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -50171,7 +51180,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -50184,7 +51194,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -50198,7 +51207,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -50221,7 +51229,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -50256,7 +51263,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -50267,14 +51273,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -50288,14 +51296,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -50304,18 +51310,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws", { "fn": "getAttr", "argv": [ @@ -50324,7 +51329,8 @@ }, "name" ] - } + }, + "aws" ] } ], @@ -50340,7 +51346,6 @@ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -50349,7 +51354,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -50369,14 +51375,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -50390,7 +51398,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -50410,7 +51417,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -50421,14 +51427,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -50439,9 +51447,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -51182,14 +52192,12 @@ "InvocationsPerInstance": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of invocations sent to a model, normalized by InstanceCount\n in each ProductionVariant. 1/numberOfInstances is sent as the value on each\n request, where numberOfInstances is the number of active instances for the\n ProductionVariant behind the endpoint at the time of the request.

" } }, "ModelLatency": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The interval of time taken by a model to respond as viewed from SageMaker.\n This interval includes the local communication times taken to send the request\n and to fetch the response from the container of a model and the time taken to\n complete the inference in the container.

" } } @@ -51204,14 +52212,12 @@ "MinInvocationsPerMinute": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of expected requests to your endpoint per minute.

" } }, "MaxInvocationsPerMinute": { "target": "com.amazonaws.sagemaker#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of expected requests to your endpoint per minute.

" } } @@ -51226,6 +52232,7 @@ "ScheduleExpression": { "target": "com.amazonaws.sagemaker#ScheduleExpression", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A cron expression that describes details about the monitoring schedule.

\n

The supported cron expressions are:

\n \n

For example, the following are valid cron expressions:

\n \n

To support running every 6, 12 hours, the following are also supported:

\n

\n cron(0 [00-23]/[01-24] ? * * *)\n

\n

For example, the following are valid cron expressions:

\n \n \n \n \n

You can also specify the keyword NOW to run the monitoring job immediately,\n one time, without recurring.

", "smithy.api#required": {} } @@ -51430,6 +52437,7 @@ "Resource": { "target": "com.amazonaws.sagemaker#ResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the SageMaker resource to search for.

", "smithy.api#required": {} } @@ -51625,6 +52633,7 @@ "Status": { "target": "com.amazonaws.sagemaker#SecondaryStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Contains a secondary status information from a training\n job.

\n

Status might be one of the following secondary statuses:

\n
\n
InProgress
\n
\n \n
\n
Completed
\n
\n \n
\n
Failed
\n
\n \n
\n
Stopped
\n
\n \n
\n
Stopping
\n
\n \n
\n
\n

We no longer support the following secondary statuses:

\n ", "smithy.api#required": {} } @@ -51632,6 +52641,7 @@ "StartTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the training job transitioned to the current secondary\n status state.

", "smithy.api#required": {} } @@ -51692,10 +52702,7 @@ } }, "com.amazonaws.sagemaker#Seed": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.sagemaker#SelectedStep": { "type": "structure", @@ -51703,6 +52710,7 @@ "StepName": { "target": "com.amazonaws.sagemaker#String256", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the pipeline step.

", "smithy.api#required": {} } @@ -51736,6 +52744,7 @@ "SelectedSteps": { "target": "com.amazonaws.sagemaker#SelectedStepList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of pipeline steps to run. All step(s) in all path(s) between\n two selected steps should be included.

", "smithy.api#required": {} } @@ -51785,6 +52794,7 @@ "CallbackToken": { "target": "com.amazonaws.sagemaker#CallbackToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The pipeline generated token from the Amazon SQS queue.

", "smithy.api#required": {} } @@ -51847,6 +52857,7 @@ "CallbackToken": { "target": "com.amazonaws.sagemaker#CallbackToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The pipeline generated token from the Amazon SQS queue.

", "smithy.api#required": {} } @@ -51946,6 +52957,7 @@ "ProductId": { "target": "com.amazonaws.sagemaker#ServiceCatalogEntityId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the product to provision.

", "smithy.api#required": {} } @@ -52008,6 +53020,7 @@ "SourceModelVariantName": { "target": "com.amazonaws.sagemaker#ModelVariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The name of the production variant, which takes all the inference requests.\n

", "smithy.api#required": {} } @@ -52015,6 +53028,7 @@ "ShadowModelVariants": { "target": "com.amazonaws.sagemaker#ShadowModelVariantConfigList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of shadow variant configurations.

", "smithy.api#required": {} } @@ -52030,6 +53044,7 @@ "ShadowModelVariantName": { "target": "com.amazonaws.sagemaker#ModelVariantName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the shadow variant.

", "smithy.api#required": {} } @@ -52037,7 +53052,7 @@ "SamplingPercentage": { "target": "com.amazonaws.sagemaker#Percentage", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.\n

", "smithy.api#required": {} } @@ -52091,7 +53106,7 @@ "Seed": { "target": "com.amazonaws.sagemaker#Seed", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Determines the shuffling order in ShuffleConfig value.

", "smithy.api#required": {} } @@ -52391,6 +53406,7 @@ "AlgorithmName": { "target": "com.amazonaws.sagemaker#ArnOrName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of an algorithm that was used to create the model package. The algorithm must\n be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

", "smithy.api#required": {} } @@ -52418,6 +53434,7 @@ "SourceAlgorithms": { "target": "com.amazonaws.sagemaker#SourceAlgorithmList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of the algorithms that were used to create a model package.

", "smithy.api#required": {} } @@ -52433,6 +53450,7 @@ "Cidrs": { "target": "com.amazonaws.sagemaker#Cidrs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of one to ten Classless Inter-Domain Routing (CIDR) values.

\n

Maximum: Ten CIDR values

\n \n

The following Length Constraints apply to individual CIDR values in\n the CIDR value list.

\n
", "smithy.api#required": {} } @@ -52737,6 +53755,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan to start.

", "smithy.api#required": {} } @@ -52744,6 +53763,7 @@ "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage to start.

", "smithy.api#required": {} } @@ -52779,6 +53799,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment to start.

", "smithy.api#required": {} } @@ -52794,6 +53815,7 @@ "InferenceExperimentArn": { "target": "com.amazonaws.sagemaker#InferenceExperimentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the started inference experiment to start.

", "smithy.api#required": {} } @@ -52826,6 +53848,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the schedule to start.

", "smithy.api#required": {} } @@ -52858,6 +53881,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the notebook instance to start.

", "smithy.api#required": {} } @@ -52893,6 +53917,7 @@ "PipelineName": { "target": "com.amazonaws.sagemaker#PipelineNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the pipeline.

", "smithy.api#required": {} } @@ -52918,6 +53943,7 @@ "ClientRequestToken": { "target": "com.amazonaws.sagemaker#IdempotencyToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than once.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -53096,6 +54122,7 @@ "AutoMLJobName": { "target": "com.amazonaws.sagemaker#AutoMLJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the object you are requesting.

", "smithy.api#required": {} } @@ -53128,6 +54155,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the model compilation job to stop.

", "smithy.api#required": {} } @@ -53155,6 +54183,7 @@ "EdgeDeploymentPlanName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge deployment plan to stop.

", "smithy.api#required": {} } @@ -53162,6 +54191,7 @@ "StageName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the stage to stop.

", "smithy.api#required": {} } @@ -53189,6 +54219,7 @@ "EdgePackagingJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the edge packaging job.

", "smithy.api#required": {} } @@ -53221,6 +54252,7 @@ "HyperParameterTuningJobName": { "target": "com.amazonaws.sagemaker#HyperParameterTuningJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the tuning job to stop.

", "smithy.api#required": {} } @@ -53256,6 +54288,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment to stop.

", "smithy.api#required": {} } @@ -53263,6 +54296,7 @@ "ModelVariantActions": { "target": "com.amazonaws.sagemaker#ModelVariantActionMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following:\n

\n ", "smithy.api#required": {} } @@ -53296,6 +54330,7 @@ "InferenceExperimentArn": { "target": "com.amazonaws.sagemaker#InferenceExperimentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the stopped inference experiment.

", "smithy.api#required": {} } @@ -53328,6 +54363,7 @@ "JobName": { "target": "com.amazonaws.sagemaker#RecommendationJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the job you want to stop.

", "smithy.api#required": {} } @@ -53360,6 +54396,7 @@ "LabelingJobName": { "target": "com.amazonaws.sagemaker#LabelingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the labeling job to stop.

", "smithy.api#required": {} } @@ -53392,6 +54429,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the schedule to stop.

", "smithy.api#required": {} } @@ -53419,6 +54457,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the notebook instance to terminate.

", "smithy.api#required": {} } @@ -53451,6 +54490,7 @@ "PipelineExecutionArn": { "target": "com.amazonaws.sagemaker#PipelineExecutionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the pipeline execution.

", "smithy.api#required": {} } @@ -53458,6 +54498,7 @@ "ClientRequestToken": { "target": "com.amazonaws.sagemaker#IdempotencyToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n operation. An idempotent operation completes no more than once.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -53505,6 +54546,7 @@ "ProcessingJobName": { "target": "com.amazonaws.sagemaker#ProcessingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the processing job to stop.

", "smithy.api#required": {} } @@ -53537,6 +54579,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the training job to stop.

", "smithy.api#required": {} } @@ -53569,6 +54612,7 @@ "TransformJobName": { "target": "com.amazonaws.sagemaker#TransformJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the batch transform job to stop.

", "smithy.api#required": {} } @@ -53584,7 +54628,6 @@ "MaxRuntimeInSeconds": { "target": "com.amazonaws.sagemaker#MaxRuntimeInSeconds", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum length of time, in seconds, that a training or compilation job can run\n before it is stopped.

\n

For compilation jobs, if the job does not complete during this time, a\n TimeOut error is generated. We recommend starting with 900 seconds and\n increasing as necessary based on your model.

\n

For all other jobs, if the job does not complete during this time, SageMaker ends the job.\n When RetryStrategy is specified in the job request,\n MaxRuntimeInSeconds specifies the maximum time for all of the attempts\n in total, not each individual attempt. The default value is 1 day. The maximum value is\n 28 days.

\n

The maximum time that a TrainingJob can run in total, including any time\n spent publishing metrics or archiving and uploading models after it has been stopped, is\n 30 days.

" } }, @@ -53853,6 +54896,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the vendor that you have subscribed.

", "smithy.api#required": {} } @@ -53893,10 +54937,7 @@ } }, "com.amazonaws.sagemaker#Success": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.sagemaker#SuggestionQuery": { "type": "structure", @@ -53976,7 +55017,6 @@ "GenerateCandidateDefinitionsOnly": { "target": "com.amazonaws.sagemaker#GenerateCandidateDefinitionsOnly", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Generates possible candidates without training the models. A model candidate is a\n combination of data preprocessors, algorithms, and algorithm parameter settings.

" } }, @@ -53989,6 +55029,7 @@ "TargetAttributeName": { "target": "com.amazonaws.sagemaker#TargetAttributeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the target variable in supervised learning, usually represented by\n 'y'.

", "smithy.api#required": {} } @@ -54024,6 +55065,7 @@ "Key": { "target": "com.amazonaws.sagemaker#TagKey", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag key. Tag keys must be unique per resource.

", "smithy.api#required": {} } @@ -54031,6 +55073,7 @@ "Value": { "target": "com.amazonaws.sagemaker#TagValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag value.

", "smithy.api#required": {} } @@ -54319,6 +55362,7 @@ "Os": { "target": "com.amazonaws.sagemaker#TargetPlatformOs", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a target platform OS.

\n ", "smithy.api#required": {} } @@ -54326,6 +55370,7 @@ "Arch": { "target": "com.amazonaws.sagemaker#TargetPlatformArch", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a target platform architecture.

\n ", "smithy.api#required": {} } @@ -54434,7 +55479,6 @@ "TargetValue": { "target": "com.amazonaws.sagemaker#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The recommended target value to specify for the metric when creating a scaling policy.

" } } @@ -54573,6 +55617,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Path to Amazon S3 storage location for TensorBoard output.

", "smithy.api#required": {} } @@ -54585,7 +55630,6 @@ "com.amazonaws.sagemaker#TenthFractionsOfACent": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 9 @@ -54613,6 +55657,7 @@ "ContentColumn": { "target": "com.amazonaws.sagemaker#ContentColumn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the column used to provide the sentences to be classified. It should not be\n the same as the target column.

", "smithy.api#required": {} } @@ -54620,6 +55665,7 @@ "TargetLabelColumn": { "target": "com.amazonaws.sagemaker#TargetLabelColumn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the column used to provide the class labels. It should not be same as the\n content column.

", "smithy.api#required": {} } @@ -54645,6 +55691,7 @@ "TargetAttributeName": { "target": "com.amazonaws.sagemaker#TargetAttributeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the column representing the target variable that you want to predict for\n each item in your dataset. The data type of the target variable must be numerical.

", "smithy.api#required": {} } @@ -54652,6 +55699,7 @@ "TimestampAttributeName": { "target": "com.amazonaws.sagemaker#TimestampAttributeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the column indicating a point in time at which the target value of a given\n item is recorded.

", "smithy.api#required": {} } @@ -54659,6 +55707,7 @@ "ItemIdentifierAttributeName": { "target": "com.amazonaws.sagemaker#ItemIdentifierAttributeName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the column that represents the set of item identifiers for which you want to\n predict the target value.

", "smithy.api#required": {} } @@ -54689,6 +55738,7 @@ "ForecastFrequency": { "target": "com.amazonaws.sagemaker#ForecastFrequency", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The frequency of predictions in a forecast.

\n

Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H\n (Hour), and min (Minute). For example, 1D indicates every day and\n 15min indicates every 15 minutes. The value of a frequency must not overlap\n with the next larger frequency. For example, you must use a frequency of 1H\n instead of 60min.

\n

The valid values for each frequency are the following:

\n ", "smithy.api#required": {} } @@ -54696,6 +55746,7 @@ "ForecastHorizon": { "target": "com.amazonaws.sagemaker#ForecastHorizon", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of time-steps that the model predicts. The forecast horizon is also called\n the prediction length. The maximum forecast horizon is the lesser of 500 time-steps or 1/4\n of the time-steps in the dataset.

", "smithy.api#required": {} } @@ -54715,6 +55766,7 @@ "TimeSeriesConfig": { "target": "com.amazonaws.sagemaker#TimeSeriesConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The collection of components that defines the time-series.

", "smithy.api#required": {} } @@ -54822,6 +55874,7 @@ "Type": { "target": "com.amazonaws.sagemaker#TrafficRoutingConfigType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Traffic routing strategy type.

\n ", "smithy.api#required": {} } @@ -54829,6 +55882,7 @@ "WaitIntervalInSeconds": { "target": "com.amazonaws.sagemaker#WaitIntervalInSeconds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The waiting time (in seconds) between incremental steps to turn on traffic on the\n new endpoint fleet.

", "smithy.api#required": {} } @@ -54975,6 +56029,7 @@ "TrainingRepositoryAccessMode": { "target": "com.amazonaws.sagemaker#TrainingRepositoryAccessMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The method that your training job will use to gain access to the images in your\n private Docker registry. For access to an image in a private Docker registry, set to\n Vpc.

", "smithy.api#required": {} } @@ -55019,7 +56074,6 @@ "com.amazonaws.sagemaker#TrainingInstanceCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -55486,21 +56540,18 @@ "EnableNetworkIsolation": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If the TrainingJob was created with network isolation, the value is set\n to true. If network isolation is enabled, nodes can't communicate beyond\n the VPC they run in.

" } }, "EnableInterContainerTrafficEncryption": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

To encrypt all communications between ML compute instances in distributed training,\n choose True. Encryption provides greater security for distributed training,\n but training might take longer. How long it takes depends on the amount of communication\n between compute instances, especially if you use a deep learning algorithm in\n distributed training.

" } }, "EnableManagedSpotTraining": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

When true, enables managed spot training using Amazon EC2 Spot instances to run\n training jobs instead of on-demand instances. For more information, see Managed Spot Training.

" } }, @@ -55582,6 +56633,7 @@ "TrainingInputMode": { "target": "com.amazonaws.sagemaker#TrainingInputMode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -55594,6 +56646,7 @@ "InputDataConfig": { "target": "com.amazonaws.sagemaker#InputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of Channel objects, each of which specifies an input\n source.

", "smithy.api#required": {} } @@ -55601,6 +56654,7 @@ "OutputDataConfig": { "target": "com.amazonaws.sagemaker#OutputDataConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

the path to the S3 bucket where you want to store model artifacts. SageMaker creates\n subfolders for the artifacts.

", "smithy.api#required": {} } @@ -55608,6 +56662,7 @@ "ResourceConfig": { "target": "com.amazonaws.sagemaker#ResourceConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resources, including the ML compute instances and ML storage volumes, to use for\n model training.

", "smithy.api#required": {} } @@ -55615,6 +56670,7 @@ "StoppingCondition": { "target": "com.amazonaws.sagemaker#StoppingCondition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifies a limit to how long a model training job can run. It also specifies how long\n a managed Spot training job has to complete. When the job reaches the time limit, SageMaker\n ends the training job. Use this API to cap model training costs.

\n

To stop a job, SageMaker sends the algorithm the SIGTERM signal, which delays job\n termination for 120 seconds. Algorithms can use this 120-second window to save the model\n artifacts.

", "smithy.api#required": {} } @@ -55718,7 +56774,6 @@ "com.amazonaws.sagemaker#TrainingJobStatusCounter": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -55730,35 +56785,30 @@ "Completed": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of completed training jobs launched by the hyperparameter tuning\n job.

" } }, "InProgress": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of in-progress training jobs launched by a hyperparameter tuning\n job.

" } }, "RetryableError": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs that failed, but can be retried. A failed training job can\n be retried only if it failed because an internal service error occurred.

" } }, "NonRetryableError": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs that failed and can't be retried. A failed training job\n can't be retried if it failed because a client error occurred.

" } }, "Stopped": { "target": "com.amazonaws.sagemaker#TrainingJobStatusCounter", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of training jobs launched by a hyperparameter tuning job that were\n manually\n stopped.

" } } @@ -55793,6 +56843,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the training job that you want a summary for.

", "smithy.api#required": {} } @@ -55800,6 +56851,7 @@ "TrainingJobArn": { "target": "com.amazonaws.sagemaker#TrainingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the training job.

", "smithy.api#required": {} } @@ -55807,6 +56859,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the training job was created.

", "smithy.api#required": {} } @@ -55826,6 +56879,7 @@ "TrainingJobStatus": { "target": "com.amazonaws.sagemaker#TrainingJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the training job.

", "smithy.api#required": {} } @@ -55864,6 +56918,7 @@ "TrainingRepositoryCredentialsProviderArn": { "target": "com.amazonaws.sagemaker#TrainingRepositoryCredentialsProviderArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Amazon Web Services Lambda function used to give SageMaker access\n credentials to your private Docker registry.

", "smithy.api#required": {} } @@ -55889,6 +56944,7 @@ "TrainingImage": { "target": "com.amazonaws.sagemaker#ContainerImage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon ECR registry path of the Docker image that contains the training\n algorithm.

", "smithy.api#required": {} } @@ -55908,6 +56964,7 @@ "SupportedTrainingInstanceTypes": { "target": "com.amazonaws.sagemaker#TrainingInstanceTypes", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of the instance types that this algorithm can use for training.

", "smithy.api#required": {} } @@ -55915,7 +56972,6 @@ "SupportsDistributedTraining": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the algorithm supports distributed training. If set to false, buyers\n can't request more than one instance during training.

" } }, @@ -55928,6 +56984,7 @@ "TrainingChannels": { "target": "com.amazonaws.sagemaker#ChannelSpecifications", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of ChannelSpecification objects, which specify the input sources\n to be used by the algorithm.

", "smithy.api#required": {} } @@ -55963,6 +57020,7 @@ "S3DataSource": { "target": "com.amazonaws.sagemaker#TransformS3DataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The S3 location of the data source that is associated with a channel.

", "smithy.api#required": {} } @@ -56013,6 +57071,7 @@ "DataSource": { "target": "com.amazonaws.sagemaker#TransformDataSource", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Describes the location of\n the\n channel data, which is, the S3 location of the input data that the\n model can consume.

", "smithy.api#required": {} } @@ -56415,6 +57474,7 @@ "TransformInput": { "target": "com.amazonaws.sagemaker#TransformInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the input source and the way the transform job consumes it.

", "smithy.api#required": {} } @@ -56422,6 +57482,7 @@ "TransformOutput": { "target": "com.amazonaws.sagemaker#TransformOutput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the Amazon S3 location where you want Amazon SageMaker to save the results from the\n transform job.

", "smithy.api#required": {} } @@ -56429,6 +57490,7 @@ "TransformResources": { "target": "com.amazonaws.sagemaker#TransformResources", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Identifies the ML compute instances for the transform job.

", "smithy.api#required": {} } @@ -56509,6 +57571,7 @@ "TransformJobName": { "target": "com.amazonaws.sagemaker#TransformJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the transform job.

", "smithy.api#required": {} } @@ -56516,6 +57579,7 @@ "TransformJobArn": { "target": "com.amazonaws.sagemaker#TransformJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the transform job.

", "smithy.api#required": {} } @@ -56523,6 +57587,7 @@ "CreationTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A timestamp that shows when the transform Job was created.

", "smithy.api#required": {} } @@ -56542,6 +57607,7 @@ "TransformJobStatus": { "target": "com.amazonaws.sagemaker#TransformJobStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the transform job.

", "smithy.api#required": {} } @@ -56563,6 +57629,7 @@ "S3OutputPath": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job. For\n example, s3://bucket-name/key-name-prefix.

\n

For every S3 object used as input for the transform job, batch transform stores the\n transformed data with an .out suffix in a corresponding subfolder in the\n location in the output prefix. For example, for the input data stored at\n s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform\n stores the transformed data at\n s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out.\n Batch transform doesn't upload partially processed objects. For an input S3 object that\n contains multiple records, it creates an .out file only if the transform\n job succeeds on the entire file. When the input contains multiple S3 objects, the batch\n transform job processes the listed S3 objects and uploads only the output for\n successfully processed objects. If any object fails in the transform job batch transform\n marks the job as failed to prompt investigation.

", "smithy.api#required": {} } @@ -56596,6 +57663,7 @@ "InstanceType": { "target": "com.amazonaws.sagemaker#TransformInstanceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ML compute instance type for the transform job. If you are using built-in\n algorithms to\n transform\n moderately sized datasets, we recommend using ml.m4.xlarge or\n ml.m5.largeinstance types.

", "smithy.api#required": {} } @@ -56603,6 +57671,7 @@ "InstanceCount": { "target": "com.amazonaws.sagemaker#TransformInstanceCount", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of\n ML\n compute instances to use in the transform job. The default value is\n 1, and the maximum is 100. For distributed transform jobs,\n specify a value greater than 1.

", "smithy.api#required": {} } @@ -56624,6 +57693,7 @@ "S3DataType": { "target": "com.amazonaws.sagemaker#S3DataType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

If you choose S3Prefix, S3Uri identifies a key name prefix.\n Amazon SageMaker uses all objects with the specified key name prefix for batch transform.

\n

If you choose ManifestFile, S3Uri identifies an object that\n is a manifest file containing a list of object keys that you want Amazon SageMaker to use for batch\n transform.

\n

The following values are compatible: ManifestFile,\n S3Prefix\n

\n

The following value is not compatible: AugmentedManifestFile\n

", "smithy.api#required": {} } @@ -56631,6 +57701,7 @@ "S3Uri": { "target": "com.amazonaws.sagemaker#S3Uri", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Depending on the value specified for the S3DataType, identifies either a\n key name prefix or a manifest. For example:

\n ", "smithy.api#required": {} } @@ -56877,6 +57948,7 @@ "Value": { "target": "com.amazonaws.sagemaker#TrialComponentArtifactValue", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The location of the artifact.

", "smithy.api#required": {} } @@ -57113,6 +58185,7 @@ "SourceArn": { "target": "com.amazonaws.sagemaker#TrialComponentSourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source Amazon Resource Name (ARN).

", "smithy.api#required": {} } @@ -57289,6 +58362,7 @@ "SourceArn": { "target": "com.amazonaws.sagemaker#TrialSourceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the source.

", "smithy.api#required": {} } @@ -57470,21 +58544,18 @@ "Dollars": { "target": "com.amazonaws.sagemaker#Dollars", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The whole number of dollars in the amount.

" } }, "Cents": { "target": "com.amazonaws.sagemaker#Cents", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The fractional portion, in cents, of the amount.

" } }, "TenthFractionsOfACent": { "target": "com.amazonaws.sagemaker#TenthFractionsOfACent", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Fractions of a cent, in tenths.

" } } @@ -57519,6 +58590,7 @@ "Content": { "target": "com.amazonaws.sagemaker#TemplateContent", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The content of the Liquid template for the worker user interface.

", "smithy.api#required": {} } @@ -57574,6 +58646,7 @@ "ActionName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the action to update.

", "smithy.api#required": {} } @@ -57644,6 +58717,7 @@ "AppImageConfigName": { "target": "com.amazonaws.sagemaker#AppImageConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the AppImageConfig to update.

", "smithy.api#required": {} } @@ -57699,6 +58773,7 @@ "ArtifactArn": { "target": "com.amazonaws.sagemaker#ArtifactArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the artifact to update.

", "smithy.api#required": {} } @@ -57758,6 +58833,7 @@ "CodeRepositoryName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the Git repository to update.

", "smithy.api#required": {} } @@ -57779,6 +58855,7 @@ "CodeRepositoryArn": { "target": "com.amazonaws.sagemaker#CodeRepositoryArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the Git repository.

", "smithy.api#required": {} } @@ -57814,6 +58891,7 @@ "ContextName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the context to update.

", "smithy.api#required": {} } @@ -57878,6 +58956,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet.

", "smithy.api#required": {} } @@ -57897,6 +58976,7 @@ "OutputConfig": { "target": "com.amazonaws.sagemaker#EdgeOutputConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Output configuration for storing sample data collected by the fleet.

", "smithy.api#required": {} } @@ -57930,6 +59010,7 @@ "DeviceFleetName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the fleet the devices belong to.

", "smithy.api#required": {} } @@ -57937,6 +59018,7 @@ "Devices": { "target": "com.amazonaws.sagemaker#Devices", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

List of devices to register with Edge Manager agent.

", "smithy.api#required": {} } @@ -57975,6 +59057,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the domain to be updated.

", "smithy.api#required": {} } @@ -58045,6 +59128,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the endpoint whose configuration you want to update.

", "smithy.api#required": {} } @@ -58052,6 +59136,7 @@ "EndpointConfigName": { "target": "com.amazonaws.sagemaker#EndpointConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the new endpoint configuration.

", "smithy.api#required": {} } @@ -58059,7 +59144,6 @@ "RetainAllVariantProperties": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. To\n retain the variant properties of an endpoint when updating it, set\n RetainAllVariantProperties to true. To use the variant\n properties specified in a new EndpointConfig call when updating an\n endpoint, set RetainAllVariantProperties to false. The default\n is false.

" } }, @@ -58078,7 +59162,6 @@ "RetainDeploymentConfig": { "target": "com.amazonaws.sagemaker#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to reuse the last deployment configuration. The default value is\n false (the configuration is not reused).

" } } @@ -58093,6 +59176,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the endpoint.

", "smithy.api#required": {} } @@ -58125,6 +59209,7 @@ "EndpointName": { "target": "com.amazonaws.sagemaker#EndpointName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of an existing SageMaker endpoint.

", "smithy.api#required": {} } @@ -58132,6 +59217,7 @@ "DesiredWeightsAndCapacities": { "target": "com.amazonaws.sagemaker#DesiredWeightAndCapacityList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An object that provides new capacity and weight values for a variant.

", "smithy.api#required": {} } @@ -58147,6 +59233,7 @@ "EndpointArn": { "target": "com.amazonaws.sagemaker#EndpointArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the updated endpoint.

", "smithy.api#required": {} } @@ -58182,6 +59269,7 @@ "ExperimentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the experiment to update.

", "smithy.api#required": {} } @@ -58240,6 +59328,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the feature group that you're updating.

", "smithy.api#required": {} } @@ -58267,6 +59356,7 @@ "FeatureGroupArn": { "target": "com.amazonaws.sagemaker#FeatureGroupArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the feature group that you're updating.

", "smithy.api#required": {} } @@ -58299,6 +59389,7 @@ "FeatureGroupName": { "target": "com.amazonaws.sagemaker#FeatureGroupNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the feature group containing the feature that\n you're updating.

", "smithy.api#required": {} } @@ -58306,6 +59397,7 @@ "FeatureName": { "target": "com.amazonaws.sagemaker#FeatureName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the feature that you're updating.

", "smithy.api#required": {} } @@ -58356,6 +59448,7 @@ "HubName": { "target": "com.amazonaws.sagemaker#HubName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the hub to update.

", "smithy.api#required": {} } @@ -58389,6 +59482,7 @@ "HubArn": { "target": "com.amazonaws.sagemaker#HubArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the updated hub.

", "smithy.api#required": {} } @@ -58442,6 +59536,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image to update.

", "smithy.api#required": {} } @@ -58497,6 +59592,7 @@ "ImageName": { "target": "com.amazonaws.sagemaker#ImageName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the image.

", "smithy.api#required": {} } @@ -58558,7 +59654,6 @@ "Horovod": { "target": "com.amazonaws.sagemaker#Horovod", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates Horovod compatibility.

" } }, @@ -58613,6 +59708,7 @@ "Name": { "target": "com.amazonaws.sagemaker#InferenceExperimentName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the inference experiment to be updated.

", "smithy.api#required": {} } @@ -58658,6 +59754,7 @@ "InferenceExperimentArn": { "target": "com.amazonaws.sagemaker#InferenceExperimentArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the updated inference experiment.

", "smithy.api#required": {} } @@ -58696,6 +59793,7 @@ "ModelCardName": { "target": "com.amazonaws.sagemaker#ModelCardNameOrArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the model card to update.

", "smithy.api#required": {} } @@ -58723,6 +59821,7 @@ "ModelCardArn": { "target": "com.amazonaws.sagemaker#ModelCardArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the updated model card.

", "smithy.api#required": {} } @@ -58750,6 +59849,7 @@ "ModelPackageArn": { "target": "com.amazonaws.sagemaker#ModelPackageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model package.

", "smithy.api#required": {} } @@ -58795,6 +59895,7 @@ "ModelPackageArn": { "target": "com.amazonaws.sagemaker#ModelPackageArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the model.

", "smithy.api#required": {} } @@ -58830,6 +59931,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a monitoring schedule.

", "smithy.api#required": {} } @@ -58837,6 +59939,7 @@ "MonitoringAlertName": { "target": "com.amazonaws.sagemaker#MonitoringAlertName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a monitoring alert.

", "smithy.api#required": {} } @@ -58844,6 +59947,7 @@ "DatapointsToAlert": { "target": "com.amazonaws.sagemaker#MonitoringDatapointsToAlert", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Within EvaluationPeriod, how many execution failures will raise an\n alert.

", "smithy.api#required": {} } @@ -58851,6 +59955,7 @@ "EvaluationPeriod": { "target": "com.amazonaws.sagemaker#MonitoringEvaluationPeriod", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of most recent monitoring executions to consider when evaluating alert\n status.

", "smithy.api#required": {} } @@ -58866,6 +59971,7 @@ "MonitoringScheduleArn": { "target": "com.amazonaws.sagemaker#MonitoringScheduleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitoring schedule.

", "smithy.api#required": {} } @@ -58907,6 +60013,7 @@ "MonitoringScheduleName": { "target": "com.amazonaws.sagemaker#MonitoringScheduleName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the monitoring schedule. The name must be unique within an Amazon Web Services \n Region within an Amazon Web Services account.

", "smithy.api#required": {} } @@ -58914,6 +60021,7 @@ "MonitoringScheduleConfig": { "target": "com.amazonaws.sagemaker#MonitoringScheduleConfig", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The configuration object that specifies the monitoring schedule and defines the monitoring \n job.

", "smithy.api#required": {} } @@ -58929,6 +60037,7 @@ "MonitoringScheduleArn": { "target": "com.amazonaws.sagemaker#MonitoringScheduleArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the monitoring schedule.

", "smithy.api#required": {} } @@ -58961,6 +60070,7 @@ "NotebookInstanceName": { "target": "com.amazonaws.sagemaker#NotebookInstanceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the notebook instance to update.

", "smithy.api#required": {} } @@ -58986,7 +60096,6 @@ "DisassociateLifecycleConfig": { "target": "com.amazonaws.sagemaker#DisassociateNotebookInstanceLifecycleConfig", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to true to remove the notebook instance lifecycle configuration\n currently associated with the notebook instance. This operation is idempotent. If you\n specify a lifecycle configuration that is not associated with the notebook instance when\n you call this method, it does not throw an error.

" } }, @@ -59017,21 +60126,18 @@ "DisassociateAcceleratorTypes": { "target": "com.amazonaws.sagemaker#DisassociateNotebookInstanceAcceleratorTypes", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A list of the Elastic Inference (EI) instance types to remove from this notebook\n instance. This operation is idempotent. If you specify an accelerator type that is not\n associated with the notebook instance when you call this method, it does not throw an\n error.

" } }, "DisassociateDefaultCodeRepository": { "target": "com.amazonaws.sagemaker#DisassociateDefaultCodeRepository", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

The name or URL of the default Git repository to remove from this notebook instance.\n This operation is idempotent. If you specify a Git repository that is not associated\n with the notebook instance when you call this method, it does not throw an error.

" } }, "DisassociateAdditionalCodeRepositories": { "target": "com.amazonaws.sagemaker#DisassociateAdditionalCodeRepositories", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A list of names or URLs of the default Git repositories to remove from this notebook\n instance. This operation is idempotent. If you specify a Git repository that is not\n associated with the notebook instance when you call this method, it does not throw an\n error.

" } }, @@ -59075,6 +60181,7 @@ "NotebookInstanceLifecycleConfigName": { "target": "com.amazonaws.sagemaker#NotebookInstanceLifecycleConfigName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the lifecycle configuration.

", "smithy.api#required": {} } @@ -59150,6 +60257,7 @@ "PipelineExecutionArn": { "target": "com.amazonaws.sagemaker#PipelineExecutionArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the pipeline execution.

", "smithy.api#required": {} } @@ -59197,6 +60305,7 @@ "PipelineName": { "target": "com.amazonaws.sagemaker#PipelineName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the pipeline to update.

", "smithy.api#required": {} } @@ -59274,6 +60383,7 @@ "ProjectName": { "target": "com.amazonaws.sagemaker#ProjectEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the project.

", "smithy.api#required": {} } @@ -59307,6 +60417,7 @@ "ProjectArn": { "target": "com.amazonaws.sagemaker#ProjectArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the project.

", "smithy.api#required": {} } @@ -59345,6 +60456,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the associated Domain.

", "smithy.api#required": {} } @@ -59352,6 +60464,7 @@ "SpaceName": { "target": "com.amazonaws.sagemaker#SpaceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the space.

", "smithy.api#required": {} } @@ -59404,6 +60517,7 @@ "TrainingJobName": { "target": "com.amazonaws.sagemaker#TrainingJobName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a training job to update the Debugger profiling configuration.

", "smithy.api#required": {} } @@ -59437,6 +60551,7 @@ "TrainingJobArn": { "target": "com.amazonaws.sagemaker#TrainingJobArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the training job.

", "smithy.api#required": {} } @@ -59492,6 +60607,7 @@ "TrialComponentName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the component to update.

", "smithy.api#required": {} } @@ -59581,6 +60697,7 @@ "TrialName": { "target": "com.amazonaws.sagemaker#ExperimentEntityName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the trial to update.

", "smithy.api#required": {} } @@ -59639,6 +60756,7 @@ "DomainId": { "target": "com.amazonaws.sagemaker#DomainId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The domain ID.

", "smithy.api#required": {} } @@ -59646,6 +60764,7 @@ "UserProfileName": { "target": "com.amazonaws.sagemaker#UserProfileName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The user profile name.

", "smithy.api#required": {} } @@ -59698,6 +60817,7 @@ "WorkforceName": { "target": "com.amazonaws.sagemaker#WorkforceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private workforce that you want to update. You can find your workforce\n name by using the ListWorkforces operation.

", "smithy.api#required": {} } @@ -59731,6 +60851,7 @@ "Workforce": { "target": "com.amazonaws.sagemaker#Workforce", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A single private workforce. You can create one private work force in each Amazon Web Services Region. By default,\n any workforce-related API operation used in a specific region will apply to the\n workforce created in that region. To learn how to create a private workforce, see Create a Private Workforce.

", "smithy.api#required": {} } @@ -59763,6 +60884,7 @@ "WorkteamName": { "target": "com.amazonaws.sagemaker#WorkteamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the work team to update.

", "smithy.api#required": {} } @@ -59796,6 +60918,7 @@ "Workteam": { "target": "com.amazonaws.sagemaker#Workteam", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A Workteam object that describes the updated work team.

", "smithy.api#required": {} } @@ -60088,6 +61211,7 @@ "VariantPropertyType": { "target": "com.amazonaws.sagemaker#VariantPropertyType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of variant property. The supported values are:

\n ", "smithy.api#required": {} } @@ -60190,6 +61314,7 @@ "Dimension": { "target": "com.amazonaws.sagemaker#Dimension", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of elements in your vector.

", "smithy.api#required": {} } @@ -60283,7 +61408,6 @@ "com.amazonaws.sagemaker#VolumeSizeInGB": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -60295,6 +61419,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.sagemaker#VpcSecurityGroupIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for\n the VPC that is specified in the Subnets field.

", "smithy.api#required": {} } @@ -60302,6 +61427,7 @@ "Subnets": { "target": "com.amazonaws.sagemaker#Subnets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the subnets in the VPC to which you want to connect your training job or\n model. For information about the availability of specific instance types, see Supported\n Instance Types and Availability Zones.

", "smithy.api#required": {} } @@ -60377,6 +61503,7 @@ "Status": { "target": "com.amazonaws.sagemaker#WarmPoolResourceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the warm pool.

\n ", "smithy.api#required": {} } @@ -60404,6 +61531,7 @@ "WorkforceName": { "target": "com.amazonaws.sagemaker#WorkforceName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the private workforce.

", "smithy.api#required": {} } @@ -60411,6 +61539,7 @@ "WorkforceArn": { "target": "com.amazonaws.sagemaker#WorkforceArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the private workforce.

", "smithy.api#required": {} } @@ -60615,6 +61744,7 @@ "VpcId": { "target": "com.amazonaws.sagemaker#WorkforceVpcId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the VPC that the workforce uses for communication.

", "smithy.api#required": {} } @@ -60622,6 +61752,7 @@ "SecurityGroupIds": { "target": "com.amazonaws.sagemaker#WorkforceSecurityGroupIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.

", "smithy.api#required": {} } @@ -60629,6 +61760,7 @@ "Subnets": { "target": "com.amazonaws.sagemaker#WorkforceSubnets", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of the subnets in the VPC that you want to connect.

", "smithy.api#required": {} } @@ -60696,6 +61828,7 @@ "WorkteamName": { "target": "com.amazonaws.sagemaker#WorkteamName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the work team.

", "smithy.api#required": {} } @@ -60703,6 +61836,7 @@ "MemberDefinitions": { "target": "com.amazonaws.sagemaker#MemberDefinitions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of MemberDefinition objects that contains objects that identify\n the workers that make up the work team.

\n

Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). \n For private workforces created using Amazon Cognito use\n CognitoMemberDefinition. For workforces created using your own OIDC identity\n provider (IdP) use OidcMemberDefinition.

", "smithy.api#required": {} } @@ -60710,6 +61844,7 @@ "WorkteamArn": { "target": "com.amazonaws.sagemaker#WorkteamArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the work team.

", "smithy.api#required": {} } @@ -60729,6 +61864,7 @@ "Description": { "target": "com.amazonaws.sagemaker#String200", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A description of the work team.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/schemas.json b/codegen/sdk-codegen/aws-models/schemas.json index a2f40451e14..3499a8542f1 100644 --- a/codegen/sdk-codegen/aws-models/schemas.json +++ b/codegen/sdk-codegen/aws-models/schemas.json @@ -35,6 +35,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -42,6 +43,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -84,6 +86,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -91,6 +94,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -150,6 +154,7 @@ "SourceArn": { "target": "com.amazonaws.schemas#__stringMin20Max1600", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the event bus.

", "smithy.api#required": {} } @@ -359,6 +364,7 @@ "Content": { "target": "com.amazonaws.schemas#__stringMin1Max100000", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source of the schema definition.

", "smithy.api#required": {} } @@ -395,6 +401,7 @@ "Type": { "target": "com.amazonaws.schemas#Type", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of schema.

", "smithy.api#required": {} } @@ -1347,6 +1354,7 @@ "Type": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "type", "smithy.api#required": {} } @@ -1385,6 +1393,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -1392,6 +1401,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -1532,6 +1542,7 @@ "Events": { "target": "com.amazonaws.schemas#__listOfGetDiscoveredSchemaVersionItemInput", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

", "smithy.api#required": {} } @@ -1539,6 +1550,7 @@ "Type": { "target": "com.amazonaws.schemas#Type", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of event.

", "smithy.api#required": {} } @@ -1649,6 +1661,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -1656,6 +1669,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -1672,6 +1686,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -1679,6 +1694,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -2142,6 +2158,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -2149,6 +2166,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -2165,6 +2183,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -2172,6 +2191,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -2339,6 +2359,7 @@ "Policy": { "target": "com.amazonaws.schemas#SynthesizedJson__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource-based policy.

", "smithy.api#required": {} } @@ -2572,6 +2593,7 @@ "Keywords": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifying this limits the results to only schemas that include the provided keywords.

", "smithy.api#httpQuery": "keywords", "smithy.api#required": {} @@ -2629,6 +2651,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -2636,6 +2659,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -2843,6 +2867,7 @@ "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags", "smithy.api#required": {} @@ -2872,6 +2897,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -2879,6 +2905,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -2912,6 +2939,7 @@ "Code": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } @@ -2919,6 +2947,7 @@ "Message": { "target": "com.amazonaws.schemas#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } @@ -2974,6 +3003,7 @@ "TagKeys": { "target": "com.amazonaws.schemas#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Keys of key-value pairs.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -3594,7 +3624,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3637,7 +3666,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3650,7 +3680,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3664,7 +3693,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3687,7 +3715,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3722,7 +3749,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3733,14 +3759,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3754,14 +3782,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3770,11 +3796,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3785,14 +3811,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3806,7 +3834,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3826,7 +3853,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3837,14 +3863,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3855,9 +3883,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.json b/codegen/sdk-codegen/aws-models/secrets-manager.json index 2b8744a0f16..a891388164a 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.json @@ -43,7 +43,6 @@ "com.amazonaws.secretsmanager#AutomaticallyRotateAfterDaysType": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -845,7 +844,6 @@ "PasswordLength": { "target": "com.amazonaws.secretsmanager#PasswordLengthType", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The length of the password. If you don't include this parameter, the \n default length is 32 characters.

" } }, @@ -1290,7 +1288,6 @@ "MaxResults": { "target": "com.amazonaws.secretsmanager#MaxResultsType", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of results to include in the response.

\n

If there are more results available, in the response, Secrets Manager includes NextToken. \n To get the next results, call ListSecretVersionIds again with the value from NextToken.

" } }, @@ -1420,7 +1417,6 @@ "MaxResults": { "target": "com.amazonaws.secretsmanager#MaxResultsType", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of results to include in the response.

\n

If there are more results available, in the response, Secrets Manager includes NextToken. \n To get the next results, call ListSecrets again with the value from \n NextToken.

" } }, @@ -1482,7 +1478,6 @@ "com.amazonaws.secretsmanager#MaxResultsType": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1531,7 +1526,6 @@ "com.amazonaws.secretsmanager#PasswordLengthType": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 4096 @@ -2292,7 +2286,6 @@ "AutomaticallyAfterDays": { "target": "com.amazonaws.secretsmanager#AutomaticallyRotateAfterDaysType", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of days between rotations of the secret. You can use this \n value to check that your secret meets your compliance guidelines for how often secrets must \n be rotated. If you use this field to set the rotation schedule, Secrets Manager calculates the next rotation \n date based on the previous rotation. Manually updating the secret value by calling \n PutSecretValue or UpdateSecret is considered a valid rotation.

\n

In DescribeSecret and ListSecrets, this value is calculated from \n the rotation schedule after every successful rotation. In RotateSecret, you can \n set the rotation schedule in RotationRules with AutomaticallyAfterDays\n or ScheduleExpression, but not both. To set a rotation schedule in hours, use \n ScheduleExpression.

" } }, diff --git a/codegen/sdk-codegen/aws-models/securityhub.json b/codegen/sdk-codegen/aws-models/securityhub.json index ba5b8987ae6..fe848e378a0 100644 --- a/codegen/sdk-codegen/aws-models/securityhub.json +++ b/codegen/sdk-codegen/aws-models/securityhub.json @@ -79,6 +79,7 @@ "AdministratorId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account ID of the Security Hub administrator account that sent the invitation.

", "smithy.api#required": {} } @@ -86,6 +87,7 @@ "InvitationId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the invitation sent from the Security Hub administrator account.

", "smithy.api#required": {} } @@ -145,6 +147,7 @@ "MasterId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account ID of the Security Hub administrator account that sent the invitation.

", "smithy.api#required": {} } @@ -152,6 +155,7 @@ "InvitationId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the invitation sent from the Security Hub administrator account.

", "smithy.api#required": {} } @@ -190,6 +194,7 @@ "AccountId": { "target": "com.amazonaws.securityhub#AccountId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID of an Amazon Web Services account.

", "smithy.api#required": {} } @@ -290,7 +295,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the port.

" } }, @@ -349,7 +353,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of the port.

" } }, @@ -370,6 +373,7 @@ "ActionTargetArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN for the target action.

", "smithy.api#required": {} } @@ -377,6 +381,7 @@ "Name": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the action target.

", "smithy.api#required": {} } @@ -384,6 +389,7 @@ "Description": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of the target action.

", "smithy.api#required": {} } @@ -471,7 +477,6 @@ "com.amazonaws.securityhub#AdminsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -522,7 +527,6 @@ "Main": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether this is the main route table.\n

" } }, @@ -670,7 +674,6 @@ "RuleOrder": { "target": "com.amazonaws.securityhub#RuleOrderValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An integer ranging from 1 to 1000 that represents the order in which the rule action is\n applied to findings. Security Hub applies rules with lower values for this parameter\n first.

" } }, @@ -689,7 +692,6 @@ "IsTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding \n matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches \n the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.\n

" } }, @@ -752,14 +754,12 @@ "Confidence": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The rule action updates the Confidence field of a finding.\n

" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The rule action updates the Criticality field of a finding.\n

" } }, @@ -1025,7 +1025,6 @@ "RuleOrder": { "target": "com.amazonaws.securityhub#RuleOrderValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An integer ranging from 1 to 1000 that represents the order in which the rule action is\n applied to findings. Security Hub applies rules with lower values for this parameter\n first.

" } }, @@ -1044,7 +1043,6 @@ "IsTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding \n matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches \n the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.\n

" } }, @@ -1115,7 +1113,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Whether automatically upgrade new minor versions for brokers, as new versions are released and supported by Amazon MQ. \n Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.\n

" } }, @@ -1188,7 +1185,6 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Permits connections from applications outside of the VPC that hosts the broker's subnets.\n

" } }, @@ -1233,7 +1229,6 @@ "UseAwsOwnedKey": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Specifies that an KMS key should be used for at-rest encryption. Set to true by default \n if no value is provided (for example, for RabbitMQ brokers).\n

" } } @@ -1272,7 +1267,6 @@ "RoleSearchSubtree": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n The directory search scope for the role. If set to true, the scope is to search the entire subtree.\n

" } }, @@ -1303,7 +1297,6 @@ "UserSearchSubtree": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n The directory search scope for the user. If set to true, the scope is to search the entire subtree.\n

" } } @@ -1318,14 +1311,12 @@ "Audit": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers.\n

" } }, "General": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Activates general logging.\n

" } }, @@ -1358,14 +1349,12 @@ "Audit": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Activates audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Doesn't apply \n to RabbitMQ brokers.\n

" } }, "General": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Activates general logging.\n

" } } @@ -1522,7 +1511,6 @@ "PercentTraffic": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of traffic that is diverted to a canary deployment.

" } }, @@ -1541,7 +1529,6 @@ "UseStageCache": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the canary deployment uses the stage cache.

" } } @@ -1570,7 +1557,6 @@ "MetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether CloudWatch metrics are enabled for the method.

" } }, @@ -1583,49 +1569,42 @@ "DataTraceEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether data trace logging is enabled for the method. Data trace logging\n affects the log entries that are pushed to CloudWatch Logs.

" } }, "ThrottlingBurstLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The throttling burst limit for the method.

" } }, "ThrottlingRateLimit": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The throttling rate limit for the method.

" } }, "CachingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether responses are cached and returned for requests. For responses to be\n cached, a cache cluster must be enabled on the stage.

" } }, "CacheTtlInSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL,\n the longer the response is cached.

" } }, "CacheDataEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cached responses are encrypted.

" } }, "RequireAuthorizationForCacheControl": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether authorization is required for a cache invalidation request.

" } }, @@ -1700,7 +1679,6 @@ "MinimumCompressionSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum size in bytes of a payload before compression is enabled.

\n

If null, then compression is disabled.

\n

If 0, then all payloads are compressed.

" } }, @@ -1751,7 +1729,6 @@ "CacheClusterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a cache cluster is enabled for the stage.

" } }, @@ -1800,7 +1777,6 @@ "TracingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether active tracing with X-Ray is enabled for the stage.

" } }, @@ -1901,7 +1877,6 @@ "DetailedMetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether detailed metrics are enabled.

" } }, @@ -1914,21 +1889,18 @@ "DataTraceEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether data trace logging is enabled. Data trace logging affects the log\n entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.

" } }, "ThrottlingBurstLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The throttling burst limit.

" } }, "ThrottlingRateLimit": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The throttling rate limit.

" } } @@ -2003,7 +1975,6 @@ "AutoDeploy": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether updates to an API automatically trigger a new deployment.

" } }, @@ -2016,7 +1987,6 @@ "ApiGatewayManaged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the stage is managed by API Gateway.

" } } @@ -2099,7 +2069,6 @@ "XrayEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\nIndicates whether to use X-Ray tracing for the GraphQL API.\n

" } }, @@ -2150,7 +2119,6 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).\n

" } }, @@ -2183,7 +2151,6 @@ "ExcludeVerboseContent": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, \n regardless of logging level.\n

" } }, @@ -2204,7 +2171,6 @@ "AuthTtL": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of milliseconds that a token is valid after being authenticated.\n

" } }, @@ -2217,7 +2183,6 @@ "IatTtL": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of milliseconds that a token is valid after it's issued to a user.\n

" } }, @@ -2388,7 +2353,6 @@ "HealthCheckGracePeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the\n health status of an EC2 instance that has come into service.

" } }, @@ -2419,7 +2383,6 @@ "CapacityRebalance": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether capacity rebalancing is enabled.\n

" } } @@ -2486,14 +2449,12 @@ "OnDemandBaseCapacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.

" } }, "OnDemandPercentageAboveBaseCapacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.

" } }, @@ -2506,7 +2467,6 @@ "SpotInstancePools": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Spot Instance pools across which to allocate your Spot Instances.

" } }, @@ -2611,7 +2571,6 @@ "NoDevice": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).

\n

If NoDevice is true, then you cannot specify Ebs.>

" } }, @@ -2632,21 +2591,18 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to delete the volume when the instance is terminated.

" } }, "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to encrypt the volume.

" } }, "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

\n

Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

" } }, @@ -2659,7 +2615,6 @@ "VolumeSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

\n \n

You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

" } }, @@ -2686,7 +2641,6 @@ "AssociatePublicIpAddress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.

" } }, @@ -2717,7 +2671,6 @@ "EbsOptimized": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the launch configuration is optimized for Amazon EBS I/O.

" } }, @@ -2810,7 +2763,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then instances in the group launch with detailed\n monitoring.

\n

If set to false, then instances in the group launch with basic\n monitoring.

" } } @@ -2831,7 +2783,6 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

" } }, @@ -2936,14 +2887,12 @@ "DeleteAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.\n

" } }, "MoveToColdStorageAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is moved to cold storage.\n

" } } @@ -2990,7 +2939,6 @@ "StartWindowMinutes": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.\n

" } }, @@ -3015,14 +2963,12 @@ "EnableContinuousBackup": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).\n

" } }, "CompletionWindowMinutes": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.\n

" } }, @@ -3165,7 +3111,6 @@ "BackupSizeInBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size, in bytes, of a backup.\n

" } }, @@ -3220,7 +3165,6 @@ "IsEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is returned as TRUE if the specified recovery point is \nencrypted, or FALSE if the recovery point is not encrypted.\n

" } }, @@ -3289,14 +3233,12 @@ "DeleteAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is deleted. Must be greater \nthan 90 days plus MoveToColdStorageAfterDays.\n

" } }, "MoveToColdStorageAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is moved to cold storage.\n

" } } @@ -3643,7 +3585,6 @@ "DisableRollback": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Boolean to enable or disable rollback on stack creation failures. \n

" } }, @@ -3656,7 +3597,6 @@ "EnableTerminationProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether termination protection is enabled for the stack.\n

" } }, @@ -3711,7 +3651,6 @@ "TimeoutInMinutes": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The length of time, in minutes, that CloudFormation waits for the nested stack to reach \nthe CREATE_COMPLETE state.\n

" } } @@ -3906,14 +3845,12 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

With this field, you can enable or disable the selected distribution.

" } }, "IncludeCookies": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether you want CloudFront to include cookies in access logs.

" } }, @@ -3934,21 +3871,18 @@ "HttpPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP port that CloudFront uses to connect to the origin.\n

" } }, "HttpsPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The HTTPS port that CloudFront uses to connect to the origin.\n

" } }, "OriginKeepaliveTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies how long, in seconds, CloudFront persists its connection to the origin.\n

" } }, @@ -3961,7 +3895,6 @@ "OriginReadTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies how long, in seconds, CloudFront waits for a response from the origin.\n

" } }, @@ -4016,7 +3949,6 @@ "Quantity": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of status codes that can cause a failover.

" } } @@ -4121,7 +4053,6 @@ "Quantity": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing \nan HTTPS connection with this origin.\n

" } } @@ -4168,7 +4099,6 @@ "CloudFrontDefaultCertificate": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.

" } }, @@ -4213,7 +4143,6 @@ "HasCustomEventSelectors": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the trail has custom event selectors.

" } }, @@ -4226,21 +4155,18 @@ "IncludeGlobalServiceEvents": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the trail publishes events from global services such as IAM to the log\n files.

" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the trail applies only to the current Region or to all Regions.

" } }, "IsOrganizationTrail": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the trail is created for all accounts in an organization in Organizations,\n or only for the current Amazon Web Services account.

" } }, @@ -4253,7 +4179,6 @@ "LogFileValidationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether CloudTrail log file validation is enabled.

" } }, @@ -4304,7 +4229,6 @@ "ActionsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state. \n

" } }, @@ -4347,7 +4271,6 @@ "DatapointsToAlarm": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of datapoints that must be breaching to trigger the alarm. \n

" } }, @@ -4366,7 +4289,6 @@ "EvaluationPeriods": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of periods over which data is compared to the specified threshold.\n

" } }, @@ -4403,7 +4325,6 @@ "Period": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The period, in seconds, over which the statistic is applied. This is required for an alarm based on a \nmetric.\n

" } }, @@ -4416,7 +4337,6 @@ "Threshold": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The value to compare with the specified statistic.\n

" } }, @@ -4481,7 +4401,6 @@ "EncryptionDisabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to disable encryption on the artifact. Only valid when Type is S3.

" } }, @@ -4506,7 +4425,6 @@ "OverrideArtifactName": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the name specified in the buildspec file overrides the artifact name.

" } }, @@ -4619,7 +4537,6 @@ "PrivilegedMode": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to allow the Docker daemon to run inside a Docker container. Set to true if the build project is used to build Docker images.

" } }, @@ -4750,7 +4667,6 @@ "EncryptionDisabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to disable encryption of the S3 build log output.

" } }, @@ -4789,14 +4705,12 @@ "GitCloneDepth": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Information about the Git clone depth for the build project.

" } }, "InsecureSsl": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to ignore SSL warnings while connecting to the project source code.

" } } @@ -4843,7 +4757,6 @@ "AllowCredentials": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the CORS request includes credentials.

" } }, @@ -4856,7 +4769,6 @@ "MaxAge": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds for which the browser caches preflight request results.

" } }, @@ -4937,7 +4849,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The port used to access the endpoint.\n

" } }, @@ -4970,14 +4881,12 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The amount of storage (in gigabytes) that is allocated for the replication instance.\n

" } }, "AutoMinorVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether minor engine upgrades are applied automatically to the replication instance during the maintenance \n window.\n

" } }, @@ -5002,7 +4911,6 @@ "MultiAZ": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Specifies whether the replication instance is deployed across multiple Availability Zones (AZs). You can't set the \n AvailabilityZone parameter if the MultiAZ parameter is set to true.

" } }, @@ -5015,7 +4923,6 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Specifies the accessibility options for the replication instance. A value of true represents an instance \n with a public IP address. A value of false represents an instance with a private IP address. The default \n value is true.

" } }, @@ -5250,7 +5157,6 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the table.

" } }, @@ -5323,7 +5229,6 @@ "TableSizeBytes": { "target": "com.amazonaws.securityhub#SizeBytes", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total size of the table in bytes.

" } }, @@ -5344,7 +5249,6 @@ "Backfilling": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the index is currently backfilling.

" } }, @@ -5363,7 +5267,6 @@ "IndexSizeBytes": { "target": "com.amazonaws.securityhub#SizeBytes", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total size in bytes of the index.

" } }, @@ -5376,7 +5279,6 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the index.

" } }, @@ -5511,21 +5413,18 @@ "NumberOfDecreasesToday": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of times during the current UTC calendar day that the provisioned throughput\n was decreased.

" } }, "ReadCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException.

" } }, "WriteCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.

" } } @@ -5540,7 +5439,6 @@ "ReadCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The read capacity units for the replica.

" } } @@ -5649,7 +5547,6 @@ "RestoreInProgress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether a restore is currently in progress.

" } } @@ -5696,7 +5593,6 @@ "StreamEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether DynamoDB Streams is enabled on the table.

" } }, @@ -5883,7 +5779,6 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. \n The larger the number, the further instance metadata requests can travel.\n

" } }, @@ -5976,21 +5871,18 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether the EBS volume is deleted on instance termination.\n

" } }, "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether the EBS volume is encrypted. Encrypted volumes can only be \n attached to instances that support Amazon EBS encryption. If you're creating a \n volume from a snapshot, you can't specify an encryption value.\n

" } }, "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of I/O operations per second (IOPS). \n

" } }, @@ -6009,14 +5901,12 @@ "Throughput": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s.\n

" } }, "VolumeSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. \n

" } }, @@ -6083,14 +5973,12 @@ "CoreCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of CPU cores for the instance.\n

" } }, "ThreadsPerCore": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of threads per CPU core. A value of 1 disables multithreading for the instance, \n The default value is 2.\n

" } } @@ -6143,21 +6031,18 @@ "DisableApiStop": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether to enable the instance for stop protection. For more information, \n see Enable stop protection in the Amazon EC2 User Guide.\n

" } }, "DisableApiTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API. If set to true, you can. \n

" } }, "EbsOptimized": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether the instance is optimized for Amazon EBS I/O. \n

" } }, @@ -6330,7 +6215,6 @@ "Count": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of Elastic Inference accelerators to attach to the instance.\n

" } }, @@ -6357,7 +6241,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n If this parameter is set to true, the instance is enabled for Amazon Web Services Nitro Enclaves.\n

" } } @@ -6372,7 +6255,6 @@ "Configured": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n If you set this parameter to true, the instance is enabled for hibernation.\n

" } } @@ -6427,7 +6309,6 @@ "BlockDurationMinutes": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n Deprecated.\n

" } }, @@ -6466,14 +6347,12 @@ "Max": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum number of accelerators. If this parameter isn't specified, there's no maximum limit. To exclude accelerator-enabled instance types, set Max to 0.\n

" } }, "Min": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum number of accelerators. If this parameter isn't specified, there's no minimum limit.\n

" } } @@ -6488,14 +6367,12 @@ "Max": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum amount of memory, in MiB. If this parameter isn't specified, there's no maximum limit.\n

" } }, "Min": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum amount of memory, in MiB. If 0 is specified, there's no maximum limit.\n

" } } @@ -6510,14 +6387,12 @@ "Max": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum baseline bandwidth, in Mbps. If this parameter is omitted, there's no maximum limit.\n

" } }, "Min": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum baseline bandwidth, in Mbps. If this parameter is omitted, there's no minimum limit.\n

" } } @@ -6628,21 +6503,18 @@ "OnDemandMaxPricePercentageOverLowestPrice": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The price protection threshold for On-Demand Instances. This is the maximum you'll pay\n for an On-Demand Instance, expressed as a percentage above the least expensive current\n generation M, C, or R instance type with your specified attributes. When Amazon EC2 selects\n instance types with your attributes, it excludes instance types priced above your\n threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

A high value, such as 999999, turns off price protection.

" } }, "RequireHibernateSupport": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether instance types must support hibernation for On-Demand Instances.\n

" } }, "SpotMaxPricePercentageOverLowestPrice": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The price protection threshold for Spot Instances. This is the maximum you'll pay for a\n Spot Instance, expressed as a percentage above the least expensive current generation M, C,\n or R instance type with your specified attributes. When Amazon EC2 selects instance\n types with your attributes, it excludes instance types priced above your threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

A high value, such as 999999, turns off price protection.

" } }, @@ -6669,14 +6541,12 @@ "Max": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.\n

" } }, "Min": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, there's no maximum limit.\n

" } } @@ -6691,14 +6561,12 @@ "Max": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum amount of memory, in MiB.\n

" } }, "Min": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum amount of memory, in MiB. \n

" } } @@ -6713,14 +6581,12 @@ "Max": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum number of network interfaces. \n

" } }, "Min": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum number of network interfaces.\n

" } } @@ -6735,14 +6601,12 @@ "Max": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum amount of total local storage, in GB.\n

" } }, "Min": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum amount of total local storage, in GB.\n

" } } @@ -6757,14 +6621,12 @@ "Max": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum number of vCPUs. \n

" } }, "Min": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The minimum number of vCPUs.\n

" } } @@ -6831,7 +6693,6 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The desired HTTP PUT response hop limit for instance metadata requests. The larger \n the number, the further instance metadata requests can travel.\n

" } }, @@ -6852,7 +6713,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Enables detailed monitoring when true is specified. Otherwise, basic monitoring is enabled. \n For more information about detailed monitoring, see \n Enable or turn off detailed monitoring for your instances in the Amazon EC2 User Guide. \n

" } } @@ -6867,21 +6727,18 @@ "AssociateCarrierIpAddress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether to associate a Carrier IP address with eth0 for a new network interface. \n You use this option when you launch an instance in a Wavelength Zone and want to \n associate a Carrier IP address with the network interface. For more information, see \n Carrier IP address in the Wavelength Developer Guide.\n

" } }, "AssociatePublicIpAddress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Associates a public IPv4 address with eth0 for a new network interface.\n

" } }, "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether the network interface is deleted when the instance is terminated.\n

" } }, @@ -6894,7 +6751,6 @@ "DeviceIndex": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The device index for the network interface attachment.\n

" } }, @@ -6913,7 +6769,6 @@ "Ipv4PrefixCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of IPv4 prefixes to be automatically assigned to the network interface. \n You cannot use this option if you use the Ipv4Prefixes option.\n

" } }, @@ -6926,7 +6781,6 @@ "Ipv6AddressCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of IPv6 addresses to assign to a network interface. Amazon EC2 \n automatically selects the IPv6 addresses from the subnet range. You can't use this \n option if you use Ipv6Addresses.\n

" } }, @@ -6939,7 +6793,6 @@ "Ipv6PrefixCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of IPv6 prefixes to be automatically assigned to the network interface. \n You cannot use this option if you use the Ipv6Prefix option.\n

" } }, @@ -6952,7 +6805,6 @@ "NetworkCardIndex": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The index of the network card. Some instance types support multiple network cards. \n The primary network interface must be assigned to network card index 0. The default \n is network card index 0.\n

" } }, @@ -6977,7 +6829,6 @@ "SecondaryPrivateIpAddressCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of secondary private IPv4 addresses to assign to a network interface.\n

" } }, @@ -7064,7 +6915,6 @@ "Primary": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.\n

" } }, @@ -7121,7 +6971,6 @@ "PartitionNumber": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of the partition the instance should launch in.\n

" } }, @@ -7148,14 +6997,12 @@ "EnableResourceNameDnsAAAARecord": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.\n

" } }, "EnableResourceNameDnsARecord": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether to respond to DNS queries for instance hostnames with DNS A records.\n

" } }, @@ -7194,14 +7041,12 @@ "DefaultVersionNumber": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The default version of the launch template.\n

" } }, "LatestVersionNumber": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The latest version of the launch template.\n

" } } @@ -7248,7 +7093,6 @@ "IsDefault": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether this is the default network ACL for the VPC.

" } }, @@ -7299,7 +7143,6 @@ "Egress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

" } }, @@ -7336,7 +7179,6 @@ "RuleNumber": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The rule number. The rules are processed in order by their number.

" } } @@ -7369,14 +7211,12 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is\n terminated.

" } }, "DeviceIndex": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The device index of the network interface attachment on the instance.

" } }, @@ -7427,7 +7267,6 @@ "SourceDestCheck": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether traffic to or from the instance is validated.

" } }, @@ -7632,14 +7471,12 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type\n number.

\n

A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you\n must specify all codes.

" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

\n

A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all\n codes.

" } }, @@ -7794,7 +7631,6 @@ "AssignIpv6AddressOnCreation": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to assign an IPV6 address to a network interface that is created in this subnet.

" } }, @@ -7813,7 +7649,6 @@ "AvailableIpAddressCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.

" } }, @@ -7826,14 +7661,12 @@ "DefaultForAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether this subnet is the default subnet for the Availability Zone.

" } }, "MapPublicIpOnLaunch": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether instances in this subnet receive a public IP address.

" } }, @@ -7950,7 +7783,6 @@ "AmazonSideAsn": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. \n

" } } @@ -7971,7 +7803,6 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the EBS volume is deleted when the EC2 instance is terminated.

" } }, @@ -8016,14 +7847,12 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the volume is encrypted.

" } }, "Size": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiBs.

" } }, @@ -8112,7 +7941,6 @@ "AcceptanceRequired": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

" } }, @@ -8131,7 +7959,6 @@ "ManagesVpcEndpoints": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the service manages its VPC endpoints.

" } }, @@ -8390,7 +8217,6 @@ "StaticRoutesOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the VPN connection uses static routes only.

" } }, @@ -8411,7 +8237,6 @@ "DpdTimeoutSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.

" } }, @@ -8448,7 +8273,6 @@ "Phase1LifetimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 1 of the IKE negotiation, in seconds.

" } }, @@ -8473,7 +8297,6 @@ "Phase2LifetimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 2 of the IKE negotiation, in seconds.

" } }, @@ -8486,21 +8309,18 @@ "RekeyFuzzPercentage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the rekey window, which is determined by\n RekeyMarginTimeSeconds during which the rekey time is randomly selected.

" } }, "RekeyMarginTimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services\n side of the VPN connection performs an IKE rekey.

" } }, "ReplayWindowSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of packets in an IKE replay window.

" } }, @@ -8553,7 +8373,6 @@ "AcceptedRouteCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of accepted routes.

" } }, @@ -8692,7 +8511,6 @@ "ScanOnPush": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to scan images after they are pushed to a repository.

" } } @@ -8793,7 +8611,6 @@ "CloudWatchEncryptionEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable encryption on the CloudWatch logs.

" } }, @@ -8812,7 +8629,6 @@ "S3EncryptionEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to encrypt the logs that are sent to the S3 bucket.

" } }, @@ -8833,7 +8649,6 @@ "Base": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of tasks to run on the specified capacity provider.

" } }, @@ -8846,7 +8661,6 @@ "Weight": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The relative percentage of the total number of tasks launched that should use the capacity provider.

" } } @@ -8873,7 +8687,6 @@ "ActiveServicesCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of services that are running on the cluster in an ACTIVE state. You can view these services with the Amazon ECS \n ListServices\n API operation.\n

" } }, @@ -8910,14 +8723,12 @@ "RegisteredContainerInstancesCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of container instances registered into the cluster. This includes container instances in both ACTIVE and DRAINING status.\n

" } }, "RunningTasksCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.\n

" } }, @@ -8956,7 +8767,6 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

When this parameter is true, the container is given elevated privileges on the host container instance \n(similar to the root user). \n

" } } @@ -8977,7 +8787,6 @@ "Base": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

\n

The value must be between 0 and 100000.

" } }, @@ -8990,7 +8799,6 @@ "Weight": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The relative percentage of the total number of tasks that should use the capacity provider.

\n

If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

\n

The value can be between 0 and 1000.

" } } @@ -9011,14 +8819,12 @@ "Enable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable the deployment circuit breaker logic for the service.

" } }, "Rollback": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

" } } @@ -9039,14 +8845,12 @@ "MaximumPercent": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For a service that uses the rolling update (ECS) deployment type, the maximum number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment, and for tasks that use the EC2 launch type, when any container instances are in the DRAINING state. Provided as a percentage of the desired number of tasks. The default value is 200%.

\n

For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment types, and tasks that use the EC2 launch type, the maximum number of tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.

\n

For the Fargate launch type, the maximum percent value is not used.

" } }, "MinimumHealthyPercent": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For a service that uses the rolling update (ECS) deployment type, the minimum number of tasks in a service that must remain in the RUNNING state during a deployment, and while any container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Expressed as a percentage of the desired number of tasks. The default value is 100%.

\n

For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment types and tasks that use the EC2 launch type, the minimum number of the tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.

\n

For the Fargate launch type, the minimum healthy percent value is not used.

" } } @@ -9099,28 +8903,24 @@ "DesiredCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instantiations of the task definition to run on the service.

" } }, "EnableEcsManagedTags": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable Amazon ECS managed tags for the tasks in the service.

" } }, "EnableExecuteCommand": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the execute command functionality is enabled for the service.

" } }, "HealthCheckGracePeriodSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.

" } }, @@ -9225,7 +9025,6 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.

" } }, @@ -9356,14 +9155,12 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port value to use for the service discovery service.

\n

If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.

\n

If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.

" } }, "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpcawsvpc network mode and SRV records are used.

" } }, @@ -9422,7 +9219,6 @@ "Cpu": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU units reserved for the container.

" } }, @@ -9435,7 +9231,6 @@ "DisableNetworking": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to disable networking within the container.

" } }, @@ -9484,7 +9279,6 @@ "Essential": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is essential. All tasks must have at least one essential container.

" } }, @@ -9521,7 +9315,6 @@ "Interactive": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then containerized applications can be deployed that require stdin or a tty to be allocated.

" } }, @@ -9546,14 +9339,12 @@ "Memory": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.

" } }, "MemoryReservation": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The soft limit (in MiB) of memory to reserve for the container.

" } }, @@ -9578,21 +9369,18 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.

" } }, "PseudoTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to allocate a TTY to the container.

" } }, "ReadonlyRootFilesystem": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is given read-only access to its root file system.

" } }, @@ -9617,14 +9405,12 @@ "StartTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before giving up on resolving dependencies for a container.

" } }, "StopTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.

" } }, @@ -9773,28 +9559,24 @@ "Interval": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The time period in seconds between each health check execution. The default value is 30 seconds.

" } }, "Retries": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.

" } }, "StartPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.

" } }, "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.

" } } @@ -9841,28 +9623,24 @@ "InitProcessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to run an init process inside the container that forwards signals and reaps processes.

" } }, "MaxSwap": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of swap memory (in MiB) that a container can use.

" } }, "SharedMemorySize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The value for the size (in MiB) of the /dev/shm volume.

" } }, "Swappiness": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.

" } }, @@ -9927,7 +9705,6 @@ "Size": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size (in MiB) of the tmpfs volume.

" } } @@ -10012,7 +9789,6 @@ "ReadOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the container has read-only access to the volume.

" } }, @@ -10039,14 +9815,12 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the container that is bound to the user-specified or automatically assigned host port.

" } }, "HostPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the container instance to reserve for the container.

" } }, @@ -10165,7 +9939,6 @@ "HardLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The hard limit for the ulimit type.

" } }, @@ -10178,7 +9951,6 @@ "SoftLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The soft limit for the ulimit type.

" } } @@ -10199,7 +9971,6 @@ "ReadOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the container has read-only access to the volume.

" } }, @@ -10460,7 +10231,6 @@ "Autoprovision": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to create the Docker volume automatically if it does not already exist.

" } }, @@ -10543,7 +10313,6 @@ "TransitEncryptionPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.

" } } @@ -10858,7 +10627,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the logging types that are listed in Types are enabled.

" } }, @@ -10911,7 +10679,6 @@ "EndpointPublicAccess": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether the Amazon EKS public API server endpoint is turned on. If the Amazon EKS public API \n server endpoint is turned off, your cluster's Kubernetes API server can only receive requests that originate from within \n the cluster VPC.\n

" } } @@ -11206,7 +10973,6 @@ "EnforceHTTPS": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to require that all traffic to the domain arrive over HTTPS.

" } }, @@ -11227,14 +10993,12 @@ "DedicatedMasterCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.

" } }, "DedicatedMasterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.

" } }, @@ -11247,7 +11011,6 @@ "InstanceCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of data nodes to use in the Elasticsearch domain.

" } }, @@ -11266,7 +11029,6 @@ "ZoneAwarenessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.

" } } @@ -11281,7 +11043,6 @@ "AvailabilityZoneCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

he number of Availability Zones that the domain uses. Valid values are 2 and 3. The default is 2.

" } } @@ -11296,7 +11057,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether encryption at rest is enabled.

" } }, @@ -11346,7 +11106,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the log publishing is enabled.

" } } @@ -11361,7 +11120,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether node-to-node encryption is enabled.

" } } @@ -11382,7 +11140,6 @@ "Cancellable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether a request to update the domain can be canceled.

" } }, @@ -11407,7 +11164,6 @@ "UpdateAvailable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether a service software update is available for the domain.

" } }, @@ -11492,7 +11248,6 @@ "CookieExpirationPeriod": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, after which the cookie is considered stale. If an\n expiration period is not specified, the stickiness session lasts for the duration of the\n browser session.

" } }, @@ -11513,14 +11268,12 @@ "EmitInterval": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The interval in minutes for publishing the access logs.

\n

You can publish access logs either every 5 minutes or every 60 minutes.

" } }, "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether access logs are enabled for the load balancer.

" } }, @@ -11611,7 +11364,6 @@ "InstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the EC2 instance is listening.

" } }, @@ -11638,14 +11390,12 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether connection draining is enabled for the load balancer.

" } }, "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum time, in seconds, to keep the existing connections open before deregistering\n the instances.

" } } @@ -11660,7 +11410,6 @@ "IdleTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The time, in seconds, that the connection can be idle (no data is sent over the\n connection) before it is closed by the load balancer.

" } } @@ -11675,7 +11424,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether cross-zone load balancing is enabled for the load balancer.

" } } @@ -11800,14 +11548,12 @@ "HealthyThreshold": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health check successes required before the instance is moved\n to the Healthy state.

" } }, "Interval": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The approximate interval, in seconds, between health checks of an individual\n instance.

" } }, @@ -11820,14 +11566,12 @@ "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, during which no response means a failed health\n check.

" } }, "UnhealthyThreshold": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health check failures that must occur before the instance is\n moved to the Unhealthy state.

" } } @@ -11862,7 +11606,6 @@ "InstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the instance is listening.

" } }, @@ -11875,7 +11618,6 @@ "LoadBalancerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the load balancer is listening.

\n

On EC2-VPC, you can specify any port from the range 1-65535.

\n

On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587,\n 1024-65535.

" } }, @@ -12627,7 +12369,6 @@ "MfaAuthenticated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the session used multi-factor authentication (MFA).

" } }, @@ -12913,7 +12654,6 @@ "AttachmentCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of users, groups, and roles that the policy is attached to.

" } }, @@ -12938,7 +12678,6 @@ "IsAttachable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the policy can be attached to a user, group, or role.

" } }, @@ -12951,7 +12690,6 @@ "PermissionsBoundaryUsageCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of users and roles that use the policy to set the permissions\n boundary.

" } }, @@ -12996,7 +12734,6 @@ "IsDefaultVersion": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the version is the default version.

" } }, @@ -13078,7 +12815,6 @@ "MaxSessionDuration": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum session duration (in seconds) that you want to set for the specified role.

" } }, @@ -13213,14 +12949,12 @@ "ShardCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of shards that the stream uses. \n

" } }, "RetentionPeriodHours": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of hours for the data records that are stored in shards to remain accessible. \n

" } } @@ -13261,7 +12995,6 @@ "CreationDate": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Indicates when the KMS key was created.

\n

Uses the date-time format specified in RFC 3339 section 5.6, Internet\n Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example,\n 2020-03-22T13:22:13.933Z.

" } }, @@ -13298,7 +13031,6 @@ "KeyRotationStatus": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the key has key rotation enabled.

" } } @@ -13419,7 +13151,6 @@ "MemorySize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The memory that is allocated to the function.

" } }, @@ -13444,7 +13175,6 @@ "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time that Lambda allows a function to run before stopping it.

" } }, @@ -13535,7 +13265,6 @@ "CodeSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the layer archive in bytes.

" } } @@ -13596,7 +13325,6 @@ "Version": { "target": "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

" } }, @@ -13618,10 +13346,7 @@ } }, "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.securityhub#AwsMountPoint": { "type": "structure", @@ -13701,7 +13426,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether SASL/IAM authentication is enabled or not.

" } } @@ -13716,7 +13440,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether SASL/SCRAM authentication is enabled or not.

" } } @@ -13737,7 +13460,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether TLS authentication is enabled or not.

" } } @@ -13752,7 +13474,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether unauthenticated is allowed or not.

" } } @@ -13779,7 +13500,6 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of broker nodes in the cluster.

" } }, @@ -13840,7 +13560,6 @@ "InCluster": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n When set to true, it indicates that data communication among the broker nodes of the cluster is \n encrypted. When set to false, the communication happens in plain text. The default value is \n true.

" } }, @@ -13875,7 +13594,6 @@ "DeleteProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the firewall is protected from deletion. If set to true, then the firewall cannot be deleted.

" } }, @@ -13912,14 +13630,12 @@ "FirewallPolicyChangeProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the firewall is protected from a change to the firewall policy. If set to true, you cannot associate a different policy with the firewall.

" } }, "SubnetChangeProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the firewall is protected from a change to the subnet associations. If set to true, you cannot map different subnets to the firewall.

" } }, @@ -14004,7 +13720,6 @@ "Capacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of operating resources that this rule group can use.

" } }, @@ -14055,14 +13770,12 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Enables fine-grained access control.\n

" } }, "InternalUserDatabaseEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Enables the internal user database.\n

" } }, @@ -14083,28 +13796,24 @@ "InstanceCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of data nodes to use in the OpenSearch domain.

" } }, "WarmEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether UltraWarm is enabled.

" } }, "WarmCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of UltraWarm instances.

" } }, "DedicatedMasterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.

" } }, @@ -14117,7 +13826,6 @@ "DedicatedMasterCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.

" } }, @@ -14136,7 +13844,6 @@ "ZoneAwarenessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.

" } }, @@ -14157,7 +13864,6 @@ "AvailabilityZoneCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of Availability Zones that the domain uses. Valid values are 2 or 3. The default is 2.

" } } @@ -14276,14 +13982,12 @@ "CustomEndpointEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable a custom endpoint for the domain.

" } }, "EnforceHTTPS": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to require that all traffic to the domain arrive over HTTPS.

" } }, @@ -14310,7 +14014,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether encryption at rest is enabled.

" } }, @@ -14337,7 +14040,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the log publishing is enabled.

" } } @@ -14404,7 +14106,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether node-to-node encryption is enabled.

" } } @@ -14425,7 +14126,6 @@ "Cancellable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether a request to update the domain can be canceled.

" } }, @@ -14450,7 +14150,6 @@ "UpdateAvailable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether a service software update is available for the domain.

" } }, @@ -14463,7 +14162,6 @@ "OptionalDeployment": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the service software update is optional.

" } } @@ -14524,7 +14222,6 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For all database engines except Aurora, specifies the allocated storage size in\n gibibytes (GiB).

" } }, @@ -14537,7 +14234,6 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which automated backups are retained.

" } }, @@ -14574,7 +14270,6 @@ "MultiAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster has instances in multiple Availability Zones.

" } }, @@ -14593,7 +14288,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on which the DB instances in the DB cluster accept connections.

" } }, @@ -14636,7 +14330,6 @@ "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster is encrypted.

" } }, @@ -14679,14 +14372,12 @@ "DeletionProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster has deletion protection enabled.

" } }, "HttpEndpointEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

" } }, @@ -14699,14 +14390,12 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether tags are copied from the DB cluster to snapshots of the DB cluster.

" } }, "CrossAccountClone": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services\n account.

" } }, @@ -14749,14 +14438,12 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the mapping of IAM accounts to database accounts is enabled.

" } }, "AutoMinorVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates if minor version upgrades are automatically applied to the cluster.

" } } @@ -14771,14 +14458,12 @@ "IsClusterWriter": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the cluster member is the primary instance for the DB cluster.

" } }, "PromotionTier": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the order in which an Aurora replica is promoted to the primary instance when\n the existing primary instance fails.

" } }, @@ -14881,7 +14566,6 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the allocated storage size in gibibytes (GiB).

" } }, @@ -14894,7 +14578,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port number on which the DB instances in the DB cluster accept connections.

" } }, @@ -14937,14 +14620,12 @@ "PercentProgress": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster is encrypted.

" } }, @@ -14969,7 +14650,6 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether mapping of IAM accounts to database accounts is enabled.

" } }, @@ -15090,7 +14770,6 @@ "DbInstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the DB instance listens on. If the DB instance is part of a DB\n cluster, this can be a different port than the DB cluster port.

" } }, @@ -15109,7 +14788,6 @@ "DeletionProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance has deletion protection enabled.

\n

When deletion protection is enabled, the database cannot be deleted.

" } }, @@ -15134,7 +14812,6 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of IAM accounts to database\n accounts is enabled, and otherwise false.

\n

IAM database authentication can be enabled for the following database engines.

\n " } }, @@ -15153,14 +14830,12 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies the accessibility options for the DB instance.

\n

A value of true specifies an Internet-facing instance with a publicly resolvable DNS\n name, which resolves to a public IP address.

\n

A value of false specifies an internal instance with a DNS name that resolves to a\n private IP address.

" } }, "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB instance is encrypted.

" } }, @@ -15179,7 +14854,6 @@ "MultiAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB instance is a multiple Availability Zone deployment.

" } }, @@ -15204,7 +14878,6 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage (in gigabytes) to initially allocate for the DB instance.

" } }, @@ -15217,7 +14890,6 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which to retain automated backups.

" } }, @@ -15266,7 +14938,6 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether minor version patches are applied automatically.

" } }, @@ -15297,7 +14968,6 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the provisioned IOPS (I/O operations per second) for this DB instance.

" } }, @@ -15340,14 +15010,12 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to copy resource tags to snapshots of the DB instance.

" } }, "MonitoringInterval": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The interval, in seconds, between points when enhanced monitoring metrics are collected\n for the DB instance.

" } }, @@ -15360,7 +15028,6 @@ "PromotionTier": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The order in which to promote an Aurora replica to the primary instance after a failure\n of the existing primary instance.

" } }, @@ -15373,7 +15040,6 @@ "PerformanceInsightsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Performance Insights is enabled for the DB instance.

" } }, @@ -15386,7 +15052,6 @@ "PerformanceInsightsRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days to retain Performance Insights data.

" } }, @@ -15408,7 +15073,6 @@ "MaxAllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The upper limit to which Amazon RDS can automatically scale the storage of the DB\n instance.

" } } @@ -15429,7 +15093,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -15534,7 +15197,6 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The new value of the allocated storage for the DB instance.

" } }, @@ -15547,21 +15209,18 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The new port for the DB instance.

" } }, "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The new backup retention period for the DB instance.

" } }, "MultiAZ": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates that a single Availability Zone DB instance is changing to a multiple Availability Zone deployment.

" } }, @@ -15580,7 +15239,6 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The new provisioned IOPS value for the DB instance.

" } }, @@ -15795,7 +15453,6 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage (in gigabytes) to be initially allocated for the database instance.

" } }, @@ -15808,7 +15465,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the database engine was listening on at the time of the snapshot.

" } }, @@ -15857,7 +15513,6 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

" } }, @@ -15870,7 +15525,6 @@ "PercentProgress": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the estimated data that has been transferred.

" } }, @@ -15901,7 +15555,6 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB snapshot is encrypted.

" } }, @@ -15920,7 +15573,6 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether mapping of IAM accounts to database accounts is enabled.

" } }, @@ -15953,7 +15605,6 @@ "Normal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the read replica instance is operating normally.

" } }, @@ -16088,7 +15739,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the event notification subscription is enabled.

" } }, @@ -16293,14 +15943,12 @@ "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that manual snapshots are retained in the destination Region after\n they are copied from a source Region.

\n

If the value is -1,\n then the manual snapshot is retained indefinitely.

\n

Valid values: Either -1\n or an integer between 1 and 3,653

" } }, "RetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days to retain automated snapshots in the destination Region after they\n are copied from a source Region.

" } }, @@ -16353,14 +16001,12 @@ "AllowVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether major version upgrades are applied automatically to the cluster during\n the maintenance window.

" } }, "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automatic cluster snapshots are retained.

" } }, @@ -16469,7 +16115,6 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the data in the cluster is encrypted at rest.

" } }, @@ -16482,7 +16127,6 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to create the cluster with enhanced VPC routing enabled.

" } }, @@ -16525,7 +16169,6 @@ "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The default number of days to retain a manual snapshot.

\n

If the value is -1, the snapshot is retained indefinitely.

\n

This setting doesn't change the retention period of existing snapshots.

\n

Valid values: Either -1 or an integer between 1 and 3,653

" } }, @@ -16550,7 +16193,6 @@ "NumberOfNodes": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of compute nodes in the cluster.

" } }, @@ -16575,7 +16217,6 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the cluster can be accessed from a public network.

" } }, @@ -16658,7 +16299,6 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The port that the database engine listens on.

" } } @@ -16749,7 +16389,6 @@ "LoggingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

" } }, @@ -16770,7 +16409,6 @@ "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The pending or in-progress change to the automated snapshot retention period.

" } }, @@ -16801,7 +16439,6 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to create the cluster with enhanced VPC routing enabled.

" } }, @@ -16826,14 +16463,12 @@ "NumberOfNodes": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The pending or in-progress change to the number of nodes in the cluster.

" } }, "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

The pending or in-progress change to whether the cluster can be connected to from the\n public network.

" } } @@ -16848,7 +16483,6 @@ "AllowCancelResize": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the resize operation can be canceled.

" } }, @@ -16869,35 +16503,30 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes per second being transferred from the backup storage. Returns\n the average rate for a completed backup.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time an in-progress restore has been running, or the amount of time it\n took a completed restore to finish.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The estimate of the time remaining before the restore is complete. Returns 0 for a\n completed restore.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes that were transferred from snapshot storage.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The size of the set of snapshot data that was used to restore the cluster.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, @@ -17062,28 +16691,24 @@ "BlockPublicAcls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).

" } }, "BlockPublicPolicy": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.

" } }, "IgnorePublicAcls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.

" } }, "RestrictPublicBuckets": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.

" } } @@ -17112,7 +16737,6 @@ "DaysAfterInitiation": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days after which Amazon S3 cancels an incomplete multipart upload.

" } } @@ -17139,14 +16763,12 @@ "ExpirationInDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The length in days of the lifetime for objects that are subject to the rule.

" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to\n true, the delete marker is expired. If set to false, the policy\n takes no action.

\n

If you provide ExpiredObjectDeleteMarker, you cannot provide\n ExpirationInDays or ExpirationDate.

" } }, @@ -17165,7 +16787,6 @@ "NoncurrentVersionExpirationInDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

" } }, @@ -17328,7 +16949,6 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

" } }, @@ -17361,7 +16981,6 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

" } }, @@ -17388,7 +17007,6 @@ "IsMfaDeleteEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.

" } }, @@ -17664,7 +17282,6 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of days that you want to specify for the default retention period.\n

" } }, @@ -17677,7 +17294,6 @@ "Years": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of years that you want to specify for the default retention period.\n

" } } @@ -18054,7 +17670,6 @@ "VolumeSizeInGB": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The size, in GB, of the ML storage volume to attach to the notebook instance.\n

" } } @@ -18089,7 +17704,6 @@ "RotationOccurredWithinFrequency": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the rotation occurred within the specified rotation frequency.

" } }, @@ -18102,7 +17716,6 @@ "RotationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether rotation is enabled.

" } }, @@ -18115,7 +17728,6 @@ "Deleted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the secret is deleted.

" } }, @@ -18142,7 +17754,6 @@ "AutomaticallyAfterDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of days after the previous rotation to rotate the secret.

" } } @@ -18157,6 +17768,7 @@ "SchemaVersion": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The schema version that a finding is formatted for.

", "smithy.api#required": {} } @@ -18164,6 +17776,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The security findings provider-specific identifier for a finding.

", "smithy.api#required": {} } @@ -18171,6 +17784,7 @@ "ProductArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN generated by Security Hub that uniquely identifies a product that generates findings.\n This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for\n a custom integration.

", "smithy.api#required": {} } @@ -18196,6 +17810,7 @@ "GeneratorId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier for the solution-specific component (a discrete unit of logic) that\n generated a finding. In various security findings providers' solutions, this generator can\n be called a rule, a check, a detector, a plugin, etc.

", "smithy.api#required": {} } @@ -18203,6 +17818,7 @@ "AwsAccountId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account ID that a finding is generated in.

", "smithy.api#required": {} } @@ -18228,6 +17844,7 @@ "CreatedAt": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates when the security findings provider created the potential security issue that\n a finding captured.

\n

Uses the date-time format specified in RFC 3339 section 5.6, Internet\n Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example,\n 2020-03-22T13:22:13.933Z.

", "smithy.api#required": {} } @@ -18235,6 +17852,7 @@ "UpdatedAt": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates when the security findings provider last updated the finding record.

\n

Uses the date-time format specified in RFC 3339 section 5.6, Internet\n Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example,\n 2020-03-22T13:22:13.933Z.

", "smithy.api#required": {} } @@ -18248,20 +17866,19 @@ "Confidence": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A finding's confidence. Confidence is defined as the likelihood that a finding\n accurately identifies the behavior or issue that it was intended to identify.

\n

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.

" } }, "Criticality": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The level of importance assigned to the resources associated with the finding.

\n

A score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.

" } }, "Title": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A finding's title.

\n \n

In this release, Title is a required property.

\n
", "smithy.api#required": {} } @@ -18269,6 +17886,7 @@ "Description": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A finding's description.

\n \n

In this release, Description is a required property.

\n
", "smithy.api#required": {} } @@ -18336,6 +17954,7 @@ "Resources": { "target": "com.amazonaws.securityhub#ResourceList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A set of resource data types that describe the resources that the finding refers\n to.

", "smithy.api#required": {} } @@ -18409,7 +18028,6 @@ "Sample": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the finding is a sample finding.

" } }, @@ -19032,6 +18650,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the finding that was specified by the finding provider.

", "smithy.api#required": {} } @@ -19039,6 +18658,7 @@ "ProductArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN generated by Security Hub that uniquely identifies a product that generates findings.\n This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for\n a custom integration.

", "smithy.api#required": {} } @@ -19166,7 +18786,6 @@ "KmsDataKeyReusePeriodSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling KMS again.

" } }, @@ -19205,21 +18824,18 @@ "CompliantCriticalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n CRITICAL.

" } }, "CompliantHighCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n HIGH.

" } }, "CompliantMediumCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n MEDIUM.

" } }, @@ -19232,49 +18848,42 @@ "NonCompliantCriticalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patch items that are noncompliant, the number of items that have a severity of\n CRITICAL.

" } }, "CompliantInformationalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n INFORMATIONAL.

" } }, "NonCompliantInformationalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n INFORMATIONAL.

" } }, "CompliantUnspecifiedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n UNSPECIFIED.

" } }, "NonCompliantLowCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n LOW.

" } }, "NonCompliantHighCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n HIGH.

" } }, "CompliantLowCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n LOW.

" } }, @@ -19299,14 +18908,12 @@ "NonCompliantMediumCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n MEDIUM.

" } }, "NonCompliantUnspecifiedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n UNSPECIFIED.

" } }, @@ -19451,7 +19058,6 @@ "IncludeExecutionData": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Determines whether execution data is included in your log. When set to false, data is excluded.\n

" } }, @@ -19472,7 +19078,6 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n When set to true, X-Ray tracing is enabled.\n

" } } @@ -19505,7 +19110,6 @@ "RateLimit": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests that have an identical value for the field specified in RateKey that are allowed within a five-minute period. If the number of requests exceeds RateLimit and the other predicates specified in the rule are met, WAF triggers the action for the rule.

" } }, @@ -19538,7 +19142,6 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then the rule actions are performed on requests that match the predicate settings.

\n

If set to false, then the rule actions are performed on all requests except those that match the predicate settings.\n

" } }, @@ -19583,7 +19186,6 @@ "RateLimit": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests that have an identical value for the field specified in RateKey that are allowed within a five-minute period. If the number of requests exceeds RateLimit and the other predicates specified in the rule are met, WAF triggers the action for the rule.

" } }, @@ -19616,7 +19218,6 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then the rule actions are performed on requests that match the predicate settings.

\n

If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

" } }, @@ -19727,7 +19328,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

If you define more than one rule in a web ACL, WAF evaluates each request against the rules in\n order based on the value of Priority.

" } }, @@ -19772,7 +19372,6 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies if you want WAF to allow, block, or count requests based on the settings in the \n ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, \n RegexMatchSet, GeoMatchSet, or SizeConstraintSet.\n

" } }, @@ -19863,7 +19462,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The order in which WAF evaluates the rules in a web ACL.\n

" } }, @@ -19988,7 +19586,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order\n based on the value of Priority.

" } }, @@ -20033,7 +19630,6 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies if you want WAF to allow, block, or count requests based on the settings in the \n ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, \n RegexMatchSet, GeoMatchSet, or SizeConstraintSet.\n

" } }, @@ -20104,7 +19700,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the order in which the rules in a web\n ACL are evaluated. Rules with a lower value for Priority are\n evaluated before rules with a higher value. The value must be a unique integer. If you add\n multiple rules to a web ACL, the values do not need to be consecutive.

" } }, @@ -20205,7 +19800,6 @@ "ResponseCode": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The HTTP status code to return to the client. For a list of status codes that you can use in your custom responses, see \n Supported status codes for custom response in the WAF Developer Guide.\n

" } }, @@ -20232,7 +19826,6 @@ "Capacity": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The web ACL capacity units (WCUs) required for this rule group. \n

" } }, @@ -20367,7 +19960,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on the value of Priority. \n WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.\n

" } }, @@ -20394,7 +19986,6 @@ "CloudWatchMetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available \n metrics, see WAF metrics and dimensions in the WAF Developer Guide.\n

" } }, @@ -20407,7 +19998,6 @@ "SampledRequestsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n A boolean indicating whether WAF should store a sampling of the web requests that match the rules. \n You can view the sampled requests through the WAF console.\n

" } } @@ -20456,7 +20046,6 @@ "ImmunityTime": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.\n

" } } @@ -20483,7 +20072,6 @@ "ManagedbyFirewallManager": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Indicates whether this web ACL is managed by Firewall Manager. \n

" } }, @@ -20496,7 +20084,6 @@ "Capacity": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The web ACL capacity units (WCUs) currently being used by this web ACL.\n

" } }, @@ -20625,6 +20212,7 @@ "AutomationRulesArns": { "target": "com.amazonaws.securityhub#AutomationRulesArnsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.\n

", "smithy.api#required": {} } @@ -20712,6 +20300,7 @@ "StandardsSubscriptionArns": { "target": "com.amazonaws.securityhub#StandardsSubscriptionArns", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARNs of the standards subscriptions to disable.

", "smithy.api#required": {} } @@ -20795,6 +20384,7 @@ "StandardsSubscriptionRequests": { "target": "com.amazonaws.securityhub#StandardsSubscriptionRequests", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of standards checks to enable.

", "smithy.api#required": {} } @@ -20953,6 +20543,7 @@ "AutomationRulesArns": { "target": "com.amazonaws.securityhub#AutomationRulesArnsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A list of rule ARNs to get details for.\n

", "smithy.api#required": {} } @@ -21053,6 +20644,7 @@ "SecurityControlIds": { "target": "com.amazonaws.securityhub#StringList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of security controls (identified with SecurityControlId,\n SecurityControlArn, or a mix of both parameters). The security control ID\n or Amazon Resource Name (ARN) is the same across standards.

", "smithy.api#required": {} } @@ -21068,6 +20660,7 @@ "SecurityControls": { "target": "com.amazonaws.securityhub#SecurityControls", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An array that returns the identifier, Amazon Resource Name (ARN), and other details about a security control. \n The same information is returned whether the request includes SecurityControlId or SecurityControlArn.\n

", "smithy.api#required": {} } @@ -21120,6 +20713,7 @@ "StandardsControlAssociationIds": { "target": "com.amazonaws.securityhub#StandardsControlAssociationIds", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An array with one or more objects that includes a security control (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters) and the Amazon Resource Name (ARN) of a standard. \n This field is used to query the enablement status of a control in a specified standard. The security control ID or ARN is the same across standards.\n

", "smithy.api#required": {} } @@ -21135,6 +20729,7 @@ "StandardsControlAssociationDetails": { "target": "com.amazonaws.securityhub#StandardsControlAssociationDetails", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Provides the enablement status of a security control in a specified standard and other details for the control in relation to \n the specified standard.\n

", "smithy.api#required": {} } @@ -21230,6 +20825,7 @@ "Findings": { "target": "com.amazonaws.securityhub#BatchImportFindingsRequestFindingList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of findings to import. To successfully import a finding, it must follow the\n Amazon Web Services Security Finding Format. Maximum of 100 findings per request.

", "smithy.api#required": {} } @@ -21257,7 +20853,7 @@ "FailedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of findings that failed to import.

", "smithy.api#required": {} } @@ -21265,7 +20861,7 @@ "SuccessCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of findings that were successfully imported.

", "smithy.api#required": {} } @@ -21346,6 +20942,7 @@ "UpdateAutomationRulesRequestItems": { "target": "com.amazonaws.securityhub#UpdateAutomationRulesRequestItemsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An array of ARNs for the rules that are to be updated. Optionally, you can also include \n RuleStatus and RuleOrder.\n

", "smithy.api#required": {} } @@ -21468,6 +21065,7 @@ "FindingIdentifiers": { "target": "com.amazonaws.securityhub#AwsSecurityFindingIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of findings to update. BatchUpdateFindings can be used to update\n up to 100 findings at a time.

\n

For each finding, the list provides the finding identifier and the ARN of the finding\n provider.

", "smithy.api#required": {} } @@ -21490,14 +21088,12 @@ "Confidence": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The updated value for the finding confidence. Confidence is defined as the likelihood\n that a finding accurately identifies the behavior or issue that it was intended to\n identify.

\n

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.

" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The updated value for the level of importance assigned to the resources associated with\n the findings.

\n

A score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.

" } }, @@ -21536,6 +21132,7 @@ "ProcessedFindings": { "target": "com.amazonaws.securityhub#AwsSecurityFindingIdentifierList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of findings that were updated successfully.

", "smithy.api#required": {} } @@ -21543,6 +21140,7 @@ "UnprocessedFindings": { "target": "com.amazonaws.securityhub#BatchUpdateFindingsUnprocessedFindingsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of findings that were not updated.

", "smithy.api#required": {} } @@ -21558,6 +21156,7 @@ "FindingIdentifier": { "target": "com.amazonaws.securityhub#AwsSecurityFindingIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the finding that was not updated.

", "smithy.api#required": {} } @@ -21565,6 +21164,7 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The code associated with the error. Possible values are:

\n ", "smithy.api#required": {} } @@ -21572,6 +21172,7 @@ "ErrorMessage": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message associated with the error. Possible values are:

\n ", "smithy.api#required": {} } @@ -21660,6 +21261,7 @@ "StandardsControlAssociationUpdates": { "target": "com.amazonaws.securityhub#StandardsControlAssociationUpdates", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n Updates the enablement status of a security control in a specified standard.\n

", "smithy.api#required": {} } @@ -21684,10 +21286,7 @@ } }, "com.amazonaws.securityhub#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.securityhub#BooleanFilter": { "type": "structure", @@ -21695,7 +21294,6 @@ "Value": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

The value of the boolean.

" } } @@ -21722,14 +21320,12 @@ "Column": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The column number of the column that contains the data. For a Microsoft Excel workbook, the column number corresponds to the alphabetical column identifiers. For example, a value of 1 for Column corresponds to the A column in the workbook.

" } }, "Row": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The row number of the row that contains the data.

" } }, @@ -21814,14 +21410,12 @@ "SizeClassified": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total size in bytes of the affected data.

" } }, "AdditionalOccurrences": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.

" } }, @@ -21900,7 +21494,6 @@ "EndLine": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n \tThe line number of the last line of code in which the vulnerability is located.\n

" } }, @@ -21919,7 +21512,6 @@ "StartLine": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The line number of the first line of code in which the vulnerability is located.\n

" } } @@ -22037,7 +21629,6 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

When this parameter is true, the container is given elevated privileges on the host \ncontainer instance (similar to the root user). \n

" } } @@ -22154,6 +21745,7 @@ "Name": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the custom action target. Can contain up to 20 characters.

", "smithy.api#required": {} } @@ -22161,6 +21753,7 @@ "Description": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description for the custom action target.

", "smithy.api#required": {} } @@ -22168,6 +21761,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ID for the custom action target. Can contain up to 20 alphanumeric characters.

", "smithy.api#required": {} } @@ -22183,6 +21777,7 @@ "ActionTargetArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the custom action target.

", "smithy.api#required": {} } @@ -22309,7 +21904,7 @@ "RuleOrder": { "target": "com.amazonaws.securityhub#RuleOrderValue", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An integer ranging from 1 to 1000 that represents the order in which the rule action is\n applied to findings. Security Hub applies rules with lower values for this parameter\n first.

", "smithy.api#required": {} } @@ -22317,6 +21912,7 @@ "RuleName": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The name of the rule.\n

", "smithy.api#required": {} } @@ -22324,6 +21920,7 @@ "Description": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A description of the rule.\n

", "smithy.api#required": {} } @@ -22331,13 +21928,13 @@ "IsTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding \n matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches \n the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.\n

" } }, "Criteria": { "target": "com.amazonaws.securityhub#AutomationRulesFindingFilters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A set of ASFF finding field attributes and corresponding expected values that \n Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in\n this parameter, Security Hub applies the rule action to the finding.\n

", "smithy.api#required": {} } @@ -22345,6 +21942,7 @@ "Actions": { "target": "com.amazonaws.securityhub#ActionList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n One or more actions to update finding fields if a finding matches the conditions \n specified in Criteria. \n

", "smithy.api#required": {} } @@ -22430,6 +22028,7 @@ "RegionLinkingMode": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.

\n

The selected option also determines how to use the Regions provided in the Regions list.

\n

The options are as follows:

\n ", "smithy.api#required": {} } @@ -22544,6 +22143,7 @@ "Name": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the custom insight to create.

", "smithy.api#required": {} } @@ -22551,6 +22151,7 @@ "Filters": { "target": "com.amazonaws.securityhub#AwsSecurityFindingFilters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more attributes used to filter the findings included in the insight. The insight\n only includes findings that match the criteria defined in the filters.

", "smithy.api#required": {} } @@ -22558,6 +22159,7 @@ "GroupByAttribute": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The attribute used to group the findings for the insight. The grouping attribute\n identifies the type of item that the insight applies to. For example, if an insight is\n grouped by resource identifier, then the insight produces a list of resource\n identifiers.

", "smithy.api#required": {} } @@ -22573,6 +22175,7 @@ "InsightArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the insight created.

", "smithy.api#required": {} } @@ -22641,6 +22244,7 @@ "AccountDetails": { "target": "com.amazonaws.securityhub#AccountDetailsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of accounts to associate with the Security Hub administrator account. For each account, the\n list includes the account ID and optionally the email address.

", "smithy.api#required": {} } @@ -22667,7 +22271,6 @@ "com.amazonaws.securityhub#CrossAccountMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -22680,7 +22283,6 @@ "Count": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data that were detected.

" } }, @@ -22725,7 +22327,6 @@ "TotalCount": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data.

" } } @@ -22746,7 +22347,6 @@ "BaseScore": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The base CVSS score.

" } }, @@ -22837,7 +22437,6 @@ "Value": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A date range value for the date filter.

" } }, @@ -22915,6 +22514,7 @@ "AccountIds": { "target": "com.amazonaws.securityhub#AccountIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of prospective member account IDs for which to decline an invitation.

", "smithy.api#required": {} } @@ -23003,6 +22603,7 @@ "ActionTargetArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the custom action target that was deleted.

", "smithy.api#required": {} } @@ -23149,6 +22750,7 @@ "InsightArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the insight that was deleted.

", "smithy.api#required": {} } @@ -23212,6 +22814,7 @@ "AccountIds": { "target": "com.amazonaws.securityhub#AccountIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of member account IDs that received the invitations you want to delete.

", "smithy.api#required": {} } @@ -23290,6 +22893,7 @@ "AccountIds": { "target": "com.amazonaws.securityhub#AccountIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of account IDs for the member accounts to delete.

", "smithy.api#required": {} } @@ -23388,7 +22992,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return.

" } } @@ -23403,6 +23006,7 @@ "ActionTargets": { "target": "com.amazonaws.securityhub#ActionTargetList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of ActionTarget objects. Each object includes the ActionTargetArn,\n Description, and Name of a custom action target available in\n Security Hub.

", "smithy.api#required": {} } @@ -23500,7 +23104,6 @@ "AutoEnableControls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable new controls when they are added to standards that are\n enabled.

\n

If set to true, then new controls for enabled standards are enabled\n automatically. If set to false, then new controls are not enabled.

" } }, @@ -23570,14 +23173,12 @@ "AutoEnable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable Security Hub for new accounts in the organization.

\n

If set to true, then Security Hub is enabled for new accounts. If set to false,\n then new accounts are not added automatically.

" } }, "MemberAccountLimitReached": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the maximum number of allowed member accounts are already associated with the\n Security Hub administrator account.

" } }, @@ -23677,7 +23278,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -23700,6 +23300,7 @@ "Products": { "target": "com.amazonaws.securityhub#ProductsList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of products, including details for each product.

", "smithy.api#required": {} } @@ -23841,7 +23442,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of security standard controls to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -23884,7 +23484,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of standards to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -24026,6 +23625,7 @@ "AdminAccountId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account identifier of the Security Hub administrator account.

", "smithy.api#required": {} } @@ -24250,6 +23850,7 @@ "AccountIds": { "target": "com.amazonaws.securityhub#AccountIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The account IDs of the member accounts to disassociate from the administrator account.

", "smithy.api#required": {} } @@ -24284,7 +23885,6 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DNS request was blocked.

" } } @@ -24294,10 +23894,7 @@ } }, "com.amazonaws.securityhub#Double": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } + "type": "double" }, "com.amazonaws.securityhub#EnableImportFindingsForProduct": { "type": "operation", @@ -24351,6 +23948,7 @@ "ProductArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the product to enable the integration for.

", "smithy.api#required": {} } @@ -24420,6 +24018,7 @@ "AdminAccountId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Web Services account identifier of the account to designate as the Security Hub administrator\n account.

", "smithy.api#required": {} } @@ -24494,7 +24093,6 @@ "EnableDefaultStandards": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable the security standards that Security Hub has designated as automatically\n enabled. If you do not provide a value for EnableDefaultStandards, it is set\n to true. To not enable the automatically enabled standards, set\n EnableDefaultStandards to false.

" } }, @@ -24598,7 +24196,6 @@ "FindingCreated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

\n Identifies whether the event marks the creation of a new finding. A value of True means that the finding is \n newly created. A value of False means that the finding isn’t newly created.\n

" } }, @@ -24706,14 +24303,12 @@ "Confidence": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A finding's confidence. Confidence is defined as the likelihood that a finding\n accurately identifies the behavior or issue that it was intended to identify.

\n

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.

" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The level of importance assigned to the resources associated with the finding.

\n

A score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.

" } }, @@ -24850,7 +24445,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The order in which to run the stateless rule group.

" } }, @@ -24903,14 +24497,12 @@ "Lon": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The longitude of the location.

" } }, "Lat": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The latitude of the location.

" } } @@ -25047,7 +24639,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

" } } @@ -25222,6 +24813,7 @@ "FindingIdentifier": { "target": "com.amazonaws.securityhub#AwsSecurityFindingIdentifier", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -25246,7 +24838,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.\n

" } } @@ -25443,7 +25034,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of findings to return.

" } } @@ -25458,6 +25048,7 @@ "Findings": { "target": "com.amazonaws.securityhub#AwsSecurityFindingList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The findings that matched the filters specified in the request.

", "smithy.api#required": {} } @@ -25554,6 +25145,7 @@ "InsightResults": { "target": "com.amazonaws.securityhub#InsightResults", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The insight results returned by the operation.

", "smithy.api#required": {} } @@ -25655,7 +25247,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

" } } @@ -25670,6 +25261,7 @@ "Insights": { "target": "com.amazonaws.securityhub#InsightList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The insights returned by the operation.

", "smithy.api#required": {} } @@ -25738,7 +25330,6 @@ "InvitationsCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of all membership invitations sent to this Security Hub member account, not\n including the currently accepted invitation.

" } } @@ -25845,6 +25436,7 @@ "AccountIds": { "target": "com.amazonaws.securityhub#AccountIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of account IDs for the Security Hub member accounts to return the details for.

", "smithy.api#required": {} } @@ -25880,14 +25472,12 @@ "Code": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ICMP code for which to deny or allow access. To deny or allow all codes, use the\n value -1.

" } }, "Type": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ICMP type for which to deny or allow access. To deny or allow all types, use the\n value -1.

" } } @@ -25902,6 +25492,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the finding that could not be updated.

", "smithy.api#required": {} } @@ -25909,6 +25500,7 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The code of the error returned by the BatchImportFindings operation.

", "smithy.api#required": {} } @@ -25916,6 +25508,7 @@ "ErrorMessage": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message of the error returned by the BatchImportFindings\n operation.

", "smithy.api#required": {} } @@ -25937,6 +25530,7 @@ "InsightArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of a Security Hub insight.

", "smithy.api#required": {} } @@ -25944,6 +25538,7 @@ "Name": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of a Security Hub insight.

", "smithy.api#required": {} } @@ -25951,6 +25546,7 @@ "Filters": { "target": "com.amazonaws.securityhub#AwsSecurityFindingFilters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

One or more attributes used to filter the findings included in the insight. The insight\n only includes findings that match the criteria defined in the filters.

", "smithy.api#required": {} } @@ -25958,6 +25554,7 @@ "GroupByAttribute": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The grouping attribute for the insight's findings. Indicates how to group the matching\n findings, and identifies the type of item that the insight applies to. For example, if an\n insight is grouped by resource identifier, then the insight produces a list of resource\n identifiers.

", "smithy.api#required": {} } @@ -25979,6 +25576,7 @@ "GroupByAttributeValue": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The value of the attribute that the findings are grouped by for the insight whose\n results are returned by the GetInsightResults operation.

", "smithy.api#required": {} } @@ -25986,7 +25584,7 @@ "Count": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The number of findings returned for each GroupByAttributeValue.

", "smithy.api#required": {} } @@ -26008,6 +25606,7 @@ "InsightArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the insight whose results are returned by the GetInsightResults\n operation.

", "smithy.api#required": {} } @@ -26015,6 +25614,7 @@ "GroupByAttribute": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The attribute that the findings are grouped by for the insight whose results are\n returned by the GetInsightResults operation.

", "smithy.api#required": {} } @@ -26022,6 +25622,7 @@ "ResultValues": { "target": "com.amazonaws.securityhub#InsightResultValueList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of insight result values returned by the GetInsightResults\n operation.

", "smithy.api#required": {} } @@ -26032,10 +25633,7 @@ } }, "com.amazonaws.securityhub#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } + "type": "integer" }, "com.amazonaws.securityhub#IntegerList": { "type": "list", @@ -26213,6 +25811,7 @@ "AccountIds": { "target": "com.amazonaws.securityhub#AccountIdList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members.

", "smithy.api#required": {} } @@ -26262,7 +25861,6 @@ "Asn": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The Autonomous System Number (ASN) of the internet provider

" } }, @@ -26439,7 +26037,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of rules to return in the response. This currently ranges from 1 to\n 100.

", "smithy.api#httpQuery": "MaxResults" } @@ -26528,7 +26125,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -26624,7 +26220,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return. This operation currently only returns a single result.

", "smithy.api#httpQuery": "MaxResults" } @@ -26697,7 +26292,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#CrossAccountMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -26777,7 +26371,6 @@ "OnlyAssociated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies which member accounts to include in the response based on their relationship\n status with the administrator account. The default value is TRUE.

\n

If OnlyAssociated is set to TRUE, the response includes member\n accounts whose relationship status with the administrator account is set to ENABLED.

\n

If OnlyAssociated is set to FALSE, the response includes all\n existing member accounts.

", "smithy.api#httpQuery": "OnlyAssociated" } @@ -26785,7 +26378,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#CrossAccountMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -26881,7 +26473,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#AdminsMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -27015,7 +26606,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An optional parameter that limits the total results of the API response to the\n specified number. If this parameter isn't provided in the request, the results include the\n first 25 security controls that apply to the specified standard. The results also include a\n NextToken parameter that you can use in a subsequent API call to get the\n next 25 controls. This repeats until all controls for the standard are returned.

", "smithy.api#httpQuery": "MaxResults" } @@ -27031,6 +26621,7 @@ "SecurityControlDefinitions": { "target": "com.amazonaws.securityhub#SecurityControlDefinitions", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n An array of controls that apply to the specified standard.\n

", "smithy.api#required": {} } @@ -27089,6 +26680,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The identifier of the control (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters) that you \n want to determine the enablement status of in each enabled standard. \n

", "smithy.api#httpQuery": "SecurityControlId", "smithy.api#required": {} @@ -27104,7 +26696,6 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An optional parameter that limits the total results of the API response to the\n specified number. If this parameter isn't provided in the request, the results include the\n first 25 standard and control associations. The results also include a\n NextToken parameter that you can use in a subsequent API call to get the\n next 25 associations. This repeats until all associations for the specified control are\n returned. The number of results is limited by the number of supported Security Hub\n standards that you've enabled in the calling account.

", "smithy.api#httpQuery": "MaxResults" } @@ -27120,6 +26711,7 @@ "StandardsControlAssociationSummaries": { "target": "com.amazonaws.securityhub#StandardsControlAssociationSummaries", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array that provides the enablement status and other details for each security\n control that applies to each enabled standard.

", "smithy.api#required": {} } @@ -27229,10 +26821,7 @@ } }, "com.amazonaws.securityhub#Long": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.securityhub#Malware": { "type": "structure", @@ -27240,6 +26829,7 @@ "Name": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the malware that was observed.

", "smithy.api#required": {} } @@ -27455,7 +27045,6 @@ "com.amazonaws.securityhub#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -27557,7 +27146,6 @@ "SourcePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The source port of network-related information about a finding.

" } }, @@ -27588,7 +27176,6 @@ "DestinationPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The destination port of network-related information about a finding.

" } }, @@ -27639,7 +27226,6 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network connection attempt was blocked.

" } } @@ -27770,6 +27356,7 @@ "Text": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The text of a note.

", "smithy.api#required": {} } @@ -27777,6 +27364,7 @@ "UpdatedBy": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The principal that created a note.

", "smithy.api#required": {} } @@ -27784,6 +27372,7 @@ "UpdatedAt": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The timestamp of when the note was updated.

\n

Uses the date-time format specified in RFC 3339 section 5.6, Internet\n Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example,\n 2020-03-22T13:22:13.933Z.

", "smithy.api#required": {} } @@ -27799,6 +27388,7 @@ "Text": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The updated note text.

", "smithy.api#required": {} } @@ -27806,6 +27396,7 @@ "UpdatedBy": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The principal that updated the note.

", "smithy.api#required": {} } @@ -27821,21 +27412,18 @@ "Gte": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The greater-than-equal condition to be applied to a single field when querying for\n findings.

" } }, "Lte": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The less-than-equal condition to be applied to a single field when querying for\n findings.

" } }, "Eq": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The equal-to condition to be applied to a single field when querying for\n findings.

" } } @@ -27894,7 +27482,6 @@ "PageNumber": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The page number of the page that contains the sensitive data.

" } }, @@ -27950,6 +27537,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the compliance standard that was used to determine the patch\n compliance status.

", "smithy.api#required": {} } @@ -27957,42 +27545,36 @@ "InstalledCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches from the compliance standard that were installed\n successfully.

" } }, "MissingCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches that are part of the compliance standard but are not installed.\n The count includes patches that failed to install.

" } }, "FailedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches from the compliance standard that failed to install.

" } }, "InstalledOtherCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of installed patches that are not part of the compliance standard.

" } }, "InstalledRejectedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches that are installed but are also on a list of patches that the\n customer rejected.

" } }, "InstalledPendingReboot": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches that were applied, but that require the instance to be rebooted in\n order to be marked as installed.

" } }, @@ -28037,7 +27619,6 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the port probe was blocked.

" } } @@ -28084,14 +27665,12 @@ "Begin": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the port range.

" } }, "End": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the port range.

" } } @@ -28106,14 +27685,12 @@ "From": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the port range.

" } }, "To": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the port range.

" } } @@ -28146,14 +27723,12 @@ "Pid": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The process ID.

" } }, "ParentPid": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The parent process ID. This field accepts positive integers between O and 2147483647.

" } }, @@ -28180,6 +27755,7 @@ "ProductArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN assigned to the product.

", "smithy.api#required": {} } @@ -28275,21 +27851,18 @@ "Start": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

" } }, "End": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

" } }, "StartColumn": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

In the line where the sensitive data starts, the column within the line where the sensitive data starts.

" } } @@ -28307,7 +27880,6 @@ "com.amazonaws.securityhub#RatioScale": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -28346,7 +27918,6 @@ "RecordIndex": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The record index, starting from 0, for the record that contains the data.

" } } @@ -28401,6 +27972,7 @@ "ProductArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the product that generated a related finding.

", "smithy.api#required": {} } @@ -28408,6 +27980,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The product-generated identifier for a related finding.

", "smithy.api#required": {} } @@ -28449,6 +28022,7 @@ "Type": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of the resource that details are provided for. If possible, set\n Type to one of the supported resource types. For example, if the resource\n is an EC2 instance, then set Type to AwsEc2Instance.

\n

If the resource does not match any of the provided types, then set Type to\n Other.

", "smithy.api#required": {} } @@ -28456,6 +28030,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The canonical identifier for the given resource type.

", "smithy.api#required": {} } @@ -29541,14 +29116,12 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The starting port value for the port range.

" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ending port value for the port range.

" } } @@ -29595,14 +29168,12 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The starting port value for the port range.

" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The ending port value for the port range.

" } } @@ -29689,7 +29260,6 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.

" } }, @@ -29761,7 +29331,6 @@ "com.amazonaws.securityhub#RuleOrderValue": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -29791,6 +29360,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service name and a \n number, such as APIGateway.3.\n

", "smithy.api#required": {} } @@ -29798,6 +29368,7 @@ "SecurityControlArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) for a security control across standards, such as\n arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This\n parameter doesn't mention a specific standard.

", "smithy.api#required": {} } @@ -29805,6 +29376,7 @@ "Title": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The title of a security control.\n

", "smithy.api#required": {} } @@ -29812,6 +29384,7 @@ "Description": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of a security control across standards. This typically summarizes how\n Security Hub evaluates the control and the conditions under which it produces a\n failed finding. This parameter doesn't reference a specific standard.

", "smithy.api#required": {} } @@ -29819,6 +29392,7 @@ "RemediationUrl": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A link to Security Hub documentation that explains how to remediate a failed finding for a security control.\n

", "smithy.api#required": {} } @@ -29826,6 +29400,7 @@ "SeverityRating": { "target": "com.amazonaws.securityhub#SeverityRating", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The severity of a security control. For more information about how Security Hub determines control severity, see \n Assigning severity to control findings in the \n Security Hub User Guide.\n

", "smithy.api#required": {} } @@ -29833,6 +29408,7 @@ "SecurityControlStatus": { "target": "com.amazonaws.securityhub#ControlStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The enablement status of a security control in a specific standard.\n

", "smithy.api#required": {} } @@ -29848,6 +29424,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The unique identifier of a security control across standards. Values for this field typically consist of an \n Amazon Web Service name and a number (for example, APIGateway.3). This parameter differs from \n SecurityControlArn, which is a unique Amazon Resource Name (ARN) assigned to a control. The \n ARN references the security control ID (for example, arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).\n

", "smithy.api#required": {} } @@ -29855,6 +29432,7 @@ "Title": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The title of a security control.\n

", "smithy.api#required": {} } @@ -29862,6 +29440,7 @@ "Description": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of a security control across standards. This typically summarizes how\n Security Hub evaluates the control and the conditions under which it produces a\n failed finding. This parameter doesn't reference a specific standard.

", "smithy.api#required": {} } @@ -29869,6 +29448,7 @@ "RemediationUrl": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A link to Security Hub documentation that explains how to remediate a failed finding for a security control.\n

", "smithy.api#required": {} } @@ -29876,6 +29456,7 @@ "SeverityRating": { "target": "com.amazonaws.securityhub#SeverityRating", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The severity of a security control. For more information about how Security Hub determines control severity, \n see Assigning severity to control findings in the \n Security Hub User Guide.\n

", "smithy.api#required": {} } @@ -29883,6 +29464,7 @@ "CurrentRegionAvailability": { "target": "com.amazonaws.securityhub#RegionAvailabilityStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n Specifies whether a security control is available in the current Amazon Web Services Region.\n

", "smithy.api#required": {} } @@ -30172,7 +29754,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -30215,7 +29796,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -30228,7 +29810,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -30242,7 +29823,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -30265,7 +29845,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -30300,7 +29879,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -30311,14 +29889,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -30332,14 +29912,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -30348,11 +29926,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -30363,14 +29941,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -30384,7 +29964,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -30404,7 +29983,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -30415,14 +29993,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -30433,9 +30013,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -31117,7 +30699,6 @@ "Count": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data that were detected.

" } }, @@ -31162,7 +30743,6 @@ "TotalCount": { "target": "com.amazonaws.securityhub#Long", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data.

" } } @@ -31183,7 +30763,6 @@ "Product": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated. This attribute is being deprecated. Instead of providing\n Product, provide Original.

\n

The native severity as defined by the Amazon Web Services service or integrated partner product that\n generated the finding.

" } }, @@ -31196,7 +30775,6 @@ "Normalized": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated. The normalized severity of a finding. This attribute is being deprecated.\n Instead of providing Normalized, provide Label.

\n

If you provide Label and do not provide Normalized, then\n Normalized is set automatically as follows.

\n " } }, @@ -31281,14 +30859,12 @@ "Normalized": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The normalized severity for the finding. This attribute is to be deprecated in favor of\n Label.

\n

If you provide Normalized and do not provide Label,\n Label is set automatically as follows.

\n " } }, "Product": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The native severity as defined by the Amazon Web Services service or integrated partner product that\n generated the finding.

" } }, @@ -31304,10 +30880,7 @@ } }, "com.amazonaws.securityhub#SizeBytes": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } + "type": "long" }, "com.amazonaws.securityhub#SoftwarePackage": { "type": "structure", @@ -31456,7 +31029,6 @@ "EnabledByDefault": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether the standard is enabled by default. When Security Hub is enabled from the console, if a\n standard is enabled by default, the check box for that standard is selected by\n default.

\n

When Security Hub is enabled using the EnableSecurityHub API operation, the\n standard is enabled by default unless EnableDefaultStandards is set to\n false.

" } }, @@ -31557,6 +31129,7 @@ "StandardsArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of a security standard.\n

", "smithy.api#required": {} } @@ -31564,6 +31137,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The unique identifier of a security control across standards. Values for this field typically consist of an Amazon Web Service \n name and a number, such as APIGateway.3.\n

", "smithy.api#required": {} } @@ -31571,6 +31145,7 @@ "SecurityControlArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of a security control across standards, such as\n arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This\n parameter doesn't mention a specific standard.

", "smithy.api#required": {} } @@ -31578,6 +31153,7 @@ "AssociationStatus": { "target": "com.amazonaws.securityhub#AssociationStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n Specifies whether a control is enabled or disabled in a specified standard.\n

", "smithy.api#required": {} } @@ -31635,6 +31211,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The unique identifier (identified with SecurityControlId, SecurityControlArn, or a mix of both parameters) of a security \n control across standards.\n

", "smithy.api#required": {} } @@ -31642,6 +31219,7 @@ "StandardsArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The ARN of a standard.\n

", "smithy.api#required": {} } @@ -31669,6 +31247,7 @@ "StandardsArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of a standard.\n

", "smithy.api#required": {} } @@ -31676,6 +31255,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n A unique standard-agnostic identifier for a control. Values for this field typically consist of an \n Amazon Web Service and a number, such as APIGateway.5. This field doesn't reference a specific standard.\n

", "smithy.api#required": {} } @@ -31683,6 +31263,7 @@ "SecurityControlArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of a control, such as\n arn:aws:securityhub:eu-central-1:123456789012:security-control/S3.1. This\n parameter doesn't mention a specific standard.

", "smithy.api#required": {} } @@ -31690,6 +31271,7 @@ "AssociationStatus": { "target": "com.amazonaws.securityhub#AssociationStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The enablement status of a control in a specific standard.\n

", "smithy.api#required": {} } @@ -31735,6 +31317,7 @@ "StandardsArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the standard in which you want to update the\n control's enablement status.

", "smithy.api#required": {} } @@ -31742,6 +31325,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The unique identifier for the security control whose enablement status you want to update.

", "smithy.api#required": {} } @@ -31749,6 +31333,7 @@ "AssociationStatus": { "target": "com.amazonaws.securityhub#AssociationStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The desired enablement status of the control in the standard.

", "smithy.api#required": {} } @@ -31846,6 +31431,7 @@ "StatusReasonCode": { "target": "com.amazonaws.securityhub#StatusReasonCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The reason code that represents the reason for the current status of a standard subscription.

", "smithy.api#required": {} } @@ -31861,6 +31447,7 @@ "StandardsSubscriptionArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of a resource that represents your subscription to a supported standard.

", "smithy.api#required": {} } @@ -31868,6 +31455,7 @@ "StandardsArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of a standard.

", "smithy.api#required": {} } @@ -31875,6 +31463,7 @@ "StandardsInput": { "target": "com.amazonaws.securityhub#StandardsInputParameterMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A key-value pair of input for the standard.

", "smithy.api#required": {} } @@ -31882,6 +31471,7 @@ "StandardsStatus": { "target": "com.amazonaws.securityhub#StandardsStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the standard subscription.

\n

The status values are as follows:

\n ", "smithy.api#required": {} } @@ -31915,6 +31505,7 @@ "StandardsArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the standard that you want to enable. To view the list of available standards\n and their ARNs, use the DescribeStandards operation.

", "smithy.api#required": {} } @@ -32002,6 +31593,7 @@ "ReasonCode": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A code that represents a reason for the control status. For the list of status reason\n codes and their meanings, see Standards-related information in the ASFF in the\n Security Hub User Guide.

", "smithy.api#required": {} } @@ -32205,6 +31797,7 @@ "Tags": { "target": "com.amazonaws.securityhub#TagMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags to add to the resource. You can add up to 50 tags at a time. The tag keys can be no longer than 128 characters. The tag values can be no longer than 256 characters.

", "smithy.api#required": {} } @@ -32248,7 +31841,6 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

This total number of items in which the threat has been detected.\n\t\t

" } }, @@ -32455,7 +32047,6 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#Integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

\n The error code associated with the unprocessed automation rule.\n

" } }, @@ -32511,6 +32102,7 @@ "SecurityControlId": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The control (identified with SecurityControlId,\n SecurityControlArn, or a mix of both parameters) for which a response\n couldn't be returned.

", "smithy.api#required": {} } @@ -32518,6 +32110,7 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#UnprocessedErrorCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The error code for the unprocessed security control.\n

", "smithy.api#required": {} } @@ -32545,6 +32138,7 @@ "StandardsControlAssociationId": { "target": "com.amazonaws.securityhub#StandardsControlAssociationId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array with one or more objects that includes a security control (identified with\n SecurityControlId, SecurityControlArn, or a mix of both\n parameters) and the Amazon Resource Name (ARN) of a standard. This parameter shows the\n specific controls for which the enablement status couldn't be retrieved in specified standards when\n calling BatchUpdateStandardsControlAssociations.

", "smithy.api#required": {} } @@ -32552,6 +32146,7 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#UnprocessedErrorCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code for the unprocessed standard and control association.\n

", "smithy.api#required": {} } @@ -32573,6 +32168,7 @@ "StandardsControlAssociationUpdate": { "target": "com.amazonaws.securityhub#StandardsControlAssociationUpdate", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of control and standard associations for which an update failed when calling \n BatchUpdateStandardsControlAssociations.\n

", "smithy.api#required": {} } @@ -32580,6 +32176,7 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#UnprocessedErrorCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code for the unprocessed update of the control's enablement status in the\n specified standard.

", "smithy.api#required": {} } @@ -32661,6 +32258,7 @@ "TagKeys": { "target": "com.amazonaws.securityhub#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tag keys associated with the tags to remove from the resource. You can remove up to 50 tags at a time.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -32761,6 +32359,7 @@ "RuleArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) for the rule.\n

", "smithy.api#required": {} } @@ -32774,7 +32373,6 @@ "RuleOrder": { "target": "com.amazonaws.securityhub#RuleOrderValue", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

An integer ranging from 1 to 1000 that represents the order in which the rule action is\n applied to findings. Security Hub applies rules with lower values for this parameter\n first.

" } }, @@ -32793,7 +32391,6 @@ "IsTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding \n matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches \n the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.\n

" } }, @@ -32892,6 +32489,7 @@ "FindingAggregatorArn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators.

", "smithy.api#required": {} } @@ -32899,6 +32497,7 @@ "RegionLinkingMode": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.

\n

The selected option also determines how to use the Regions provided in the Regions list.

\n

The options are as follows:

\n ", "smithy.api#required": {} } @@ -32986,6 +32585,7 @@ "Filters": { "target": "com.amazonaws.securityhub#AwsSecurityFindingFilters", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A collection of attributes that specify which findings you want to update.

", "smithy.api#required": {} } @@ -33159,7 +32759,7 @@ "AutoEnable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether to automatically enable Security Hub for new accounts in the organization.

\n

By default, this is false, and new accounts are not added\n automatically.

\n

To automatically enable Security Hub for new accounts, set this to true.

", "smithy.api#required": {} } @@ -33232,7 +32832,6 @@ "AutoEnableControls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable new controls when they are added to standards that are\n enabled.

\n

By default, this is set to true, and new controls are enabled\n automatically. To not automatically enable new controls, set this to false.\n

" } }, @@ -33432,21 +33031,18 @@ "AllowDnsResolutionFromRemoteVpc": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.\n

" } }, "AllowEgressFromLocalClassicLinkToRemoteVpc": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.\n

" } }, "AllowEgressFromLocalVpcToRemoteClassicLink": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.\n

" } } @@ -33461,6 +33057,7 @@ "Id": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The identifier of the vulnerability.

", "smithy.api#required": {} } @@ -33504,7 +33101,6 @@ "EpssScore": { "target": "com.amazonaws.securityhub#Double", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The Exploit Prediction Scoring System (EPSS) score for a finding. \n\t\t

" } }, @@ -33609,6 +33205,7 @@ "Name": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the vendor.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json b/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json index 2ad29cdbc40..7f54947f842 100644 --- a/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json +++ b/codegen/sdk-codegen/aws-models/serverlessapplicationrepository.json @@ -35,6 +35,7 @@ "ApplicationId": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the nested application.

", "smithy.api#jsonName": "applicationId", "smithy.api#required": {} @@ -43,6 +44,7 @@ "SemanticVersion": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The semantic version of the nested application.

", "smithy.api#jsonName": "semanticVersion", "smithy.api#required": {} @@ -59,6 +61,7 @@ "Actions": { "target": "com.amazonaws.serverlessapplicationrepository#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

For the list of actions supported for this operation, see Application \n Permissions.

", "smithy.api#jsonName": "actions", "smithy.api#required": {} @@ -74,6 +77,7 @@ "Principals": { "target": "com.amazonaws.serverlessapplicationrepository#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of AWS account IDs, or * to make the application public.

", "smithy.api#jsonName": "principals", "smithy.api#required": {} @@ -97,6 +101,7 @@ "ApplicationId": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The application Amazon Resource Name (ARN).

", "smithy.api#jsonName": "applicationId", "smithy.api#required": {} @@ -105,6 +110,7 @@ "Author": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the author publishing the app.

Minimum length=1. Maximum length=127.

Pattern \"^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$\";

", "smithy.api#jsonName": "author", "smithy.api#required": {} @@ -120,6 +126,7 @@ "Description": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of the application.

Minimum length=1. Maximum length=256

", "smithy.api#jsonName": "description", "smithy.api#required": {} @@ -142,6 +149,7 @@ "Name": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the application.

Minimum length=1. Maximum length=140

Pattern: \"[a-zA-Z0-9\\\\-]+\";

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -279,6 +287,7 @@ "Author": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the author publishing the app.

Minimum length=1. Maximum length=127.

Pattern \"^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$\";

", "smithy.api#jsonName": "author", "smithy.api#required": {} @@ -287,6 +296,7 @@ "Description": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The description of the application.

Minimum length=1. Maximum length=256

", "smithy.api#jsonName": "description", "smithy.api#required": {} @@ -323,6 +333,7 @@ "Name": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the application that you want to publish.

Minimum length=1. Maximum length=140

Pattern: \"[a-zA-Z0-9\\\\-]+\";

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -753,6 +764,7 @@ "StackName": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This property corresponds to the parameter of the same name for the AWS CloudFormation CreateChangeSet\n API.

", "smithy.api#jsonName": "stackName", "smithy.api#required": {} @@ -1735,6 +1747,7 @@ "Name": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The name of the parameter.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1750,6 +1763,7 @@ "ReferencedByResources": { "target": "com.amazonaws.serverlessapplicationrepository#__listOf__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of AWS SAM resources that use this parameter.

", "smithy.api#jsonName": "referencedByResources", "smithy.api#required": {} @@ -1773,6 +1787,7 @@ "Name": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation\n uses the default value that is specified in your template.

", "smithy.api#jsonName": "name", "smithy.api#required": {} @@ -1781,6 +1796,7 @@ "Value": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The input value associated with the parameter.

", "smithy.api#jsonName": "value", "smithy.api#required": {} @@ -1839,6 +1855,7 @@ "Statements": { "target": "com.amazonaws.serverlessapplicationrepository#__listOfApplicationPolicyStatement", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of policy statements applied to the application.

", "smithy.api#jsonName": "statements", "smithy.api#required": {} @@ -1892,6 +1909,7 @@ "Arn": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This property corresponds to the content of the same name for the AWS CloudFormation RollbackTrigger\n Data Type.

", "smithy.api#jsonName": "arn", "smithy.api#required": {} @@ -1900,6 +1918,7 @@ "Type": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This property corresponds to the content of the same name for the AWS CloudFormation RollbackTrigger\n Data Type.

", "smithy.api#jsonName": "type", "smithy.api#required": {} @@ -2014,7 +2033,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2057,7 +2075,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2070,7 +2089,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2084,7 +2102,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2107,7 +2124,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2142,7 +2158,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2153,14 +2168,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2174,14 +2191,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -2190,18 +2205,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -2210,7 +2224,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -2230,14 +2245,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2251,7 +2268,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2271,7 +2287,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -2282,14 +2297,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2300,9 +2317,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2916,6 +2935,7 @@ "Key": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This property corresponds to the content of the same name for the AWS CloudFormation Tag\n Data Type.

", "smithy.api#jsonName": "key", "smithy.api#required": {} @@ -2924,6 +2944,7 @@ "Value": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

This property corresponds to the content of the same name for the AWS CloudFormation \n Tag\n \n Data Type.

", "smithy.api#jsonName": "value", "smithy.api#required": {} @@ -3006,6 +3027,7 @@ "OrganizationId": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The AWS Organization ID to unshare the application from.

", "smithy.api#jsonName": "organizationId", "smithy.api#required": {} @@ -3216,6 +3238,7 @@ "ApplicationId": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The application Amazon Resource Name (ARN).

", "smithy.api#jsonName": "applicationId", "smithy.api#required": {} @@ -3224,6 +3247,7 @@ "CreationTime": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time this resource was created.

", "smithy.api#jsonName": "creationTime", "smithy.api#required": {} @@ -3232,6 +3256,7 @@ "ParameterDefinitions": { "target": "com.amazonaws.serverlessapplicationrepository#__listOfParameterDefinition", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of parameter types supported by the application.

", "smithy.api#jsonName": "parameterDefinitions", "smithy.api#required": {} @@ -3240,6 +3265,7 @@ "RequiredCapabilities": { "target": "com.amazonaws.serverlessapplicationrepository#__listOfCapability", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of values that you must specify before you can deploy certain applications.\n Some applications might include resources that can affect permissions in your AWS\n account, for example, by creating new AWS Identity and Access Management (IAM) users.\n For those applications, you must explicitly acknowledge their capabilities by\n specifying this parameter.

The only valid values are CAPABILITY_IAM, CAPABILITY_NAMED_IAM,\n CAPABILITY_RESOURCE_POLICY, and CAPABILITY_AUTO_EXPAND.

The following resources require you to specify CAPABILITY_IAM or\n CAPABILITY_NAMED_IAM:\n AWS::IAM::Group,\n AWS::IAM::InstanceProfile,\n AWS::IAM::Policy, and\n AWS::IAM::Role.\n If the application contains IAM resources, you can specify either CAPABILITY_IAM\n or CAPABILITY_NAMED_IAM. If the application contains IAM resources\n with custom names, you must specify CAPABILITY_NAMED_IAM.

The following resources require you to specify CAPABILITY_RESOURCE_POLICY:\n AWS::Lambda::Permission,\n AWS::IAM:Policy,\n AWS::ApplicationAutoScaling::ScalingPolicy,\n AWS::S3::BucketPolicy,\n AWS::SQS::QueuePolicy, and\n AWS::SNS::TopicPolicy.

Applications that contain one or more nested applications require you to specify\n CAPABILITY_AUTO_EXPAND.

If your application template contains any of the above resources, we recommend that you review\n all permissions associated with the application before deploying. If you don't specify\n this parameter for an application that requires capabilities, the call will fail.

", "smithy.api#jsonName": "requiredCapabilities", "smithy.api#required": {} @@ -3248,6 +3274,7 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.

", "smithy.api#jsonName": "resourcesSupported", "smithy.api#required": {} @@ -3256,6 +3283,7 @@ "SemanticVersion": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The semantic version of the application:

\n https://semver.org/\n

", "smithy.api#jsonName": "semanticVersion", "smithy.api#required": {} @@ -3278,6 +3306,7 @@ "TemplateUrl": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A link to the packaged AWS SAM template of your application.

", "smithy.api#jsonName": "templateUrl", "smithy.api#required": {} @@ -3294,6 +3323,7 @@ "ApplicationId": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The application Amazon Resource Name (ARN).

", "smithy.api#jsonName": "applicationId", "smithy.api#required": {} @@ -3302,6 +3332,7 @@ "CreationTime": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The date and time this resource was created.

", "smithy.api#jsonName": "creationTime", "smithy.api#required": {} @@ -3310,6 +3341,7 @@ "SemanticVersion": { "target": "com.amazonaws.serverlessapplicationrepository#__string", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The semantic version of the application:

\n https://semver.org/\n

", "smithy.api#jsonName": "semanticVersion", "smithy.api#required": {} diff --git a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json index ac9925afe86..78a0dc333f0 100644 --- a/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json +++ b/codegen/sdk-codegen/aws-models/service-catalog-appregistry.json @@ -163,7 +163,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -206,7 +205,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -219,7 +219,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -233,7 +232,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -256,7 +254,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -291,7 +288,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -302,14 +298,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -323,14 +321,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -339,18 +335,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -359,7 +354,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -379,14 +375,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -400,7 +398,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -420,7 +417,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -431,14 +427,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -449,9 +447,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2514,7 +2514,6 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -2600,7 +2599,6 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -2686,7 +2684,6 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -2804,7 +2801,6 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return. The value cannot exceed 25. If you omit this parameter, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -2847,7 +2843,6 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -2938,7 +2933,6 @@ "com.amazonaws.servicecatalogappregistry#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk-codegen/aws-models/ssm.json b/codegen/sdk-codegen/aws-models/ssm.json index fb829740a80..865973f952e 100644 --- a/codegen/sdk-codegen/aws-models/ssm.json +++ b/codegen/sdk-codegen/aws-models/ssm.json @@ -127,14 +127,12 @@ "RegistrationLimit": { "target": "com.amazonaws.ssm#RegistrationLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of managed nodes that can be registered using this activation.

" } }, "RegistrationsCount": { "target": "com.amazonaws.ssm#RegistrationsCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of managed nodes already registered with this activation.

" } }, @@ -2030,7 +2028,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#ScheduleOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } }, @@ -2243,7 +2240,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#ScheduleOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } }, @@ -3008,7 +3004,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#ScheduleOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } }, @@ -4565,7 +4560,6 @@ "TimeoutSeconds": { "target": "com.amazonaws.ssm#TimeoutSeconds", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The TimeoutSeconds value specified for a command.

" } }, @@ -4845,7 +4839,6 @@ "com.amazonaws.ssm#CommandMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5634,7 +5627,6 @@ "RegistrationLimit": { "target": "com.amazonaws.ssm#RegistrationLimit", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Specify the maximum number of managed nodes you want to register. The default value is\n 1.

" } }, @@ -5917,7 +5909,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#ScheduleOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association.

" } }, @@ -6059,7 +6050,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#ScheduleOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association. For example, if you\n specified a cron schedule of cron(0 0 ? * THU#2 *), you could specify an offset of 3\n to run the association each Sunday after the second Thursday of the month. For more information\n about cron schedules for associations, see Reference: Cron\n and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.

\n \n

To use offsets, you must specify the ApplyOnlyAtCronInterval parameter. This\n option tells the system not to run an association immediately after you create it.

\n
" } }, @@ -6280,14 +6270,12 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of days to wait after the date and time specified by a cron expression before\n running the maintenance window.

\n

For example, the following cron expression schedules a maintenance window to run on the\n third Tuesday of every month at 11:30 PM.

\n

\n cron(30 23 ? * TUE#3 *)\n

\n

If the schedule offset is 2, the maintenance window won't run until two days\n later.

" } }, "Duration": { "target": "com.amazonaws.ssm#MaintenanceWindowDurationHours", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the maintenance window in hours.

", "smithy.api#required": {} } @@ -7783,7 +7771,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -7905,7 +7892,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -7988,7 +7974,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -8113,7 +8098,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -8208,7 +8192,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -8279,7 +8262,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchBaselineMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of patches to return (per page).

" } }, @@ -8386,7 +8368,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#DocumentPermissionMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -8510,7 +8491,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#EffectiveInstanceAssociationMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -8590,7 +8570,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchBaselineMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of patches to return (per page).

" } }, @@ -8667,7 +8646,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -8755,7 +8733,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResultsEC2Compatible", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results. The default value is 10 items.\n

" } }, @@ -8870,7 +8847,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchComplianceMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of patches to return (per page).

" } } @@ -8918,7 +8894,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchComplianceMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of managed nodes to return (per page).

" } } @@ -9004,7 +8979,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchComplianceMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of patches to return (per page).

" } } @@ -9080,7 +9054,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -9161,7 +9134,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9241,7 +9213,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9318,7 +9289,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9409,7 +9379,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowSearchMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9489,7 +9458,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9569,7 +9537,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9670,7 +9637,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowSearchMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9717,7 +9683,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaintenanceWindowMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9873,7 +9838,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -9943,7 +9907,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchBaselineMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of patch baselines to return (per page).

" } }, @@ -10134,7 +10097,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#PatchBaselineMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of patch groups to return (per page).

" } }, @@ -10224,7 +10186,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -10301,7 +10262,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#SessionMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -11081,7 +11041,6 @@ "com.amazonaws.ssm#DocumentPermissionMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -11618,7 +11577,6 @@ "com.amazonaws.ssm#EffectiveInstanceAssociationMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 5 @@ -12586,7 +12544,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -12647,7 +12604,6 @@ "com.amazonaws.ssm#GetInventorySchemaMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 50, "max": 200 @@ -12672,7 +12628,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#GetInventorySchemaMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -13147,7 +13102,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of days to wait to run a maintenance window after the scheduled cron expression\n date and time.

" } }, @@ -13160,7 +13114,6 @@ "Duration": { "target": "com.amazonaws.ssm#MaintenanceWindowDurationHours", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the maintenance window in hours.

" } }, @@ -13433,7 +13386,6 @@ "com.amazonaws.ssm#GetOpsMetadataMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -13453,7 +13405,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#GetOpsMetadataMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -13568,7 +13519,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -13674,7 +13624,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -13805,7 +13754,6 @@ "com.amazonaws.ssm#GetParametersByPathMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -13845,7 +13793,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#GetParametersByPathMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -16902,7 +16849,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -16975,7 +16921,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -17063,7 +17008,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#CommandMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

(Optional) The maximum number of items to return for this call. The call also returns a\n token that you can specify in a subsequent call to get the next set of results.

" } }, @@ -17164,7 +17108,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#CommandMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

(Optional) The maximum number of items to return for this call. The call also returns a\n token that you can specify in a subsequent call to get the next set of results.

" } }, @@ -17270,7 +17213,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -17346,7 +17288,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. Currently, you can specify null or 50.\n The call also returns a token that you can specify in a subsequent call to get the next set of\n results.

" } } @@ -17433,7 +17374,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -17522,7 +17462,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -17604,7 +17543,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -17700,7 +17638,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -17938,7 +17875,6 @@ "com.amazonaws.ssm#ListOpsMetadataMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -17957,7 +17893,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#ListOpsMetadataMaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } }, @@ -18039,7 +17974,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -18115,7 +18049,6 @@ "MaxResults": { "target": "com.amazonaws.ssm#MaxResults", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that you\n can specify in a subsequent call to get the next set of results.

" } } @@ -18286,7 +18219,6 @@ "com.amazonaws.ssm#MaintenanceWindowDurationHours": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 24 @@ -18713,7 +18645,6 @@ "Duration": { "target": "com.amazonaws.ssm#MaintenanceWindowDurationHours", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the maintenance window in hours.

" } }, @@ -18739,7 +18670,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of days to wait to run a maintenance window after the scheduled cron expression\n date and time.

" } }, @@ -18849,7 +18779,6 @@ "com.amazonaws.ssm#MaintenanceWindowMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 10, "max": 100 @@ -18869,7 +18798,6 @@ "com.amazonaws.ssm#MaintenanceWindowOffset": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 6 @@ -18956,7 +18884,6 @@ "TimeoutSeconds": { "target": "com.amazonaws.ssm#TimeoutSeconds", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

If this time is reached and the command hasn't already started running, it doesn't\n run.

" } } @@ -18977,7 +18904,6 @@ "com.amazonaws.ssm#MaintenanceWindowSearchMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -19433,7 +19359,6 @@ "com.amazonaws.ssm#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -19443,7 +19368,6 @@ "com.amazonaws.ssm#MaxResultsEC2Compatible": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 50 @@ -22656,7 +22580,6 @@ "com.amazonaws.ssm#PatchBaselineMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -22840,7 +22763,6 @@ "com.amazonaws.ssm#PatchComplianceMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 10, "max": 100 @@ -24534,7 +24456,6 @@ "com.amazonaws.ssm#RegistrationLimit": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -24592,7 +24513,6 @@ "com.amazonaws.ssm#RegistrationsCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -25873,7 +25793,6 @@ "com.amazonaws.ssm#ScheduleOffset": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 6 @@ -26063,7 +25982,6 @@ "TimeoutSeconds": { "target": "com.amazonaws.ssm#TimeoutSeconds", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

If this time is reached and the command hasn't already started running, it won't run.

" } }, @@ -26489,7 +26407,6 @@ "com.amazonaws.ssm#SessionMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -27848,7 +27765,6 @@ "com.amazonaws.ssm#TimeoutSeconds": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 30, "max": 2592000 @@ -28274,7 +28190,6 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#ScheduleOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

Number of days to wait after the scheduled day to run an association. For example, if you\n specified a cron schedule of cron(0 0 ? * THU#2 *), you could specify an offset of 3\n to run the association each Sunday after the second Thursday of the month. For more information\n about cron schedules for associations, see Reference: Cron\n and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.

\n \n

To use offsets, you must specify the ApplyOnlyAtCronInterval parameter. This\n option tells the system not to run an association immediately after you create it.

\n
" } }, @@ -28689,14 +28604,12 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of days to wait after the date and time specified by a cron expression before\n running the maintenance window.

\n

For example, the following cron expression schedules a maintenance window to run the third\n Tuesday of every month at 11:30 PM.

\n

\n cron(30 23 ? * TUE#3 *)\n

\n

If the schedule offset is 2, the maintenance window won't run until two days\n later.

" } }, "Duration": { "target": "com.amazonaws.ssm#MaintenanceWindowDurationHours", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The duration of the maintenance window in hours.

" } }, @@ -28781,14 +28694,12 @@ "ScheduleOffset": { "target": "com.amazonaws.ssm#MaintenanceWindowOffset", "traits": { - "smithy.api#default": null, "smithy.api#documentation": "

The number of days to wait to run a maintenance window after the scheduled cron expression\n date and time.

" } }, "Duration": { "target": "com.amazonaws.ssm#MaintenanceWindowDurationHours", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the maintenance window in hours.

" } }, diff --git a/codegen/sdk-codegen/aws-models/timestream-write.json b/codegen/sdk-codegen/aws-models/timestream-write.json index 7c2da01499a..72221496311 100644 --- a/codegen/sdk-codegen/aws-models/timestream-write.json +++ b/codegen/sdk-codegen/aws-models/timestream-write.json @@ -1674,7 +1674,6 @@ "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 73000 @@ -1781,7 +1780,6 @@ "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 8766 @@ -2282,7 +2280,6 @@ "MemoryStoreRetentionPeriodInHours": { "target": "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration for which data must be stored in the memory store.

", "smithy.api#required": {} } @@ -2290,7 +2287,6 @@ "MagneticStoreRetentionPeriodInDays": { "target": "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The duration for which data must be stored in the magnetic store.

", "smithy.api#required": {} } @@ -2865,7 +2861,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2908,7 +2903,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -2921,7 +2917,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2935,7 +2930,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2958,7 +2952,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -2993,7 +2986,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3004,14 +2996,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3025,14 +3019,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -3041,18 +3033,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -3061,7 +3052,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -3081,14 +3073,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -3102,7 +3096,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -3122,7 +3115,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -3133,14 +3125,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -3151,9 +3145,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/codegen/sdk-codegen/aws-models/waf-regional.json b/codegen/sdk-codegen/aws-models/waf-regional.json index 8a4ba049d37..7e1900e0273 100644 --- a/codegen/sdk-codegen/aws-models/waf-regional.json +++ b/codegen/sdk-codegen/aws-models/waf-regional.json @@ -336,7 +336,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -379,7 +378,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -392,7 +392,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -406,7 +405,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -429,7 +427,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -464,7 +461,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -475,14 +471,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -496,14 +494,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -512,11 +508,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -527,14 +523,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -548,7 +546,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -568,7 +565,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -579,14 +575,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -597,9 +595,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -2173,7 +2173,6 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field that is\n specified by RateKey, allowed in a five-minute period. If the number of\n requests exceeds the RateLimit and the other predicates specified in the rule\n are also met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -6598,7 +6597,6 @@ "com.amazonaws.wafregional#GetSampledRequestsMaxItems": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -6632,7 +6630,6 @@ "MaxItems": { "target": "com.amazonaws.wafregional#GetSampledRequestsMaxItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n\t\t\tduring the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests \n\t\t\treturns information about all of them.

", "smithy.api#required": {} } @@ -9065,7 +9062,6 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified\n by the RateKey, allowed in a five-minute period. If the number of requests\n exceeds the RateLimit and the other predicates specified in the rule are also\n met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -9089,7 +9085,6 @@ "com.amazonaws.wafregional#RateLimit": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 100, "max": 2000000000 @@ -10581,7 +10576,6 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a\n five-minute period. If the number of requests exceeds the RateLimit and the other\n predicates specified in the rule are also met,\n AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/waf.json b/codegen/sdk-codegen/aws-models/waf.json index 90819c4361d..be68ad1a604 100644 --- a/codegen/sdk-codegen/aws-models/waf.json +++ b/codegen/sdk-codegen/aws-models/waf.json @@ -324,7 +324,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -367,7 +366,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -380,7 +380,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -394,7 +393,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -519,7 +517,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -554,7 +551,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -565,14 +561,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -586,14 +584,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -602,11 +598,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -617,14 +613,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -638,7 +636,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -658,7 +655,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -669,14 +665,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -687,9 +685,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1669,7 +1669,6 @@ "RateLimit": { "target": "com.amazonaws.waf#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field that is\n specified by RateKey, allowed in a five-minute period. If the number of\n requests exceeds the RateLimit and the other predicates specified in the rule\n are also met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -6046,7 +6045,6 @@ "com.amazonaws.waf#GetSampledRequestsMaxItems": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -6080,7 +6078,6 @@ "MaxItems": { "target": "com.amazonaws.waf#GetSampledRequestsMaxItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n\t\t\tduring the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests \n\t\t\treturns information about all of them.

", "smithy.api#required": {} } @@ -8394,7 +8391,6 @@ "RateLimit": { "target": "com.amazonaws.waf#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified\n by the RateKey, allowed in a five-minute period. If the number of requests\n exceeds the RateLimit and the other predicates specified in the rule are also\n met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -8418,7 +8414,6 @@ "com.amazonaws.waf#RateLimit": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 100, "max": 2000000000 @@ -9887,7 +9882,6 @@ "RateLimit": { "target": "com.amazonaws.waf#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a\n five-minute period. If the number of requests exceeds the RateLimit and the other\n predicates specified in the rule are also met,\n AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/wafv2.json b/codegen/sdk-codegen/aws-models/wafv2.json index ca9c563e42c..cf87a87ab3e 100644 --- a/codegen/sdk-codegen/aws-models/wafv2.json +++ b/codegen/sdk-codegen/aws-models/wafv2.json @@ -419,7 +419,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -462,7 +461,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -475,7 +475,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -489,7 +488,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -512,7 +510,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -547,7 +544,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -558,14 +554,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -579,14 +577,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -595,11 +591,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -610,14 +606,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -631,7 +629,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -651,7 +648,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -662,14 +658,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -680,9 +678,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1907,7 +1907,6 @@ "com.amazonaws.wafv2#CapacityUnit": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4102,7 +4101,6 @@ "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The web ACL capacity units (WCUs) required for this rule group.

\n

When you create your own rule group, you define this, and you cannot change it after creation. \n When you add or modify the rules in a rule group, WAF enforces this limit. You can check the capacity \n for a set of rules using CheckCapacity.

\n

WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.

", "smithy.api#required": {} } @@ -5150,7 +5148,6 @@ "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The web ACL capacity units (WCUs) required for this rule group.

\n

WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.

" } }, @@ -6447,7 +6444,6 @@ "MaxItems": { "target": "com.amazonaws.wafv2#ListMaxItems", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that you want WAF to return from among the first 5,000\n requests that your Amazon Web Services resource received during the time range. If your resource received\n fewer requests than the value of MaxItems, GetSampledRequests\n returns information about all of them.

", "smithy.api#required": {} } @@ -7691,7 +7687,6 @@ "com.amazonaws.wafv2#ListMaxItems": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -8589,7 +8584,6 @@ "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The web ACL capacity units (WCUs) required for this rule group.

\n

WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.

" } }, @@ -9623,7 +9617,6 @@ "Limit": { "target": "com.amazonaws.wafv2#RateLimit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The limit on requests per 5-minute period for a single aggregation instance for the rate-based rule. \n If the rate-based statement includes a ScopeDownStatement, this limit is applied only to the\n requests that match the statement.

\n

Examples:

\n ", "smithy.api#required": {} } @@ -9784,7 +9777,6 @@ "com.amazonaws.wafv2#RateLimit": { "type": "long", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 100, "max": 2000000000 @@ -10743,7 +10735,6 @@ "Capacity": { "target": "com.amazonaws.wafv2#CapacityUnit", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The web ACL capacity units (WCUs) required for this rule group.

\n

When you create your own rule group, you define this, and you cannot change it after creation. \n When you add or modify the rules in a rule group, WAF enforces this limit. You can check the capacity \n for a set of rules using CheckCapacity.

\n

WAF uses WCUs to calculate and control the operating\n resources that are used to run your rules, rule groups, and web ACLs. WAF\n calculates capacity differently for each rule type, to reflect the relative cost of each rule. \n Simple rules that cost little to run use fewer WCUs than more complex rules\n\t\t\t\tthat use more processing power. \n\t\t\t\tRule group capacity is fixed at creation, which helps users plan their \n web ACL WCU usage when they use a rule group. For more information, see WAF web ACL capacity units (WCU) \n in the WAF Developer Guide.

", "smithy.api#required": {} } diff --git a/codegen/sdk-codegen/aws-models/wellarchitected.json b/codegen/sdk-codegen/aws-models/wellarchitected.json index e11afdac4dc..01c131ec3d7 100644 --- a/codegen/sdk-codegen/aws-models/wellarchitected.json +++ b/codegen/sdk-codegen/aws-models/wellarchitected.json @@ -35,6 +35,7 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -140,10 +141,7 @@ } }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable", - "traits": { - "smithy.api#default": false - } + "target": "com.amazonaws.wellarchitected#IsApplicable" }, "Risk": { "target": "com.amazonaws.wellarchitected#Risk" @@ -231,10 +229,7 @@ } }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable", - "traits": { - "smithy.api#default": false - } + "target": "com.amazonaws.wellarchitected#IsApplicable" }, "Risk": { "target": "com.amazonaws.wellarchitected#Risk" @@ -316,6 +311,7 @@ "LensAliases": { "target": "com.amazonaws.wellarchitected#LensAliases", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -375,6 +371,7 @@ "ProfileArns": { "target": "com.amazonaws.wellarchitected#ProfileArns", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of profile ARNs to associate with the workload.

", "smithy.api#required": {} } @@ -488,7 +485,6 @@ "FlaggedResources": { "target": "com.amazonaws.wellarchitected#FlaggedResources", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

Count of flagged resources associated to the check.

" } }, @@ -596,7 +592,6 @@ "com.amazonaws.wellarchitected#CheckStatusCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 101 @@ -937,6 +932,7 @@ "Status": { "target": "com.amazonaws.wellarchitected#ChoiceStatus", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of a choice.

", "smithy.api#required": {} } @@ -992,18 +988,21 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.wellarchitected#ExceptionResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.wellarchitected#ExceptionResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -1047,7 +1046,6 @@ "LensesAppliedCount": { "target": "com.amazonaws.wellarchitected#LensesAppliedCount", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The total number of lenses applied to the workload.

" } } @@ -1065,7 +1063,6 @@ "com.amazonaws.wellarchitected#Count": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

A non-negative integer that denotes how many.

", "smithy.api#range": { "min": 0 @@ -1125,12 +1122,14 @@ "SharedWith": { "target": "com.amazonaws.wellarchitected#SharedWith", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1204,6 +1203,7 @@ "LensVersion": { "target": "com.amazonaws.wellarchitected#LensVersion", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The version of the lens being created.

", "smithy.api#required": {} } @@ -1211,13 +1211,13 @@ "IsMajorVersion": { "target": "com.amazonaws.wellarchitected#IsMajorVersion", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to true if this new major lens version.

" } }, "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1300,12 +1300,14 @@ "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1323,10 +1325,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" } }, "traits": { @@ -1377,6 +1376,7 @@ "ProfileName": { "target": "com.amazonaws.wellarchitected#ProfileName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the profile.

", "smithy.api#required": {} } @@ -1384,6 +1384,7 @@ "ProfileDescription": { "target": "com.amazonaws.wellarchitected#ProfileDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The profile description.

", "smithy.api#required": {} } @@ -1391,6 +1392,7 @@ "ProfileQuestions": { "target": "com.amazonaws.wellarchitected#ProfileQuestionUpdates", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The profile questions.

", "smithy.api#required": {} } @@ -1398,6 +1400,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1487,12 +1490,14 @@ "SharedWith": { "target": "com.amazonaws.wellarchitected#SharedWith", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1565,6 +1570,7 @@ "TemplateName": { "target": "com.amazonaws.wellarchitected#TemplateName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Name of the review template.

", "smithy.api#required": {} } @@ -1572,6 +1578,7 @@ "Description": { "target": "com.amazonaws.wellarchitected#TemplateDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The review template description.

", "smithy.api#required": {} } @@ -1579,6 +1586,7 @@ "Lenses": { "target": "com.amazonaws.wellarchitected#ReviewTemplateLenses", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Lenses applied to the review template.

", "smithy.api#required": {} } @@ -1595,6 +1603,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1672,12 +1681,14 @@ "SharedWith": { "target": "com.amazonaws.wellarchitected#SharedWith", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1750,18 +1761,21 @@ "WorkloadName": { "target": "com.amazonaws.wellarchitected#WorkloadName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.wellarchitected#WorkloadDescription", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Environment": { "target": "com.amazonaws.wellarchitected#WorkloadEnvironment", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -1792,6 +1806,7 @@ "Lenses": { "target": "com.amazonaws.wellarchitected#WorkloadLenses", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -1801,6 +1816,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -1909,18 +1925,21 @@ "SharedWith": { "target": "com.amazonaws.wellarchitected#SharedWith", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "PermissionType": { "target": "com.amazonaws.wellarchitected#PermissionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -2013,6 +2032,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2021,6 +2041,7 @@ "LensStatus": { "target": "com.amazonaws.wellarchitected#LensStatusType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The status of the lens to be deleted.

", "smithy.api#httpQuery": "LensStatus", "smithy.api#required": {} @@ -2088,6 +2109,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2149,6 +2171,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2217,6 +2240,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2278,6 +2302,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2346,6 +2371,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2406,6 +2432,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2474,6 +2501,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "ClientRequestToken", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} @@ -2558,6 +2586,7 @@ "LensAliases": { "target": "com.amazonaws.wellarchitected#LensAliases", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -2617,6 +2646,7 @@ "ProfileArns": { "target": "com.amazonaws.wellarchitected#ProfileArns", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The list of profile ARNs to disassociate from the workload.

", "smithy.api#required": {} } @@ -2743,7 +2773,6 @@ "com.amazonaws.wellarchitected#FlaggedResources": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 9999 @@ -2811,7 +2840,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -2828,10 +2856,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -2896,6 +2921,7 @@ "Format": { "target": "com.amazonaws.wellarchitected#ReportFormat", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The format of the consolidated report.

\n

For PDF, Base64String is returned. For JSON, \n Metrics is returned.

", "smithy.api#httpQuery": "Format", "smithy.api#required": {} @@ -2904,7 +2930,6 @@ "IncludeSharedResources": { "target": "com.amazonaws.wellarchitected#IncludeSharedResources", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Set to true to have shared resources included in the report.

", "smithy.api#httpQuery": "IncludeSharedResources" } @@ -2918,7 +2943,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#GetConsolidatedReportMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -2931,7 +2955,6 @@ "com.amazonaws.wellarchitected#GetConsolidatedReportMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 15 @@ -3082,7 +3105,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -3099,10 +3121,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "LensReview": { "target": "com.amazonaws.wellarchitected#LensReview" @@ -3167,7 +3186,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -3184,10 +3202,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "LensReviewReport": { "target": "com.amazonaws.wellarchitected#LensReviewReport" @@ -3346,7 +3361,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3847,6 +3861,7 @@ "JSONString": { "target": "com.amazonaws.wellarchitected#LensJSON", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The JSON representation of a lens.

", "smithy.api#required": {} } @@ -3854,6 +3869,7 @@ "ClientRequestToken": { "target": "com.amazonaws.wellarchitected#ClientRequestToken", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -3961,10 +3977,7 @@ } }, "com.amazonaws.wellarchitected#IncludeSharedResources": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.wellarchitected#InternalServerException": { "type": "structure", @@ -3972,6 +3985,7 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -3985,21 +3999,14 @@ "com.amazonaws.wellarchitected#IsApplicable": { "type": "boolean", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Defines whether this question is applicable to a lens review.

" } }, "com.amazonaws.wellarchitected#IsMajorVersion": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged": { - "type": "boolean", - "traits": { - "smithy.api#default": false - } + "type": "boolean" }, "com.amazonaws.wellarchitected#Lens": { "type": "structure", @@ -4497,7 +4504,6 @@ "com.amazonaws.wellarchitected#LensesAppliedCount": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4568,7 +4574,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -4581,7 +4586,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListAnswersMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -4602,7 +4606,6 @@ "com.amazonaws.wellarchitected#ListAnswersMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -4616,10 +4619,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -4695,14 +4695,12 @@ "target": "com.amazonaws.wellarchitected#NextToken" }, "MaxResults": { - "target": "com.amazonaws.wellarchitected#MaxResults", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MaxResults" }, "LensArn": { "target": "com.amazonaws.wellarchitected#LensArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Well-Architected Lens ARN.

", "smithy.api#required": {} } @@ -4710,18 +4708,21 @@ "PillarId": { "target": "com.amazonaws.wellarchitected#PillarId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "QuestionId": { "target": "com.amazonaws.wellarchitected#QuestionId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ChoiceId": { "target": "com.amazonaws.wellarchitected#ChoiceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -4800,14 +4801,12 @@ "target": "com.amazonaws.wellarchitected#NextToken" }, "MaxResults": { - "target": "com.amazonaws.wellarchitected#MaxResults", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MaxResults" }, "LensArn": { "target": "com.amazonaws.wellarchitected#LensArn", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Well-Architected Lens ARN.

", "smithy.api#required": {} } @@ -4815,18 +4814,21 @@ "PillarId": { "target": "com.amazonaws.wellarchitected#PillarId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "QuestionId": { "target": "com.amazonaws.wellarchitected#QuestionId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ChoiceId": { "target": "com.amazonaws.wellarchitected#ChoiceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -4917,7 +4919,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -4930,7 +4931,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListLensReviewImprovementsMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -4951,7 +4951,6 @@ "com.amazonaws.wellarchitected#ListLensReviewImprovementsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4965,10 +4964,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -5043,7 +5039,6 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -5056,7 +5051,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } } @@ -5073,10 +5067,7 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "LensReviewSummaries": { "target": "com.amazonaws.wellarchitected#LensReviewSummaries" @@ -5155,7 +5146,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -5236,7 +5226,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } }, @@ -5334,10 +5323,7 @@ "target": "com.amazonaws.wellarchitected#NextToken" }, "MaxResults": { - "target": "com.amazonaws.wellarchitected#MaxResults", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MaxResults" } }, "traits": { @@ -5411,7 +5397,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListNotificationsMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

" } }, @@ -5429,7 +5414,6 @@ "com.amazonaws.wellarchitected#ListNotificationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5507,7 +5491,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } } @@ -5599,7 +5582,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListProfileSharesMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -5618,7 +5600,6 @@ "com.amazonaws.wellarchitected#ListProfileSharesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5704,7 +5685,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } } @@ -5802,7 +5782,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListReviewTemplateAnswersMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -5815,7 +5794,6 @@ "com.amazonaws.wellarchitected#ListReviewTemplateAnswersMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5896,7 +5874,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } } @@ -5990,7 +5967,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListShareInvitationsMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -6018,7 +5994,6 @@ "com.amazonaws.wellarchitected#ListShareInvitationsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -6163,7 +6138,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListTemplateSharesMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -6182,7 +6156,6 @@ "com.amazonaws.wellarchitected#ListTemplateSharesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -6277,7 +6250,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -6297,7 +6269,6 @@ "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -6370,7 +6341,6 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadsMaxResults", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

" } } @@ -6383,7 +6353,6 @@ "com.amazonaws.wellarchitected#ListWorkloadsMaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -6408,7 +6377,6 @@ "com.amazonaws.wellarchitected#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#range": { "min": 1, @@ -6419,7 +6387,6 @@ "com.amazonaws.wellarchitected#MaxSelectedProfileChoices": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6440,10 +6407,7 @@ "type": "structure", "members": { "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName" @@ -6472,7 +6436,6 @@ "com.amazonaws.wellarchitected#MilestoneNumber": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The milestone number.

\n

A workload can have a maximum of 100 milestones.

", "smithy.api#range": { "min": 1, @@ -6493,10 +6456,7 @@ "type": "structure", "members": { "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber", - "traits": { - "smithy.api#default": 0 - } + "target": "com.amazonaws.wellarchitected#MilestoneNumber" }, "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName" @@ -6515,7 +6475,6 @@ "com.amazonaws.wellarchitected#MinSelectedProfileChoices": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6977,14 +6936,12 @@ "MinSelectedChoices": { "target": "com.amazonaws.wellarchitected#MinSelectedProfileChoices", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of selected choices.

" } }, "MaxSelectedChoices": { "target": "com.amazonaws.wellarchitected#MaxSelectedProfileChoices", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of selected choices.

" } } @@ -7168,14 +7125,12 @@ "MinSelectedChoices": { "target": "com.amazonaws.wellarchitected#MinSelectedProfileChoices", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of choices selected.

" } }, "MaxSelectedChoices": { "target": "com.amazonaws.wellarchitected#MaxSelectedProfileChoices", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of choices selected.

" } } @@ -7381,18 +7336,21 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ResourceId": { "target": "com.amazonaws.wellarchitected#ExceptionResourceId", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.wellarchitected#ExceptionResourceType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -7508,10 +7466,7 @@ } }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable", - "traits": { - "smithy.api#default": false - } + "target": "com.amazonaws.wellarchitected#IsApplicable" }, "AnswerStatus": { "target": "com.amazonaws.wellarchitected#ReviewTemplateAnswerStatus", @@ -7581,10 +7536,7 @@ } }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable", - "traits": { - "smithy.api#default": false - } + "target": "com.amazonaws.wellarchitected#IsApplicable" }, "AnswerStatus": { "target": "com.amazonaws.wellarchitected#ReviewTemplateAnswerStatus", @@ -7871,6 +7823,7 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -7883,12 +7836,14 @@ "QuotaCode": { "target": "com.amazonaws.wellarchitected#QuotaCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "ServiceCode": { "target": "com.amazonaws.wellarchitected#ServiceCode", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -8237,6 +8192,7 @@ "Tags": { "target": "com.amazonaws.wellarchitected#TagMap", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The tags for the resource.

", "smithy.api#required": {} } @@ -8343,6 +8299,7 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -8420,6 +8377,7 @@ "TagKeys": { "target": "com.amazonaws.wellarchitected#TagKeyList", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#documentation": "

A list of tag keys. Existing tags of the resource \n whose keys are members of this list are removed from the resource.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} @@ -8511,10 +8469,7 @@ "target": "com.amazonaws.wellarchitected#Notes" }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable", - "traits": { - "smithy.api#default": false - } + "target": "com.amazonaws.wellarchitected#IsApplicable" }, "Reason": { "target": "com.amazonaws.wellarchitected#AnswerReason", @@ -8878,10 +8833,7 @@ "target": "com.amazonaws.wellarchitected#Notes" }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable", - "traits": { - "smithy.api#default": false - } + "target": "com.amazonaws.wellarchitected#IsApplicable" }, "Reason": { "target": "com.amazonaws.wellarchitected#AnswerReason", @@ -9111,6 +9063,7 @@ "ShareInvitationAction": { "target": "com.amazonaws.wellarchitected#ShareInvitationAction", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -9211,7 +9164,6 @@ "IsReviewOwnerUpdateAcknowledged": { "target": "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Flag indicating whether the workload owner has acknowledged that the Review\n owner field is required.

\n

If a Review owner is not added to the workload within\n 60 days of acknowledgement, access to the workload is restricted until an owner is\n added.

" } }, @@ -9314,6 +9266,7 @@ "PermissionType": { "target": "com.amazonaws.wellarchitected#PermissionType", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -9395,6 +9348,7 @@ "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -9550,6 +9504,7 @@ "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, @@ -9572,12 +9527,14 @@ "Name": { "target": "com.amazonaws.wellarchitected#ValidationExceptionFieldName", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.wellarchitected#ExceptionMessage", "traits": { + "smithy.api#clientOptional": {}, "smithy.api#required": {} } } @@ -9918,7 +9875,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9961,7 +9917,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -9974,7 +9931,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -9988,7 +9944,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10011,7 +9966,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10046,7 +10000,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -10057,14 +10010,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -10078,14 +10033,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -10094,11 +10047,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -10109,14 +10062,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -10130,7 +10085,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -10150,7 +10104,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -10161,14 +10114,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -10179,9 +10134,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -10769,7 +10726,6 @@ "IsReviewOwnerUpdateAcknowledged": { "target": "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged", "traits": { - "smithy.api#default": false, "smithy.api#documentation": "

Flag indicating whether the workload owner has acknowledged that the Review\n owner field is required.

\n

If a Review owner is not added to the workload within\n 60 days of acknowledgement, access to the workload is restricted until an owner is\n added.

" } }, diff --git a/codegen/sdk-codegen/aws-models/xray.json b/codegen/sdk-codegen/aws-models/xray.json index 7e552ff1ce0..184b46d35dd 100644 --- a/codegen/sdk-codegen/aws-models/xray.json +++ b/codegen/sdk-codegen/aws-models/xray.json @@ -180,7 +180,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -223,7 +222,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -236,7 +236,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -250,7 +249,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -273,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -308,7 +305,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -319,14 +315,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -340,14 +338,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -356,11 +352,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -371,14 +367,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -392,7 +390,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -412,7 +409,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -423,14 +419,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -441,9 +439,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -4153,7 +4153,6 @@ "com.amazonaws.xray#Priority": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 9999 @@ -4744,7 +4743,6 @@ "Priority": { "target": "com.amazonaws.xray#Priority", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The priority of the sampling rule.

", "smithy.api#required": {} } @@ -4803,7 +4801,6 @@ "Version": { "target": "com.amazonaws.xray#Version", "traits": { - "smithy.api#default": 0, "smithy.api#documentation": "

The version of the sampling rule format (1).

", "smithy.api#required": {} } @@ -6170,7 +6167,6 @@ "com.amazonaws.xray#Version": { "type": "integer", "traits": { - "smithy.api#default": 0, "smithy.api#range": { "min": 1 } diff --git a/service/amplifybackend/endpoints.go b/service/amplifybackend/endpoints.go index d4aa7ec9209..0332ae2ed84 100644 --- a/service/amplifybackend/endpoints.go +++ b/service/amplifybackend/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://amplifybackend-fips.") diff --git a/service/apigatewaymanagementapi/endpoints.go b/service/apigatewaymanagementapi/endpoints.go index 0114308ec0f..8233f70ee28 100644 --- a/service/apigatewaymanagementapi/endpoints.go +++ b/service/apigatewaymanagementapi/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://execute-api-fips.") diff --git a/service/apigatewayv2/endpoints.go b/service/apigatewayv2/endpoints.go index 48f0ea9e147..96d8752bc22 100644 --- a/service/apigatewayv2/endpoints.go +++ b/service/apigatewayv2/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://apigateway-fips.") diff --git a/service/appconfig/api_op_CreateDeploymentStrategy.go b/service/appconfig/api_op_CreateDeploymentStrategy.go index 2f51d61d845..a08af6daffc 100644 --- a/service/appconfig/api_op_CreateDeploymentStrategy.go +++ b/service/appconfig/api_op_CreateDeploymentStrategy.go @@ -109,7 +109,7 @@ type CreateDeploymentStrategyOutput struct { // The percentage of targets that received a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType diff --git a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go index 05834d03148..5875703961e 100644 --- a/service/appconfig/api_op_DeleteHostedConfigurationVersion.go +++ b/service/appconfig/api_op_DeleteHostedConfigurationVersion.go @@ -47,7 +47,7 @@ type DeleteHostedConfigurationVersionInput struct { // The versions number to delete. // // This member is required. - VersionNumber int32 + VersionNumber *int32 noSmithyDocumentSerde } diff --git a/service/appconfig/api_op_GetDeployment.go b/service/appconfig/api_op_GetDeployment.go index e6ab806cee3..fce7394e729 100644 --- a/service/appconfig/api_op_GetDeployment.go +++ b/service/appconfig/api_op_GetDeployment.go @@ -103,7 +103,7 @@ type GetDeploymentOutput struct { // The percentage of targets to receive a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType @@ -119,7 +119,7 @@ type GetDeploymentOutput struct { KmsKeyIdentifier *string // The percentage of targets for which the deployment is available. - PercentageComplete float32 + PercentageComplete *float32 // The time the deployment started. StartedAt *time.Time diff --git a/service/appconfig/api_op_GetDeploymentStrategy.go b/service/appconfig/api_op_GetDeploymentStrategy.go index 66d1f979b61..55c7423bbc0 100644 --- a/service/appconfig/api_op_GetDeploymentStrategy.go +++ b/service/appconfig/api_op_GetDeploymentStrategy.go @@ -60,7 +60,7 @@ type GetDeploymentStrategyOutput struct { // The percentage of targets that received a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType diff --git a/service/appconfig/api_op_GetHostedConfigurationVersion.go b/service/appconfig/api_op_GetHostedConfigurationVersion.go index 18b0e30fc5f..453c0d1f2d7 100644 --- a/service/appconfig/api_op_GetHostedConfigurationVersion.go +++ b/service/appconfig/api_op_GetHostedConfigurationVersion.go @@ -46,7 +46,7 @@ type GetHostedConfigurationVersionInput struct { // The version. // // This member is required. - VersionNumber int32 + VersionNumber *int32 noSmithyDocumentSerde } diff --git a/service/appconfig/api_op_StartDeployment.go b/service/appconfig/api_op_StartDeployment.go index b047cfb108e..8eea04cfcd3 100644 --- a/service/appconfig/api_op_StartDeployment.go +++ b/service/appconfig/api_op_StartDeployment.go @@ -127,7 +127,7 @@ type StartDeploymentOutput struct { // The percentage of targets to receive a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType @@ -143,7 +143,7 @@ type StartDeploymentOutput struct { KmsKeyIdentifier *string // The percentage of targets for which the deployment is available. - PercentageComplete float32 + PercentageComplete *float32 // The time the deployment started. StartedAt *time.Time diff --git a/service/appconfig/api_op_StopDeployment.go b/service/appconfig/api_op_StopDeployment.go index d2e621babc8..d626e653ecd 100644 --- a/service/appconfig/api_op_StopDeployment.go +++ b/service/appconfig/api_op_StopDeployment.go @@ -105,7 +105,7 @@ type StopDeploymentOutput struct { // The percentage of targets to receive a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType @@ -121,7 +121,7 @@ type StopDeploymentOutput struct { KmsKeyIdentifier *string // The percentage of targets for which the deployment is available. - PercentageComplete float32 + PercentageComplete *float32 // The time the deployment started. StartedAt *time.Time diff --git a/service/appconfig/api_op_UpdateDeploymentStrategy.go b/service/appconfig/api_op_UpdateDeploymentStrategy.go index bc8c05b7d0a..73d4c0d0ad0 100644 --- a/service/appconfig/api_op_UpdateDeploymentStrategy.go +++ b/service/appconfig/api_op_UpdateDeploymentStrategy.go @@ -89,7 +89,7 @@ type UpdateDeploymentStrategyOutput struct { // The percentage of targets that received a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType types.GrowthType diff --git a/service/appconfig/deserializers.go b/service/appconfig/deserializers.go index 05229642f49..78acd13b9bb 100644 --- a/service/appconfig/deserializers.go +++ b/service/appconfig/deserializers.go @@ -616,7 +616,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -634,7 +634,7 @@ func awsRestjson1_deserializeOpDocumentCreateDeploymentStrategyOutput(v **Create return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -2978,7 +2978,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -2996,7 +2996,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -3039,7 +3039,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp if err != nil { return err } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -3057,7 +3057,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentOutput(v **GetDeploymentOutp return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -3287,7 +3287,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -3305,7 +3305,7 @@ func awsRestjson1_deserializeOpDocumentGetDeploymentStrategyOutput(v **GetDeploy return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -5853,7 +5853,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -5871,7 +5871,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -5914,7 +5914,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment if err != nil { return err } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -5932,7 +5932,7 @@ func awsRestjson1_deserializeOpDocumentStartDeploymentOutput(v **StartDeployment return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -6261,7 +6261,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -6279,7 +6279,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -6322,7 +6322,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu if err != nil { return err } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -6340,7 +6340,7 @@ func awsRestjson1_deserializeOpDocumentStopDeploymentOutput(v **StopDeploymentOu return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -7169,7 +7169,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -7187,7 +7187,7 @@ func awsRestjson1_deserializeOpDocumentUpdateDeploymentStrategyOutput(v **Update return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -9073,7 +9073,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -9091,7 +9091,7 @@ func awsRestjson1_deserializeDocumentDeploymentStrategy(v **types.DeploymentStra return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -9278,7 +9278,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma if err != nil { return err } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -9296,7 +9296,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.GrowthFactor = float32(f64) + sv.GrowthFactor = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) @@ -9321,7 +9321,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma if err != nil { return err } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -9339,7 +9339,7 @@ func awsRestjson1_deserializeDocumentDeploymentSummary(v **types.DeploymentSumma return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.PercentageComplete = float32(f64) + sv.PercentageComplete = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Percentage to be a JSON Number, got %T instead", value) diff --git a/service/appconfig/serializers.go b/service/appconfig/serializers.go index 27aa8d5bc60..9f8cb4d963a 100644 --- a/service/appconfig/serializers.go +++ b/service/appconfig/serializers.go @@ -1259,8 +1259,11 @@ func awsRestjson1_serializeOpHttpBindingsDeleteHostedConfigurationVersionInput(v } } - { - if err := encoder.SetURI("VersionNumber").Integer(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Integer(*v.VersionNumber); err != nil { return err } } @@ -1925,8 +1928,11 @@ func awsRestjson1_serializeOpHttpBindingsGetHostedConfigurationVersionInput(v *G } } - { - if err := encoder.SetURI("VersionNumber").Integer(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Integer(*v.VersionNumber); err != nil { return err } } diff --git a/service/appconfig/types/types.go b/service/appconfig/types/types.go index 13d0cf320b5..f5ba843d6cb 100644 --- a/service/appconfig/types/types.go +++ b/service/appconfig/types/types.go @@ -196,7 +196,7 @@ type DeploymentStrategy struct { // The percentage of targets that received a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grew over time. GrowthType GrowthType @@ -237,13 +237,13 @@ type DeploymentSummary struct { // The percentage of targets to receive a deployed configuration during each // interval. - GrowthFactor float32 + GrowthFactor *float32 // The algorithm used to define how percentage grows over time. GrowthType GrowthType // The percentage of targets for which the deployment is available. - PercentageComplete float32 + PercentageComplete *float32 // Time the deployment started. StartedAt *time.Time diff --git a/service/appconfig/validators.go b/service/appconfig/validators.go index d4e2da8a3bd..5dbd4a562ca 100644 --- a/service/appconfig/validators.go +++ b/service/appconfig/validators.go @@ -1265,6 +1265,9 @@ func validateOpDeleteHostedConfigurationVersionInput(v *DeleteHostedConfiguratio if v.ConfigurationProfileId == nil { invalidParams.Add(smithy.NewErrParamRequired("ConfigurationProfileId")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1424,6 +1427,9 @@ func validateOpGetHostedConfigurationVersionInput(v *GetHostedConfigurationVersi if v.ConfigurationProfileId == nil { invalidParams.Add(smithy.NewErrParamRequired("ConfigurationProfileId")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/appflow/endpoints.go b/service/appflow/endpoints.go index bf48731d5e2..140494d77db 100644 --- a/service/appflow/endpoints.go +++ b/service/appflow/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://appflow-fips.") diff --git a/service/appstream/api_op_CreateUpdatedImage.go b/service/appstream/api_op_CreateUpdatedImage.go index f0620432ba9..d0b234c84ec 100644 --- a/service/appstream/api_op_CreateUpdatedImage.go +++ b/service/appstream/api_op_CreateUpdatedImage.go @@ -55,7 +55,7 @@ type CreateUpdatedImageInput struct { // available. If this value is set to false , AppStream 2.0 initiates the process // of creating a new updated image without displaying whether image updates are // available. - DryRun bool + DryRun *bool // The description to display for the new image. NewImageDescription *string @@ -78,7 +78,7 @@ type CreateUpdatedImageInput struct { type CreateUpdatedImageOutput struct { // Indicates whether a new image can be created. - CanUpdateImage bool + CanUpdateImage *bool // Describes an image. Image *types.Image diff --git a/service/appstream/api_op_UpdateFleet.go b/service/appstream/api_op_UpdateFleet.go index d49ebe58a0f..8aba58bfbe5 100644 --- a/service/appstream/api_op_UpdateFleet.go +++ b/service/appstream/api_op_UpdateFleet.go @@ -54,7 +54,7 @@ type UpdateFleetInput struct { // Deletes the VPC association for the specified fleet. // // Deprecated: This member has been deprecated. - DeleteVpcConfig bool + DeleteVpcConfig *bool // The description to display. Description *string diff --git a/service/appstream/api_op_UpdateStack.go b/service/appstream/api_op_UpdateStack.go index 63c3281cea4..92f1506b256 100644 --- a/service/appstream/api_op_UpdateStack.go +++ b/service/appstream/api_op_UpdateStack.go @@ -54,7 +54,7 @@ type UpdateStackInput struct { // Deletes the storage connectors currently enabled for the stack. // // Deprecated: This member has been deprecated. - DeleteStorageConnectors bool + DeleteStorageConnectors *bool // The description to display. Description *string diff --git a/service/appstream/deserializers.go b/service/appstream/deserializers.go index ddb322931b4..7acab87af48 100644 --- a/service/appstream/deserializers.go +++ b/service/appstream/deserializers.go @@ -10060,7 +10060,7 @@ func awsAwsjson11_deserializeDocumentApplication(v **types.Application, value in if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "IconS3Location": @@ -10282,7 +10282,7 @@ func awsAwsjson11_deserializeDocumentApplicationSettingsResponse(v **types.Appli if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "S3BucketName": @@ -11634,7 +11634,7 @@ func awsAwsjson11_deserializeDocumentImage(v **types.Image, value interface{}) e if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ImageBuilderSupported = jtv + sv.ImageBuilderSupported = ptr.Bool(jtv) } case "ImageErrors": @@ -14019,7 +14019,7 @@ func awsAwsjson11_deserializeDocumentUser(v **types.User, value interface{}) err if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "FirstName": @@ -14221,7 +14221,7 @@ func awsAwsjson11_deserializeDocumentUserStackAssociation(v **types.UserStackAss if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SendEmailNotification = jtv + sv.SendEmailNotification = ptr.Bool(jtv) } case "StackName": @@ -15144,7 +15144,7 @@ func awsAwsjson11_deserializeOpDocumentCreateUpdatedImageOutput(v **CreateUpdate if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CanUpdateImage = jtv + sv.CanUpdateImage = ptr.Bool(jtv) } case "image": diff --git a/service/appstream/endpoints.go b/service/appstream/endpoints.go index f135f8fcd9c..ff87a05fb14 100644 --- a/service/appstream/endpoints.go +++ b/service/appstream/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://appstream2-fips.") diff --git a/service/appstream/serializers.go b/service/appstream/serializers.go index c489b480537..cfdc6a9e9e0 100644 --- a/service/appstream/serializers.go +++ b/service/appstream/serializers.go @@ -4195,9 +4195,9 @@ func awsAwsjson11_serializeDocumentApplicationSettings(v *types.ApplicationSetti object := value.Object() defer object.Close() - { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } if v.SettingsGroup != nil { @@ -4617,9 +4617,9 @@ func awsAwsjson11_serializeDocumentUserStackAssociation(v *types.UserStackAssoci ok.String(string(v.AuthenticationType)) } - if v.SendEmailNotification { + if v.SendEmailNotification != nil { ok := object.Key("SendEmailNotification") - ok.Boolean(v.SendEmailNotification) + ok.Boolean(*v.SendEmailNotification) } if v.StackName != nil { @@ -5412,9 +5412,9 @@ func awsAwsjson11_serializeOpDocumentCreateUpdatedImageInput(v *CreateUpdatedIma object := value.Object() defer object.Close() - if v.DryRun { + if v.DryRun != nil { ok := object.Key("dryRun") - ok.Boolean(v.DryRun) + ok.Boolean(*v.DryRun) } if v.ExistingImageName != nil { @@ -6563,9 +6563,9 @@ func awsAwsjson11_serializeOpDocumentUpdateFleetInput(v *UpdateFleetInput, value } } - if v.DeleteVpcConfig { + if v.DeleteVpcConfig != nil { ok := object.Key("DeleteVpcConfig") - ok.Boolean(v.DeleteVpcConfig) + ok.Boolean(*v.DeleteVpcConfig) } if v.Description != nil { @@ -6718,9 +6718,9 @@ func awsAwsjson11_serializeOpDocumentUpdateStackInput(v *UpdateStackInput, value } } - if v.DeleteStorageConnectors { + if v.DeleteStorageConnectors != nil { ok := object.Key("DeleteStorageConnectors") - ok.Boolean(v.DeleteStorageConnectors) + ok.Boolean(*v.DeleteStorageConnectors) } if v.Description != nil { diff --git a/service/appstream/types/types.go b/service/appstream/types/types.go index d0423c8a97f..0f6d21d8c9a 100644 --- a/service/appstream/types/types.go +++ b/service/appstream/types/types.go @@ -189,7 +189,7 @@ type Application struct { DisplayName *string // If there is a problem, the application can be disabled after image creation. - Enabled bool + Enabled *bool // The S3 location of the application icon. IconS3Location *S3Location @@ -244,7 +244,7 @@ type ApplicationSettings struct { // streaming sessions. // // This member is required. - Enabled bool + Enabled *bool // The path prefix for the S3 bucket where users’ persistent application settings // are stored. You can allow the same persistent application settings to be used @@ -259,7 +259,7 @@ type ApplicationSettingsResponse struct { // Specifies whether persistent application settings are enabled for users during // their streaming sessions. - Enabled bool + Enabled *bool // The S3 bucket where users’ persistent application settings are stored. When // persistent application settings are enabled for the first time for an account in @@ -675,7 +675,7 @@ type Image struct { ImageBuilderName *string // Indicates whether an image builder can be launched from this image. - ImageBuilderSupported bool + ImageBuilderSupported *bool // Describes the errors that are returned when a new image can't be created. ImageErrors []ResourceError @@ -1161,7 +1161,7 @@ type User struct { CreatedTime *time.Time // Specifies whether the user in the user pool is enabled. - Enabled bool + Enabled *bool // The first name, or given name, of the user. FirstName *string @@ -1222,7 +1222,7 @@ type UserStackAssociation struct { // Specifies whether a welcome email is sent to a user after the user is created // in the user pool. - SendEmailNotification bool + SendEmailNotification *bool noSmithyDocumentSerde } diff --git a/service/appstream/validators.go b/service/appstream/validators.go index 26fd6c46d93..48d4f36119d 100644 --- a/service/appstream/validators.go +++ b/service/appstream/validators.go @@ -1511,6 +1511,9 @@ func validateApplicationSettings(v *types.ApplicationSettings) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ApplicationSettings"} + if v.Enabled == nil { + invalidParams.Add(smithy.NewErrParamRequired("Enabled")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/athena/deserializers.go b/service/athena/deserializers.go index 8cd33a77ce9..7a508bddedc 100644 --- a/service/athena/deserializers.go +++ b/service/athena/deserializers.go @@ -9632,7 +9632,7 @@ func awsAwsjson11_deserializeDocumentEngineConfiguration(v **types.EngineConfigu if err != nil { return err } - sv.MaxConcurrentDpus = int32(i64) + sv.MaxConcurrentDpus = ptr.Int32(int32(i64)) } case "SparkProperties": diff --git a/service/athena/endpoints.go b/service/athena/endpoints.go index d32e89515bf..04fbd409050 100644 --- a/service/athena/endpoints.go +++ b/service/athena/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://athena-fips.") diff --git a/service/athena/serializers.go b/service/athena/serializers.go index fe8d955afbd..4c9edd23495 100644 --- a/service/athena/serializers.go +++ b/service/athena/serializers.go @@ -3855,9 +3855,9 @@ func awsAwsjson11_serializeDocumentEngineConfiguration(v *types.EngineConfigurat ok.Integer(*v.DefaultExecutorDpuSize) } - { + if v.MaxConcurrentDpus != nil { ok := object.Key("MaxConcurrentDpus") - ok.Integer(v.MaxConcurrentDpus) + ok.Integer(*v.MaxConcurrentDpus) } if v.SparkProperties != nil { diff --git a/service/athena/types/types.go b/service/athena/types/types.go index e5c38062187..372e2732413 100644 --- a/service/athena/types/types.go +++ b/service/athena/types/types.go @@ -423,7 +423,7 @@ type EngineConfiguration struct { // The maximum number of DPUs that can run concurrently. // // This member is required. - MaxConcurrentDpus int32 + MaxConcurrentDpus *int32 // Contains additional notebook engine MAP parameter mappings in the form of // key-value pairs. To specify an Athena notebook that the Jupyter server will diff --git a/service/athena/validators.go b/service/athena/validators.go index e5a15e7f81a..7e80fecb4eb 100644 --- a/service/athena/validators.go +++ b/service/athena/validators.go @@ -1524,6 +1524,9 @@ func validateEngineConfiguration(v *types.EngineConfiguration) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "EngineConfiguration"} + if v.MaxConcurrentDpus == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxConcurrentDpus")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/autoscaling/deserializers.go b/service/autoscaling/deserializers.go index e7d0c68b9be..7ca3cebf0a2 100644 --- a/service/autoscaling/deserializers.go +++ b/service/autoscaling/deserializers.go @@ -7605,7 +7605,7 @@ func awsAwsquery_deserializeDocumentActivity(v **types.Activity, decoder smithyx if err != nil { return err } - sv.Progress = int32(i64) + sv.Progress = ptr.Int32(int32(i64)) } case strings.EqualFold("StartTime", t.Name.Local): diff --git a/service/autoscaling/endpoints.go b/service/autoscaling/endpoints.go index c7b93cf58d0..5bbc9e24c72 100644 --- a/service/autoscaling/endpoints.go +++ b/service/autoscaling/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://autoscaling.") diff --git a/service/autoscaling/types/types.go b/service/autoscaling/types/types.go index 01bb975fe4c..e6832e0e160 100644 --- a/service/autoscaling/types/types.go +++ b/service/autoscaling/types/types.go @@ -79,7 +79,7 @@ type Activity struct { EndTime *time.Time // A value between 0 and 100 that indicates the progress of the activity. - Progress int32 + Progress *int32 // A friendly, more verbose description of the activity status. StatusMessage *string diff --git a/service/backupstorage/api_op_ListChunks.go b/service/backupstorage/api_op_ListChunks.go index 609e4bd5db9..316369611fa 100644 --- a/service/backupstorage/api_op_ListChunks.go +++ b/service/backupstorage/api_op_ListChunks.go @@ -45,7 +45,7 @@ type ListChunksInput struct { StorageJobId *string // Maximum number of chunks - MaxResults int32 + MaxResults *int32 // Pagination token NextToken *string @@ -177,8 +177,8 @@ func NewListChunksPaginator(client ListChunksAPIClient, params *ListChunksInput, } options := ListChunksPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -208,7 +208,11 @@ func (p *ListChunksPaginator) NextPage(ctx context.Context, optFns ...func(*Opti params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListChunks(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/backupstorage/api_op_ListObjects.go b/service/backupstorage/api_op_ListObjects.go index a0941b37a21..b58119e0042 100644 --- a/service/backupstorage/api_op_ListObjects.go +++ b/service/backupstorage/api_op_ListObjects.go @@ -47,7 +47,7 @@ type ListObjectsInput struct { CreatedBefore *time.Time // Maximum objects count - MaxResults int32 + MaxResults *int32 // Pagination token NextToken *string @@ -187,8 +187,8 @@ func NewListObjectsPaginator(client ListObjectsAPIClient, params *ListObjectsInp } options := ListObjectsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -218,7 +218,11 @@ func (p *ListObjectsPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListObjects(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/backupstorage/api_op_PutChunk.go b/service/backupstorage/api_op_PutChunk.go index 78ff0758d2d..ec8ad86ffc9 100644 --- a/service/backupstorage/api_op_PutChunk.go +++ b/service/backupstorage/api_op_PutChunk.go @@ -53,7 +53,7 @@ type PutChunkInput struct { // Describes this chunk's position relative to the other chunks // // This member is required. - ChunkIndex int64 + ChunkIndex *int64 // Data to be uploaded // diff --git a/service/backupstorage/endpoints.go b/service/backupstorage/endpoints.go index da5d1e9e27f..c611ae26ca3 100644 --- a/service/backupstorage/endpoints.go +++ b/service/backupstorage/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://backupstorage-fips.") diff --git a/service/backupstorage/serializers.go b/service/backupstorage/serializers.go index bc1ef4b41b9..a251cb13863 100644 --- a/service/backupstorage/serializers.go +++ b/service/backupstorage/serializers.go @@ -289,8 +289,8 @@ func awsRestjson1_serializeOpHttpBindingsListChunksInput(v *ListChunksInput, enc return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("max-results").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("max-results").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -379,8 +379,8 @@ func awsRestjson1_serializeOpHttpBindingsListObjectsInput(v *ListObjectsInput, e encoder.SetQuery("created-before").String(smithytime.FormatDateTime(*v.CreatedBefore)) } - if v.MaxResults != 0 { - encoder.SetQuery("max-results").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("max-results").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -599,8 +599,11 @@ func awsRestjson1_serializeOpHttpBindingsPutChunkInput(v *PutChunkInput, encoder encoder.SetQuery("checksum-algorithm").String(string(v.ChecksumAlgorithm)) } - { - if err := encoder.SetURI("ChunkIndex").Long(v.ChunkIndex); err != nil { + if v.ChunkIndex == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member ChunkIndex must not be empty")} + } + if v.ChunkIndex != nil { + if err := encoder.SetURI("ChunkIndex").Long(*v.ChunkIndex); err != nil { return err } } diff --git a/service/backupstorage/validators.go b/service/backupstorage/validators.go index cb7054b474d..e69c8e63aa3 100644 --- a/service/backupstorage/validators.go +++ b/service/backupstorage/validators.go @@ -347,6 +347,9 @@ func validateOpPutChunkInput(v *PutChunkInput) error { if v.UploadId == nil { invalidParams.Add(smithy.NewErrParamRequired("UploadId")) } + if v.ChunkIndex == nil { + invalidParams.Add(smithy.NewErrParamRequired("ChunkIndex")) + } if v.Data == nil { invalidParams.Add(smithy.NewErrParamRequired("Data")) } diff --git a/service/batch/deserializers.go b/service/batch/deserializers.go index c6618ed05cd..1b57f5fe407 100644 --- a/service/batch/deserializers.go +++ b/service/batch/deserializers.go @@ -9341,7 +9341,7 @@ func awsRestjson1_deserializeDocumentUpdatePolicy(v **types.UpdatePolicy, value if err != nil { return err } - sv.JobExecutionTimeoutMinutes = i64 + sv.JobExecutionTimeoutMinutes = ptr.Int64(i64) } case "terminateJobsOnUpdate": diff --git a/service/batch/endpoints.go b/service/batch/endpoints.go index 593ff8e3dc0..4f462a3318c 100644 --- a/service/batch/endpoints.go +++ b/service/batch/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws" { uriString := func() string { var out strings.Builder out.WriteString("https://fips.batch.") @@ -430,7 +430,7 @@ func (r *resolver) ResolveEndpoint( Headers: http.Header{}, }, nil } - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://batch.") diff --git a/service/batch/serializers.go b/service/batch/serializers.go index 538c040eb67..d03eebcb905 100644 --- a/service/batch/serializers.go +++ b/service/batch/serializers.go @@ -4008,9 +4008,9 @@ func awsRestjson1_serializeDocumentUpdatePolicy(v *types.UpdatePolicy, value smi object := value.Object() defer object.Close() - if v.JobExecutionTimeoutMinutes != 0 { + if v.JobExecutionTimeoutMinutes != nil { ok := object.Key("jobExecutionTimeoutMinutes") - ok.Long(v.JobExecutionTimeoutMinutes) + ok.Long(*v.JobExecutionTimeoutMinutes) } if v.TerminateJobsOnUpdate != nil { diff --git a/service/batch/types/types.go b/service/batch/types/types.go index cc9d67d8ba3..77c56803d4b 100644 --- a/service/batch/types/types.go +++ b/service/batch/types/types.go @@ -2915,7 +2915,7 @@ type UpdatePolicy struct { // Specifies the job timeout (in minutes) when the compute environment // infrastructure is updated. The default value is 30. - JobExecutionTimeoutMinutes int64 + JobExecutionTimeoutMinutes *int64 // Specifies whether jobs are automatically terminated when the computer // environment infrastructure is updated. The default value is false . diff --git a/service/chimesdkmediapipelines/deserializers.go b/service/chimesdkmediapipelines/deserializers.go index 628a202dc93..0d8e7a2505a 100644 --- a/service/chimesdkmediapipelines/deserializers.go +++ b/service/chimesdkmediapipelines/deserializers.go @@ -9521,7 +9521,7 @@ func awsRestjson1_deserializeDocumentSentimentConfiguration(v **types.SentimentC if err != nil { return err } - sv.TimePeriod = int32(i64) + sv.TimePeriod = ptr.Int32(int32(i64)) } default: diff --git a/service/chimesdkmediapipelines/endpoints.go b/service/chimesdkmediapipelines/endpoints.go index b18c38e0eb9..8f4c244a47f 100644 --- a/service/chimesdkmediapipelines/endpoints.go +++ b/service/chimesdkmediapipelines/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://media-pipelines-chime-fips.") diff --git a/service/chimesdkmediapipelines/serializers.go b/service/chimesdkmediapipelines/serializers.go index 6e6e1bb285d..37f415704fc 100644 --- a/service/chimesdkmediapipelines/serializers.go +++ b/service/chimesdkmediapipelines/serializers.go @@ -3829,9 +3829,9 @@ func awsRestjson1_serializeDocumentSentimentConfiguration(v *types.SentimentConf ok.String(string(v.SentimentType)) } - { + if v.TimePeriod != nil { ok := object.Key("TimePeriod") - ok.Integer(v.TimePeriod) + ok.Integer(*v.TimePeriod) } return nil diff --git a/service/chimesdkmediapipelines/types/types.go b/service/chimesdkmediapipelines/types/types.go index 5e9480b2b15..f2b647b2190 100644 --- a/service/chimesdkmediapipelines/types/types.go +++ b/service/chimesdkmediapipelines/types/types.go @@ -1313,7 +1313,7 @@ type SentimentConfiguration struct { // Specifies the analysis interval. // // This member is required. - TimePeriod int32 + TimePeriod *int32 noSmithyDocumentSerde } diff --git a/service/chimesdkmediapipelines/validators.go b/service/chimesdkmediapipelines/validators.go index 698fc1cb37b..3643b0d680e 100644 --- a/service/chimesdkmediapipelines/validators.go +++ b/service/chimesdkmediapipelines/validators.go @@ -1568,6 +1568,9 @@ func validateSentimentConfiguration(v *types.SentimentConfiguration) error { if len(v.SentimentType) == 0 { invalidParams.Add(smithy.NewErrParamRequired("SentimentType")) } + if v.TimePeriod == nil { + invalidParams.Add(smithy.NewErrParamRequired("TimePeriod")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/cloudformation/api_op_DeleteStackInstances.go b/service/cloudformation/api_op_DeleteStackInstances.go index a097b5e4325..df89ce26741 100644 --- a/service/cloudformation/api_op_DeleteStackInstances.go +++ b/service/cloudformation/api_op_DeleteStackInstances.go @@ -46,7 +46,7 @@ type DeleteStackInstancesInput struct { // . // // This member is required. - RetainStacks bool + RetainStacks *bool // The name or unique ID of the stack set that you want to delete stack instances // for. diff --git a/service/cloudformation/deserializers.go b/service/cloudformation/deserializers.go index c29f22c40b8..6238ca9d6ac 100644 --- a/service/cloudformation/deserializers.go +++ b/service/cloudformation/deserializers.go @@ -16147,7 +16147,7 @@ func awsAwsquery_deserializeDocumentStackSetDriftDetectionDetails(v **types.Stac if err != nil { return err } - sv.DriftedStackInstancesCount = int32(i64) + sv.DriftedStackInstancesCount = ptr.Int32(int32(i64)) } case strings.EqualFold("DriftStatus", t.Name.Local): @@ -16177,7 +16177,7 @@ func awsAwsquery_deserializeDocumentStackSetDriftDetectionDetails(v **types.Stac if err != nil { return err } - sv.FailedStackInstancesCount = int32(i64) + sv.FailedStackInstancesCount = ptr.Int32(int32(i64)) } case strings.EqualFold("InProgressStackInstancesCount", t.Name.Local): @@ -16194,7 +16194,7 @@ func awsAwsquery_deserializeDocumentStackSetDriftDetectionDetails(v **types.Stac if err != nil { return err } - sv.InProgressStackInstancesCount = int32(i64) + sv.InProgressStackInstancesCount = ptr.Int32(int32(i64)) } case strings.EqualFold("InSyncStackInstancesCount", t.Name.Local): @@ -16211,7 +16211,7 @@ func awsAwsquery_deserializeDocumentStackSetDriftDetectionDetails(v **types.Stac if err != nil { return err } - sv.InSyncStackInstancesCount = int32(i64) + sv.InSyncStackInstancesCount = ptr.Int32(int32(i64)) } case strings.EqualFold("LastDriftCheckTimestamp", t.Name.Local): @@ -16245,7 +16245,7 @@ func awsAwsquery_deserializeDocumentStackSetDriftDetectionDetails(v **types.Stac if err != nil { return err } - sv.TotalStackInstancesCount = int32(i64) + sv.TotalStackInstancesCount = ptr.Int32(int32(i64)) } default: @@ -16895,7 +16895,7 @@ func awsAwsquery_deserializeDocumentStackSetOperationStatusDetails(v **types.Sta if err != nil { return err } - sv.FailedStackInstancesCount = int32(i64) + sv.FailedStackInstancesCount = ptr.Int32(int32(i64)) } default: diff --git a/service/cloudformation/endpoints.go b/service/cloudformation/endpoints.go index 7ac0b48ca26..16f40e9478b 100644 --- a/service/cloudformation/endpoints.go +++ b/service/cloudformation/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://cloudformation.") diff --git a/service/cloudformation/serializers.go b/service/cloudformation/serializers.go index 97b7466494a..94e3da96198 100644 --- a/service/cloudformation/serializers.go +++ b/service/cloudformation/serializers.go @@ -5642,9 +5642,9 @@ func awsAwsquery_serializeOpDocumentDeleteStackInstancesInput(v *DeleteStackInst } } - { + if v.RetainStacks != nil { objectKey := object.Key("RetainStacks") - objectKey.Boolean(v.RetainStacks) + objectKey.Boolean(*v.RetainStacks) } if v.StackSetName != nil { diff --git a/service/cloudformation/types/types.go b/service/cloudformation/types/types.go index 43d264c1a58..a065c23ef88 100644 --- a/service/cloudformation/types/types.go +++ b/service/cloudformation/types/types.go @@ -1675,17 +1675,17 @@ type StackSetDriftDetectionDetails struct { // parameter configuration of the stack set. A stack instance is considered to have // drifted if one or more of the resources in the associated stack don't match // their expected configuration. - DriftedStackInstancesCount int32 + DriftedStackInstancesCount *int32 // The number of stack instances for which the drift detection operation failed. - FailedStackInstancesCount int32 + FailedStackInstancesCount *int32 // The number of stack instances that are currently being checked for drift. - InProgressStackInstancesCount int32 + InProgressStackInstancesCount *int32 // The number of stack instances which match the expected template and parameter // configuration of the stack set. - InSyncStackInstancesCount int32 + InSyncStackInstancesCount *int32 // Most recent time when CloudFormation performed a drift detection operation on // the stack set. This value will be NULL for any stack set on which drift @@ -1698,7 +1698,7 @@ type StackSetDriftDetectionDetails struct { // - Stack instances that have drifted from the stack set configuration. // - Stack instances where the drift detection operation has failed. // - Stack instances currently being checked for drift. - TotalStackInstancesCount int32 + TotalStackInstancesCount *int32 noSmithyDocumentSerde } @@ -1890,7 +1890,7 @@ type StackSetOperationResultSummary struct { type StackSetOperationStatusDetails struct { // The number of stack instances for which the StackSet operation failed. - FailedStackInstancesCount int32 + FailedStackInstancesCount *int32 noSmithyDocumentSerde } diff --git a/service/cloudformation/validators.go b/service/cloudformation/validators.go index 5e1a650f863..364d358a981 100644 --- a/service/cloudformation/validators.go +++ b/service/cloudformation/validators.go @@ -1432,6 +1432,9 @@ func validateOpDeleteStackInstancesInput(v *DeleteStackInstancesInput) error { if v.Regions == nil { invalidParams.Add(smithy.NewErrParamRequired("Regions")) } + if v.RetainStacks == nil { + invalidParams.Add(smithy.NewErrParamRequired("RetainStacks")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/cloudsearch/deserializers.go b/service/cloudsearch/deserializers.go index 4e9c6f5a24f..cbd97cf003f 100644 --- a/service/cloudsearch/deserializers.go +++ b/service/cloudsearch/deserializers.go @@ -4650,7 +4650,7 @@ func awsAwsquery_deserializeDocumentDomainStatus(v **types.DomainStatus, decoder if err != nil { return err } - sv.SearchInstanceCount = int32(i64) + sv.SearchInstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("SearchInstanceType", t.Name.Local): @@ -4680,7 +4680,7 @@ func awsAwsquery_deserializeDocumentDomainStatus(v **types.DomainStatus, decoder if err != nil { return err } - sv.SearchPartitionCount = int32(i64) + sv.SearchPartitionCount = ptr.Int32(int32(i64)) } case strings.EqualFold("SearchService", t.Name.Local): @@ -6109,7 +6109,7 @@ func awsAwsquery_deserializeDocumentLimits(v **types.Limits, decoder smithyxml.N if err != nil { return err } - sv.MaximumPartitionCount = int32(i64) + sv.MaximumPartitionCount = ptr.Int32(int32(i64)) } case strings.EqualFold("MaximumReplicationCount", t.Name.Local): @@ -6126,7 +6126,7 @@ func awsAwsquery_deserializeDocumentLimits(v **types.Limits, decoder smithyxml.N if err != nil { return err } - sv.MaximumReplicationCount = int32(i64) + sv.MaximumReplicationCount = ptr.Int32(int32(i64)) } default: diff --git a/service/cloudsearch/endpoints.go b/service/cloudsearch/endpoints.go index 1a67ff31228..06db8c0afc2 100644 --- a/service/cloudsearch/endpoints.go +++ b/service/cloudsearch/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://cloudsearch-fips.") diff --git a/service/cloudsearch/types/types.go b/service/cloudsearch/types/types.go index b582a914ee6..00b538e4272 100644 --- a/service/cloudsearch/types/types.go +++ b/service/cloudsearch/types/types.go @@ -292,13 +292,13 @@ type DomainStatus struct { Processing *bool // The number of search instances that are available to process search requests. - SearchInstanceCount int32 + SearchInstanceCount *int32 // The instance type that is being used to process search requests. SearchInstanceType *string // The number of partitions across which the search index is spread. - SearchPartitionCount int32 + SearchPartitionCount *int32 // The service endpoint for requesting search results from a search domain. SearchService *ServiceEndpoint @@ -583,10 +583,10 @@ type LatLonOptions struct { type Limits struct { // This member is required. - MaximumPartitionCount int32 + MaximumPartitionCount *int32 // This member is required. - MaximumReplicationCount int32 + MaximumReplicationCount *int32 noSmithyDocumentSerde } diff --git a/service/cloudwatch/api_op_ListMetrics.go b/service/cloudwatch/api_op_ListMetrics.go index 7a9fd6e8e29..a2b333c06e4 100644 --- a/service/cloudwatch/api_op_ListMetrics.go +++ b/service/cloudwatch/api_op_ListMetrics.go @@ -54,7 +54,7 @@ type ListMetricsInput struct { // If you are using this operation in a monitoring account, specify true to // include metrics from source accounts in the returned data. The default is false . - IncludeLinkedAccounts bool + IncludeLinkedAccounts *bool // The name of the metric to filter against. Only the metrics with names that // match exactly will be returned. diff --git a/service/cloudwatch/deserializers.go b/service/cloudwatch/deserializers.go index 40baa7b6554..00bd30a07d1 100644 --- a/service/cloudwatch/deserializers.go +++ b/service/cloudwatch/deserializers.go @@ -5733,7 +5733,7 @@ func awsAwsquery_deserializeDocumentDashboardEntry(v **types.DashboardEntry, dec if err != nil { return err } - sv.Size = i64 + sv.Size = ptr.Int64(i64) } default: @@ -6577,7 +6577,7 @@ func awsAwsquery_deserializeDocumentInsightRule(v **types.InsightRule, decoder s if err != nil { return fmt.Errorf("expected InsightRuleIsManaged to be of type *bool, got %T instead", val) } - sv.ManagedRule = xtv + sv.ManagedRule = ptr.Bool(xtv) } case strings.EqualFold("Name", t.Name.Local): diff --git a/service/cloudwatch/endpoints.go b/service/cloudwatch/endpoints.go index 72e3b6bccf1..73c237ed52c 100644 --- a/service/cloudwatch/endpoints.go +++ b/service/cloudwatch/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://monitoring.") diff --git a/service/cloudwatch/serializers.go b/service/cloudwatch/serializers.go index a18e005f858..078a0efd548 100644 --- a/service/cloudwatch/serializers.go +++ b/service/cloudwatch/serializers.go @@ -3815,9 +3815,9 @@ func awsAwsquery_serializeOpDocumentListMetricsInput(v *ListMetricsInput, value } } - if v.IncludeLinkedAccounts { + if v.IncludeLinkedAccounts != nil { objectKey := object.Key("IncludeLinkedAccounts") - objectKey.Boolean(v.IncludeLinkedAccounts) + objectKey.Boolean(*v.IncludeLinkedAccounts) } if v.MetricName != nil { diff --git a/service/cloudwatch/types/types.go b/service/cloudwatch/types/types.go index 7df06affac1..8b428eb77a9 100644 --- a/service/cloudwatch/types/types.go +++ b/service/cloudwatch/types/types.go @@ -193,7 +193,7 @@ type DashboardEntry struct { LastModified *time.Time // The size of the dashboard, in bytes. - Size int64 + Size *int64 noSmithyDocumentSerde } @@ -314,7 +314,7 @@ type InsightRule struct { State *string // An optional built-in rule that Amazon Web Services manages. - ManagedRule bool + ManagedRule *bool noSmithyDocumentSerde } diff --git a/service/codestar/endpoints.go b/service/codestar/endpoints.go index 074fbb35c47..eac5cd486c4 100644 --- a/service/codestar/endpoints.go +++ b/service/codestar/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://codestar-fips.") diff --git a/service/codestarnotifications/endpoints.go b/service/codestarnotifications/endpoints.go index d6164e76a55..71d5e5028c9 100644 --- a/service/codestarnotifications/endpoints.go +++ b/service/codestarnotifications/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://codestar-notifications-fips.") diff --git a/service/cognitoidentity/api_op_ListIdentities.go b/service/cognitoidentity/api_op_ListIdentities.go index c612d15526e..e5fa1f386ef 100644 --- a/service/cognitoidentity/api_op_ListIdentities.go +++ b/service/cognitoidentity/api_op_ListIdentities.go @@ -44,7 +44,7 @@ type ListIdentitiesInput struct { // The maximum number of identities to return. // // This member is required. - MaxResults int32 + MaxResults *int32 // An optional boolean parameter that allows you to hide disabled identities. If // omitted, the ListIdentities API will include disabled identities in the diff --git a/service/cognitoidentity/api_op_ListIdentityPools.go b/service/cognitoidentity/api_op_ListIdentityPools.go index 9db1c4452d7..f24878fae97 100644 --- a/service/cognitoidentity/api_op_ListIdentityPools.go +++ b/service/cognitoidentity/api_op_ListIdentityPools.go @@ -39,7 +39,7 @@ type ListIdentityPoolsInput struct { // The maximum number of identities to return. // // This member is required. - MaxResults int32 + MaxResults *int32 // A pagination token. NextToken *string @@ -171,8 +171,8 @@ func NewListIdentityPoolsPaginator(client ListIdentityPoolsAPIClient, params *Li } options := ListIdentityPoolsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -202,7 +202,11 @@ func (p *ListIdentityPoolsPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListIdentityPools(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go index d9125bfe032..5dab79f5fac 100644 --- a/service/cognitoidentity/api_op_LookupDeveloperIdentity.go +++ b/service/cognitoidentity/api_op_LookupDeveloperIdentity.go @@ -61,7 +61,7 @@ type LookupDeveloperIdentityInput struct { IdentityId *string // The maximum number of identities to return. - MaxResults int32 + MaxResults *int32 // A pagination token. The first call you make will have NextToken set to null. // After that the service will return NextToken values as needed. For example, diff --git a/service/cognitoidentity/endpoints.go b/service/cognitoidentity/endpoints.go index b193c2069ae..dc2cdbec61d 100644 --- a/service/cognitoidentity/endpoints.go +++ b/service/cognitoidentity/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://cognito-identity-fips.") diff --git a/service/cognitoidentity/serializers.go b/service/cognitoidentity/serializers.go index 786a33e58d2..8ef11b5d784 100644 --- a/service/cognitoidentity/serializers.go +++ b/service/cognitoidentity/serializers.go @@ -1774,9 +1774,9 @@ func awsAwsjson11_serializeOpDocumentListIdentitiesInput(v *ListIdentitiesInput, ok.String(*v.IdentityPoolId) } - { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -1791,9 +1791,9 @@ func awsAwsjson11_serializeOpDocumentListIdentityPoolsInput(v *ListIdentityPools object := value.Object() defer object.Close() - { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -1835,9 +1835,9 @@ func awsAwsjson11_serializeOpDocumentLookupDeveloperIdentityInput(v *LookupDevel ok.String(*v.IdentityPoolId) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { diff --git a/service/cognitoidentity/validators.go b/service/cognitoidentity/validators.go index 943eb3c2000..ad29636e6c8 100644 --- a/service/cognitoidentity/validators.go +++ b/service/cognitoidentity/validators.go @@ -839,6 +839,9 @@ func validateOpListIdentitiesInput(v *ListIdentitiesInput) error { if v.IdentityPoolId == nil { invalidParams.Add(smithy.NewErrParamRequired("IdentityPoolId")) } + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -851,6 +854,9 @@ func validateOpListIdentityPoolsInput(v *ListIdentityPoolsInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ListIdentityPoolsInput"} + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/cognitoidentityprovider/api_op_ListResourceServers.go b/service/cognitoidentityprovider/api_op_ListResourceServers.go index 3a36c317378..0a97f21daed 100644 --- a/service/cognitoidentityprovider/api_op_ListResourceServers.go +++ b/service/cognitoidentityprovider/api_op_ListResourceServers.go @@ -45,7 +45,7 @@ type ListResourceServersInput struct { UserPoolId *string // The maximum number of resource servers to return. - MaxResults int32 + MaxResults *int32 // A pagination token. NextToken *string @@ -179,8 +179,8 @@ func NewListResourceServersPaginator(client ListResourceServersAPIClient, params } options := ListResourceServersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *ListResourceServersPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListResourceServers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go index e23285cdc76..f926d7ad788 100644 --- a/service/cognitoidentityprovider/api_op_ListUserImportJobs.go +++ b/service/cognitoidentityprovider/api_op_ListUserImportJobs.go @@ -43,7 +43,7 @@ type ListUserImportJobsInput struct { // The maximum number of import jobs you want the request to return. // // This member is required. - MaxResults int32 + MaxResults *int32 // The user pool ID for the user pool that the users are being imported into. // diff --git a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go index ef40b27f8f7..dd64ee37430 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPoolClients.go +++ b/service/cognitoidentityprovider/api_op_ListUserPoolClients.go @@ -48,7 +48,7 @@ type ListUserPoolClientsInput struct { // The maximum number of results you want the request to return when listing the // user pool clients. - MaxResults int32 + MaxResults *int32 // An identifier that was returned from the previous call to this operation, which // can be used to return the next set of items in the list. @@ -184,8 +184,8 @@ func NewListUserPoolClientsPaginator(client ListUserPoolClientsAPIClient, params } options := ListUserPoolClientsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *ListUserPoolClientsPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListUserPoolClients(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/cognitoidentityprovider/api_op_ListUserPools.go b/service/cognitoidentityprovider/api_op_ListUserPools.go index 375d8d71bda..df844f388f4 100644 --- a/service/cognitoidentityprovider/api_op_ListUserPools.go +++ b/service/cognitoidentityprovider/api_op_ListUserPools.go @@ -45,7 +45,7 @@ type ListUserPoolsInput struct { // user pools. // // This member is required. - MaxResults int32 + MaxResults *int32 // An identifier that was returned from the previous call to this operation, which // can be used to return the next set of items in the list. @@ -179,8 +179,8 @@ func NewListUserPoolsPaginator(client ListUserPoolsAPIClient, params *ListUserPo } options := ListUserPoolsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *ListUserPoolsPaginator) NextPage(ctx context.Context, optFns ...func(*O params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListUserPools(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/cognitoidentityprovider/deserializers.go b/service/cognitoidentityprovider/deserializers.go index 3075c75208c..e5467bc5ec0 100644 --- a/service/cognitoidentityprovider/deserializers.go +++ b/service/cognitoidentityprovider/deserializers.go @@ -18602,7 +18602,7 @@ func awsAwsjson11_deserializeDocumentPasswordPolicyType(v **types.PasswordPolicy if err != nil { return err } - sv.MinimumLength = int32(i64) + sv.MinimumLength = ptr.Int32(int32(i64)) } case "RequireLowercase": @@ -18969,7 +18969,7 @@ func awsAwsjson11_deserializeDocumentRecoveryOptionType(v **types.RecoveryOption if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } default: diff --git a/service/cognitoidentityprovider/endpoints.go b/service/cognitoidentityprovider/endpoints.go index e23b54494d0..971c64d86ca 100644 --- a/service/cognitoidentityprovider/endpoints.go +++ b/service/cognitoidentityprovider/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://cognito-idp-fips.") diff --git a/service/cognitoidentityprovider/serializers.go b/service/cognitoidentityprovider/serializers.go index 97c5a7fa1fc..bc2569e1145 100644 --- a/service/cognitoidentityprovider/serializers.go +++ b/service/cognitoidentityprovider/serializers.go @@ -6518,9 +6518,9 @@ func awsAwsjson11_serializeDocumentPasswordPolicyType(v *types.PasswordPolicyTyp object := value.Object() defer object.Close() - if v.MinimumLength != 0 { + if v.MinimumLength != nil { ok := object.Key("MinimumLength") - ok.Integer(v.MinimumLength) + ok.Integer(*v.MinimumLength) } if v.RequireLowercase { @@ -6606,9 +6606,9 @@ func awsAwsjson11_serializeDocumentRecoveryOptionType(v *types.RecoveryOptionTyp ok.String(string(v.Name)) } - { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } return nil @@ -8957,9 +8957,9 @@ func awsAwsjson11_serializeOpDocumentListResourceServersInput(v *ListResourceSer object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -8991,9 +8991,9 @@ func awsAwsjson11_serializeOpDocumentListUserImportJobsInput(v *ListUserImportJo object := value.Object() defer object.Close() - { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.PaginationToken != nil { @@ -9013,9 +9013,9 @@ func awsAwsjson11_serializeOpDocumentListUserPoolClientsInput(v *ListUserPoolCli object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -9035,9 +9035,9 @@ func awsAwsjson11_serializeOpDocumentListUserPoolsInput(v *ListUserPoolsInput, v object := value.Object() defer object.Close() - { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { diff --git a/service/cognitoidentityprovider/types/types.go b/service/cognitoidentityprovider/types/types.go index 18c86a886ee..5fe46844282 100644 --- a/service/cognitoidentityprovider/types/types.go +++ b/service/cognitoidentityprovider/types/types.go @@ -921,7 +921,7 @@ type PasswordPolicyType struct { // The minimum length of the password in the policy that you have set. This value // can't be less than 6. - MinimumLength int32 + MinimumLength *int32 // In the password policy that you have set, refers to whether you have required // users to use at least one lowercase letter in their password. @@ -995,7 +995,7 @@ type RecoveryOptionType struct { // priority. // // This member is required. - Priority int32 + Priority *int32 noSmithyDocumentSerde } diff --git a/service/cognitoidentityprovider/validators.go b/service/cognitoidentityprovider/validators.go index e6c9d10759b..cc1d8c6b0a6 100644 --- a/service/cognitoidentityprovider/validators.go +++ b/service/cognitoidentityprovider/validators.go @@ -2806,6 +2806,9 @@ func validateRecoveryOptionType(v *types.RecoveryOptionType) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "RecoveryOptionType"} + if v.Priority == nil { + invalidParams.Add(smithy.NewErrParamRequired("Priority")) + } if len(v.Name) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Name")) } @@ -4282,6 +4285,9 @@ func validateOpListUserImportJobsInput(v *ListUserImportJobsInput) error { if v.UserPoolId == nil { invalidParams.Add(smithy.NewErrParamRequired("UserPoolId")) } + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -4309,6 +4315,9 @@ func validateOpListUserPoolsInput(v *ListUserPoolsInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ListUserPoolsInput"} + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/configservice/api_op_PutRetentionConfiguration.go b/service/configservice/api_op_PutRetentionConfiguration.go index a7daff5e0aa..02969826df5 100644 --- a/service/configservice/api_op_PutRetentionConfiguration.go +++ b/service/configservice/api_op_PutRetentionConfiguration.go @@ -43,7 +43,7 @@ type PutRetentionConfigurationInput struct { // applicable to the configuration item history. // // This member is required. - RetentionPeriodInDays int32 + RetentionPeriodInDays *int32 noSmithyDocumentSerde } diff --git a/service/configservice/deserializers.go b/service/configservice/deserializers.go index 99a4db2bac2..b5593b72562 100644 --- a/service/configservice/deserializers.go +++ b/service/configservice/deserializers.go @@ -22321,7 +22321,7 @@ func awsAwsjson11_deserializeDocumentRetentionConfiguration(v **types.RetentionC if err != nil { return err } - sv.RetentionPeriodInDays = int32(i64) + sv.RetentionPeriodInDays = ptr.Int32(int32(i64)) } default: diff --git a/service/configservice/endpoints.go b/service/configservice/endpoints.go index d435ce621f8..1dbd637e15d 100644 --- a/service/configservice/endpoints.go +++ b/service/configservice/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://config.") diff --git a/service/configservice/serializers.go b/service/configservice/serializers.go index 789bfad583e..72270bb8d10 100644 --- a/service/configservice/serializers.go +++ b/service/configservice/serializers.go @@ -8611,9 +8611,9 @@ func awsAwsjson11_serializeOpDocumentPutRetentionConfigurationInput(v *PutRetent object := value.Object() defer object.Close() - { + if v.RetentionPeriodInDays != nil { ok := object.Key("RetentionPeriodInDays") - ok.Integer(v.RetentionPeriodInDays) + ok.Integer(*v.RetentionPeriodInDays) } return nil diff --git a/service/configservice/types/types.go b/service/configservice/types/types.go index 652a70b82ac..812119c872d 100644 --- a/service/configservice/types/types.go +++ b/service/configservice/types/types.go @@ -2663,7 +2663,7 @@ type RetentionConfiguration struct { // applicable to the configuration item history. // // This member is required. - RetentionPeriodInDays int32 + RetentionPeriodInDays *int32 noSmithyDocumentSerde } diff --git a/service/configservice/validators.go b/service/configservice/validators.go index 3fc8b946fb5..8feba76331c 100644 --- a/service/configservice/validators.go +++ b/service/configservice/validators.go @@ -3076,6 +3076,9 @@ func validateOpPutRetentionConfigurationInput(v *PutRetentionConfigurationInput) return nil } invalidParams := smithy.InvalidParamsError{Context: "PutRetentionConfigurationInput"} + if v.RetentionPeriodInDays == nil { + invalidParams.Add(smithy.NewErrParamRequired("RetentionPeriodInDays")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/connect/api_op_DeleteViewVersion.go b/service/connect/api_op_DeleteViewVersion.go index 25a4b01c734..e2f8f58df45 100644 --- a/service/connect/api_op_DeleteViewVersion.go +++ b/service/connect/api_op_DeleteViewVersion.go @@ -47,7 +47,7 @@ type DeleteViewVersionInput struct { // The version number of the view. // // This member is required. - ViewVersion int32 + ViewVersion *int32 noSmithyDocumentSerde } diff --git a/service/connect/api_op_ListContactFlows.go b/service/connect/api_op_ListContactFlows.go index 4a9c07e321c..b214d6950f7 100644 --- a/service/connect/api_op_ListContactFlows.go +++ b/service/connect/api_op_ListContactFlows.go @@ -48,7 +48,7 @@ type ListContactFlowsInput struct { // The maximum number of results to return per page. The default MaxResult size is // 100. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -181,8 +181,8 @@ func NewListContactFlowsPaginator(client ListContactFlowsAPIClient, params *List } options := ListContactFlowsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -212,7 +212,11 @@ func (p *ListContactFlowsPaginator) NextPage(ctx context.Context, optFns ...func params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListContactFlows(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_ListDefaultVocabularies.go b/service/connect/api_op_ListDefaultVocabularies.go index 37e90fd4bed..1ae2cf44062 100644 --- a/service/connect/api_op_ListDefaultVocabularies.go +++ b/service/connect/api_op_ListDefaultVocabularies.go @@ -45,7 +45,7 @@ type ListDefaultVocabulariesInput struct { LanguageCode types.VocabularyLanguageCode // The maximum number of results to return per page. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -181,8 +181,8 @@ func NewListDefaultVocabulariesPaginator(client ListDefaultVocabulariesAPIClient } options := ListDefaultVocabulariesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -212,7 +212,11 @@ func (p *ListDefaultVocabulariesPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListDefaultVocabularies(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_ListHoursOfOperations.go b/service/connect/api_op_ListHoursOfOperations.go index a745af159ae..a606c260f1d 100644 --- a/service/connect/api_op_ListHoursOfOperations.go +++ b/service/connect/api_op_ListHoursOfOperations.go @@ -45,7 +45,7 @@ type ListHoursOfOperationsInput struct { // The maximum number of results to return per page. The default MaxResult size is // 100. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -179,8 +179,8 @@ func NewListHoursOfOperationsPaginator(client ListHoursOfOperationsAPIClient, pa } options := ListHoursOfOperationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *ListHoursOfOperationsPaginator) NextPage(ctx context.Context, optFns .. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListHoursOfOperations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_ListPhoneNumbers.go b/service/connect/api_op_ListPhoneNumbers.go index 5884d736eb4..84c5c192463 100644 --- a/service/connect/api_op_ListPhoneNumbers.go +++ b/service/connect/api_op_ListPhoneNumbers.go @@ -55,7 +55,7 @@ type ListPhoneNumbersInput struct { // The maximum number of results to return per page. The default MaxResult size is // 100. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -197,8 +197,8 @@ func NewListPhoneNumbersPaginator(client ListPhoneNumbersAPIClient, params *List } options := ListPhoneNumbersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -228,7 +228,11 @@ func (p *ListPhoneNumbersPaginator) NextPage(ctx context.Context, optFns ...func params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListPhoneNumbers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_ListQueues.go b/service/connect/api_op_ListQueues.go index 5894dcf598b..6ad2b21e0a5 100644 --- a/service/connect/api_op_ListQueues.go +++ b/service/connect/api_op_ListQueues.go @@ -47,7 +47,7 @@ type ListQueuesInput struct { // The maximum number of results to return per page. The default MaxResult size is // 100. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -182,8 +182,8 @@ func NewListQueuesPaginator(client ListQueuesAPIClient, params *ListQueuesInput, } options := ListQueuesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -213,7 +213,11 @@ func (p *ListQueuesPaginator) NextPage(ctx context.Context, optFns ...func(*Opti params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListQueues(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_ListSecurityProfileApplications.go b/service/connect/api_op_ListSecurityProfileApplications.go index 9d9ca45f75c..79607f2a7b5 100644 --- a/service/connect/api_op_ListSecurityProfileApplications.go +++ b/service/connect/api_op_ListSecurityProfileApplications.go @@ -45,7 +45,7 @@ type ListSecurityProfileApplicationsInput struct { SecurityProfileId *string // The maximum number of results to return per page. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. The next set of results can be retrieved // by using the token value returned in the previous response when making the next @@ -184,8 +184,8 @@ func NewListSecurityProfileApplicationsPaginator(client ListSecurityProfileAppli } options := ListSecurityProfileApplicationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *ListSecurityProfileApplicationsPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListSecurityProfileApplications(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_ListTrafficDistributionGroups.go b/service/connect/api_op_ListTrafficDistributionGroups.go index 4936425c90b..6a887a8f8c8 100644 --- a/service/connect/api_op_ListTrafficDistributionGroups.go +++ b/service/connect/api_op_ListTrafficDistributionGroups.go @@ -39,7 +39,7 @@ type ListTrafficDistributionGroupsInput struct { InstanceId *string // The maximum number of results to return per page. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -171,8 +171,8 @@ func NewListTrafficDistributionGroupsPaginator(client ListTrafficDistributionGro } options := ListTrafficDistributionGroupsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -202,7 +202,11 @@ func (p *ListTrafficDistributionGroupsPaginator) NextPage(ctx context.Context, o params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListTrafficDistributionGroups(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/api_op_SearchVocabularies.go b/service/connect/api_op_SearchVocabularies.go index bb5e78d8a2d..86a6ed6bf4f 100644 --- a/service/connect/api_op_SearchVocabularies.go +++ b/service/connect/api_op_SearchVocabularies.go @@ -46,7 +46,7 @@ type SearchVocabulariesInput struct { LanguageCode types.VocabularyLanguageCode // The maximum number of results to return per page. - MaxResults int32 + MaxResults *int32 // The starting pattern of the name of the vocabulary. NameStartsWith *string @@ -185,8 +185,8 @@ func NewSearchVocabulariesPaginator(client SearchVocabulariesAPIClient, params * } options := SearchVocabulariesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -216,7 +216,11 @@ func (p *SearchVocabulariesPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.SearchVocabularies(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connect/deserializers.go b/service/connect/deserializers.go index 948b9fc61ed..3f73ac522da 100644 --- a/service/connect/deserializers.go +++ b/service/connect/deserializers.go @@ -38422,7 +38422,7 @@ func awsRestjson1_deserializeDocumentMediaConcurrency(v **types.MediaConcurrency if err != nil { return err } - sv.Concurrency = int32(i64) + sv.Concurrency = ptr.Int32(int32(i64)) } case "CrossChannelBehavior": @@ -41197,7 +41197,7 @@ func awsRestjson1_deserializeDocumentRoutingProfileQueueConfigSummary(v **types. if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "QueueArn": diff --git a/service/connect/serializers.go b/service/connect/serializers.go index fade9a4cb5d..c5b875310c9 100644 --- a/service/connect/serializers.go +++ b/service/connect/serializers.go @@ -5267,8 +5267,11 @@ func awsRestjson1_serializeOpHttpBindingsDeleteViewVersionInput(v *DeleteViewVer } } - { - if err := encoder.SetURI("ViewVersion").Integer(v.ViewVersion); err != nil { + if v.ViewVersion == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member ViewVersion must not be empty")} + } + if v.ViewVersion != nil { + if err := encoder.SetURI("ViewVersion").Integer(*v.ViewVersion); err != nil { return err } } @@ -9192,8 +9195,8 @@ func awsRestjson1_serializeOpHttpBindingsListContactFlowsInput(v *ListContactFlo } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -9372,9 +9375,9 @@ func awsRestjson1_serializeOpDocumentListDefaultVocabulariesInput(v *ListDefault ok.String(string(v.LanguageCode)) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -9602,8 +9605,8 @@ func awsRestjson1_serializeOpHttpBindingsListHoursOfOperationsInput(v *ListHours } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -10112,8 +10115,8 @@ func awsRestjson1_serializeOpHttpBindingsListPhoneNumbersInput(v *ListPhoneNumbe } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -10456,8 +10459,8 @@ func awsRestjson1_serializeOpHttpBindingsListQueuesInput(v *ListQueuesInput, enc } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -10923,8 +10926,8 @@ func awsRestjson1_serializeOpHttpBindingsListSecurityProfileApplicationsInput(v } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -11301,8 +11304,8 @@ func awsRestjson1_serializeOpHttpBindingsListTrafficDistributionGroupsInput(v *L encoder.SetQuery("instanceId").String(*v.InstanceId) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -13195,9 +13198,9 @@ func awsRestjson1_serializeOpDocumentSearchVocabulariesInput(v *SearchVocabulari ok.String(string(v.LanguageCode)) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NameStartsWith != nil { @@ -20354,9 +20357,9 @@ func awsRestjson1_serializeDocumentMediaConcurrency(v *types.MediaConcurrency, v ok.String(string(v.Channel)) } - { + if v.Concurrency != nil { ok := object.Key("Concurrency") - ok.Integer(v.Concurrency) + ok.Integer(*v.Concurrency) } if v.CrossChannelBehavior != nil { diff --git a/service/connect/types/types.go b/service/connect/types/types.go index b84783970db..2f1e2535569 100644 --- a/service/connect/types/types.go +++ b/service/connect/types/types.go @@ -2095,7 +2095,7 @@ type MediaConcurrency struct { // 1. Maximum value of 10. // // This member is required. - Concurrency int32 + Concurrency *int32 // Defines the cross-channel routing behavior for each channel that is enabled for // this Routing Profile. For example, this allows you to offer an agent a different @@ -2968,7 +2968,7 @@ type RoutingProfileQueueConfigSummary struct { // . // // This member is required. - Priority int32 + Priority *int32 // The Amazon Resource Name (ARN) of the queue. // diff --git a/service/connect/validators.go b/service/connect/validators.go index 05ad7a10d25..339bf2ad2dd 100644 --- a/service/connect/validators.go +++ b/service/connect/validators.go @@ -5711,6 +5711,9 @@ func validateMediaConcurrency(v *types.MediaConcurrency) error { if len(v.Channel) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Channel")) } + if v.Concurrency == nil { + invalidParams.Add(smithy.NewErrParamRequired("Concurrency")) + } if v.CrossChannelBehavior != nil { if err := validateCrossChannelBehavior(v.CrossChannelBehavior); err != nil { invalidParams.AddNested("CrossChannelBehavior", err.(smithy.InvalidParamsError)) @@ -7412,6 +7415,9 @@ func validateOpDeleteViewVersionInput(v *DeleteViewVersionInput) error { if v.ViewId == nil { invalidParams.Add(smithy.NewErrParamRequired("ViewId")) } + if v.ViewVersion == nil { + invalidParams.Add(smithy.NewErrParamRequired("ViewVersion")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go index 0200f2f0508..bcf75021261 100644 --- a/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go +++ b/service/connectcontactlens/api_op_ListRealtimeContactAnalysisSegments.go @@ -45,7 +45,7 @@ type ListRealtimeContactAnalysisSegmentsInput struct { InstanceId *string // The maximimum number of results to return per page. - MaxResults int32 + MaxResults *int32 // The token for the next set of results. Use the value returned in the previous // response in the next request to retrieve the next set of results. @@ -189,8 +189,8 @@ func NewListRealtimeContactAnalysisSegmentsPaginator(client ListRealtimeContactA } options := ListRealtimeContactAnalysisSegmentsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -220,7 +220,11 @@ func (p *ListRealtimeContactAnalysisSegmentsPaginator) NextPage(ctx context.Cont params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListRealtimeContactAnalysisSegments(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/connectcontactlens/deserializers.go b/service/connectcontactlens/deserializers.go index 6e17d17950f..d97ba31e4bf 100644 --- a/service/connectcontactlens/deserializers.go +++ b/service/connectcontactlens/deserializers.go @@ -515,7 +515,7 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets if err != nil { return err } - sv.BeginOffsetChar = int32(i64) + sv.BeginOffsetChar = ptr.Int32(int32(i64)) } case "EndOffsetChar": @@ -528,7 +528,7 @@ func awsRestjson1_deserializeDocumentCharacterOffsets(v **types.CharacterOffsets if err != nil { return err } - sv.EndOffsetChar = int32(i64) + sv.EndOffsetChar = ptr.Int32(int32(i64)) } default: @@ -793,7 +793,7 @@ func awsRestjson1_deserializeDocumentPointOfInterest(v **types.PointOfInterest, if err != nil { return err } - sv.BeginOffsetMillis = int32(i64) + sv.BeginOffsetMillis = ptr.Int32(int32(i64)) } case "EndOffsetMillis": @@ -806,7 +806,7 @@ func awsRestjson1_deserializeDocumentPointOfInterest(v **types.PointOfInterest, if err != nil { return err } - sv.EndOffsetMillis = int32(i64) + sv.EndOffsetMillis = ptr.Int32(int32(i64)) } default: @@ -1039,7 +1039,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte if err != nil { return err } - sv.BeginOffsetMillis = int32(i64) + sv.BeginOffsetMillis = ptr.Int32(int32(i64)) } case "Content": @@ -1061,7 +1061,7 @@ func awsRestjson1_deserializeDocumentTranscript(v **types.Transcript, value inte if err != nil { return err } - sv.EndOffsetMillis = int32(i64) + sv.EndOffsetMillis = ptr.Int32(int32(i64)) } case "Id": diff --git a/service/connectcontactlens/endpoints.go b/service/connectcontactlens/endpoints.go index 0f283a2e7a0..f7a4f7d8353 100644 --- a/service/connectcontactlens/endpoints.go +++ b/service/connectcontactlens/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://contact-lens-fips.") diff --git a/service/connectcontactlens/serializers.go b/service/connectcontactlens/serializers.go index 7b8b30a86e1..10ebcc42fb3 100644 --- a/service/connectcontactlens/serializers.go +++ b/service/connectcontactlens/serializers.go @@ -90,9 +90,9 @@ func awsRestjson1_serializeOpDocumentListRealtimeContactAnalysisSegmentsInput(v ok.String(*v.InstanceId) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { diff --git a/service/connectcontactlens/types/types.go b/service/connectcontactlens/types/types.go index d7e0c648b2e..b296707997a 100644 --- a/service/connectcontactlens/types/types.go +++ b/service/connectcontactlens/types/types.go @@ -40,12 +40,12 @@ type CharacterOffsets struct { // The beginning of the issue. // // This member is required. - BeginOffsetChar int32 + BeginOffsetChar *int32 // The end of the issue. // // This member is required. - EndOffsetChar int32 + EndOffsetChar *int32 noSmithyDocumentSerde } @@ -68,12 +68,12 @@ type PointOfInterest struct { // The beginning offset in milliseconds where the category rule was detected. // // This member is required. - BeginOffsetMillis int32 + BeginOffsetMillis *int32 // The ending offset in milliseconds where the category rule was detected. // // This member is required. - EndOffsetMillis int32 + EndOffsetMillis *int32 noSmithyDocumentSerde } @@ -96,7 +96,7 @@ type Transcript struct { // The beginning offset in the contact for this transcript. // // This member is required. - BeginOffsetMillis int32 + BeginOffsetMillis *int32 // The content of the transcript. // @@ -106,7 +106,7 @@ type Transcript struct { // The end offset in the contact for this transcript. // // This member is required. - EndOffsetMillis int32 + EndOffsetMillis *int32 // The identifier of the transcript. // diff --git a/service/costexplorer/api_op_GetCostCategories.go b/service/costexplorer/api_op_GetCostCategories.go index 42035790063..b7c35c35f32 100644 --- a/service/costexplorer/api_op_GetCostCategories.go +++ b/service/costexplorer/api_op_GetCostCategories.go @@ -102,7 +102,7 @@ type GetCostCategoriesInput struct { // isn't specified with the SortBy value, the request returns 1000 results as the // default value for this parameter. For GetCostCategories , MaxResults has an // upper quota of 1000. - MaxResults int32 + MaxResults *int32 // If the number of objects that are still available for retrieval exceeds the // quota, Amazon Web Services returns a NextPageToken value in the response. To diff --git a/service/costexplorer/api_op_GetDimensionValues.go b/service/costexplorer/api_op_GetDimensionValues.go index ad969412117..b6923a49b0b 100644 --- a/service/costexplorer/api_op_GetDimensionValues.go +++ b/service/costexplorer/api_op_GetDimensionValues.go @@ -195,7 +195,7 @@ type GetDimensionValuesInput struct { // number of objects that are returned for this request. If MaxResults isn't // specified with SortBy, the request returns 1000 results as the default value for // this parameter. For GetDimensionValues , MaxResults has an upper limit of 1000. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum diff --git a/service/costexplorer/api_op_GetTags.go b/service/costexplorer/api_op_GetTags.go index 4df4ee567eb..fa2e9663316 100644 --- a/service/costexplorer/api_op_GetTags.go +++ b/service/costexplorer/api_op_GetTags.go @@ -100,7 +100,7 @@ type GetTagsInput struct { // number of objects that are returned for this request. If MaxResults isn't // specified with SortBy, the request returns 1000 results as the default value for // this parameter. For GetTags , MaxResults has an upper quota of 1000. - MaxResults int32 + MaxResults *int32 // The token to retrieve the next set of results. Amazon Web Services provides the // token when the response from a previous call has more results than the maximum diff --git a/service/costexplorer/endpoints.go b/service/costexplorer/endpoints.go index 33e3c0044ff..8cafd6d7c04 100644 --- a/service/costexplorer/endpoints.go +++ b/service/costexplorer/endpoints.go @@ -467,7 +467,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://ce-fips.") diff --git a/service/costexplorer/serializers.go b/service/costexplorer/serializers.go index a7bfb08a996..34d784058ef 100644 --- a/service/costexplorer/serializers.go +++ b/service/costexplorer/serializers.go @@ -3235,9 +3235,9 @@ func awsAwsjson11_serializeOpDocumentGetCostCategoriesInput(v *GetCostCategories } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextPageToken != nil { @@ -3324,9 +3324,9 @@ func awsAwsjson11_serializeOpDocumentGetDimensionValuesInput(v *GetDimensionValu } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextPageToken != nil { @@ -3767,9 +3767,9 @@ func awsAwsjson11_serializeOpDocumentGetTagsInput(v *GetTagsInput, value smithyj } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextPageToken != nil { diff --git a/service/customerprofiles/deserializers.go b/service/customerprofiles/deserializers.go index 03d45916266..766eb8cf1ba 100644 --- a/service/customerprofiles/deserializers.go +++ b/service/customerprofiles/deserializers.go @@ -13217,7 +13217,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e if err != nil { return err } - sv.Value = int32(i64) + sv.Value = ptr.Int32(int32(i64)) } default: diff --git a/service/customerprofiles/endpoints.go b/service/customerprofiles/endpoints.go index c71f8d03436..944bc400afa 100644 --- a/service/customerprofiles/endpoints.go +++ b/service/customerprofiles/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://profile-fips.") diff --git a/service/customerprofiles/serializers.go b/service/customerprofiles/serializers.go index affa0a04295..2d21edf15d1 100644 --- a/service/customerprofiles/serializers.go +++ b/service/customerprofiles/serializers.go @@ -5641,9 +5641,9 @@ func awsRestjson1_serializeDocumentRange(v *types.Range, value smithyjson.Value) ok.String(string(v.Unit)) } - { + if v.Value != nil { ok := object.Key("Value") - ok.Integer(v.Value) + ok.Integer(*v.Value) } return nil diff --git a/service/customerprofiles/types/types.go b/service/customerprofiles/types/types.go index 1858960b878..26d669ac9bf 100644 --- a/service/customerprofiles/types/types.go +++ b/service/customerprofiles/types/types.go @@ -1199,7 +1199,7 @@ type Range struct { // The amount of time of the specified unit. // // This member is required. - Value int32 + Value *int32 noSmithyDocumentSerde } diff --git a/service/customerprofiles/validators.go b/service/customerprofiles/validators.go index 04272090c7d..0b37cb922a3 100644 --- a/service/customerprofiles/validators.go +++ b/service/customerprofiles/validators.go @@ -1617,6 +1617,9 @@ func validateRange(v *types.Range) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "Range"} + if v.Value == nil { + invalidParams.Add(smithy.NewErrParamRequired("Value")) + } if len(v.Unit) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Unit")) } diff --git a/service/databrew/deserializers.go b/service/databrew/deserializers.go index 58267b70038..9d5ef2752c8 100644 --- a/service/databrew/deserializers.go +++ b/service/databrew/deserializers.go @@ -9281,7 +9281,7 @@ func awsRestjson1_deserializeDocumentFilesLimit(v **types.FilesLimit, value inte if err != nil { return err } - sv.MaxFiles = int32(i64) + sv.MaxFiles = ptr.Int32(int32(i64)) } case "Order": diff --git a/service/databrew/endpoints.go b/service/databrew/endpoints.go index ee9b31ef490..9eb71863c2e 100644 --- a/service/databrew/endpoints.go +++ b/service/databrew/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { if _Region == "us-gov-west-1" { uriString := "https://databrew.us-gov-west-1.amazonaws.com" diff --git a/service/databrew/serializers.go b/service/databrew/serializers.go index dae4a4bc1ef..f8e1ee689f2 100644 --- a/service/databrew/serializers.go +++ b/service/databrew/serializers.go @@ -4202,9 +4202,9 @@ func awsRestjson1_serializeDocumentFilesLimit(v *types.FilesLimit, value smithyj object := value.Object() defer object.Close() - { + if v.MaxFiles != nil { ok := object.Key("MaxFiles") - ok.Integer(v.MaxFiles) + ok.Integer(*v.MaxFiles) } if len(v.Order) > 0 { diff --git a/service/databrew/types/types.go b/service/databrew/types/types.go index fb2bff1c5d2..4aab8a16f5b 100644 --- a/service/databrew/types/types.go +++ b/service/databrew/types/types.go @@ -392,7 +392,7 @@ type FilesLimit struct { // The number of Amazon S3 files to select. // // This member is required. - MaxFiles int32 + MaxFiles *int32 // A criteria to use for Amazon S3 files sorting before their selection. By // default uses DESCENDING order, i.e. most recent files are selected first. diff --git a/service/databrew/validators.go b/service/databrew/validators.go index 5f722d00c4f..3c29b2b3f70 100644 --- a/service/databrew/validators.go +++ b/service/databrew/validators.go @@ -1240,6 +1240,9 @@ func validateFilesLimit(v *types.FilesLimit) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "FilesLimit"} + if v.MaxFiles == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxFiles")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go index 6df33997951..bb683f2b27b 100644 --- a/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go +++ b/service/directoryservice/api_op_UpdateNumberOfDomainControllers.go @@ -41,7 +41,7 @@ type UpdateNumberOfDomainControllersInput struct { // The number of domain controllers desired in the directory. // // This member is required. - DesiredNumber int32 + DesiredNumber *int32 // Identifier of the directory to which the domain controllers will be added or // removed. diff --git a/service/directoryservice/deserializers.go b/service/directoryservice/deserializers.go index d0cd5345c07..54a3e0513a4 100644 --- a/service/directoryservice/deserializers.go +++ b/service/directoryservice/deserializers.go @@ -10949,7 +10949,7 @@ func awsAwsjson11_deserializeDocumentDirectoryDescription(v **types.DirectoryDes if err != nil { return err } - sv.DesiredNumberOfDomainControllers = int32(i64) + sv.DesiredNumberOfDomainControllers = ptr.Int32(int32(i64)) } case "DirectoryId": @@ -13243,7 +13243,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va if err != nil { return err } - sv.RadiusPort = int32(i64) + sv.RadiusPort = ptr.Int32(int32(i64)) } case "RadiusRetries": @@ -13274,7 +13274,7 @@ func awsAwsjson11_deserializeDocumentRadiusSettings(v **types.RadiusSettings, va if err != nil { return err } - sv.RadiusTimeout = int32(i64) + sv.RadiusTimeout = ptr.Int32(int32(i64)) } case "SharedSecret": @@ -13336,7 +13336,7 @@ func awsAwsjson11_deserializeDocumentRegionDescription(v **types.RegionDescripti if err != nil { return err } - sv.DesiredNumberOfDomainControllers = int32(i64) + sv.DesiredNumberOfDomainControllers = ptr.Int32(int32(i64)) } case "DirectoryId": diff --git a/service/directoryservice/endpoints.go b/service/directoryservice/endpoints.go index 3a441a5ca1e..0565dbe41a8 100644 --- a/service/directoryservice/endpoints.go +++ b/service/directoryservice/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://ds-fips.") diff --git a/service/directoryservice/serializers.go b/service/directoryservice/serializers.go index 7176bb32d02..72533e26f4d 100644 --- a/service/directoryservice/serializers.go +++ b/service/directoryservice/serializers.go @@ -3891,9 +3891,9 @@ func awsAwsjson11_serializeDocumentRadiusSettings(v *types.RadiusSettings, value ok.String(*v.DisplayLabel) } - if v.RadiusPort != 0 { + if v.RadiusPort != nil { ok := object.Key("RadiusPort") - ok.Integer(v.RadiusPort) + ok.Integer(*v.RadiusPort) } if v.RadiusRetries != 0 { @@ -3908,9 +3908,9 @@ func awsAwsjson11_serializeDocumentRadiusSettings(v *types.RadiusSettings, value } } - if v.RadiusTimeout != 0 { + if v.RadiusTimeout != nil { ok := object.Key("RadiusTimeout") - ok.Integer(v.RadiusTimeout) + ok.Integer(*v.RadiusTimeout) } if v.SharedSecret != nil { @@ -5454,9 +5454,9 @@ func awsAwsjson11_serializeOpDocumentUpdateNumberOfDomainControllersInput(v *Upd object := value.Object() defer object.Close() - { + if v.DesiredNumber != nil { ok := object.Key("DesiredNumber") - ok.Integer(v.DesiredNumber) + ok.Integer(*v.DesiredNumber) } if v.DirectoryId != nil { diff --git a/service/directoryservice/types/types.go b/service/directoryservice/types/types.go index 7f62b390ce2..15075047b4b 100644 --- a/service/directoryservice/types/types.go +++ b/service/directoryservice/types/types.go @@ -220,7 +220,7 @@ type DirectoryDescription struct { // The desired number of domain controllers in the directory if the directory is // Microsoft AD. - DesiredNumberOfDomainControllers int32 + DesiredNumberOfDomainControllers *int32 // The directory identifier. DirectoryId *string @@ -547,7 +547,7 @@ type RadiusSettings struct { // The port that your RADIUS server is using for communications. Your self-managed // network must allow inbound traffic over this port from the Directory Service // servers. - RadiusPort int32 + RadiusPort *int32 // The maximum number of times that communication with the RADIUS server is // attempted. @@ -559,7 +559,7 @@ type RadiusSettings struct { RadiusServers []string // The amount of time, in seconds, to wait for the RADIUS server to respond. - RadiusTimeout int32 + RadiusTimeout *int32 // Required for enabling RADIUS on the directory. SharedSecret *string @@ -575,7 +575,7 @@ type RegionDescription struct { // The desired number of domain controllers in the specified Region for the // specified directory. - DesiredNumberOfDomainControllers int32 + DesiredNumberOfDomainControllers *int32 // The identifier of the directory. DirectoryId *string diff --git a/service/directoryservice/validators.go b/service/directoryservice/validators.go index 2786dcf230c..3859e99fa2e 100644 --- a/service/directoryservice/validators.go +++ b/service/directoryservice/validators.go @@ -2649,6 +2649,9 @@ func validateOpUpdateNumberOfDomainControllersInput(v *UpdateNumberOfDomainContr if v.DirectoryId == nil { invalidParams.Add(smithy.NewErrParamRequired("DirectoryId")) } + if v.DesiredNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("DesiredNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/dlm/deserializers.go b/service/dlm/deserializers.go index f957815b6f6..b190c700b8d 100644 --- a/service/dlm/deserializers.go +++ b/service/dlm/deserializers.go @@ -1369,7 +1369,7 @@ func awsRestjson1_deserializeDocumentCreateRule(v **types.CreateRule, value inte if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -1520,7 +1520,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyDeprecateRule(v **types.Cros if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -1573,7 +1573,7 @@ func awsRestjson1_deserializeDocumentCrossRegionCopyRetainRule(v **types.CrossRe if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -1746,7 +1746,7 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "Interval": @@ -1759,7 +1759,7 @@ func awsRestjson1_deserializeDocumentDeprecateRule(v **types.DeprecateRule, valu if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -1999,7 +1999,7 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "Interval": @@ -2012,7 +2012,7 @@ func awsRestjson1_deserializeDocumentFastRestoreRule(v **types.FastRestoreRule, if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -2794,7 +2794,7 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "Interval": @@ -2807,7 +2807,7 @@ func awsRestjson1_deserializeDocumentRetainRule(v **types.RetainRule, value inte if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -2860,7 +2860,7 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "Interval": @@ -2873,7 +2873,7 @@ func awsRestjson1_deserializeDocumentRetentionArchiveTier(v **types.RetentionArc if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "IntervalUnit": @@ -2927,7 +2927,7 @@ func awsRestjson1_deserializeDocumentSchedule(v **types.Schedule, value interfac if !ok { return fmt.Errorf("expected CopyTags to be of type *bool, got %T instead", value) } - sv.CopyTags = jtv + sv.CopyTags = ptr.Bool(jtv) } case "CreateRule": @@ -3059,7 +3059,7 @@ func awsRestjson1_deserializeDocumentShareRule(v **types.ShareRule, value interf if err != nil { return err } - sv.UnshareInterval = int32(i64) + sv.UnshareInterval = ptr.Int32(int32(i64)) } case "UnshareIntervalUnit": diff --git a/service/dlm/endpoints.go b/service/dlm/endpoints.go index a5ad6c8b8dc..c2f073fff57 100644 --- a/service/dlm/endpoints.go +++ b/service/dlm/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://dlm.") diff --git a/service/dlm/serializers.go b/service/dlm/serializers.go index 32cf585b2e8..049efd8f975 100644 --- a/service/dlm/serializers.go +++ b/service/dlm/serializers.go @@ -738,9 +738,9 @@ func awsRestjson1_serializeDocumentCreateRule(v *types.CreateRule, value smithyj ok.String(*v.CronExpression) } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -806,9 +806,9 @@ func awsRestjson1_serializeDocumentCrossRegionCopyDeprecateRule(v *types.CrossRe object := value.Object() defer object.Close() - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -823,9 +823,9 @@ func awsRestjson1_serializeDocumentCrossRegionCopyRetainRule(v *types.CrossRegio object := value.Object() defer object.Close() - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -899,14 +899,14 @@ func awsRestjson1_serializeDocumentDeprecateRule(v *types.DeprecateRule, value s object := value.Object() defer object.Close() - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Integer(v.Count) + ok.Integer(*v.Count) } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -1001,14 +1001,14 @@ func awsRestjson1_serializeDocumentFastRestoreRule(v *types.FastRestoreRule, val } } - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Integer(v.Count) + ok.Integer(*v.Count) } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -1130,14 +1130,14 @@ func awsRestjson1_serializeDocumentRetainRule(v *types.RetainRule, value smithyj object := value.Object() defer object.Close() - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Integer(v.Count) + ok.Integer(*v.Count) } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -1152,14 +1152,14 @@ func awsRestjson1_serializeDocumentRetentionArchiveTier(v *types.RetentionArchiv object := value.Object() defer object.Close() - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Integer(v.Count) + ok.Integer(*v.Count) } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if len(v.IntervalUnit) > 0 { @@ -1181,9 +1181,9 @@ func awsRestjson1_serializeDocumentSchedule(v *types.Schedule, value smithyjson. } } - if v.CopyTags { + if v.CopyTags != nil { ok := object.Key("CopyTags") - ok.Boolean(v.CopyTags) + ok.Boolean(*v.CopyTags) } if v.CreateRule != nil { @@ -1274,9 +1274,9 @@ func awsRestjson1_serializeDocumentShareRule(v *types.ShareRule, value smithyjso } } - if v.UnshareInterval != 0 { + if v.UnshareInterval != nil { ok := object.Key("UnshareInterval") - ok.Integer(v.UnshareInterval) + ok.Integer(*v.UnshareInterval) } if len(v.UnshareIntervalUnit) > 0 { diff --git a/service/dlm/types/types.go b/service/dlm/types/types.go index b3a55c71047..62c71244fae 100644 --- a/service/dlm/types/types.go +++ b/service/dlm/types/types.go @@ -63,7 +63,7 @@ type CreateRule struct { // The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, // and 24. - Interval int32 + Interval *int32 // The interval unit. IntervalUnit IntervalUnitValues @@ -118,7 +118,7 @@ type CrossRegionCopyDeprecateRule struct { // must be less than or equal to the cross-Region AMI copy retention period, and it // can't be greater than 10 years. This is equivalent to 120 months, 520 weeks, or // 3650 days. - Interval int32 + Interval *int32 // The unit of time in which to measure the Interval. For example, to deprecate a // cross-Region AMI copy after 3 months, specify Interval=3 and IntervalUnit=MONTHS @@ -135,7 +135,7 @@ type CrossRegionCopyRetainRule struct { // The amount of time to retain a cross-Region snapshot or AMI copy. The maximum // is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days. - Interval int32 + Interval *int32 // The unit of time for time-based retention. For example, to retain a // cross-Region copy for 3 months, specify Interval=3 and IntervalUnit=MONTHS . @@ -195,13 +195,13 @@ type DeprecateRule struct { // If the schedule has a count-based retention rule, this parameter specifies the // number of oldest AMIs to deprecate. The count must be less than or equal to the // schedule's retention count, and it can't be greater than 1000. - Count int32 + Count *int32 // If the schedule has an age-based retention rule, this parameter specifies the // period after which to deprecate AMIs created by the schedule. The period must be // less than or equal to the schedule's retention period, and it can't be greater // than 10 years. This is equivalent to 120 months, 520 weeks, or 3650 days. - Interval int32 + Interval *int32 // The unit of time in which to measure the Interval. IntervalUnit RetentionIntervalUnitValues @@ -284,11 +284,11 @@ type FastRestoreRule struct { AvailabilityZones []string // The number of snapshots to be enabled with fast snapshot restore. - Count int32 + Count *int32 // The amount of time to enable fast snapshot restore. The maximum is 100 years. // This is equivalent to 1200 months, 5200 weeks, or 36500 days. - Interval int32 + Interval *int32 // The unit of time for enabling fast snapshot restore. IntervalUnit RetentionIntervalUnitValues @@ -468,11 +468,11 @@ type RetainRule struct { // example if you want to retain a maximum of three snapshots, specify 3 . When the // fourth snapshot is created, the oldest retained snapshot is deleted, or it is // moved to the archive tier if you have specified an ArchiveRule . - Count int32 + Count *int32 // The amount of time to retain each snapshot. The maximum is 100 years. This is // equivalent to 1200 months, 5200 weeks, or 36500 days. - Interval int32 + Interval *int32 // The unit of time for time-based retention. For example, to retain snapshots for // 3 months, specify Interval=3 and IntervalUnit=MONTHS . Once the snapshot has @@ -498,11 +498,11 @@ type RetentionArchiveTier struct { // at least 90 days. For example, if the schedule creates snapshots every 30 days, // you must specify a count of 3 or more to ensure that each snapshot is archived // for at least 90 days. - Count int32 + Count *int32 // Specifies the period of time to retain snapshots in the archive tier. After // this period expires, the snapshot is permanently deleted. - Interval int32 + Interval *int32 // The unit of time in which to measure the Interval. For example, to retain a // snapshots in the archive tier for 6 months, specify Interval=6 and @@ -527,7 +527,7 @@ type Schedule struct { // Copy all user-defined tags on a source volume to snapshots of the volume // created by this policy. - CopyTags bool + CopyTags *bool // The creation rule. CreateRule *CreateRule @@ -579,7 +579,7 @@ type ShareRule struct { // The period after which snapshots that are shared with other Amazon Web Services // accounts are automatically unshared. - UnshareInterval int32 + UnshareInterval *int32 // The unit of time for the automatic unsharing interval. UnshareIntervalUnit RetentionIntervalUnitValues diff --git a/service/docdb/api_op_DeleteDBCluster.go b/service/docdb/api_op_DeleteDBCluster.go index 64ad3f8f57c..d323af888f1 100644 --- a/service/docdb/api_op_DeleteDBCluster.go +++ b/service/docdb/api_op_DeleteDBCluster.go @@ -57,7 +57,7 @@ type DeleteDBClusterInput struct { // specified, a cluster snapshot is created before the DB cluster is deleted. If // SkipFinalSnapshot is false , you must specify a FinalDBSnapshotIdentifier // parameter. Default: false - SkipFinalSnapshot bool + SkipFinalSnapshot *bool noSmithyDocumentSerde } diff --git a/service/docdb/api_op_DescribeDBClusterSnapshots.go b/service/docdb/api_op_DescribeDBClusterSnapshots.go index 58bb20af583..f13aa57c6a1 100644 --- a/service/docdb/api_op_DescribeDBClusterSnapshots.go +++ b/service/docdb/api_op_DescribeDBClusterSnapshots.go @@ -56,12 +56,12 @@ type DescribeDBClusterSnapshotsInput struct { // Set to true to include manual cluster snapshots that are public and can be // copied or restored by any Amazon Web Services account, and otherwise false . The // default is false . - IncludePublic bool + IncludePublic *bool // Set to true to include shared manual cluster snapshots from other Amazon Web // Services accounts that this Amazon Web Services account has been given // permission to copy or restore, and otherwise false . The default is false . - IncludeShared bool + IncludeShared *bool // An optional pagination token provided by a previous request. If this parameter // is specified, the response includes only records beyond the marker, up to the diff --git a/service/docdb/api_op_DescribeDBEngineVersions.go b/service/docdb/api_op_DescribeDBEngineVersions.go index 523def08b88..271fc7d2bce 100644 --- a/service/docdb/api_op_DescribeDBEngineVersions.go +++ b/service/docdb/api_op_DescribeDBEngineVersions.go @@ -42,7 +42,7 @@ type DescribeDBEngineVersionsInput struct { // Indicates that only the default version of the specified engine or engine and // major version combination is returned. - DefaultOnly bool + DefaultOnly *bool // The database engine to return. Engine *string diff --git a/service/docdb/api_op_ModifyDBCluster.go b/service/docdb/api_op_ModifyDBCluster.go index 7ede661a8f7..7392a94eeee 100644 --- a/service/docdb/api_op_ModifyDBCluster.go +++ b/service/docdb/api_op_ModifyDBCluster.go @@ -48,7 +48,7 @@ type ModifyDBClusterInput struct { // You must allow major version upgrades when specifying a value for the // EngineVersion parameter that is a different major version than the DB cluster's // current version. - AllowMajorVersionUpgrade bool + AllowMajorVersionUpgrade *bool // A value that specifies whether the changes in this request and any pending // changes are asynchronously applied as soon as possible, regardless of the @@ -59,7 +59,7 @@ type ModifyDBClusterInput struct { // changes to the NewDBClusterIdentifier and MasterUserPassword values are applied // during the next maintenance window. All other changes are applied immediately, // regardless of the value of the ApplyImmediately parameter. Default: false - ApplyImmediately bool + ApplyImmediately *bool // The number of days for which automated backups are retained. You must specify a // minimum value of 1. Default: 1 Constraints: diff --git a/service/docdb/api_op_ModifyDBInstance.go b/service/docdb/api_op_ModifyDBInstance.go index 55ffbc4c324..951baf58cb5 100644 --- a/service/docdb/api_op_ModifyDBInstance.go +++ b/service/docdb/api_op_ModifyDBInstance.go @@ -50,7 +50,7 @@ type ModifyDBInstanceInput struct { // false , changes to the instance are applied during the next maintenance window. // Some parameter changes can cause an outage and are applied on the next reboot. // Default: false - ApplyImmediately bool + ApplyImmediately *bool // This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not // perform minor version upgrades regardless of the value set. diff --git a/service/docdb/api_op_ResetDBClusterParameterGroup.go b/service/docdb/api_op_ResetDBClusterParameterGroup.go index fb572f8a312..9954cb8d7e8 100644 --- a/service/docdb/api_op_ResetDBClusterParameterGroup.go +++ b/service/docdb/api_op_ResetDBClusterParameterGroup.go @@ -55,7 +55,7 @@ type ResetDBClusterParameterGroupInput struct { // group to their default values, and false otherwise. You can't use this // parameter if there is a list of parameter names specified for the Parameters // parameter. - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/docdb/api_op_RestoreDBClusterToPointInTime.go b/service/docdb/api_op_RestoreDBClusterToPointInTime.go index ac1781b4b57..03a4883e57d 100644 --- a/service/docdb/api_op_RestoreDBClusterToPointInTime.go +++ b/service/docdb/api_op_RestoreDBClusterToPointInTime.go @@ -117,7 +117,7 @@ type RestoreDBClusterToPointInTimeInput struct { // A value that is set to true to restore the cluster to the latest restorable // backup time, and false otherwise. Default: false Constraints: Cannot be // specified if the RestoreToTime parameter is provided. - UseLatestRestorableTime bool + UseLatestRestorableTime *bool // A list of VPC security groups that the new cluster belongs to. VpcSecurityGroupIds []string diff --git a/service/docdb/deserializers.go b/service/docdb/deserializers.go index 47b9ef35af5..4cdf7f483b7 100644 --- a/service/docdb/deserializers.go +++ b/service/docdb/deserializers.go @@ -9283,7 +9283,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeletionProtection = xtv + sv.DeletionProtection = ptr.Bool(xtv) } case strings.EqualFold("EarliestRestorableTime", t.Name.Local): @@ -9417,7 +9417,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZ = xtv + sv.MultiAZ = ptr.Bool(xtv) } case strings.EqualFold("PercentProgress", t.Name.Local): @@ -9534,7 +9534,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("VpcSecurityGroups", t.Name.Local): @@ -9735,7 +9735,7 @@ func awsAwsquery_deserializeDocumentDBClusterMember(v **types.DBClusterMember, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsClusterWriter = xtv + sv.IsClusterWriter = ptr.Bool(xtv) } case strings.EqualFold("PromotionTier", t.Name.Local): @@ -10420,7 +10420,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("Port", t.Name.Local): @@ -10437,7 +10437,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("SnapshotCreateTime", t.Name.Local): @@ -10509,7 +10509,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("VpcId", t.Name.Local): @@ -10989,7 +10989,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsLogExportsToCloudwatchLogs = xtv + sv.SupportsLogExportsToCloudwatchLogs = ptr.Bool(xtv) } case strings.EqualFold("ValidUpgradeTarget", t.Name.Local): @@ -11115,7 +11115,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -11145,7 +11145,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.BackupRetentionPeriod = int32(i64) + sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } case strings.EqualFold("CACertificateIdentifier", t.Name.Local): @@ -11408,7 +11408,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.PubliclyAccessible = xtv + sv.PubliclyAccessible = ptr.Bool(xtv) } case strings.EqualFold("StatusInfos", t.Name.Local): @@ -11430,7 +11430,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("VpcSecurityGroups", t.Name.Local): @@ -11667,7 +11667,7 @@ func awsAwsquery_deserializeDocumentDBInstanceStatusInfo(v **types.DBInstanceSta if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Normal = xtv + sv.Normal = ptr.Bool(xtv) } case strings.EqualFold("Status", t.Name.Local): @@ -12603,7 +12603,7 @@ func awsAwsquery_deserializeDocumentEndpoint(v **types.Endpoint, decoder smithyx if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -13131,7 +13131,7 @@ func awsAwsquery_deserializeDocumentEventSubscription(v **types.EventSubscriptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } case strings.EqualFold("EventCategoriesList", t.Name.Local): @@ -13672,7 +13672,7 @@ func awsAwsquery_deserializeDocumentGlobalClusterMember(v **types.GlobalClusterM if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsWriter = xtv + sv.IsWriter = ptr.Bool(xtv) } case strings.EqualFold("Readers", t.Name.Local): @@ -14916,7 +14916,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Vpc = xtv + sv.Vpc = ptr.Bool(xtv) } default: @@ -15101,7 +15101,7 @@ func awsAwsquery_deserializeDocumentParameter(v **types.Parameter, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersion", t.Name.Local): @@ -17011,7 +17011,7 @@ func awsAwsquery_deserializeDocumentUpgradeTarget(v **types.UpgradeTarget, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoUpgrade = xtv + sv.AutoUpgrade = ptr.Bool(xtv) } case strings.EqualFold("Description", t.Name.Local): @@ -17066,7 +17066,7 @@ func awsAwsquery_deserializeDocumentUpgradeTarget(v **types.UpgradeTarget, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsMajorVersionUpgrade = xtv + sv.IsMajorVersionUpgrade = ptr.Bool(xtv) } default: diff --git a/service/docdb/endpoints.go b/service/docdb/endpoints.go index f9c5e8afd96..e8636375cdf 100644 --- a/service/docdb/endpoints.go +++ b/service/docdb/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://rds.") diff --git a/service/docdb/serializers.go b/service/docdb/serializers.go index 072c0cc244d..d5e86bb5136 100644 --- a/service/docdb/serializers.go +++ b/service/docdb/serializers.go @@ -3548,9 +3548,9 @@ func awsAwsquery_serializeDocumentParameter(v *types.Parameter, value query.Valu objectKey.String(*v.Description) } - if v.IsModifiable { + if v.IsModifiable != nil { objectKey := object.Key("IsModifiable") - objectKey.Boolean(v.IsModifiable) + objectKey.Boolean(*v.IsModifiable) } if v.MinimumEngineVersion != nil { @@ -4155,9 +4155,9 @@ func awsAwsquery_serializeOpDocumentDeleteDBClusterInput(v *DeleteDBClusterInput objectKey.String(*v.FinalDBSnapshotIdentifier) } - if v.SkipFinalSnapshot { + if v.SkipFinalSnapshot != nil { objectKey := object.Key("SkipFinalSnapshot") - objectKey.Boolean(v.SkipFinalSnapshot) + objectKey.Boolean(*v.SkipFinalSnapshot) } return nil @@ -4389,14 +4389,14 @@ func awsAwsquery_serializeOpDocumentDescribeDBClusterSnapshotsInput(v *DescribeD } } - if v.IncludePublic { + if v.IncludePublic != nil { objectKey := object.Key("IncludePublic") - objectKey.Boolean(v.IncludePublic) + objectKey.Boolean(*v.IncludePublic) } - if v.IncludeShared { + if v.IncludeShared != nil { objectKey := object.Key("IncludeShared") - objectKey.Boolean(v.IncludeShared) + objectKey.Boolean(*v.IncludeShared) } if v.Marker != nil { @@ -4426,9 +4426,9 @@ func awsAwsquery_serializeOpDocumentDescribeDBEngineVersionsInput(v *DescribeDBE objectKey.String(*v.DBParameterGroupFamily) } - if v.DefaultOnly { + if v.DefaultOnly != nil { objectKey := object.Key("DefaultOnly") - objectKey.Boolean(v.DefaultOnly) + objectKey.Boolean(*v.DefaultOnly) } if v.Engine != nil { @@ -4809,14 +4809,14 @@ func awsAwsquery_serializeOpDocumentModifyDBClusterInput(v *ModifyDBClusterInput object := value.Object() _ = object - if v.AllowMajorVersionUpgrade { + if v.AllowMajorVersionUpgrade != nil { objectKey := object.Key("AllowMajorVersionUpgrade") - objectKey.Boolean(v.AllowMajorVersionUpgrade) + objectKey.Boolean(*v.AllowMajorVersionUpgrade) } - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.BackupRetentionPeriod != nil { @@ -4940,9 +4940,9 @@ func awsAwsquery_serializeOpDocumentModifyDBInstanceInput(v *ModifyDBInstanceInp object := value.Object() _ = object - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.AutoMinorVersionUpgrade != nil { @@ -5164,9 +5164,9 @@ func awsAwsquery_serializeOpDocumentResetDBClusterParameterGroupInput(v *ResetDB } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil @@ -5310,9 +5310,9 @@ func awsAwsquery_serializeOpDocumentRestoreDBClusterToPointInTimeInput(v *Restor } } - if v.UseLatestRestorableTime { + if v.UseLatestRestorableTime != nil { objectKey := object.Key("UseLatestRestorableTime") - objectKey.Boolean(v.UseLatestRestorableTime) + objectKey.Boolean(*v.UseLatestRestorableTime) } if v.VpcSecurityGroupIds != nil { diff --git a/service/docdb/types/types.go b/service/docdb/types/types.go index 464bb1ca308..5dce6cda0fd 100644 --- a/service/docdb/types/types.go +++ b/service/docdb/types/types.go @@ -108,7 +108,7 @@ type DBCluster struct { // enabled, the cluster cannot be deleted unless it is modified and // DeletionProtection is disabled. DeletionProtection protects clusters from being // accidentally deleted. - DeletionProtection bool + DeletionProtection *bool // The earliest time to which a database can be restored with point-in-time // restore. @@ -141,7 +141,7 @@ type DBCluster struct { MasterUsername *string // Specifies whether the cluster has instances in multiple Availability Zones. - MultiAZ bool + MultiAZ *bool // Specifies the progress of the operation as a percentage. PercentProgress *string @@ -181,7 +181,7 @@ type DBCluster struct { Status *string // Specifies whether the cluster is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // Provides a list of virtual private cloud (VPC) security groups that the cluster // belongs to. @@ -202,7 +202,7 @@ type DBClusterMember struct { // A value that is true if the cluster member is the primary instance for the // cluster and false otherwise. - IsClusterWriter bool + IsClusterWriter *bool // A value that specifies the order in which an Amazon DocumentDB replica is // promoted to the primary instance after a failure of the existing primary @@ -287,11 +287,11 @@ type DBClusterSnapshot struct { MasterUsername *string // Specifies the percentage of the estimated data that has been transferred. - PercentProgress int32 + PercentProgress *int32 // Specifies the port that the cluster was listening on at the time of the // snapshot. - Port int32 + Port *int32 // Provides the time when the snapshot was taken, in UTC. SnapshotCreateTime *time.Time @@ -307,7 +307,7 @@ type DBClusterSnapshot struct { Status *string // Specifies whether the cluster snapshot is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // Provides the virtual private cloud (VPC) ID that is associated with the cluster // snapshot. @@ -373,7 +373,7 @@ type DBEngineVersion struct { // A value that indicates whether the engine version supports exporting the log // types specified by ExportableLogTypes to CloudWatch Logs. - SupportsLogExportsToCloudwatchLogs bool + SupportsLogExportsToCloudwatchLogs *bool // A list of engine versions that this database engine version can be upgraded to. ValidUpgradeTarget []UpgradeTarget @@ -386,13 +386,13 @@ type DBInstance struct { // Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon // DocumentDB does not perform minor version upgrades regardless of the value set. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // Specifies the name of the Availability Zone that the instance is located in. AvailabilityZone *string // Specifies the number of days for which automatic snapshots are retained. - BackupRetentionPeriod int32 + BackupRetentionPeriod *int32 // The identifier of the CA certificate for this DB instance. CACertificateIdentifier *string @@ -469,14 +469,14 @@ type DBInstance struct { // Not supported. Amazon DocumentDB does not currently support public endpoints. // The value of PubliclyAccessible is always false . - PubliclyAccessible bool + PubliclyAccessible *bool // The status of a read replica. If the instance is not a read replica, this is // blank. StatusInfos []DBInstanceStatusInfo // Specifies whether or not the instance is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // Provides a list of VPC security group elements that the instance belongs to. VpcSecurityGroups []VpcSecurityGroupMembership @@ -493,7 +493,7 @@ type DBInstanceStatusInfo struct { // A Boolean value that is true if the instance is operating normally, or false if // the instance is in an error state. - Normal bool + Normal *bool // Status of the instance. For a StatusType of read replica, the values can be // replicating , error, stopped , or terminated . @@ -540,7 +540,7 @@ type Endpoint struct { HostedZoneId *string // Specifies the port that the database engine is listening on. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -612,7 +612,7 @@ type EventSubscription struct { // A Boolean value indicating whether the subscription is enabled. A value of true // indicates that the subscription is enabled. - Enabled bool + Enabled *bool // A list of event categories for the Amazon DocumentDB event notification // subscription. @@ -713,7 +713,7 @@ type GlobalClusterMember struct { // Specifies whether the Amazon DocumentDB cluster is the primary cluster (that // is, has read-write capability) for the Amazon DocumentDB global cluster with // which it is associated. - IsWriter bool + IsWriter *bool // The Amazon Resource Name (ARN) for each read-only secondary cluster associated // with the Aurora global cluster. @@ -741,7 +741,7 @@ type OrderableDBInstanceOption struct { LicenseModel *string // Indicates whether an instance is in a virtual private cloud (VPC). - Vpc bool + Vpc *bool noSmithyDocumentSerde } @@ -767,7 +767,7 @@ type Parameter struct { // Indicates whether ( true ) or not ( false ) the parameter can be modified. Some // parameters have security or operational implications that prevent them from // being changed. - IsModifiable bool + IsModifiable *bool // The earliest engine version to which the parameter can apply. MinimumEngineVersion *string @@ -940,7 +940,7 @@ type UpgradeTarget struct { // A value that indicates whether the target version is applied to any source DB // instances that have AutoMinorVersionUpgrade set to true . - AutoUpgrade bool + AutoUpgrade *bool // The version of the database engine that an instance can be upgraded to. Description *string @@ -952,7 +952,7 @@ type UpgradeTarget struct { EngineVersion *string // A value that indicates whether a database engine is upgraded to a major version. - IsMajorVersionUpgrade bool + IsMajorVersionUpgrade *bool noSmithyDocumentSerde } diff --git a/service/elasticache/api_op_CompleteMigration.go b/service/elasticache/api_op_CompleteMigration.go index fe638f52b61..9e02f36c853 100644 --- a/service/elasticache/api_op_CompleteMigration.go +++ b/service/elasticache/api_op_CompleteMigration.go @@ -42,7 +42,7 @@ type CompleteMigrationInput struct { // Forces the migration to stop without ensuring that data is in sync. It is // recommended to use this option only to abort the migration and not recommended // when application wants to continue migration to ElastiCache. - Force bool + Force *bool noSmithyDocumentSerde } diff --git a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go index 5c9f6cf1041..be416b4d64d 100644 --- a/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DecreaseNodeGroupsInGlobalReplicationGroup.go @@ -38,7 +38,7 @@ type DecreaseNodeGroupsInGlobalReplicationGroupInput struct { // present, the only permitted value for this parameter is true. // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The name of the Global datastore // @@ -49,7 +49,7 @@ type DecreaseNodeGroupsInGlobalReplicationGroupInput struct { // shard configuration // // This member is required. - NodeGroupCount int32 + NodeGroupCount *int32 // If the value of NodeGroupCount is less than the current number of node groups // (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. diff --git a/service/elasticache/api_op_DecreaseReplicaCount.go b/service/elasticache/api_op_DecreaseReplicaCount.go index 314386ca1bc..173afa7c299 100644 --- a/service/elasticache/api_op_DecreaseReplicaCount.go +++ b/service/elasticache/api_op_DecreaseReplicaCount.go @@ -41,7 +41,7 @@ type DecreaseReplicaCountInput struct { // ApplyImmediately=False is not currently supported. // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The id of the replication group from which you want to remove replica nodes. // diff --git a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go index 5fcee416d8d..390dd61d739 100644 --- a/service/elasticache/api_op_DeleteGlobalReplicationGroup.go +++ b/service/elasticache/api_op_DeleteGlobalReplicationGroup.go @@ -55,7 +55,7 @@ type DeleteGlobalReplicationGroupInput struct { // The primary replication group is retained as a standalone replication group. // // This member is required. - RetainPrimaryReplicationGroup bool + RetainPrimaryReplicationGroup *bool noSmithyDocumentSerde } diff --git a/service/elasticache/api_op_DescribeCacheEngineVersions.go b/service/elasticache/api_op_DescribeCacheEngineVersions.go index 97ebba58a3a..398517838cf 100644 --- a/service/elasticache/api_op_DescribeCacheEngineVersions.go +++ b/service/elasticache/api_op_DescribeCacheEngineVersions.go @@ -46,7 +46,7 @@ type DescribeCacheEngineVersionsInput struct { // If true , specifies that only the default version of the specified engine or // engine and major version combination is to be returned. - DefaultOnly bool + DefaultOnly *bool // The cache engine to return. Valid values: memcached | redis Engine *string diff --git a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go index 2fc2862ada5..51e5fed0fae 100644 --- a/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_IncreaseNodeGroupsInGlobalReplicationGroup.go @@ -38,7 +38,7 @@ type IncreaseNodeGroupsInGlobalReplicationGroupInput struct { // value for this parameter is true. // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The name of the Global datastore // @@ -48,7 +48,7 @@ type IncreaseNodeGroupsInGlobalReplicationGroupInput struct { // Total number of node groups you want // // This member is required. - NodeGroupCount int32 + NodeGroupCount *int32 // Describes the replication group IDs, the Amazon regions where they are stored // and the shard configuration for each that comprise the Global datastore diff --git a/service/elasticache/api_op_IncreaseReplicaCount.go b/service/elasticache/api_op_IncreaseReplicaCount.go index 51187b49725..77545c6f01a 100644 --- a/service/elasticache/api_op_IncreaseReplicaCount.go +++ b/service/elasticache/api_op_IncreaseReplicaCount.go @@ -41,7 +41,7 @@ type IncreaseReplicaCountInput struct { // ApplyImmediately=False is not currently supported. // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The id of the replication group to which you want to add replica nodes. // diff --git a/service/elasticache/api_op_ModifyCacheCluster.go b/service/elasticache/api_op_ModifyCacheCluster.go index 8b81eb444eb..5d6f5bb3d2b 100644 --- a/service/elasticache/api_op_ModifyCacheCluster.go +++ b/service/elasticache/api_op_ModifyCacheCluster.go @@ -58,7 +58,7 @@ type ModifyCacheClusterInput struct { // failure reboot, whichever occurs first. If you perform a ModifyCacheCluster // before a pending modification is applied, the pending modification is replaced // by the newer modification. Valid values: true | false Default: false - ApplyImmediately bool + ApplyImmediately *bool // Reserved parameter. The password used to access a password protected server. // This parameter must be specified with the auth-token-update parameter. Password diff --git a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go index dd0e8ecb005..e9cc86b7c1c 100644 --- a/service/elasticache/api_op_ModifyGlobalReplicationGroup.go +++ b/service/elasticache/api_op_ModifyGlobalReplicationGroup.go @@ -40,7 +40,7 @@ type ModifyGlobalReplicationGroupInput struct { // PreferredMaintenceWindow. // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The name of the Global datastore // diff --git a/service/elasticache/api_op_ModifyReplicationGroup.go b/service/elasticache/api_op_ModifyReplicationGroup.go index 700ad38311a..8012f43d56c 100644 --- a/service/elasticache/api_op_ModifyReplicationGroup.go +++ b/service/elasticache/api_op_ModifyReplicationGroup.go @@ -52,7 +52,7 @@ type ModifyReplicationGroupInput struct { // If false , changes to the nodes in the replication group are applied on the next // maintenance reboot, or the next failure reboot, whichever occurs first. Valid // values: true | false Default: false - ApplyImmediately bool + ApplyImmediately *bool // Reserved parameter. The password used to access a password protected server. // This parameter must be specified with the auth-token-update-strategy diff --git a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go index 417e541e217..bef641cb92c 100644 --- a/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go +++ b/service/elasticache/api_op_ModifyReplicationGroupShardConfiguration.go @@ -40,13 +40,13 @@ type ModifyReplicationGroupShardConfigurationInput struct { // present, the only permitted value for this parameter is true . Value: true // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The number of node groups (shards) that results from the modification of the // shard configuration. // // This member is required. - NodeGroupCount int32 + NodeGroupCount *int32 // The name of the Redis (cluster mode enabled) cluster (replication group) on // which the shards are to be configured. diff --git a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go index cb17204c934..53f0f6c0794 100644 --- a/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go +++ b/service/elasticache/api_op_RebalanceSlotsInGlobalReplicationGroup.go @@ -38,7 +38,7 @@ type RebalanceSlotsInGlobalReplicationGroupInput struct { // If True , redistribution is applied immediately. // // This member is required. - ApplyImmediately bool + ApplyImmediately *bool // The name of the Global datastore // diff --git a/service/elasticache/api_op_ResetCacheParameterGroup.go b/service/elasticache/api_op_ResetCacheParameterGroup.go index 838ce935102..20fd4696128 100644 --- a/service/elasticache/api_op_ResetCacheParameterGroup.go +++ b/service/elasticache/api_op_ResetCacheParameterGroup.go @@ -52,7 +52,7 @@ type ResetCacheParameterGroupInput struct { // If true , all parameters in the cache parameter group are reset to their default // values. If false , only the parameters listed by ParameterNameValues are reset // to their default values. Valid values: true | false - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/elasticache/deserializers.go b/service/elasticache/deserializers.go index 62636e5a6a3..0c9c268056f 100644 --- a/service/elasticache/deserializers.go +++ b/service/elasticache/deserializers.go @@ -11321,7 +11321,7 @@ func awsAwsquery_deserializeDocumentCacheCluster(v **types.CacheCluster, decoder if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("CacheClusterCreateTime", t.Name.Local): @@ -11582,7 +11582,7 @@ func awsAwsquery_deserializeDocumentCacheCluster(v **types.CacheCluster, decoder if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReplicationGroupLogDeliveryEnabled = xtv + sv.ReplicationGroupLogDeliveryEnabled = ptr.Bool(xtv) } case strings.EqualFold("SecurityGroups", t.Name.Local): @@ -12377,7 +12377,7 @@ func awsAwsquery_deserializeDocumentCacheNodeTypeSpecificParameter(v **types.Cac if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersion", t.Name.Local): @@ -12946,7 +12946,7 @@ func awsAwsquery_deserializeDocumentCacheParameterGroup(v **types.CacheParameter if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsGlobal = xtv + sv.IsGlobal = ptr.Bool(xtv) } default: @@ -14663,7 +14663,7 @@ func awsAwsquery_deserializeDocumentEndpoint(v **types.Endpoint, decoder smithyx if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -18250,7 +18250,7 @@ func awsAwsquery_deserializeDocumentParameter(v **types.Parameter, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersion", t.Name.Local): @@ -18861,7 +18861,7 @@ func awsAwsquery_deserializeDocumentRecurringCharge(v **types.RecurringCharge, d if err != nil { return err } - sv.RecurringChargeAmount = f64 + sv.RecurringChargeAmount = ptr.Float64(f64) } case strings.EqualFold("RecurringChargeFrequency", t.Name.Local): @@ -19069,7 +19069,7 @@ func awsAwsquery_deserializeDocumentReplicationGroup(v **types.ReplicationGroup, if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("CacheNodeType", t.Name.Local): @@ -19884,7 +19884,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNode(v **types.ReservedCacheNod if err != nil { return err } - sv.CacheNodeCount = int32(i64) + sv.CacheNodeCount = ptr.Int32(int32(i64)) } case strings.EqualFold("CacheNodeType", t.Name.Local): @@ -19914,7 +19914,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNode(v **types.ReservedCacheNod if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("FixedPrice", t.Name.Local): @@ -19931,7 +19931,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNode(v **types.ReservedCacheNod if err != nil { return err } - sv.FixedPrice = f64 + sv.FixedPrice = ptr.Float64(f64) } case strings.EqualFold("OfferingType", t.Name.Local): @@ -20049,7 +20049,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNode(v **types.ReservedCacheNod if err != nil { return err } - sv.UsagePrice = f64 + sv.UsagePrice = ptr.Float64(f64) } default: @@ -20330,7 +20330,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNodesOffering(v **types.Reserve if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("FixedPrice", t.Name.Local): @@ -20347,7 +20347,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNodesOffering(v **types.Reserve if err != nil { return err } - sv.FixedPrice = f64 + sv.FixedPrice = ptr.Float64(f64) } case strings.EqualFold("OfferingType", t.Name.Local): @@ -20409,7 +20409,7 @@ func awsAwsquery_deserializeDocumentReservedCacheNodesOffering(v **types.Reserve if err != nil { return err } - sv.UsagePrice = f64 + sv.UsagePrice = ptr.Float64(f64) } default: @@ -21124,7 +21124,7 @@ func awsAwsquery_deserializeDocumentSlotMigration(v **types.SlotMigration, decod if err != nil { return err } - sv.ProgressPercentage = f64 + sv.ProgressPercentage = ptr.Float64(f64) } default: @@ -21202,7 +21202,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("CacheClusterCreateTime", t.Name.Local): diff --git a/service/elasticache/endpoints.go b/service/elasticache/endpoints.go index ec40e8bf900..538180dac99 100644 --- a/service/elasticache/endpoints.go +++ b/service/elasticache/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://elasticache.") diff --git a/service/elasticache/serializers.go b/service/elasticache/serializers.go index fffa7241242..e320b6d8f24 100644 --- a/service/elasticache/serializers.go +++ b/service/elasticache/serializers.go @@ -4314,9 +4314,9 @@ func awsAwsquery_serializeDocumentConfigureShard(v *types.ConfigureShard, value object := value.Object() _ = object - { + if v.NewReplicaCount != nil { objectKey := object.Key("NewReplicaCount") - objectKey.Integer(v.NewReplicaCount) + objectKey.Integer(*v.NewReplicaCount) } if v.NodeGroupId != nil { @@ -4979,9 +4979,9 @@ func awsAwsquery_serializeOpDocumentCompleteMigrationInput(v *CompleteMigrationI object := value.Object() _ = object - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } if v.ReplicationGroupId != nil { @@ -5638,9 +5638,9 @@ func awsAwsquery_serializeOpDocumentDecreaseNodeGroupsInGlobalReplicationGroupIn object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.GlobalNodeGroupsToRemove != nil { @@ -5662,9 +5662,9 @@ func awsAwsquery_serializeOpDocumentDecreaseNodeGroupsInGlobalReplicationGroupIn objectKey.String(*v.GlobalReplicationGroupId) } - { + if v.NodeGroupCount != nil { objectKey := object.Key("NodeGroupCount") - objectKey.Integer(v.NodeGroupCount) + objectKey.Integer(*v.NodeGroupCount) } return nil @@ -5674,9 +5674,9 @@ func awsAwsquery_serializeOpDocumentDecreaseReplicaCountInput(v *DecreaseReplica object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.NewReplicaCount != nil { @@ -5768,9 +5768,9 @@ func awsAwsquery_serializeOpDocumentDeleteGlobalReplicationGroupInput(v *DeleteG objectKey.String(*v.GlobalReplicationGroupId) } - { + if v.RetainPrimaryReplicationGroup != nil { objectKey := object.Key("RetainPrimaryReplicationGroup") - objectKey.Boolean(v.RetainPrimaryReplicationGroup) + objectKey.Boolean(*v.RetainPrimaryReplicationGroup) } return nil @@ -5875,9 +5875,9 @@ func awsAwsquery_serializeOpDocumentDescribeCacheEngineVersionsInput(v *Describe objectKey.String(*v.CacheParameterGroupFamily) } - if v.DefaultOnly { + if v.DefaultOnly != nil { objectKey := object.Key("DefaultOnly") - objectKey.Boolean(v.DefaultOnly) + objectKey.Boolean(*v.DefaultOnly) } if v.Engine != nil { @@ -6440,9 +6440,9 @@ func awsAwsquery_serializeOpDocumentIncreaseNodeGroupsInGlobalReplicationGroupIn object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.GlobalReplicationGroupId != nil { @@ -6450,9 +6450,9 @@ func awsAwsquery_serializeOpDocumentIncreaseNodeGroupsInGlobalReplicationGroupIn objectKey.String(*v.GlobalReplicationGroupId) } - { + if v.NodeGroupCount != nil { objectKey := object.Key("NodeGroupCount") - objectKey.Integer(v.NodeGroupCount) + objectKey.Integer(*v.NodeGroupCount) } if v.RegionalConfigurations != nil { @@ -6469,9 +6469,9 @@ func awsAwsquery_serializeOpDocumentIncreaseReplicaCountInput(v *IncreaseReplica object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.NewReplicaCount != nil { @@ -6527,9 +6527,9 @@ func awsAwsquery_serializeOpDocumentModifyCacheClusterInput(v *ModifyCacheCluste object := value.Object() _ = object - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.AuthToken != nil { @@ -6692,9 +6692,9 @@ func awsAwsquery_serializeOpDocumentModifyGlobalReplicationGroupInput(v *ModifyG object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.AutomaticFailoverEnabled != nil { @@ -6734,9 +6734,9 @@ func awsAwsquery_serializeOpDocumentModifyReplicationGroupInput(v *ModifyReplica object := value.Object() _ = object - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.AuthToken != nil { @@ -6896,14 +6896,14 @@ func awsAwsquery_serializeOpDocumentModifyReplicationGroupShardConfigurationInpu object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } - { + if v.NodeGroupCount != nil { objectKey := object.Key("NodeGroupCount") - objectKey.Integer(v.NodeGroupCount) + objectKey.Integer(*v.NodeGroupCount) } if v.NodeGroupsToRemove != nil { @@ -7035,9 +7035,9 @@ func awsAwsquery_serializeOpDocumentRebalanceSlotsInGlobalReplicationGroupInput( object := value.Object() _ = object - { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.GlobalReplicationGroupId != nil { @@ -7102,9 +7102,9 @@ func awsAwsquery_serializeOpDocumentResetCacheParameterGroupInput(v *ResetCacheP } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil diff --git a/service/elasticache/types/types.go b/service/elasticache/types/types.go index f2f1270754e..688715a400e 100644 --- a/service/elasticache/types/types.go +++ b/service/elasticache/types/types.go @@ -64,7 +64,7 @@ type CacheCluster struct { // If you are running Redis engine version 6.0 or later, set this parameter to // yes if you want to opt-in to the next auto minor version upgrade campaign. This // parameter is disabled for previous versions. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // The date and time when the cluster was created. CacheClusterCreateTime *time.Time @@ -212,7 +212,7 @@ type CacheCluster struct { // A boolean value indicating whether log delivery is enabled for the replication // group. - ReplicationGroupLogDeliveryEnabled bool + ReplicationGroupLogDeliveryEnabled *bool // A list of VPC Security Groups associated with the cluster. SecurityGroups []SecurityGroupMembership @@ -372,7 +372,7 @@ type CacheNodeTypeSpecificParameter struct { // Indicates whether ( true ) or not ( false ) the parameter can be modified. Some // parameters have security or operational implications that prevent them from // being changed. - IsModifiable bool + IsModifiable *bool // The earliest cache engine version to which the parameter can apply. MinimumEngineVersion *string @@ -447,7 +447,7 @@ type CacheParameterGroup struct { Description *string // Indicates whether the parameter group is associated with a Global datastore - IsGlobal bool + IsGlobal *bool noSmithyDocumentSerde } @@ -560,7 +560,7 @@ type ConfigureShard struct { // a replica if your primary node fails) // // This member is required. - NewReplicaCount int32 + NewReplicaCount *int32 // The 4-digit id for the node group you are configuring. For Redis (cluster mode // disabled) replication groups, the node group id is always 0001. To find a Redis @@ -632,7 +632,7 @@ type Endpoint struct { Address *string // The port number that the cache engine is listening on. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -1065,7 +1065,7 @@ type Parameter struct { // Indicates whether ( true ) or not ( false ) the parameter can be modified. Some // parameters have security or operational implications that prevent them from // being changed. - IsModifiable bool + IsModifiable *bool // The earliest cache engine version to which the parameter can apply. MinimumEngineVersion *string @@ -1171,7 +1171,7 @@ type ProcessedUpdateAction struct { type RecurringCharge struct { // The monetary amount of the recurring charge. - RecurringChargeAmount float64 + RecurringChargeAmount *float64 // The frequency of the recurring charge. RecurringChargeFrequency *string @@ -1224,7 +1224,7 @@ type ReplicationGroup struct { // If you are running Redis engine version 6.0 or later, set this parameter to yes // if you want to opt-in to the next auto minor version upgrade campaign. This // parameter is disabled for previous versions. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // Indicates the status of automatic failover for this Redis replication group. AutomaticFailover AutomaticFailoverStatus @@ -1384,7 +1384,7 @@ type ReplicationGroupPendingModifiedValues struct { type ReservedCacheNode struct { // The number of cache nodes that have been reserved. - CacheNodeCount int32 + CacheNodeCount *int32 // The cache node type for the reserved cache nodes. The following node types are // supported by ElastiCache. Generally speaking, the current generation types @@ -1438,10 +1438,10 @@ type ReservedCacheNode struct { CacheNodeType *string // The duration of the reservation in seconds. - Duration int32 + Duration *int32 // The fixed price charged for this reserved cache node. - FixedPrice float64 + FixedPrice *float64 // The offering type of this reserved cache node. OfferingType *string @@ -1469,7 +1469,7 @@ type ReservedCacheNode struct { State *string // The hourly price charged for this reserved cache node. - UsagePrice float64 + UsagePrice *float64 noSmithyDocumentSerde } @@ -1529,10 +1529,10 @@ type ReservedCacheNodesOffering struct { CacheNodeType *string // The duration of the offering. in seconds. - Duration int32 + Duration *int32 // The fixed price charged for this offering. - FixedPrice float64 + FixedPrice *float64 // The offering type. OfferingType *string @@ -1547,7 +1547,7 @@ type ReservedCacheNodesOffering struct { ReservedCacheNodesOfferingId *string // The hourly price charged for this offering. - UsagePrice float64 + UsagePrice *float64 noSmithyDocumentSerde } @@ -1640,7 +1640,7 @@ type ServiceUpdate struct { type SlotMigration struct { // The percentage of the slot migration that is complete. - ProgressPercentage float64 + ProgressPercentage *float64 noSmithyDocumentSerde } @@ -1655,7 +1655,7 @@ type Snapshot struct { // If you are running Redis engine version 6.0 or later, set this parameter to // yes if you want to opt-in to the next auto minor version upgrade campaign. This // parameter is disabled for previous versions. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // Indicates the status of automatic failover for the source Redis replication // group. diff --git a/service/elasticache/validators.go b/service/elasticache/validators.go index c4fecc6c48e..9ce1807f6aa 100644 --- a/service/elasticache/validators.go +++ b/service/elasticache/validators.go @@ -1242,6 +1242,9 @@ func validateConfigureShard(v *types.ConfigureShard) error { if v.NodeGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("NodeGroupId")) } + if v.NewReplicaCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("NewReplicaCount")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1617,6 +1620,12 @@ func validateOpDecreaseNodeGroupsInGlobalReplicationGroupInput(v *DecreaseNodeGr if v.GlobalReplicationGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("GlobalReplicationGroupId")) } + if v.NodeGroupCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("NodeGroupCount")) + } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1637,6 +1646,9 @@ func validateOpDecreaseReplicaCountInput(v *DecreaseReplicaCountInput) error { invalidParams.AddNested("ReplicaConfiguration", err.(smithy.InvalidParamsError)) } } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1712,6 +1724,9 @@ func validateOpDeleteGlobalReplicationGroupInput(v *DeleteGlobalReplicationGroup if v.GlobalReplicationGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("GlobalReplicationGroupId")) } + if v.RetainPrimaryReplicationGroup == nil { + invalidParams.Add(smithy.NewErrParamRequired("RetainPrimaryReplicationGroup")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1876,11 +1891,17 @@ func validateOpIncreaseNodeGroupsInGlobalReplicationGroupInput(v *IncreaseNodeGr if v.GlobalReplicationGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("GlobalReplicationGroupId")) } + if v.NodeGroupCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("NodeGroupCount")) + } if v.RegionalConfigurations != nil { if err := validateRegionalConfigurationList(v.RegionalConfigurations); err != nil { invalidParams.AddNested("RegionalConfigurations", err.(smithy.InvalidParamsError)) } } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1901,6 +1922,9 @@ func validateOpIncreaseReplicaCountInput(v *IncreaseReplicaCountInput) error { invalidParams.AddNested("ReplicaConfiguration", err.(smithy.InvalidParamsError)) } } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1979,6 +2003,9 @@ func validateOpModifyGlobalReplicationGroupInput(v *ModifyGlobalReplicationGroup if v.GlobalReplicationGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("GlobalReplicationGroupId")) } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2009,6 +2036,12 @@ func validateOpModifyReplicationGroupShardConfigurationInput(v *ModifyReplicatio if v.ReplicationGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("ReplicationGroupId")) } + if v.NodeGroupCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("NodeGroupCount")) + } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2069,6 +2102,9 @@ func validateOpRebalanceSlotsInGlobalReplicationGroupInput(v *RebalanceSlotsInGl if v.GlobalReplicationGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("GlobalReplicationGroupId")) } + if v.ApplyImmediately == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplyImmediately")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/elasticloadbalancing/deserializers.go b/service/elasticloadbalancing/deserializers.go index 2296328b588..a8b0d5914f5 100644 --- a/service/elasticloadbalancing/deserializers.go +++ b/service/elasticloadbalancing/deserializers.go @@ -4792,7 +4792,7 @@ func awsAwsquery_deserializeDocumentBackendServerDescription(v **types.BackendSe if err != nil { return err } - sv.InstancePort = int32(i64) + sv.InstancePort = ptr.Int32(int32(i64)) } case strings.EqualFold("PolicyNames", t.Name.Local): @@ -5387,7 +5387,7 @@ func awsAwsquery_deserializeDocumentHealthCheck(v **types.HealthCheck, decoder s if err != nil { return err } - sv.HealthyThreshold = int32(i64) + sv.HealthyThreshold = ptr.Int32(int32(i64)) } case strings.EqualFold("Interval", t.Name.Local): @@ -5404,7 +5404,7 @@ func awsAwsquery_deserializeDocumentHealthCheck(v **types.HealthCheck, decoder s if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case strings.EqualFold("Target", t.Name.Local): @@ -5434,7 +5434,7 @@ func awsAwsquery_deserializeDocumentHealthCheck(v **types.HealthCheck, decoder s if err != nil { return err } - sv.Timeout = int32(i64) + sv.Timeout = ptr.Int32(int32(i64)) } case strings.EqualFold("UnhealthyThreshold", t.Name.Local): @@ -5451,7 +5451,7 @@ func awsAwsquery_deserializeDocumentHealthCheck(v **types.HealthCheck, decoder s if err != nil { return err } - sv.UnhealthyThreshold = int32(i64) + sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } default: @@ -6286,7 +6286,7 @@ func awsAwsquery_deserializeDocumentListener(v **types.Listener, decoder smithyx if err != nil { return err } - sv.InstancePort = int32(i64) + sv.InstancePort = ptr.Int32(int32(i64)) } case strings.EqualFold("InstanceProtocol", t.Name.Local): diff --git a/service/elasticloadbalancing/endpoints.go b/service/elasticloadbalancing/endpoints.go index 6c60eca78f1..52f36dcc761 100644 --- a/service/elasticloadbalancing/endpoints.go +++ b/service/elasticloadbalancing/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://elasticloadbalancing.") diff --git a/service/elasticloadbalancing/serializers.go b/service/elasticloadbalancing/serializers.go index 1a52ea3dab1..e8aa0e364d7 100644 --- a/service/elasticloadbalancing/serializers.go +++ b/service/elasticloadbalancing/serializers.go @@ -1981,14 +1981,14 @@ func awsAwsquery_serializeDocumentHealthCheck(v *types.HealthCheck, value query. object := value.Object() _ = object - { + if v.HealthyThreshold != nil { objectKey := object.Key("HealthyThreshold") - objectKey.Integer(v.HealthyThreshold) + objectKey.Integer(*v.HealthyThreshold) } - { + if v.Interval != nil { objectKey := object.Key("Interval") - objectKey.Integer(v.Interval) + objectKey.Integer(*v.Interval) } if v.Target != nil { @@ -1996,14 +1996,14 @@ func awsAwsquery_serializeDocumentHealthCheck(v *types.HealthCheck, value query. objectKey.String(*v.Target) } - { + if v.Timeout != nil { objectKey := object.Key("Timeout") - objectKey.Integer(v.Timeout) + objectKey.Integer(*v.Timeout) } - { + if v.UnhealthyThreshold != nil { objectKey := object.Key("UnhealthyThreshold") - objectKey.Integer(v.UnhealthyThreshold) + objectKey.Integer(*v.UnhealthyThreshold) } return nil @@ -2037,9 +2037,9 @@ func awsAwsquery_serializeDocumentListener(v *types.Listener, value query.Value) object := value.Object() _ = object - { + if v.InstancePort != nil { objectKey := object.Key("InstancePort") - objectKey.Integer(v.InstancePort) + objectKey.Integer(*v.InstancePort) } if v.InstanceProtocol != nil { diff --git a/service/elasticloadbalancing/types/types.go b/service/elasticloadbalancing/types/types.go index 155a82caf5f..ab27094115d 100644 --- a/service/elasticloadbalancing/types/types.go +++ b/service/elasticloadbalancing/types/types.go @@ -62,7 +62,7 @@ type AppCookieStickinessPolicy struct { type BackendServerDescription struct { // The port on which the EC2 instance is listening. - InstancePort int32 + InstancePort *int32 // The names of the policies enabled for the EC2 instance. PolicyNames []string @@ -115,13 +115,13 @@ type HealthCheck struct { // instance to the Healthy state. // // This member is required. - HealthyThreshold int32 + HealthyThreshold *int32 // The approximate interval, in seconds, between health checks of an individual // instance. // // This member is required. - Interval int32 + Interval *int32 // The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. // The range of valid ports is one (1) through 65535. TCP is the default, specified @@ -143,13 +143,13 @@ type HealthCheck struct { // check. This value must be less than the Interval value. // // This member is required. - Timeout int32 + Timeout *int32 // The number of consecutive health check failures required before moving the // instance to the Unhealthy state. // // This member is required. - UnhealthyThreshold int32 + UnhealthyThreshold *int32 noSmithyDocumentSerde } @@ -239,7 +239,7 @@ type Listener struct { // The port on which the instance is listening. // // This member is required. - InstancePort int32 + InstancePort *int32 // The port on which the load balancer is listening. On EC2-VPC, you can specify // any port from the range 1-65535. On EC2-Classic, you can specify any port from diff --git a/service/elasticloadbalancing/validators.go b/service/elasticloadbalancing/validators.go index 30247501c04..8997c82e082 100644 --- a/service/elasticloadbalancing/validators.go +++ b/service/elasticloadbalancing/validators.go @@ -669,6 +669,18 @@ func validateHealthCheck(v *types.HealthCheck) error { if v.Target == nil { invalidParams.Add(smithy.NewErrParamRequired("Target")) } + if v.Interval == nil { + invalidParams.Add(smithy.NewErrParamRequired("Interval")) + } + if v.Timeout == nil { + invalidParams.Add(smithy.NewErrParamRequired("Timeout")) + } + if v.UnhealthyThreshold == nil { + invalidParams.Add(smithy.NewErrParamRequired("UnhealthyThreshold")) + } + if v.HealthyThreshold == nil { + invalidParams.Add(smithy.NewErrParamRequired("HealthyThreshold")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -684,6 +696,9 @@ func validateListener(v *types.Listener) error { if v.Protocol == nil { invalidParams.Add(smithy.NewErrParamRequired("Protocol")) } + if v.InstancePort == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstancePort")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/elasticloadbalancingv2/deserializers.go b/service/elasticloadbalancingv2/deserializers.go index ade882bef4d..f2a1e264a71 100644 --- a/service/elasticloadbalancingv2/deserializers.go +++ b/service/elasticloadbalancingv2/deserializers.go @@ -6976,7 +6976,7 @@ func awsAwsquery_deserializeDocumentCipher(v **types.Cipher, decoder smithyxml.N if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } default: @@ -9691,7 +9691,7 @@ func awsAwsquery_deserializeDocumentRule(v **types.Rule, decoder smithyxml.NodeD if err != nil { return fmt.Errorf("expected IsDefault to be of type *bool, got %T instead", val) } - sv.IsDefault = xtv + sv.IsDefault = ptr.Bool(xtv) } case strings.EqualFold("Priority", t.Name.Local): diff --git a/service/elasticloadbalancingv2/endpoints.go b/service/elasticloadbalancingv2/endpoints.go index c4ea633f5b5..bb0d0339f27 100644 --- a/service/elasticloadbalancingv2/endpoints.go +++ b/service/elasticloadbalancingv2/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://elasticloadbalancing.") diff --git a/service/elasticloadbalancingv2/types/types.go b/service/elasticloadbalancingv2/types/types.go index d40559e418a..263c579b0a3 100644 --- a/service/elasticloadbalancingv2/types/types.go +++ b/service/elasticloadbalancingv2/types/types.go @@ -213,7 +213,7 @@ type Cipher struct { Name *string // The priority of the cipher. - Priority int32 + Priority *int32 noSmithyDocumentSerde } @@ -675,7 +675,7 @@ type Rule struct { Conditions []RuleCondition // Indicates whether this is the default rule. - IsDefault bool + IsDefault *bool // The priority. Priority *string diff --git a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go index 2648de51e90..f3868d72f4b 100644 --- a/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go +++ b/service/elasticsearchservice/api_op_PurchaseReservedElasticsearchInstanceOffering.go @@ -45,7 +45,7 @@ type PurchaseReservedElasticsearchInstanceOfferingInput struct { ReservedElasticsearchInstanceOfferingId *string // The number of Elasticsearch instances to reserve. - InstanceCount int32 + InstanceCount *int32 noSmithyDocumentSerde } diff --git a/service/elasticsearchservice/deserializers.go b/service/elasticsearchservice/deserializers.go index 81659080e56..c8b2fe9ac53 100644 --- a/service/elasticsearchservice/deserializers.go +++ b/service/elasticsearchservice/deserializers.go @@ -10275,7 +10275,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac if err != nil { return err } - sv.Value = i64 + sv.Value = ptr.Int64(i64) } default: diff --git a/service/elasticsearchservice/endpoints.go b/service/elasticsearchservice/endpoints.go index 302d38af472..7ab232ca20e 100644 --- a/service/elasticsearchservice/endpoints.go +++ b/service/elasticsearchservice/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://es-fips.") diff --git a/service/elasticsearchservice/serializers.go b/service/elasticsearchservice/serializers.go index 954ae1c9cbb..324e6e1c3f4 100644 --- a/service/elasticsearchservice/serializers.go +++ b/service/elasticsearchservice/serializers.go @@ -3158,9 +3158,9 @@ func awsRestjson1_serializeOpDocumentPurchaseReservedElasticsearchInstanceOfferi object := value.Object() defer object.Close() - if v.InstanceCount != 0 { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if v.ReservationName != nil { @@ -4205,9 +4205,9 @@ func awsRestjson1_serializeDocumentDuration(v *types.Duration, value smithyjson. ok.String(string(v.Unit)) } - if v.Value != 0 { + if v.Value != nil { ok := object.Key("Value") - ok.Long(v.Value) + ok.Long(*v.Value) } return nil diff --git a/service/elasticsearchservice/types/types.go b/service/elasticsearchservice/types/types.go index d1ea6053281..69451a6c6d1 100644 --- a/service/elasticsearchservice/types/types.go +++ b/service/elasticsearchservice/types/types.go @@ -563,7 +563,7 @@ type Duration struct { // Integer to specify the value of a maintenance schedule duration. See the // Developer Guide (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/auto-tune.html) // for more information. - Value int64 + Value *int64 noSmithyDocumentSerde } diff --git a/service/emr/api_op_RunJobFlow.go b/service/emr/api_op_RunJobFlow.go index d5fa4120d21..4970168fe3c 100644 --- a/service/emr/api_op_RunJobFlow.go +++ b/service/emr/api_op_RunJobFlow.go @@ -236,7 +236,7 @@ type RunJobFlowInput struct { // principals. For more information, see Understanding the Amazon EMR cluster // VisibleToAllUsers setting (https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_IAM_emr-with-IAM.html#security_set_visible_to_all_users) // in the Amazon EMR Management Guide. - VisibleToAllUsers bool + VisibleToAllUsers *bool noSmithyDocumentSerde } diff --git a/service/emr/api_op_SetTerminationProtection.go b/service/emr/api_op_SetTerminationProtection.go index 0f8a01d47e6..1d1af747367 100644 --- a/service/emr/api_op_SetTerminationProtection.go +++ b/service/emr/api_op_SetTerminationProtection.go @@ -58,7 +58,7 @@ type SetTerminationProtectionInput struct { // intervention, or job-flow error. // // This member is required. - TerminationProtected bool + TerminationProtected *bool noSmithyDocumentSerde } diff --git a/service/emr/api_op_SetVisibleToAllUsers.go b/service/emr/api_op_SetVisibleToAllUsers.go index 514a798b527..7e7fe1a5b6c 100644 --- a/service/emr/api_op_SetVisibleToAllUsers.go +++ b/service/emr/api_op_SetVisibleToAllUsers.go @@ -58,7 +58,7 @@ type SetVisibleToAllUsersInput struct { // perform Amazon EMR actions on the cluster. // // This member is required. - VisibleToAllUsers bool + VisibleToAllUsers *bool noSmithyDocumentSerde } diff --git a/service/emr/deserializers.go b/service/emr/deserializers.go index 36ac1ba172f..5589d1df337 100644 --- a/service/emr/deserializers.go +++ b/service/emr/deserializers.go @@ -6233,7 +6233,7 @@ func awsAwsjson11_deserializeDocumentAutoTerminationPolicy(v **types.AutoTermina if err != nil { return err } - sv.IdleTimeout = i64 + sv.IdleTimeout = ptr.Int64(i64) } default: @@ -6273,7 +6273,7 @@ func awsAwsjson11_deserializeDocumentBlockPublicAccessConfiguration(v **types.Bl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.BlockPublicSecurityGroupRules = jtv + sv.BlockPublicSecurityGroupRules = ptr.Bool(jtv) } case "Classification": @@ -6755,7 +6755,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoTerminate = jtv + sv.AutoTerminate = ptr.Bool(jtv) } case "ClusterArn": @@ -6986,7 +6986,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.TerminationProtected = jtv + sv.TerminationProtected = ptr.Bool(jtv) } case "VisibleToAllUsers": @@ -6995,7 +6995,7 @@ func awsAwsjson11_deserializeDocumentCluster(v **types.Cluster, value interface{ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.VisibleToAllUsers = jtv + sv.VisibleToAllUsers = ptr.Bool(jtv) } default: @@ -8930,7 +8930,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu if err != nil { return err } - sv.ConfigurationsVersion = i64 + sv.ConfigurationsVersion = ptr.Int64(i64) } case "CustomAmiId": @@ -8998,7 +8998,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu if err != nil { return err } - sv.LastSuccessfullyAppliedConfigurationsVersion = i64 + sv.LastSuccessfullyAppliedConfigurationsVersion = ptr.Int64(i64) } case "Market": @@ -10226,7 +10226,7 @@ func awsAwsjson11_deserializeDocumentJobFlowDetail(v **types.JobFlowDetail, valu if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.VisibleToAllUsers = jtv + sv.VisibleToAllUsers = ptr.Bool(jtv) } default: @@ -10458,7 +10458,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.KeepJobFlowAliveWhenNoSteps = jtv + sv.KeepJobFlowAliveWhenNoSteps = ptr.Bool(jtv) } case "MasterInstanceId": @@ -10521,7 +10521,7 @@ func awsAwsjson11_deserializeDocumentJobFlowInstancesDetail(v **types.JobFlowIns if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.TerminationProtected = jtv + sv.TerminationProtected = ptr.Bool(jtv) } default: @@ -13678,7 +13678,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EbsOptimizedAvailable = jtv + sv.EbsOptimizedAvailable = ptr.Bool(jtv) } case "EbsOptimizedByDefault": @@ -13687,7 +13687,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EbsOptimizedByDefault = jtv + sv.EbsOptimizedByDefault = ptr.Bool(jtv) } case "EbsStorageOnly": @@ -13696,7 +13696,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EbsStorageOnly = jtv + sv.EbsStorageOnly = ptr.Bool(jtv) } case "InstanceFamilyId": @@ -13714,7 +13714,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Is64BitsOnly = jtv + sv.Is64BitsOnly = ptr.Bool(jtv) } case "MemoryGB": @@ -13725,7 +13725,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn if err != nil { return err } - sv.MemoryGB = float32(f64) + sv.MemoryGB = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -13743,7 +13743,7 @@ func awsAwsjson11_deserializeDocumentSupportedInstanceType(v **types.SupportedIn return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.MemoryGB = float32(f64) + sv.MemoryGB = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Float to be a JSON Number, got %T instead", value) diff --git a/service/emr/endpoints.go b/service/emr/endpoints.go index c8eb1400eac..337aca88eb3 100644 --- a/service/emr/endpoints.go +++ b/service/emr/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://elasticmapreduce.") diff --git a/service/emr/serializers.go b/service/emr/serializers.go index e8c8ff85c9b..868e2efe8a6 100644 --- a/service/emr/serializers.go +++ b/service/emr/serializers.go @@ -3055,9 +3055,9 @@ func awsAwsjson11_serializeDocumentAutoTerminationPolicy(v *types.AutoTerminatio object := value.Object() defer object.Close() - if v.IdleTimeout != 0 { + if v.IdleTimeout != nil { ok := object.Key("IdleTimeout") - ok.Long(v.IdleTimeout) + ok.Long(*v.IdleTimeout) } return nil @@ -3067,9 +3067,9 @@ func awsAwsjson11_serializeDocumentBlockPublicAccessConfiguration(v *types.Block object := value.Object() defer object.Close() - { + if v.BlockPublicSecurityGroupRules != nil { ok := object.Key("BlockPublicSecurityGroupRules") - ok.Boolean(v.BlockPublicSecurityGroupRules) + ok.Boolean(*v.BlockPublicSecurityGroupRules) } if v.Classification != nil { @@ -3888,9 +3888,9 @@ func awsAwsjson11_serializeDocumentJobFlowInstancesConfig(v *types.JobFlowInstan } } - if v.KeepJobFlowAliveWhenNoSteps { + if v.KeepJobFlowAliveWhenNoSteps != nil { ok := object.Key("KeepJobFlowAliveWhenNoSteps") - ok.Boolean(v.KeepJobFlowAliveWhenNoSteps) + ok.Boolean(*v.KeepJobFlowAliveWhenNoSteps) } if v.MasterInstanceType != nil { @@ -3915,9 +3915,9 @@ func awsAwsjson11_serializeDocumentJobFlowInstancesConfig(v *types.JobFlowInstan ok.String(*v.SlaveInstanceType) } - if v.TerminationProtected { + if v.TerminationProtected != nil { ok := object.Key("TerminationProtected") - ok.Boolean(v.TerminationProtected) + ok.Boolean(*v.TerminationProtected) } return nil @@ -5744,9 +5744,9 @@ func awsAwsjson11_serializeOpDocumentRunJobFlowInput(v *RunJobFlowInput, value s } } - if v.VisibleToAllUsers { + if v.VisibleToAllUsers != nil { ok := object.Key("VisibleToAllUsers") - ok.Boolean(v.VisibleToAllUsers) + ok.Boolean(*v.VisibleToAllUsers) } return nil @@ -5763,9 +5763,9 @@ func awsAwsjson11_serializeOpDocumentSetTerminationProtectionInput(v *SetTermina } } - { + if v.TerminationProtected != nil { ok := object.Key("TerminationProtected") - ok.Boolean(v.TerminationProtected) + ok.Boolean(*v.TerminationProtected) } return nil @@ -5782,9 +5782,9 @@ func awsAwsjson11_serializeOpDocumentSetVisibleToAllUsersInput(v *SetVisibleToAl } } - { + if v.VisibleToAllUsers != nil { ok := object.Key("VisibleToAllUsers") - ok.Boolean(v.VisibleToAllUsers) + ok.Boolean(*v.VisibleToAllUsers) } return nil diff --git a/service/emr/types/types.go b/service/emr/types/types.go index a249fe0e6e7..8bf94ec0183 100644 --- a/service/emr/types/types.go +++ b/service/emr/types/types.go @@ -113,7 +113,7 @@ type AutoTerminationPolicy struct { // Specifies the amount of idle time in seconds after which the cluster // automatically terminates. You can specify a minimum of 60 seconds and a maximum // of 604800 seconds (seven days). - IdleTimeout int64 + IdleTimeout *int64 noSmithyDocumentSerde } @@ -131,7 +131,7 @@ type BlockPublicAccessConfiguration struct { // true . // // This member is required. - BlockPublicSecurityGroupRules bool + BlockPublicSecurityGroupRules *bool // The classification within a configuration. Classification *string @@ -281,7 +281,7 @@ type Cluster struct { AutoScalingRole *string // Specifies whether the cluster should terminate after completing all steps. - AutoTerminate bool + AutoTerminate *bool // The Amazon Resource Name of the cluster. ClusterArn *string @@ -406,7 +406,7 @@ type Cluster struct { // Indicates whether Amazon EMR will lock the cluster to prevent the Amazon EC2 // instances from being terminated by an API call or user intervention, or in the // event of a cluster error. - TerminationProtected bool + TerminationProtected *bool // Indicates whether the cluster is visible to IAM principals in the Amazon Web // Services account associated with the cluster. When true , IAM principals in the @@ -417,7 +417,7 @@ type Cluster struct { // principals. The default value is true if a value is not provided when creating // a cluster using the Amazon EMR API RunJobFlow command, the CLI create-cluster (https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html) // command, or the Amazon Web Services Management Console. - VisibleToAllUsers bool + VisibleToAllUsers *bool noSmithyDocumentSerde } @@ -1158,7 +1158,7 @@ type InstanceGroup struct { // The version number of the requested configuration specification for this // instance group. - ConfigurationsVersion int64 + ConfigurationsVersion *int64 // The custom AMI ID to use for the provisioned instance group. CustomAmiId *string @@ -1186,7 +1186,7 @@ type InstanceGroup struct { // The version number of a configuration specification that was successfully // applied for an instance group last time. - LastSuccessfullyAppliedConfigurationsVersion int64 + LastSuccessfullyAppliedConfigurationsVersion *int64 // The marketplace to provision instances for this group. Valid values are // ON_DEMAND or SPOT. @@ -1630,7 +1630,7 @@ type JobFlowDetail struct { // default value is true if a value is not provided when creating a cluster using // the Amazon EMR API RunJobFlow command, the CLI create-cluster (https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html) // command, or the Amazon Web Services Management Console. - VisibleToAllUsers bool + VisibleToAllUsers *bool noSmithyDocumentSerde } @@ -1727,7 +1727,7 @@ type JobFlowInstancesConfig struct { // steps. Defaults to true . For more information about configuring cluster // termination, see Control Cluster Termination (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html) // in the EMR Management Guide. - KeepJobFlowAliveWhenNoSteps bool + KeepJobFlowAliveWhenNoSteps *bool // The Amazon EC2 instance type of the master node. MasterInstanceType *string @@ -1745,7 +1745,7 @@ type JobFlowInstancesConfig struct { // Specifies whether to lock the cluster to prevent the Amazon EC2 instances from // being terminated by API call, user intervention, or in the event of a job-flow // error. - TerminationProtected bool + TerminationProtected *bool noSmithyDocumentSerde } @@ -1787,7 +1787,7 @@ type JobFlowInstancesDetail struct { // Specifies whether the cluster should remain available after completing all // steps. - KeepJobFlowAliveWhenNoSteps bool + KeepJobFlowAliveWhenNoSteps *bool // The Amazon EC2 instance identifier of the master node. MasterInstanceId *string @@ -1810,7 +1810,7 @@ type JobFlowInstancesDetail struct { // Specifies whether the Amazon EC2 instances in the cluster are protected from // termination by API calls, user intervention, or in the event of a job-flow // error. - TerminationProtected bool + TerminationProtected *bool noSmithyDocumentSerde } @@ -2801,25 +2801,25 @@ type SupportedInstanceType struct { Architecture *string // Indicates whether the SupportedInstanceType supports Amazon EBS optimization. - EbsOptimizedAvailable bool + EbsOptimizedAvailable *bool // Indicates whether the SupportedInstanceType uses Amazon EBS optimization by // default. - EbsOptimizedByDefault bool + EbsOptimizedByDefault *bool // Indicates whether the SupportedInstanceType only supports Amazon EBS. - EbsStorageOnly bool + EbsStorageOnly *bool // The Amazon EC2 family and generation for the SupportedInstanceType . InstanceFamilyId *string // Indicates whether the SupportedInstanceType only supports 64-bit architecture. - Is64BitsOnly bool + Is64BitsOnly *bool // The amount of memory that is available to Amazon EMR from the // SupportedInstanceType . The kernel and hypervisor software consume some memory, // so this value might be lower than the overall memory for the instance type. - MemoryGB float32 + MemoryGB *float32 // Number of disks for the SupportedInstanceType . This value is 0 for Amazon // EBS-only instance types. diff --git a/service/emr/validators.go b/service/emr/validators.go index 57d7206d237..5dcdffa954b 100644 --- a/service/emr/validators.go +++ b/service/emr/validators.go @@ -1121,6 +1121,9 @@ func validateBlockPublicAccessConfiguration(v *types.BlockPublicAccessConfigurat return nil } invalidParams := smithy.InvalidParamsError{Context: "BlockPublicAccessConfiguration"} + if v.BlockPublicSecurityGroupRules == nil { + invalidParams.Add(smithy.NewErrParamRequired("BlockPublicSecurityGroupRules")) + } if v.PermittedPublicSecurityGroupRuleRanges != nil { if err := validatePortRanges(v.PermittedPublicSecurityGroupRuleRanges); err != nil { invalidParams.AddNested("PermittedPublicSecurityGroupRuleRanges", err.(smithy.InvalidParamsError)) @@ -2616,6 +2619,9 @@ func validateOpSetTerminationProtectionInput(v *SetTerminationProtectionInput) e if v.JobFlowIds == nil { invalidParams.Add(smithy.NewErrParamRequired("JobFlowIds")) } + if v.TerminationProtected == nil { + invalidParams.Add(smithy.NewErrParamRequired("TerminationProtected")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2631,6 +2637,9 @@ func validateOpSetVisibleToAllUsersInput(v *SetVisibleToAllUsersInput) error { if v.JobFlowIds == nil { invalidParams.Add(smithy.NewErrParamRequired("JobFlowIds")) } + if v.VisibleToAllUsers == nil { + invalidParams.Add(smithy.NewErrParamRequired("VisibleToAllUsers")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/finspace/deserializers.go b/service/finspace/deserializers.go index f33223eb246..07d4ca7800c 100644 --- a/service/finspace/deserializers.go +++ b/service/finspace/deserializers.go @@ -8891,7 +8891,7 @@ func awsRestjson1_deserializeDocumentKxSavedownStorageConfiguration(v **types.Kx if err != nil { return err } - sv.Size = int32(i64) + sv.Size = ptr.Int32(int32(i64)) } case "type": @@ -9179,7 +9179,7 @@ func awsRestjson1_deserializeDocumentNetworkACLEntry(v **types.NetworkACLEntry, if err != nil { return err } - sv.RuleNumber = int32(i64) + sv.RuleNumber = ptr.Int32(int32(i64)) } default: diff --git a/service/finspace/endpoints.go b/service/finspace/endpoints.go index 0d6c2ded35b..5a4853f2d04 100644 --- a/service/finspace/endpoints.go +++ b/service/finspace/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://finspace-fips.") diff --git a/service/finspace/serializers.go b/service/finspace/serializers.go index 800d9dbb1f2..6616ea03a85 100644 --- a/service/finspace/serializers.go +++ b/service/finspace/serializers.go @@ -3378,9 +3378,9 @@ func awsRestjson1_serializeDocumentKxSavedownStorageConfiguration(v *types.KxSav object := value.Object() defer object.Close() - { + if v.Size != nil { ok := object.Key("size") - ok.Integer(v.Size) + ok.Integer(*v.Size) } if len(v.Type) > 0 { @@ -3437,9 +3437,9 @@ func awsRestjson1_serializeDocumentNetworkACLEntry(v *types.NetworkACLEntry, val ok.String(string(v.RuleAction)) } - { + if v.RuleNumber != nil { ok := object.Key("ruleNumber") - ok.Integer(v.RuleNumber) + ok.Integer(*v.RuleNumber) } return nil diff --git a/service/finspace/types/types.go b/service/finspace/types/types.go index 17e4201a8b8..7eb29970cac 100644 --- a/service/finspace/types/types.go +++ b/service/finspace/types/types.go @@ -540,7 +540,7 @@ type KxSavedownStorageConfiguration struct { // The size of temporary storage in gibibytes. // // This member is required. - Size int32 + Size *int32 // The type of writeable storage space for temporarily storing your savedown data. // The valid values are: @@ -604,7 +604,7 @@ type NetworkACLEntry struct { // processed in ascending order by rule number. // // This member is required. - RuleNumber int32 + RuleNumber *int32 // Defines the ICMP protocol that consists of the ICMP type and code. IcmpTypeCode *IcmpTypeCode diff --git a/service/finspace/validators.go b/service/finspace/validators.go index cf2645abc6b..ac58f66fdea 100644 --- a/service/finspace/validators.go +++ b/service/finspace/validators.go @@ -990,6 +990,9 @@ func validateKxSavedownStorageConfiguration(v *types.KxSavedownStorageConfigurat if len(v.Type) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Type")) } + if v.Size == nil { + invalidParams.Add(smithy.NewErrParamRequired("Size")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1019,6 +1022,9 @@ func validateNetworkACLEntry(v *types.NetworkACLEntry) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "NetworkACLEntry"} + if v.RuleNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("RuleNumber")) + } if v.Protocol == nil { invalidParams.Add(smithy.NewErrParamRequired("Protocol")) } diff --git a/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go b/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go index 065e08374f3..0e835a697d2 100644 --- a/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go +++ b/service/finspacedata/api_op_GetProgrammaticAccessCredentials.go @@ -44,7 +44,7 @@ type GetProgrammaticAccessCredentialsInput struct { EnvironmentId *string // The time duration in which the credentials remain valid. - DurationInMinutes int64 + DurationInMinutes *int64 noSmithyDocumentSerde } @@ -56,7 +56,7 @@ type GetProgrammaticAccessCredentialsOutput struct { Credentials *types.Credentials // Returns the duration in which the credentials will remain valid. - DurationInMinutes int64 + DurationInMinutes *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/finspacedata/api_op_ListPermissionGroups.go b/service/finspacedata/api_op_ListPermissionGroups.go index 8a9e186fa1d..3ef8a6bce55 100644 --- a/service/finspacedata/api_op_ListPermissionGroups.go +++ b/service/finspacedata/api_op_ListPermissionGroups.go @@ -37,7 +37,7 @@ type ListPermissionGroupsInput struct { // The maximum number of results per page. // // This member is required. - MaxResults int32 + MaxResults *int32 // A token that indicates where a results page should begin. NextToken *string @@ -172,8 +172,8 @@ func NewListPermissionGroupsPaginator(client ListPermissionGroupsAPIClient, para } options := ListPermissionGroupsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -203,7 +203,11 @@ func (p *ListPermissionGroupsPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListPermissionGroups(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/finspacedata/api_op_ListPermissionGroupsByUser.go b/service/finspacedata/api_op_ListPermissionGroupsByUser.go index 3833da2b80a..3222b4f90b1 100644 --- a/service/finspacedata/api_op_ListPermissionGroupsByUser.go +++ b/service/finspacedata/api_op_ListPermissionGroupsByUser.go @@ -37,7 +37,7 @@ type ListPermissionGroupsByUserInput struct { // The maximum number of results per page. // // This member is required. - MaxResults int32 + MaxResults *int32 // The unique identifier for the user. // diff --git a/service/finspacedata/api_op_ListUsers.go b/service/finspacedata/api_op_ListUsers.go index d93410d6bf4..81878fa2689 100644 --- a/service/finspacedata/api_op_ListUsers.go +++ b/service/finspacedata/api_op_ListUsers.go @@ -37,7 +37,7 @@ type ListUsersInput struct { // The maximum number of results per page. // // This member is required. - MaxResults int32 + MaxResults *int32 // A token that indicates where a results page should begin. NextToken *string @@ -170,8 +170,8 @@ func NewListUsersPaginator(client ListUsersAPIClient, params *ListUsersInput, op } options := ListUsersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *ListUsersPaginator) NextPage(ctx context.Context, optFns ...func(*Optio params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListUsers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/finspacedata/api_op_ListUsersByPermissionGroup.go b/service/finspacedata/api_op_ListUsersByPermissionGroup.go index ff6d45acac9..0ecb2369afa 100644 --- a/service/finspacedata/api_op_ListUsersByPermissionGroup.go +++ b/service/finspacedata/api_op_ListUsersByPermissionGroup.go @@ -37,7 +37,7 @@ type ListUsersByPermissionGroupInput struct { // The maximum number of results per page. // // This member is required. - MaxResults int32 + MaxResults *int32 // The unique identifier for the permission group. // diff --git a/service/finspacedata/deserializers.go b/service/finspacedata/deserializers.go index 468e6a562d2..75eb31c3ac8 100644 --- a/service/finspacedata/deserializers.go +++ b/service/finspacedata/deserializers.go @@ -3034,7 +3034,7 @@ func awsRestjson1_deserializeOpDocumentGetProgrammaticAccessCredentialsOutput(v if err != nil { return err } - sv.DurationInMinutes = i64 + sv.DurationInMinutes = ptr.Int64(i64) } default: diff --git a/service/finspacedata/endpoints.go b/service/finspacedata/endpoints.go index f295a8fd31a..bf401a95c51 100644 --- a/service/finspacedata/endpoints.go +++ b/service/finspacedata/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://finspace-api-fips.") diff --git a/service/finspacedata/serializers.go b/service/finspacedata/serializers.go index bdacf050548..46c6321ddbb 100644 --- a/service/finspacedata/serializers.go +++ b/service/finspacedata/serializers.go @@ -1447,8 +1447,8 @@ func awsRestjson1_serializeOpHttpBindingsGetProgrammaticAccessCredentialsInput(v return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.DurationInMinutes != 0 { - encoder.SetQuery("durationInMinutes").Long(v.DurationInMinutes) + if v.DurationInMinutes != nil { + encoder.SetQuery("durationInMinutes").Long(*v.DurationInMinutes) } if v.EnvironmentId != nil { @@ -1861,8 +1861,8 @@ func awsRestjson1_serializeOpHttpBindingsListPermissionGroupsInput(v *ListPermis return fmt.Errorf("unsupported serialization of nil %T", v) } - { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -1925,8 +1925,8 @@ func awsRestjson1_serializeOpHttpBindingsListPermissionGroupsByUserInput(v *List return fmt.Errorf("unsupported serialization of nil %T", v) } - { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -1998,8 +1998,8 @@ func awsRestjson1_serializeOpHttpBindingsListUsersInput(v *ListUsersInput, encod return fmt.Errorf("unsupported serialization of nil %T", v) } - { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -2062,8 +2062,8 @@ func awsRestjson1_serializeOpHttpBindingsListUsersByPermissionGroupInput(v *List return fmt.Errorf("unsupported serialization of nil %T", v) } - { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { diff --git a/service/finspacedata/validators.go b/service/finspacedata/validators.go index 47d4b93b5ac..d56372f7e31 100644 --- a/service/finspacedata/validators.go +++ b/service/finspacedata/validators.go @@ -1072,6 +1072,9 @@ func validateOpListPermissionGroupsByUserInput(v *ListPermissionGroupsByUserInpu if v.UserId == nil { invalidParams.Add(smithy.NewErrParamRequired("UserId")) } + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1084,6 +1087,9 @@ func validateOpListPermissionGroupsInput(v *ListPermissionGroupsInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ListPermissionGroupsInput"} + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1099,6 +1105,9 @@ func validateOpListUsersByPermissionGroupInput(v *ListUsersByPermissionGroupInpu if v.PermissionGroupId == nil { invalidParams.Add(smithy.NewErrParamRequired("PermissionGroupId")) } + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1111,6 +1120,9 @@ func validateOpListUsersInput(v *ListUsersInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ListUsersInput"} + if v.MaxResults == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxResults")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/fis/endpoints.go b/service/fis/endpoints.go index 1fa2e6ed7f1..1f0ec18d368 100644 --- a/service/fis/endpoints.go +++ b/service/fis/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://fis.") diff --git a/service/fms/deserializers.go b/service/fms/deserializers.go index 83ab1e296f6..8ba116a9255 100644 --- a/service/fms/deserializers.go +++ b/service/fms/deserializers.go @@ -11364,7 +11364,7 @@ func awsAwsjson11_deserializeDocumentStatelessRuleGroup(v **types.StatelessRuleG if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "ResourceId": diff --git a/service/fms/endpoints.go b/service/fms/endpoints.go index f116e6b1e49..0359d1b3b4c 100644 --- a/service/fms/endpoints.go +++ b/service/fms/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://fms-fips.") diff --git a/service/fms/types/types.go b/service/fms/types/types.go index d28d03ff3ed..6553272e542 100644 --- a/service/fms/types/types.go +++ b/service/fms/types/types.go @@ -1933,7 +1933,7 @@ type StatelessRuleGroup struct { // The priority of the rule group. Network Firewall evaluates the stateless rule // groups in a firewall policy starting from the lowest priority setting. - Priority int32 + Priority *int32 // The resource ID of the rule group. ResourceId *string diff --git a/service/fsx/endpoints.go b/service/fsx/endpoints.go index ee46db478e4..8cd3d899c62 100644 --- a/service/fsx/endpoints.go +++ b/service/fsx/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://fsx-fips.") diff --git a/service/gamelift/api_op_PutScalingPolicy.go b/service/gamelift/api_op_PutScalingPolicy.go index 7b49f98f4d1..e56d7c455ec 100644 --- a/service/gamelift/api_op_PutScalingPolicy.go +++ b/service/gamelift/api_op_PutScalingPolicy.go @@ -143,7 +143,7 @@ type PutScalingPolicyInput struct { PolicyType types.PolicyType // Amount of adjustment to make, based on the scaling adjustment type. - ScalingAdjustment int32 + ScalingAdjustment *int32 // The type of adjustment to make to a fleet's instance count: // - ChangeInCapacity -- add (or subtract) the scaling adjustment value from the @@ -160,7 +160,7 @@ type PutScalingPolicyInput struct { TargetConfiguration *types.TargetConfiguration // Metric value used to trigger a scaling event. - Threshold float64 + Threshold *float64 noSmithyDocumentSerde } diff --git a/service/gamelift/deserializers.go b/service/gamelift/deserializers.go index c6d17256c5a..0c88823e95e 100644 --- a/service/gamelift/deserializers.go +++ b/service/gamelift/deserializers.go @@ -18355,7 +18355,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu if err != nil { return err } - sv.LatencyInMilliseconds = float32(f64) + sv.LatencyInMilliseconds = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -18373,7 +18373,7 @@ func awsAwsjson11_deserializeDocumentPlayerLatency(v **types.PlayerLatency, valu return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.LatencyInMilliseconds = float32(f64) + sv.LatencyInMilliseconds = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Float to be a JSON Number, got %T instead", value) @@ -19223,7 +19223,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu if err != nil { return err } - sv.ScalingAdjustment = int32(i64) + sv.ScalingAdjustment = ptr.Int32(int32(i64)) } case "ScalingAdjustmentType": @@ -19257,7 +19257,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu if err != nil { return err } - sv.Threshold = f64 + sv.Threshold = ptr.Float64(f64) case string: var f64 float64 @@ -19275,7 +19275,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicy(v **types.ScalingPolicy, valu return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Threshold = f64 + sv.Threshold = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -19755,7 +19755,7 @@ func awsAwsjson11_deserializeDocumentTargetConfiguration(v **types.TargetConfigu if err != nil { return err } - sv.TargetValue = f64 + sv.TargetValue = ptr.Float64(f64) case string: var f64 float64 @@ -19773,7 +19773,7 @@ func awsAwsjson11_deserializeDocumentTargetConfiguration(v **types.TargetConfigu return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.TargetValue = f64 + sv.TargetValue = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) diff --git a/service/gamelift/endpoints.go b/service/gamelift/endpoints.go index 5a365cdfe38..bec26de4d75 100644 --- a/service/gamelift/endpoints.go +++ b/service/gamelift/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://gamelift-fips.") diff --git a/service/gamelift/serializers.go b/service/gamelift/serializers.go index bbbc0f9de2b..28f65564415 100644 --- a/service/gamelift/serializers.go +++ b/service/gamelift/serializers.go @@ -6302,20 +6302,20 @@ func awsAwsjson11_serializeDocumentPlayerLatency(v *types.PlayerLatency, value s object := value.Object() defer object.Close() - if v.LatencyInMilliseconds != 0 { + if v.LatencyInMilliseconds != nil { ok := object.Key("LatencyInMilliseconds") switch { - case math.IsNaN(float64(v.LatencyInMilliseconds)): + case math.IsNaN(float64(*v.LatencyInMilliseconds)): ok.String("NaN") - case math.IsInf(float64(v.LatencyInMilliseconds), 1): + case math.IsInf(float64(*v.LatencyInMilliseconds), 1): ok.String("Infinity") - case math.IsInf(float64(v.LatencyInMilliseconds), -1): + case math.IsInf(float64(*v.LatencyInMilliseconds), -1): ok.String("-Infinity") default: - ok.Float(v.LatencyInMilliseconds) + ok.Float(*v.LatencyInMilliseconds) } } @@ -6613,20 +6613,20 @@ func awsAwsjson11_serializeDocumentTargetConfiguration(v *types.TargetConfigurat object := value.Object() defer object.Close() - { + if v.TargetValue != nil { ok := object.Key("TargetValue") switch { - case math.IsNaN(v.TargetValue): + case math.IsNaN(*v.TargetValue): ok.String("NaN") - case math.IsInf(v.TargetValue, 1): + case math.IsInf(*v.TargetValue, 1): ok.String("Infinity") - case math.IsInf(v.TargetValue, -1): + case math.IsInf(*v.TargetValue, -1): ok.String("-Infinity") default: - ok.Double(v.TargetValue) + ok.Double(*v.TargetValue) } } @@ -8541,9 +8541,9 @@ func awsAwsjson11_serializeOpDocumentPutScalingPolicyInput(v *PutScalingPolicyIn ok.String(string(v.PolicyType)) } - if v.ScalingAdjustment != 0 { + if v.ScalingAdjustment != nil { ok := object.Key("ScalingAdjustment") - ok.Integer(v.ScalingAdjustment) + ok.Integer(*v.ScalingAdjustment) } if len(v.ScalingAdjustmentType) > 0 { @@ -8558,20 +8558,20 @@ func awsAwsjson11_serializeOpDocumentPutScalingPolicyInput(v *PutScalingPolicyIn } } - if v.Threshold != 0 { + if v.Threshold != nil { ok := object.Key("Threshold") switch { - case math.IsNaN(v.Threshold): + case math.IsNaN(*v.Threshold): ok.String("NaN") - case math.IsInf(v.Threshold, 1): + case math.IsInf(*v.Threshold, 1): ok.String("Infinity") - case math.IsInf(v.Threshold, -1): + case math.IsInf(*v.Threshold, -1): ok.String("-Infinity") default: - ok.Double(v.Threshold) + ok.Double(*v.Threshold) } } diff --git a/service/gamelift/types/types.go b/service/gamelift/types/types.go index c85f29a4580..7268e5e62a6 100644 --- a/service/gamelift/types/types.go +++ b/service/gamelift/types/types.go @@ -1818,7 +1818,7 @@ type PlayerLatency struct { // Amount of time that represents the time lag experienced by the player when // connected to the specified Region. - LatencyInMilliseconds float32 + LatencyInMilliseconds *float32 // A unique identifier for a player associated with the latency data. PlayerId *string @@ -2123,7 +2123,7 @@ type ScalingPolicy struct { PolicyType PolicyType // Amount of adjustment to make, based on the scaling adjustment type. - ScalingAdjustment int32 + ScalingAdjustment *int32 // The type of adjustment to make to a fleet's instance count. // - ChangeInCapacity -- add (or subtract) the scaling adjustment value from the @@ -2155,7 +2155,7 @@ type ScalingPolicy struct { TargetConfiguration *TargetConfiguration // Metric value used to trigger a scaling event. - Threshold float64 + Threshold *float64 // The current status of the fleet's scaling policies in a requested fleet // location. The status PENDING_UPDATE indicates that an update was requested for @@ -2274,7 +2274,7 @@ type TargetConfiguration struct { // idle and ready for new game sessions). // // This member is required. - TargetValue float64 + TargetValue *float64 noSmithyDocumentSerde } diff --git a/service/gamelift/validators.go b/service/gamelift/validators.go index 6ebd9be2649..328550b4504 100644 --- a/service/gamelift/validators.go +++ b/service/gamelift/validators.go @@ -2331,6 +2331,9 @@ func validateTargetConfiguration(v *types.TargetConfiguration) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "TargetConfiguration"} + if v.TargetValue == nil { + invalidParams.Add(smithy.NewErrParamRequired("TargetValue")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/glue/api_op_CreateSchema.go b/service/glue/api_op_CreateSchema.go index 2623b525eeb..0e1f74c3dbd 100644 --- a/service/glue/api_op_CreateSchema.go +++ b/service/glue/api_op_CreateSchema.go @@ -122,10 +122,10 @@ type CreateSchemaOutput struct { Description *string // The latest version of the schema associated with the returned schema definition. - LatestSchemaVersion int64 + LatestSchemaVersion *int64 // The next version of the schema associated with the returned schema definition. - NextSchemaVersion int64 + NextSchemaVersion *int64 // The Amazon Resource Name (ARN) of the registry. RegistryArn *string @@ -138,7 +138,7 @@ type CreateSchemaOutput struct { // The version number of the checkpoint (the last time the compatibility mode was // changed). - SchemaCheckpoint int64 + SchemaCheckpoint *int64 // The name of the schema. SchemaName *string diff --git a/service/glue/api_op_GetSchema.go b/service/glue/api_op_GetSchema.go index 310281a1e95..2678f32b969 100644 --- a/service/glue/api_op_GetSchema.go +++ b/service/glue/api_op_GetSchema.go @@ -63,10 +63,10 @@ type GetSchemaOutput struct { Description *string // The latest version of the schema associated with the returned schema definition. - LatestSchemaVersion int64 + LatestSchemaVersion *int64 // The next version of the schema associated with the returned schema definition. - NextSchemaVersion int64 + NextSchemaVersion *int64 // The Amazon Resource Name (ARN) of the registry. RegistryArn *string @@ -79,7 +79,7 @@ type GetSchemaOutput struct { // The version number of the checkpoint (the last time the compatibility mode was // changed). - SchemaCheckpoint int64 + SchemaCheckpoint *int64 // The name of the schema. SchemaName *string diff --git a/service/glue/api_op_GetSchemaVersion.go b/service/glue/api_op_GetSchemaVersion.go index 39f6ecf71bb..a296da0ce04 100644 --- a/service/glue/api_op_GetSchemaVersion.go +++ b/service/glue/api_op_GetSchemaVersion.go @@ -76,7 +76,7 @@ type GetSchemaVersionOutput struct { Status types.SchemaVersionStatus // The version number of the schema. - VersionNumber int64 + VersionNumber *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/glue/api_op_PutSchemaVersionMetadata.go b/service/glue/api_op_PutSchemaVersionMetadata.go index 5290c850105..348593524cd 100644 --- a/service/glue/api_op_PutSchemaVersionMetadata.go +++ b/service/glue/api_op_PutSchemaVersionMetadata.go @@ -77,7 +77,7 @@ type PutSchemaVersionMetadataOutput struct { SchemaVersionId *string // The version number of the schema. - VersionNumber int64 + VersionNumber *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/glue/api_op_QuerySchemaVersionMetadata.go b/service/glue/api_op_QuerySchemaVersionMetadata.go index d0ab60bf355..2c47eca9327 100644 --- a/service/glue/api_op_QuerySchemaVersionMetadata.go +++ b/service/glue/api_op_QuerySchemaVersionMetadata.go @@ -36,7 +36,7 @@ type QuerySchemaVersionMetadataInput struct { // Maximum number of results required per page. If the value is not supplied, this // will be defaulted to 25 per page. - MaxResults int32 + MaxResults *int32 // Search key-value pairs for metadata, if they are not provided all the metadata // information will be fetched. diff --git a/service/glue/api_op_RegisterSchemaVersion.go b/service/glue/api_op_RegisterSchemaVersion.go index cef11f31321..ea6c0a243e7 100644 --- a/service/glue/api_op_RegisterSchemaVersion.go +++ b/service/glue/api_op_RegisterSchemaVersion.go @@ -71,7 +71,7 @@ type RegisterSchemaVersionOutput struct { // The version of this schema (for sync flow only, in case this is the first // version). - VersionNumber int64 + VersionNumber *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/glue/api_op_RemoveSchemaVersionMetadata.go b/service/glue/api_op_RemoveSchemaVersionMetadata.go index 78292527619..a7e73d28d6b 100644 --- a/service/glue/api_op_RemoveSchemaVersionMetadata.go +++ b/service/glue/api_op_RemoveSchemaVersionMetadata.go @@ -77,7 +77,7 @@ type RemoveSchemaVersionMetadataOutput struct { SchemaVersionId *string // The version number of the schema. - VersionNumber int64 + VersionNumber *int64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/glue/deserializers.go b/service/glue/deserializers.go index a98d8af1c00..2b04bb7e7b4 100644 --- a/service/glue/deserializers.go +++ b/service/glue/deserializers.go @@ -35806,7 +35806,7 @@ func awsAwsjson11_deserializeDocumentEventBatchingCondition(v **types.EventBatch if err != nil { return err } - sv.BatchSize = int32(i64) + sv.BatchSize = ptr.Int32(int32(i64)) } case "BatchWindow": @@ -46936,7 +46936,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionErrorItem(v **types.SchemaVers if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -47084,7 +47084,7 @@ func awsAwsjson11_deserializeDocumentSchemaVersionListItem(v **types.SchemaVersi if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -53438,7 +53438,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput if err != nil { return err } - sv.LatestSchemaVersion = i64 + sv.LatestSchemaVersion = ptr.Int64(i64) } case "NextSchemaVersion": @@ -53451,7 +53451,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput if err != nil { return err } - sv.NextSchemaVersion = i64 + sv.NextSchemaVersion = ptr.Int64(i64) } case "RegistryArn": @@ -53491,7 +53491,7 @@ func awsAwsjson11_deserializeOpDocumentCreateSchemaOutput(v **CreateSchemaOutput if err != nil { return err } - sv.SchemaCheckpoint = i64 + sv.SchemaCheckpoint = ptr.Int64(i64) } case "SchemaName": @@ -57394,7 +57394,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu if err != nil { return err } - sv.LatestSchemaVersion = i64 + sv.LatestSchemaVersion = ptr.Int64(i64) } case "NextSchemaVersion": @@ -57407,7 +57407,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu if err != nil { return err } - sv.NextSchemaVersion = i64 + sv.NextSchemaVersion = ptr.Int64(i64) } case "RegistryArn": @@ -57447,7 +57447,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaOutput(v **GetSchemaOutput, valu if err != nil { return err } - sv.SchemaCheckpoint = i64 + sv.SchemaCheckpoint = ptr.Int64(i64) } case "SchemaName": @@ -57572,7 +57572,7 @@ func awsAwsjson11_deserializeOpDocumentGetSchemaVersionOutput(v **GetSchemaVersi if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -59452,7 +59452,7 @@ func awsAwsjson11_deserializeOpDocumentPutSchemaVersionMetadataOutput(v **PutSch if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -59599,7 +59599,7 @@ func awsAwsjson11_deserializeOpDocumentRegisterSchemaVersionOutput(v **RegisterS if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: @@ -59706,7 +59706,7 @@ func awsAwsjson11_deserializeOpDocumentRemoveSchemaVersionMetadataOutput(v **Rem if err != nil { return err } - sv.VersionNumber = i64 + sv.VersionNumber = ptr.Int64(i64) } default: diff --git a/service/glue/endpoints.go b/service/glue/endpoints.go index 0f8bd965a81..dc42f91d6ed 100644 --- a/service/glue/endpoints.go +++ b/service/glue/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://glue-fips.") diff --git a/service/glue/serializers.go b/service/glue/serializers.go index e69add27fb7..ad661c2c0f0 100644 --- a/service/glue/serializers.go +++ b/service/glue/serializers.go @@ -14444,9 +14444,9 @@ func awsAwsjson11_serializeDocumentEventBatchingCondition(v *types.EventBatching object := value.Object() defer object.Close() - { + if v.BatchSize != nil { ok := object.Key("BatchSize") - ok.Integer(v.BatchSize) + ok.Integer(*v.BatchSize) } if v.BatchWindow != nil { @@ -18077,9 +18077,9 @@ func awsAwsjson11_serializeDocumentSchemaVersionNumber(v *types.SchemaVersionNum ok.Boolean(v.LatestVersion) } - if v.VersionNumber != 0 { + if v.VersionNumber != nil { ok := object.Key("VersionNumber") - ok.Long(v.VersionNumber) + ok.Long(*v.VersionNumber) } return nil @@ -18118,9 +18118,9 @@ func awsAwsjson11_serializeDocumentSegment(v *types.Segment, value smithyjson.Va ok.Integer(v.SegmentNumber) } - { + if v.TotalSegments != nil { ok := object.Key("TotalSegments") - ok.Integer(v.TotalSegments) + ok.Integer(*v.TotalSegments) } return nil @@ -23518,9 +23518,9 @@ func awsAwsjson11_serializeOpDocumentQuerySchemaVersionMetadataInput(v *QuerySch object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.MetadataList != nil { diff --git a/service/glue/types/types.go b/service/glue/types/types.go index 077391e2283..831fb2d32b7 100644 --- a/service/glue/types/types.go +++ b/service/glue/types/types.go @@ -3066,7 +3066,7 @@ type EventBatchingCondition struct { // EventBridge event trigger fires. // // This member is required. - BatchSize int32 + BatchSize *int32 // Window of time in seconds after which EventBridge event trigger fires. Window // starts when first event is received. @@ -6539,7 +6539,7 @@ type SchemaVersionErrorItem struct { ErrorDetails *ErrorDetails // The version number of the schema. - VersionNumber int64 + VersionNumber *int64 noSmithyDocumentSerde } @@ -6560,7 +6560,7 @@ type SchemaVersionListItem struct { Status SchemaVersionStatus // The version number of the schema. - VersionNumber int64 + VersionNumber *int64 noSmithyDocumentSerde } @@ -6572,7 +6572,7 @@ type SchemaVersionNumber struct { LatestVersion bool // The version number of the schema. - VersionNumber int64 + VersionNumber *int64 noSmithyDocumentSerde } @@ -6605,7 +6605,7 @@ type Segment struct { // The total number of segments. // // This member is required. - TotalSegments int32 + TotalSegments *int32 noSmithyDocumentSerde } diff --git a/service/glue/validators.go b/service/glue/validators.go index 446290a8f8a..912477400e1 100644 --- a/service/glue/validators.go +++ b/service/glue/validators.go @@ -5756,6 +5756,9 @@ func validateEventBatchingCondition(v *types.EventBatchingCondition) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "EventBatchingCondition"} + if v.BatchSize == nil { + invalidParams.Add(smithy.NewErrParamRequired("BatchSize")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -7154,6 +7157,9 @@ func validateSegment(v *types.Segment) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "Segment"} + if v.TotalSegments == nil { + invalidParams.Add(smithy.NewErrParamRequired("TotalSegments")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/greengrass/endpoints.go b/service/greengrass/endpoints.go index e4f340b153b..2841a9e71ae 100644 --- a/service/greengrass/endpoints.go +++ b/service/greengrass/endpoints.go @@ -411,7 +411,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { if _Region == "us-gov-east-1" { uriString := "https://greengrass.us-gov-east-1.amazonaws.com" diff --git a/service/greengrassv2/deserializers.go b/service/greengrassv2/deserializers.go index ab4c911c664..67189785616 100644 --- a/service/greengrassv2/deserializers.go +++ b/service/greengrassv2/deserializers.go @@ -7227,7 +7227,7 @@ func awsRestjson1_deserializeDocumentIoTJobAbortCriteria(v **types.IoTJobAbortCr if err != nil { return err } - sv.MinNumberOfExecutedThings = int32(i64) + sv.MinNumberOfExecutedThings = ptr.Int32(int32(i64)) } case "thresholdPercentage": @@ -7388,7 +7388,7 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ if err != nil { return err } - sv.BaseRatePerMinute = int32(i64) + sv.BaseRatePerMinute = ptr.Int32(int32(i64)) } case "incrementFactor": @@ -7399,7 +7399,7 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ if err != nil { return err } - sv.IncrementFactor = f64 + sv.IncrementFactor = ptr.Float64(f64) case string: var f64 float64 @@ -7417,7 +7417,7 @@ func awsRestjson1_deserializeDocumentIoTJobExponentialRolloutRate(v **types.IoTJ return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.IncrementFactor = f64 + sv.IncrementFactor = ptr.Float64(f64) default: return fmt.Errorf("expected IoTJobRolloutIncrementFactor to be a JSON Number, got %T instead", value) diff --git a/service/greengrassv2/endpoints.go b/service/greengrassv2/endpoints.go index e707a4829ed..46e793c61a6 100644 --- a/service/greengrassv2/endpoints.go +++ b/service/greengrassv2/endpoints.go @@ -411,7 +411,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { if _Region == "us-gov-east-1" { uriString := "https://greengrass.us-gov-east-1.amazonaws.com" diff --git a/service/greengrassv2/serializers.go b/service/greengrassv2/serializers.go index 5aad8df31b7..e854b10fc84 100644 --- a/service/greengrassv2/serializers.go +++ b/service/greengrassv2/serializers.go @@ -2567,9 +2567,9 @@ func awsRestjson1_serializeDocumentIoTJobAbortCriteria(v *types.IoTJobAbortCrite ok.String(string(v.FailureType)) } - { + if v.MinNumberOfExecutedThings != nil { ok := object.Key("minNumberOfExecutedThings") - ok.Integer(v.MinNumberOfExecutedThings) + ok.Integer(*v.MinNumberOfExecutedThings) } { @@ -2629,25 +2629,25 @@ func awsRestjson1_serializeDocumentIoTJobExponentialRolloutRate(v *types.IoTJobE object := value.Object() defer object.Close() - { + if v.BaseRatePerMinute != nil { ok := object.Key("baseRatePerMinute") - ok.Integer(v.BaseRatePerMinute) + ok.Integer(*v.BaseRatePerMinute) } - { + if v.IncrementFactor != nil { ok := object.Key("incrementFactor") switch { - case math.IsNaN(v.IncrementFactor): + case math.IsNaN(*v.IncrementFactor): ok.String("NaN") - case math.IsInf(v.IncrementFactor, 1): + case math.IsInf(*v.IncrementFactor, 1): ok.String("Infinity") - case math.IsInf(v.IncrementFactor, -1): + case math.IsInf(*v.IncrementFactor, -1): ok.String("-Infinity") default: - ok.Double(v.IncrementFactor) + ok.Double(*v.IncrementFactor) } } diff --git a/service/greengrassv2/types/types.go b/service/greengrassv2/types/types.go index 661db64070c..699e0f1b9cd 100644 --- a/service/greengrassv2/types/types.go +++ b/service/greengrassv2/types/types.go @@ -649,7 +649,7 @@ type IoTJobAbortCriteria struct { // cancel. // // This member is required. - MinNumberOfExecutedThings int32 + MinNumberOfExecutedThings *int32 // The minimum percentage of failureType failures that occur before the job can // cancel. This parameter supports up to two digits after the decimal (for example, @@ -685,14 +685,14 @@ type IoTJobExponentialRolloutRate struct { // the job. // // This member is required. - BaseRatePerMinute int32 + BaseRatePerMinute *int32 // The exponential factor to increase the rollout rate for the job. This parameter // supports up to one digit after the decimal (for example, you can specify 1.5 , // but not 1.55 ). // // This member is required. - IncrementFactor float64 + IncrementFactor *float64 // The criteria to increase the rollout rate for the job. // diff --git a/service/greengrassv2/validators.go b/service/greengrassv2/validators.go index b97cc988143..966507a9380 100644 --- a/service/greengrassv2/validators.go +++ b/service/greengrassv2/validators.go @@ -678,6 +678,9 @@ func validateIoTJobAbortCriteria(v *types.IoTJobAbortCriteria) error { if len(v.Action) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Action")) } + if v.MinNumberOfExecutedThings == nil { + invalidParams.Add(smithy.NewErrParamRequired("MinNumberOfExecutedThings")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -724,6 +727,12 @@ func validateIoTJobExponentialRolloutRate(v *types.IoTJobExponentialRolloutRate) return nil } invalidParams := smithy.InvalidParamsError{Context: "IoTJobExponentialRolloutRate"} + if v.BaseRatePerMinute == nil { + invalidParams.Add(smithy.NewErrParamRequired("BaseRatePerMinute")) + } + if v.IncrementFactor == nil { + invalidParams.Add(smithy.NewErrParamRequired("IncrementFactor")) + } if v.RateIncreaseCriteria == nil { invalidParams.Add(smithy.NewErrParamRequired("RateIncreaseCriteria")) } diff --git a/service/guardduty/api_op_CreateDetector.go b/service/guardduty/api_op_CreateDetector.go index 8d26dbf8fa1..d65b7bd2d31 100644 --- a/service/guardduty/api_op_CreateDetector.go +++ b/service/guardduty/api_op_CreateDetector.go @@ -44,7 +44,7 @@ type CreateDetectorInput struct { // A Boolean value that specifies whether the detector is to be enabled. // // This member is required. - Enable bool + Enable *bool // The idempotency token for the create request. ClientToken *string diff --git a/service/guardduty/api_op_CreateFilter.go b/service/guardduty/api_op_CreateFilter.go index 0f8b0e34956..858e14c0bde 100644 --- a/service/guardduty/api_op_CreateFilter.go +++ b/service/guardduty/api_op_CreateFilter.go @@ -173,7 +173,7 @@ type CreateFilterInput struct { // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. - Rank int32 + Rank *int32 // The tags to be added to a new filter resource. Tags map[string]string diff --git a/service/guardduty/api_op_CreateIPSet.go b/service/guardduty/api_op_CreateIPSet.go index 80af3bb55c7..b0a92624495 100644 --- a/service/guardduty/api_op_CreateIPSet.go +++ b/service/guardduty/api_op_CreateIPSet.go @@ -42,7 +42,7 @@ type CreateIPSetInput struct { // IPSet. // // This member is required. - Activate bool + Activate *bool // The unique ID of the detector of the GuardDuty account that you want to create // an IPSet for. diff --git a/service/guardduty/api_op_CreateThreatIntelSet.go b/service/guardduty/api_op_CreateThreatIntelSet.go index 83cb056e755..412103fbf92 100644 --- a/service/guardduty/api_op_CreateThreatIntelSet.go +++ b/service/guardduty/api_op_CreateThreatIntelSet.go @@ -40,7 +40,7 @@ type CreateThreatIntelSetInput struct { // ThreatIntelSet. // // This member is required. - Activate bool + Activate *bool // The unique ID of the detector of the GuardDuty account that you want to create // a threatIntelSet for. diff --git a/service/guardduty/api_op_DescribeMalwareScans.go b/service/guardduty/api_op_DescribeMalwareScans.go index 4767f39e3c9..9b1f4873bf0 100644 --- a/service/guardduty/api_op_DescribeMalwareScans.go +++ b/service/guardduty/api_op_DescribeMalwareScans.go @@ -49,7 +49,7 @@ type DescribeMalwareScansInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -192,8 +192,8 @@ func NewDescribeMalwareScansPaginator(client DescribeMalwareScansAPIClient, para } options := DescribeMalwareScansPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -223,7 +223,11 @@ func (p *DescribeMalwareScansPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeMalwareScans(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_DescribeOrganizationConfiguration.go b/service/guardduty/api_op_DescribeOrganizationConfiguration.go index a7c1d6f025b..3c958a7ad08 100644 --- a/service/guardduty/api_op_DescribeOrganizationConfiguration.go +++ b/service/guardduty/api_op_DescribeOrganizationConfiguration.go @@ -46,7 +46,7 @@ type DescribeOrganizationConfigurationInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -63,14 +63,14 @@ type DescribeOrganizationConfigurationOutput struct { // associated with the delegated administrator account for your organization. // // This member is required. - MemberAccountLimitReached bool + MemberAccountLimitReached *bool // Indicates whether GuardDuty is automatically enabled for accounts added to the // organization. Even though this is still supported, we recommend using // AutoEnableOrganizationMembers to achieve the similar results. // // Deprecated: This field is deprecated, use AutoEnableOrganizationMembers instead - AutoEnable bool + AutoEnable *bool // Indicates the auto-enablement configuration of GuardDuty for the member // accounts in the organization. @@ -216,8 +216,8 @@ func NewDescribeOrganizationConfigurationPaginator(client DescribeOrganizationCo } options := DescribeOrganizationConfigurationPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -247,7 +247,11 @@ func (p *DescribeOrganizationConfigurationPaginator) NextPage(ctx context.Contex params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeOrganizationConfiguration(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_DescribePublishingDestination.go b/service/guardduty/api_op_DescribePublishingDestination.go index 1f9db812101..3d829dded8b 100644 --- a/service/guardduty/api_op_DescribePublishingDestination.go +++ b/service/guardduty/api_op_DescribePublishingDestination.go @@ -72,7 +72,7 @@ type DescribePublishingDestinationOutput struct { // publish findings to the destination. // // This member is required. - PublishingFailureStartTimestamp int64 + PublishingFailureStartTimestamp *int64 // The status of the publishing destination. // diff --git a/service/guardduty/api_op_GetFilter.go b/service/guardduty/api_op_GetFilter.go index 65c9eef2e28..93165377274 100644 --- a/service/guardduty/api_op_GetFilter.go +++ b/service/guardduty/api_op_GetFilter.go @@ -70,7 +70,7 @@ type GetFilterOutput struct { // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. - Rank int32 + Rank *int32 // The tags of the filter resource. Tags map[string]string diff --git a/service/guardduty/api_op_GetInvitationsCount.go b/service/guardduty/api_op_GetInvitationsCount.go index c9d5c905b36..5db3c21ef8c 100644 --- a/service/guardduty/api_op_GetInvitationsCount.go +++ b/service/guardduty/api_op_GetInvitationsCount.go @@ -39,7 +39,7 @@ type GetInvitationsCountInput struct { type GetInvitationsCountOutput struct { // The number of received invitations. - InvitationsCount int32 + InvitationsCount *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/guardduty/api_op_GetUsageStatistics.go b/service/guardduty/api_op_GetUsageStatistics.go index df03fd99613..bae98ae9f23 100644 --- a/service/guardduty/api_op_GetUsageStatistics.go +++ b/service/guardduty/api_op_GetUsageStatistics.go @@ -57,7 +57,7 @@ type GetUsageStatisticsInput struct { UsageStatisticType types.UsageStatisticType // The maximum number of results to return in the response. - MaxResults int32 + MaxResults *int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For @@ -198,8 +198,8 @@ func NewGetUsageStatisticsPaginator(client GetUsageStatisticsAPIClient, params * } options := GetUsageStatisticsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -229,7 +229,11 @@ func (p *GetUsageStatisticsPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetUsageStatistics(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_InviteMembers.go b/service/guardduty/api_op_InviteMembers.go index d985e2f509b..1e7146c66fd 100644 --- a/service/guardduty/api_op_InviteMembers.go +++ b/service/guardduty/api_op_InviteMembers.go @@ -68,7 +68,7 @@ type InviteMembersInput struct { // A Boolean value that specifies whether you want to disable email notification // to the accounts that you are inviting to GuardDuty as members. - DisableEmailNotification bool + DisableEmailNotification *bool // The invitation message that you want to send to the accounts that you're // inviting to GuardDuty as members. diff --git a/service/guardduty/api_op_ListCoverage.go b/service/guardduty/api_op_ListCoverage.go index c228c9fd259..86a071e3b63 100644 --- a/service/guardduty/api_op_ListCoverage.go +++ b/service/guardduty/api_op_ListCoverage.go @@ -46,7 +46,7 @@ type ListCoverageInput struct { FilterCriteria *types.CoverageFilterCriteria // The maximum number of results to return in the response. - MaxResults int32 + MaxResults *int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For @@ -185,8 +185,8 @@ func NewListCoveragePaginator(client ListCoverageAPIClient, params *ListCoverage } options := ListCoveragePaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -216,7 +216,11 @@ func (p *ListCoveragePaginator) NextPage(ctx context.Context, optFns ...func(*Op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListCoverage(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListDetectors.go b/service/guardduty/api_op_ListDetectors.go index b92797e1ee7..9bd0c47b74c 100644 --- a/service/guardduty/api_op_ListDetectors.go +++ b/service/guardduty/api_op_ListDetectors.go @@ -35,7 +35,7 @@ type ListDetectorsInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -169,8 +169,8 @@ func NewListDetectorsPaginator(client ListDetectorsAPIClient, params *ListDetect } options := ListDetectorsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *ListDetectorsPaginator) NextPage(ctx context.Context, optFns ...func(*O params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListDetectors(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListFilters.go b/service/guardduty/api_op_ListFilters.go index c2641e90990..1d77e5ccbb6 100644 --- a/service/guardduty/api_op_ListFilters.go +++ b/service/guardduty/api_op_ListFilters.go @@ -40,7 +40,7 @@ type ListFiltersInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -177,8 +177,8 @@ func NewListFiltersPaginator(client ListFiltersAPIClient, params *ListFiltersInp } options := ListFiltersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -208,7 +208,11 @@ func (p *ListFiltersPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListFilters(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListFindings.go b/service/guardduty/api_op_ListFindings.go index 2c9b6bbb6a4..efbc446d9da 100644 --- a/service/guardduty/api_op_ListFindings.go +++ b/service/guardduty/api_op_ListFindings.go @@ -97,7 +97,7 @@ type ListFindingsInput struct { // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -237,8 +237,8 @@ func NewListFindingsPaginator(client ListFindingsAPIClient, params *ListFindings } options := ListFindingsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -268,7 +268,11 @@ func (p *ListFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListFindings(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListIPSets.go b/service/guardduty/api_op_ListIPSets.go index c63364d5f91..e713b14d088 100644 --- a/service/guardduty/api_op_ListIPSets.go +++ b/service/guardduty/api_op_ListIPSets.go @@ -42,7 +42,7 @@ type ListIPSetsInput struct { // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -179,8 +179,8 @@ func NewListIPSetsPaginator(client ListIPSetsAPIClient, params *ListIPSetsInput, } options := ListIPSetsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -210,7 +210,11 @@ func (p *ListIPSetsPaginator) NextPage(ctx context.Context, optFns ...func(*Opti params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListIPSets(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListInvitations.go b/service/guardduty/api_op_ListInvitations.go index 0ccfdf5bac2..f080f0d2fbb 100644 --- a/service/guardduty/api_op_ListInvitations.go +++ b/service/guardduty/api_op_ListInvitations.go @@ -37,7 +37,7 @@ type ListInvitationsInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -170,8 +170,8 @@ func NewListInvitationsPaginator(client ListInvitationsAPIClient, params *ListIn } options := ListInvitationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *ListInvitationsPaginator) NextPage(ctx context.Context, optFns ...func( params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListInvitations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListMembers.go b/service/guardduty/api_op_ListMembers.go index d7f77959f42..2942d12281c 100644 --- a/service/guardduty/api_op_ListMembers.go +++ b/service/guardduty/api_op_ListMembers.go @@ -42,7 +42,7 @@ type ListMembersInput struct { // You can use this parameter to indicate the maximum number of items you want in // the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls to @@ -184,8 +184,8 @@ func NewListMembersPaginator(client ListMembersAPIClient, params *ListMembersInp } options := ListMembersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *ListMembersPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListMembers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListOrganizationAdminAccounts.go b/service/guardduty/api_op_ListOrganizationAdminAccounts.go index 0e41d95eb51..0bf693cab1e 100644 --- a/service/guardduty/api_op_ListOrganizationAdminAccounts.go +++ b/service/guardduty/api_op_ListOrganizationAdminAccounts.go @@ -36,7 +36,7 @@ func (c *Client) ListOrganizationAdminAccounts(ctx context.Context, params *List type ListOrganizationAdminAccountsInput struct { // The maximum number of results to return in the response. - MaxResults int32 + MaxResults *int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For @@ -171,8 +171,8 @@ func NewListOrganizationAdminAccountsPaginator(client ListOrganizationAdminAccou } options := ListOrganizationAdminAccountsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -202,7 +202,11 @@ func (p *ListOrganizationAdminAccountsPaginator) NextPage(ctx context.Context, o params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListOrganizationAdminAccounts(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListPublishingDestinations.go b/service/guardduty/api_op_ListPublishingDestinations.go index 389ba9b25f8..73de44f4a06 100644 --- a/service/guardduty/api_op_ListPublishingDestinations.go +++ b/service/guardduty/api_op_ListPublishingDestinations.go @@ -41,7 +41,7 @@ type ListPublishingDestinationsInput struct { DetectorId *string // The maximum number of results to return in the response. - MaxResults int32 + MaxResults *int32 // A token to use for paginating results that are returned in the response. Set // the value of this parameter to null for the first request to a list action. For @@ -184,8 +184,8 @@ func NewListPublishingDestinationsPaginator(client ListPublishingDestinationsAPI } options := ListPublishingDestinationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *ListPublishingDestinationsPaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListPublishingDestinations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_ListThreatIntelSets.go b/service/guardduty/api_op_ListThreatIntelSets.go index 6c0623e3ef0..dcde55989cb 100644 --- a/service/guardduty/api_op_ListThreatIntelSets.go +++ b/service/guardduty/api_op_ListThreatIntelSets.go @@ -42,7 +42,7 @@ type ListThreatIntelSetsInput struct { // You can use this parameter to indicate the maximum number of items that you // want in the response. The default value is 50. The maximum value is 50. - MaxResults int32 + MaxResults *int32 // You can use this parameter to paginate results in the response. Set the value // of this parameter to null on your first call to the list action. For subsequent @@ -181,8 +181,8 @@ func NewListThreatIntelSetsPaginator(client ListThreatIntelSetsAPIClient, params } options := ListThreatIntelSetsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -212,7 +212,11 @@ func (p *ListThreatIntelSetsPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListThreatIntelSets(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/guardduty/api_op_UpdateDetector.go b/service/guardduty/api_op_UpdateDetector.go index 14f1be00cf2..17c6d9bd862 100644 --- a/service/guardduty/api_op_UpdateDetector.go +++ b/service/guardduty/api_op_UpdateDetector.go @@ -53,7 +53,7 @@ type UpdateDetectorInput struct { DataSources *types.DataSourceConfigurations // Specifies whether the detector is enabled or not enabled. - Enable bool + Enable *bool // Provides the features that will be updated for the detector. Features []types.DetectorFeatureConfiguration diff --git a/service/guardduty/api_op_UpdateFilter.go b/service/guardduty/api_op_UpdateFilter.go index b13b515deb4..96d4020c301 100644 --- a/service/guardduty/api_op_UpdateFilter.go +++ b/service/guardduty/api_op_UpdateFilter.go @@ -60,7 +60,7 @@ type UpdateFilterInput struct { // Specifies the position of the filter in the list of current filters. Also // specifies the order in which this filter is applied to the findings. - Rank int32 + Rank *int32 noSmithyDocumentSerde } diff --git a/service/guardduty/api_op_UpdateIPSet.go b/service/guardduty/api_op_UpdateIPSet.go index 56fc7cf295c..f53cf9b7ca6 100644 --- a/service/guardduty/api_op_UpdateIPSet.go +++ b/service/guardduty/api_op_UpdateIPSet.go @@ -45,7 +45,7 @@ type UpdateIPSetInput struct { IpSetId *string // The updated Boolean value that specifies whether the IPSet is active or not. - Activate bool + Activate *bool // The updated URI of the file that contains the IPSet. Location *string diff --git a/service/guardduty/api_op_UpdateOrganizationConfiguration.go b/service/guardduty/api_op_UpdateOrganizationConfiguration.go index 611498285c5..34c98ae6dbc 100644 --- a/service/guardduty/api_op_UpdateOrganizationConfiguration.go +++ b/service/guardduty/api_op_UpdateOrganizationConfiguration.go @@ -50,7 +50,7 @@ type UpdateOrganizationConfigurationInput struct { // value for either autoEnableOrganizationMembers or autoEnable . // // Deprecated: This field is deprecated, use AutoEnableOrganizationMembers instead - AutoEnable bool + AutoEnable *bool // Indicates the auto-enablement configuration of GuardDuty for the member // accounts in the organization. You must provide a value for either diff --git a/service/guardduty/api_op_UpdateThreatIntelSet.go b/service/guardduty/api_op_UpdateThreatIntelSet.go index bf0d424b287..e6951788f3b 100644 --- a/service/guardduty/api_op_UpdateThreatIntelSet.go +++ b/service/guardduty/api_op_UpdateThreatIntelSet.go @@ -46,7 +46,7 @@ type UpdateThreatIntelSetInput struct { // The updated Boolean value that specifies whether the ThreateIntelSet is active // or not. - Activate bool + Activate *bool // The updated URI of the file that contains the ThreateIntelSet. Location *string diff --git a/service/guardduty/deserializers.go b/service/guardduty/deserializers.go index a9dabc6518a..f200b06d323 100644 --- a/service/guardduty/deserializers.go +++ b/service/guardduty/deserializers.go @@ -2470,7 +2470,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoEnable = jtv + sv.AutoEnable = ptr.Bool(jtv) } case "autoEnableOrganizationMembers": @@ -2498,7 +2498,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MemberAccountLimitReached = jtv + sv.MemberAccountLimitReached = ptr.Bool(jtv) } case "nextToken": @@ -2688,7 +2688,7 @@ func awsRestjson1_deserializeOpDocumentDescribePublishingDestinationOutput(v **D if err != nil { return err } - sv.PublishingFailureStartTimestamp = i64 + sv.PublishingFailureStartTimestamp = ptr.Int64(i64) } case "status": @@ -3886,7 +3886,7 @@ func awsRestjson1_deserializeOpDocumentGetFilterOutput(v **GetFilterOutput, valu if err != nil { return err } - sv.Rank = int32(i64) + sv.Rank = ptr.Int32(int32(i64)) } case "tags": @@ -4349,7 +4349,7 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati if err != nil { return err } - sv.InvitationsCount = int32(i64) + sv.InvitationsCount = ptr.Int32(int32(i64)) } default: @@ -9358,7 +9358,7 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowsPublicReadAccess = jtv + sv.AllowsPublicReadAccess = ptr.Bool(jtv) } case "allowsPublicWriteAccess": @@ -9367,7 +9367,7 @@ func awsRestjson1_deserializeDocumentAccessControlList(v **types.AccessControlLi if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowsPublicWriteAccess = jtv + sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } default: @@ -10093,7 +10093,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.BlockPublicAcls = jtv + sv.BlockPublicAcls = ptr.Bool(jtv) } case "blockPublicPolicy": @@ -10102,7 +10102,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.BlockPublicPolicy = jtv + sv.BlockPublicPolicy = ptr.Bool(jtv) } case "ignorePublicAcls": @@ -10111,7 +10111,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IgnorePublicAcls = jtv + sv.IgnorePublicAcls = ptr.Bool(jtv) } case "restrictPublicBuckets": @@ -10120,7 +10120,7 @@ func awsRestjson1_deserializeDocumentBlockPublicAccess(v **types.BlockPublicAcce if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RestrictPublicBuckets = jtv + sv.RestrictPublicBuckets = ptr.Bool(jtv) } default: @@ -10206,7 +10206,7 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowsPublicReadAccess = jtv + sv.AllowsPublicReadAccess = ptr.Bool(jtv) } case "allowsPublicWriteAccess": @@ -10215,7 +10215,7 @@ func awsRestjson1_deserializeDocumentBucketPolicy(v **types.BucketPolicy, value if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowsPublicWriteAccess = jtv + sv.AllowsPublicWriteAccess = ptr.Bool(jtv) } default: @@ -10349,7 +10349,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.GreaterThan = i64 + sv.GreaterThan = ptr.Int64(i64) } case "greaterThanOrEqual": @@ -10362,7 +10362,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.GreaterThanOrEqual = i64 + sv.GreaterThanOrEqual = ptr.Int64(i64) } case "gt": @@ -10375,7 +10375,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.Gt = int32(i64) + sv.Gt = ptr.Int32(int32(i64)) } case "gte": @@ -10388,7 +10388,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.Gte = int32(i64) + sv.Gte = ptr.Int32(int32(i64)) } case "lessThan": @@ -10401,7 +10401,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.LessThan = i64 + sv.LessThan = ptr.Int64(i64) } case "lessThanOrEqual": @@ -10414,7 +10414,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.LessThanOrEqual = i64 + sv.LessThanOrEqual = ptr.Int64(i64) } case "lt": @@ -10427,7 +10427,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.Lt = int32(i64) + sv.Lt = ptr.Int32(int32(i64)) } case "lte": @@ -10440,7 +10440,7 @@ func awsRestjson1_deserializeDocumentCondition(v **types.Condition, value interf if err != nil { return err } - sv.Lte = int32(i64) + sv.Lte = ptr.Int32(int32(i64)) } case "neq": @@ -10846,7 +10846,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag if err != nil { return err } - sv.CompatibleNodes = i64 + sv.CompatibleNodes = ptr.Int64(i64) } case "coveredNodes": @@ -10859,7 +10859,7 @@ func awsRestjson1_deserializeDocumentCoverageEksClusterDetails(v **types.Coverag if err != nil { return err } - sv.CoveredNodes = i64 + sv.CoveredNodes = ptr.Int64(i64) } case "managementType": @@ -11225,7 +11225,7 @@ func awsRestjson1_deserializeDocumentDataSourceFreeTrial(v **types.DataSourceFre if err != nil { return err } - sv.FreeTrialDaysRemaining = int32(i64) + sv.FreeTrialDaysRemaining = ptr.Int32(int32(i64)) } default: @@ -11795,7 +11795,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Blocked = jtv + sv.Blocked = ptr.Bool(jtv) } case "domain": @@ -12096,7 +12096,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai if err != nil { return err } - sv.ActiveServicesCount = int32(i64) + sv.ActiveServicesCount = ptr.Int32(int32(i64)) } case "arn": @@ -12127,7 +12127,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai if err != nil { return err } - sv.RegisteredContainerInstancesCount = int32(i64) + sv.RegisteredContainerInstancesCount = ptr.Int32(int32(i64)) } case "runningTasksCount": @@ -12140,7 +12140,7 @@ func awsRestjson1_deserializeDocumentEcsClusterDetails(v **types.EcsClusterDetai if err != nil { return err } - sv.RunningTasksCount = int32(i64) + sv.RunningTasksCount = ptr.Int32(int32(i64)) } case "status": @@ -12608,7 +12608,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ if err != nil { return err } - sv.Confidence = f64 + sv.Confidence = ptr.Float64(f64) case string: var f64 float64 @@ -12626,7 +12626,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Confidence = f64 + sv.Confidence = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -12706,7 +12706,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ if err != nil { return err } - sv.Severity = f64 + sv.Severity = ptr.Float64(f64) case string: var f64 float64 @@ -12724,7 +12724,7 @@ func awsRestjson1_deserializeDocumentFinding(v **types.Finding, value interface{ return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Severity = f64 + sv.Severity = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -13018,7 +13018,7 @@ func awsRestjson1_deserializeDocumentFreeTrialFeatureConfigurationResult(v **typ if err != nil { return err } - sv.FreeTrialDaysRemaining = int32(i64) + sv.FreeTrialDaysRemaining = ptr.Int32(int32(i64)) } case "name": @@ -13103,7 +13103,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in if err != nil { return err } - sv.Lat = f64 + sv.Lat = ptr.Float64(f64) case string: var f64 float64 @@ -13121,7 +13121,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Lat = f64 + sv.Lat = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -13137,7 +13137,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in if err != nil { return err } - sv.Lon = f64 + sv.Lon = ptr.Float64(f64) case string: var f64 float64 @@ -13155,7 +13155,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Lon = f64 + sv.Lon = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -13240,7 +13240,7 @@ func awsRestjson1_deserializeDocumentHighestSeverityThreatDetails(v **types.High if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "severity": @@ -13773,7 +13773,7 @@ func awsRestjson1_deserializeDocumentKubernetesApiCallAction(v **types.Kubernete if err != nil { return err } - sv.StatusCode = int32(i64) + sv.StatusCode = ptr.Int32(int32(i64)) } case "userAgent": @@ -14048,7 +14048,7 @@ func awsRestjson1_deserializeDocumentKubernetesWorkloadDetails(v **types.Kuberne if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.HostNetwork = jtv + sv.HostNetwork = ptr.Bool(jtv) } case "name": @@ -14278,7 +14278,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu if err != nil { return err } - sv.Euid = int32(i64) + sv.Euid = ptr.Int32(int32(i64)) } case "executablePath": @@ -14309,7 +14309,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu if err != nil { return err } - sv.NamespacePid = int32(i64) + sv.NamespacePid = ptr.Int32(int32(i64)) } case "parentUuid": @@ -14331,7 +14331,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu if err != nil { return err } - sv.Pid = int32(i64) + sv.Pid = ptr.Int32(int32(i64)) } case "startTime": @@ -14360,7 +14360,7 @@ func awsRestjson1_deserializeDocumentLineageObject(v **types.LineageObject, valu if err != nil { return err } - sv.UserId = int32(i64) + sv.UserId = ptr.Int32(int32(i64)) } case "uuid": @@ -14453,7 +14453,7 @@ func awsRestjson1_deserializeDocumentLocalPortDetails(v **types.LocalPortDetails if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "portName": @@ -14515,7 +14515,7 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va if err != nil { return err } - sv.FailedLoginAttempts = int32(i64) + sv.FailedLoginAttempts = ptr.Int32(int32(i64)) } case "successfulLoginAttempts": @@ -14528,7 +14528,7 @@ func awsRestjson1_deserializeDocumentLoginAttribute(v **types.LoginAttribute, va if err != nil { return err } - sv.SuccessfulLoginAttempts = int32(i64) + sv.SuccessfulLoginAttempts = ptr.Int32(int32(i64)) } case "user": @@ -15289,7 +15289,7 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Blocked = jtv + sv.Blocked = ptr.Bool(jtv) } case "connectionDirection": @@ -15742,7 +15742,7 @@ func awsRestjson1_deserializeDocumentOrganizationEbsVolumesResult(v **types.Orga if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoEnable = jtv + sv.AutoEnable = ptr.Bool(jtv) } default: @@ -15870,7 +15870,7 @@ func awsRestjson1_deserializeDocumentOrganizationKubernetesAuditLogsConfiguratio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoEnable = jtv + sv.AutoEnable = ptr.Bool(jtv) } default: @@ -15982,7 +15982,7 @@ func awsRestjson1_deserializeDocumentOrganizationS3LogsConfigurationResult(v **t if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoEnable = jtv + sv.AutoEnable = ptr.Bool(jtv) } default: @@ -16139,7 +16139,7 @@ func awsRestjson1_deserializeDocumentPortProbeAction(v **types.PortProbeAction, if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Blocked = jtv + sv.Blocked = ptr.Bool(jtv) } case "portProbeDetails": @@ -16351,7 +16351,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va if err != nil { return err } - sv.Euid = int32(i64) + sv.Euid = ptr.Int32(int32(i64)) } case "executablePath": @@ -16396,7 +16396,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va if err != nil { return err } - sv.NamespacePid = int32(i64) + sv.NamespacePid = ptr.Int32(int32(i64)) } case "parentUuid": @@ -16418,7 +16418,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va if err != nil { return err } - sv.Pid = int32(i64) + sv.Pid = ptr.Int32(int32(i64)) } case "pwd": @@ -16465,7 +16465,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va if err != nil { return err } - sv.UserId = int32(i64) + sv.UserId = ptr.Int32(int32(i64)) } case "uuid": @@ -16849,7 +16849,7 @@ func awsRestjson1_deserializeDocumentRemoteAccountDetails(v **types.RemoteAccoun if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Affiliated = jtv + sv.Affiliated = ptr.Bool(jtv) } default: @@ -16953,7 +16953,7 @@ func awsRestjson1_deserializeDocumentRemotePortDetails(v **types.RemotePortDetai if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "portName": @@ -17164,7 +17164,7 @@ func awsRestjson1_deserializeDocumentRuntimeContext(v **types.RuntimeContext, va if err != nil { return err } - sv.IanaProtocolNumber = int32(i64) + sv.IanaProtocolNumber = ptr.Int32(int32(i64)) } case "ldPreloadValue": @@ -17597,7 +17597,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err if err != nil { return err } - sv.FileCount = i64 + sv.FileCount = ptr.Int64(i64) } case "resourceDetails": @@ -17679,7 +17679,7 @@ func awsRestjson1_deserializeDocumentScan(v **types.Scan, value interface{}) err if err != nil { return err } - sv.TotalBytes = i64 + sv.TotalBytes = ptr.Int64(i64) } case "triggerDetails": @@ -18002,7 +18002,7 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount if err != nil { return err } - sv.Files = int32(i64) + sv.Files = ptr.Int32(int32(i64)) } case "totalGb": @@ -18015,7 +18015,7 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount if err != nil { return err } - sv.TotalGb = int32(i64) + sv.TotalGb = ptr.Int32(int32(i64)) } case "volumes": @@ -18028,7 +18028,7 @@ func awsRestjson1_deserializeDocumentScannedItemCount(v **types.ScannedItemCount if err != nil { return err } - sv.Volumes = int32(i64) + sv.Volumes = ptr.Int32(int32(i64)) } default: @@ -18192,7 +18192,7 @@ func awsRestjson1_deserializeDocumentScanThreatName(v **types.ScanThreatName, va if err != nil { return err } - sv.ItemCount = int32(i64) + sv.ItemCount = ptr.Int32(int32(i64)) } case "name": @@ -18284,7 +18284,7 @@ func awsRestjson1_deserializeDocumentSecurityContext(v **types.SecurityContext, if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Privileged = jtv + sv.Privileged = ptr.Bool(jtv) } default: @@ -18417,7 +18417,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Archived = jtv + sv.Archived = ptr.Bool(jtv) } case "count": @@ -18430,7 +18430,7 @@ func awsRestjson1_deserializeDocumentService(v **types.Service, value interface{ if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "detectorId": @@ -18864,7 +18864,7 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect if err != nil { return err } - sv.ItemCount = int32(i64) + sv.ItemCount = ptr.Int32(int32(i64)) } case "shortened": @@ -18873,7 +18873,7 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Shortened = jtv + sv.Shortened = ptr.Bool(jtv) } case "threatNames": @@ -18891,7 +18891,7 @@ func awsRestjson1_deserializeDocumentThreatDetectedByName(v **types.ThreatDetect if err != nil { return err } - sv.UniqueThreatNameCount = int32(i64) + sv.UniqueThreatNameCount = ptr.Int32(int32(i64)) } default: @@ -19086,7 +19086,7 @@ func awsRestjson1_deserializeDocumentThreatsDetectedItemCount(v **types.ThreatsD if err != nil { return err } - sv.Files = int32(i64) + sv.Files = ptr.Int32(int32(i64)) } default: @@ -19809,7 +19809,7 @@ func awsRestjson1_deserializeDocumentVolumeDetail(v **types.VolumeDetail, value if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } case "volumeType": diff --git a/service/guardduty/serializers.go b/service/guardduty/serializers.go index 8e2b3a7b5e7..33c256cabcb 100644 --- a/service/guardduty/serializers.go +++ b/service/guardduty/serializers.go @@ -369,9 +369,9 @@ func awsRestjson1_serializeOpDocumentCreateDetectorInput(v *CreateDetectorInput, } } - { + if v.Enable != nil { ok := object.Key("enable") - ok.Boolean(v.Enable) + ok.Boolean(*v.Enable) } if v.Features != nil { @@ -503,9 +503,9 @@ func awsRestjson1_serializeOpDocumentCreateFilterInput(v *CreateFilterInput, val ok.String(*v.Name) } - if v.Rank != 0 { + if v.Rank != nil { ok := object.Key("rank") - ok.Integer(v.Rank) + ok.Integer(*v.Rank) } if v.Tags != nil { @@ -598,9 +598,9 @@ func awsRestjson1_serializeOpDocumentCreateIPSetInput(v *CreateIPSetInput, value object := value.Object() defer object.Close() - { + if v.Activate != nil { ok := object.Key("activate") - ok.Boolean(v.Activate) + ok.Boolean(*v.Activate) } if v.ClientToken != nil { @@ -993,9 +993,9 @@ func awsRestjson1_serializeOpDocumentCreateThreatIntelSetInput(v *CreateThreatIn object := value.Object() defer object.Close() - { + if v.Activate != nil { ok := object.Key("activate") - ok.Boolean(v.Activate) + ok.Boolean(*v.Activate) } if v.ClientToken != nil { @@ -1720,9 +1720,9 @@ func awsRestjson1_serializeOpDocumentDescribeMalwareScansInput(v *DescribeMalwar } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("maxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -1802,8 +1802,8 @@ func awsRestjson1_serializeOpHttpBindingsDescribeOrganizationConfigurationInput( } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3432,9 +3432,9 @@ func awsRestjson1_serializeOpDocumentGetUsageStatisticsInput(v *GetUsageStatisti object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("maxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3549,9 +3549,9 @@ func awsRestjson1_serializeOpDocumentInviteMembersInput(v *InviteMembersInput, v } } - if v.DisableEmailNotification { + if v.DisableEmailNotification != nil { ok := object.Key("disableEmailNotification") - ok.Boolean(v.DisableEmailNotification) + ok.Boolean(*v.DisableEmailNotification) } if v.Message != nil { @@ -3649,9 +3649,9 @@ func awsRestjson1_serializeOpDocumentListCoverageInput(v *ListCoverageInput, val } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("maxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3722,8 +3722,8 @@ func awsRestjson1_serializeOpHttpBindingsListDetectorsInput(v *ListDetectorsInpu return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3795,8 +3795,8 @@ func awsRestjson1_serializeOpHttpBindingsListFiltersInput(v *ListFiltersInput, e } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3893,9 +3893,9 @@ func awsRestjson1_serializeOpDocumentListFindingsInput(v *ListFindingsInput, val } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("maxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3966,8 +3966,8 @@ func awsRestjson1_serializeOpHttpBindingsListInvitationsInput(v *ListInvitations return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4039,8 +4039,8 @@ func awsRestjson1_serializeOpHttpBindingsListIPSetsInput(v *ListIPSetsInput, enc } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4112,8 +4112,8 @@ func awsRestjson1_serializeOpHttpBindingsListMembersInput(v *ListMembersInput, e } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4180,8 +4180,8 @@ func awsRestjson1_serializeOpHttpBindingsListOrganizationAdminAccountsInput(v *L return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4253,8 +4253,8 @@ func awsRestjson1_serializeOpHttpBindingsListPublishingDestinationsInput(v *List } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4391,8 +4391,8 @@ func awsRestjson1_serializeOpHttpBindingsListThreatIntelSetsInput(v *ListThreatI } } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4995,9 +4995,9 @@ func awsRestjson1_serializeOpDocumentUpdateDetectorInput(v *UpdateDetectorInput, } } - if v.Enable { + if v.Enable != nil { ok := object.Key("enable") - ok.Boolean(v.Enable) + ok.Boolean(*v.Enable) } if v.Features != nil { @@ -5121,9 +5121,9 @@ func awsRestjson1_serializeOpDocumentUpdateFilterInput(v *UpdateFilterInput, val } } - if v.Rank != 0 { + if v.Rank != nil { ok := object.Key("rank") - ok.Integer(v.Rank) + ok.Integer(*v.Rank) } return nil @@ -5318,9 +5318,9 @@ func awsRestjson1_serializeOpDocumentUpdateIPSetInput(v *UpdateIPSetInput, value object := value.Object() defer object.Close() - if v.Activate { + if v.Activate != nil { ok := object.Key("activate") - ok.Boolean(v.Activate) + ok.Boolean(*v.Activate) } if v.Location != nil { @@ -5615,9 +5615,9 @@ func awsRestjson1_serializeOpDocumentUpdateOrganizationConfigurationInput(v *Upd object := value.Object() defer object.Close() - if v.AutoEnable { + if v.AutoEnable != nil { ok := object.Key("autoEnable") - ok.Boolean(v.AutoEnable) + ok.Boolean(*v.AutoEnable) } if len(v.AutoEnableOrganizationMembers) > 0 { @@ -5830,9 +5830,9 @@ func awsRestjson1_serializeOpDocumentUpdateThreatIntelSetInput(v *UpdateThreatIn object := value.Object() defer object.Close() - if v.Activate { + if v.Activate != nil { ok := object.Key("activate") - ok.Boolean(v.Activate) + ok.Boolean(*v.Activate) } if v.Location != nil { @@ -5907,44 +5907,44 @@ func awsRestjson1_serializeDocumentCondition(v *types.Condition, value smithyjso } } - if v.GreaterThan != 0 { + if v.GreaterThan != nil { ok := object.Key("greaterThan") - ok.Long(v.GreaterThan) + ok.Long(*v.GreaterThan) } - if v.GreaterThanOrEqual != 0 { + if v.GreaterThanOrEqual != nil { ok := object.Key("greaterThanOrEqual") - ok.Long(v.GreaterThanOrEqual) + ok.Long(*v.GreaterThanOrEqual) } - if v.Gt != 0 { + if v.Gt != nil { ok := object.Key("gt") - ok.Integer(v.Gt) + ok.Integer(*v.Gt) } - if v.Gte != 0 { + if v.Gte != nil { ok := object.Key("gte") - ok.Integer(v.Gte) + ok.Integer(*v.Gte) } - if v.LessThan != 0 { + if v.LessThan != nil { ok := object.Key("lessThan") - ok.Long(v.LessThan) + ok.Long(*v.LessThan) } - if v.LessThanOrEqual != 0 { + if v.LessThanOrEqual != nil { ok := object.Key("lessThanOrEqual") - ok.Long(v.LessThanOrEqual) + ok.Long(*v.LessThanOrEqual) } - if v.Lt != 0 { + if v.Lt != nil { ok := object.Key("lt") - ok.Integer(v.Lt) + ok.Integer(*v.Lt) } - if v.Lte != 0 { + if v.Lte != nil { ok := object.Key("lte") - ok.Integer(v.Lte) + ok.Integer(*v.Lte) } if v.Neq != nil { @@ -6227,14 +6227,14 @@ func awsRestjson1_serializeDocumentFilterCondition(v *types.FilterCondition, val ok.String(*v.EqualsValue) } - if v.GreaterThan != 0 { + if v.GreaterThan != nil { ok := object.Key("greaterThan") - ok.Long(v.GreaterThan) + ok.Long(*v.GreaterThan) } - if v.LessThan != 0 { + if v.LessThan != nil { ok := object.Key("lessThan") - ok.Long(v.LessThan) + ok.Long(*v.LessThan) } return nil @@ -6337,9 +6337,9 @@ func awsRestjson1_serializeDocumentKubernetesAuditLogsConfiguration(v *types.Kub object := value.Object() defer object.Close() - { + if v.Enable != nil { ok := object.Key("enable") - ok.Boolean(v.Enable) + ok.Boolean(*v.Enable) } return nil @@ -6537,9 +6537,9 @@ func awsRestjson1_serializeDocumentOrganizationEbsVolumes(v *types.OrganizationE object := value.Object() defer object.Close() - if v.AutoEnable { + if v.AutoEnable != nil { ok := object.Key("autoEnable") - ok.Boolean(v.AutoEnable) + ok.Boolean(*v.AutoEnable) } return nil @@ -6586,9 +6586,9 @@ func awsRestjson1_serializeDocumentOrganizationKubernetesAuditLogsConfiguration( object := value.Object() defer object.Close() - { + if v.AutoEnable != nil { ok := object.Key("autoEnable") - ok.Boolean(v.AutoEnable) + ok.Boolean(*v.AutoEnable) } return nil @@ -6626,9 +6626,9 @@ func awsRestjson1_serializeDocumentOrganizationS3LogsConfiguration(v *types.Orga object := value.Object() defer object.Close() - { + if v.AutoEnable != nil { ok := object.Key("autoEnable") - ok.Boolean(v.AutoEnable) + ok.Boolean(*v.AutoEnable) } return nil @@ -6663,9 +6663,9 @@ func awsRestjson1_serializeDocumentS3LogsConfiguration(v *types.S3LogsConfigurat object := value.Object() defer object.Close() - { + if v.Enable != nil { ok := object.Key("enable") - ok.Boolean(v.Enable) + ok.Boolean(*v.Enable) } return nil @@ -6720,9 +6720,9 @@ func awsRestjson1_serializeDocumentScanEc2InstanceWithFindings(v *types.ScanEc2I object := value.Object() defer object.Close() - if v.EbsVolumes { + if v.EbsVolumes != nil { ok := object.Key("ebsVolumes") - ok.Boolean(v.EbsVolumes) + ok.Boolean(*v.EbsVolumes) } return nil diff --git a/service/guardduty/types/types.go b/service/guardduty/types/types.go index ec68ea612af..a08e683b2c1 100644 --- a/service/guardduty/types/types.go +++ b/service/guardduty/types/types.go @@ -12,11 +12,11 @@ type AccessControlList struct { // A value that indicates whether public read access for the bucket is enabled // through an Access Control List (ACL). - AllowsPublicReadAccess bool + AllowsPublicReadAccess *bool // A value that indicates whether public write access for the bucket is enabled // through an Access Control List (ACL). - AllowsPublicWriteAccess bool + AllowsPublicWriteAccess *bool noSmithyDocumentSerde } @@ -194,16 +194,16 @@ type AwsApiCallAction struct { type BlockPublicAccess struct { // Indicates if S3 Block Public Access is set to BlockPublicAcls . - BlockPublicAcls bool + BlockPublicAcls *bool // Indicates if S3 Block Public Access is set to BlockPublicPolicy . - BlockPublicPolicy bool + BlockPublicPolicy *bool // Indicates if S3 Block Public Access is set to IgnorePublicAcls . - IgnorePublicAcls bool + IgnorePublicAcls *bool // Indicates if S3 Block Public Access is set to RestrictPublicBuckets . - RestrictPublicBuckets bool + RestrictPublicBuckets *bool noSmithyDocumentSerde } @@ -229,11 +229,11 @@ type BucketPolicy struct { // A value that indicates whether public read access for the bucket is enabled // through a bucket policy. - AllowsPublicReadAccess bool + AllowsPublicReadAccess *bool // A value that indicates whether public write access for the bucket is enabled // through a bucket policy. - AllowsPublicWriteAccess bool + AllowsPublicWriteAccess *bool noSmithyDocumentSerde } @@ -274,43 +274,43 @@ type Condition struct { // Represents a greater than condition to be applied to a single field when // querying for findings. - GreaterThan int64 + GreaterThan *int64 // Represents a greater than or equal condition to be applied to a single field // when querying for findings. - GreaterThanOrEqual int64 + GreaterThanOrEqual *int64 // Represents a greater than condition to be applied to a single field when // querying for findings. // // Deprecated: This member has been deprecated. - Gt int32 + Gt *int32 // Represents a greater than or equal condition to be applied to a single field // when querying for findings. // // Deprecated: This member has been deprecated. - Gte int32 + Gte *int32 // Represents a less than condition to be applied to a single field when querying // for findings. - LessThan int64 + LessThan *int64 // Represents a less than or equal condition to be applied to a single field when // querying for findings. - LessThanOrEqual int64 + LessThanOrEqual *int64 // Represents a less than condition to be applied to a single field when querying // for findings. // // Deprecated: This member has been deprecated. - Lt int32 + Lt *int32 // Represents a less than or equal condition to be applied to a single field when // querying for findings. // // Deprecated: This member has been deprecated. - Lte int32 + Lte *int32 // Represents the not equal condition to be applied to a single field when // querying for findings. @@ -377,10 +377,10 @@ type CoverageEksClusterDetails struct { ClusterName *string // Represents all the nodes within the EKS cluster in your account. - CompatibleNodes int64 + CompatibleNodes *int64 // Represents the nodes within the EKS cluster that have a HEALTHY coverage status. - CoveredNodes int64 + CoveredNodes *int64 // Indicates how the Amazon EKS add-on GuardDuty agent is managed for this EKS // cluster. AUTO_MANAGED indicates GuardDuty deploys and manages updates for this @@ -551,7 +551,7 @@ type DataSourceConfigurationsResult struct { type DataSourceFreeTrial struct { // A value that specifies the number of days left to use each enabled data source. - FreeTrialDaysRemaining int32 + FreeTrialDaysRemaining *int32 noSmithyDocumentSerde } @@ -711,7 +711,7 @@ type DNSLogsConfigurationResult struct { type DnsRequestAction struct { // Indicates whether the targeted port is blocked. - Blocked bool + Blocked *bool // The domain information for the DNS query. Domain *string @@ -792,7 +792,7 @@ type EbsVolumesResult struct { type EcsClusterDetails struct { // The number of services that are running on the cluster in an ACTIVE state. - ActiveServicesCount int32 + ActiveServicesCount *int32 // The Amazon Resource Name (ARN) that identifies the cluster. Arn *string @@ -801,10 +801,10 @@ type EcsClusterDetails struct { Name *string // The number of container instances registered into the cluster. - RegisteredContainerInstancesCount int32 + RegisteredContainerInstancesCount *int32 // The number of tasks in the cluster that are in the RUNNING state. - RunningTasksCount int32 + RunningTasksCount *int32 // The status of the ECS cluster. Status *string @@ -896,11 +896,11 @@ type FilterCondition struct { // Represents a greater than condition to be applied to a single field when // querying for scan entries. - GreaterThan int64 + GreaterThan *int64 // Represents a less than condition to be applied to a single field when querying // for scan entries. - LessThan int64 + LessThan *int64 noSmithyDocumentSerde } @@ -975,7 +975,7 @@ type Finding struct { // The severity of the finding. // // This member is required. - Severity float64 + Severity *float64 // The type of finding. // @@ -988,7 +988,7 @@ type Finding struct { UpdatedAt *string // The confidence score for the finding. - Confidence float64 + Confidence *float64 // The description of the finding. Description *string @@ -1039,7 +1039,7 @@ type FlowLogsConfigurationResult struct { type FreeTrialFeatureConfigurationResult struct { // The number of the remaining free trial days for the feature. - FreeTrialDaysRemaining int32 + FreeTrialDaysRemaining *int32 // The name of the feature for which the free trial is configured. Name FreeTrialFeatureResult @@ -1051,10 +1051,10 @@ type FreeTrialFeatureConfigurationResult struct { type GeoLocation struct { // The latitude information of the remote IP address. - Lat float64 + Lat *float64 // The longitude information of the remote IP address. - Lon float64 + Lon *float64 noSmithyDocumentSerde } @@ -1064,7 +1064,7 @@ type GeoLocation struct { type HighestSeverityThreatDetails struct { // Total number of infected files with the highest severity threat detected. - Count int32 + Count *int32 // Severity level of the highest severity threat detected. Severity *string @@ -1179,7 +1179,7 @@ type KubernetesApiCallAction struct { SourceIps []string // The resulting HTTP response code of the Kubernetes API call action. - StatusCode int32 + StatusCode *int32 // The user agent of the caller of the Kubernetes API. UserAgent *string @@ -1196,7 +1196,7 @@ type KubernetesAuditLogsConfiguration struct { // The status of Kubernetes audit logs as a data source. // // This member is required. - Enable bool + Enable *bool noSmithyDocumentSerde } @@ -1284,7 +1284,7 @@ type KubernetesWorkloadDetails struct { Containers []Container // Whether the hostNetwork flag is enabled for the pods included in the workload. - HostNetwork bool + HostNetwork *bool // Kubernetes workload name. Name *string @@ -1344,7 +1344,7 @@ type LambdaDetails struct { type LineageObject struct { // The effective user ID that was used to execute the process. - Euid int32 + Euid *int32 // The absolute path of the process executable file. ExecutablePath *string @@ -1353,20 +1353,20 @@ type LineageObject struct { Name *string // The process ID of the child process. - NamespacePid int32 + NamespacePid *int32 // The unique ID of the parent process. This ID is assigned to the parent process // by GuardDuty. ParentUuid *string // The ID of the process. - Pid int32 + Pid *int32 // The time when the process started. This is in UTC format. StartTime *time.Time // The user ID of the user that executed the process. - UserId int32 + UserId *int32 // The unique ID assigned to the process by GuardDuty. Uuid *string @@ -1387,7 +1387,7 @@ type LocalIpDetails struct { type LocalPortDetails struct { // The port number of the local connection. - Port int32 + Port *int32 // The port name of the local connection. PortName *string @@ -1403,11 +1403,11 @@ type LoginAttribute struct { // Represents the sum of failed (unsuccessful) login attempts made to establish a // connection to the database instance. - FailedLoginAttempts int32 + FailedLoginAttempts *int32 // Represents the sum of successful connections (a correct combination of login // attributes) made to the database instance by the actor. - SuccessfulLoginAttempts int32 + SuccessfulLoginAttempts *int32 // Indicates the user name which attempted to log in. User *string @@ -1595,7 +1595,7 @@ type MemberFeaturesConfigurationResult struct { type NetworkConnectionAction struct { // Indicates whether EC2 blocked the network connection to your instance. - Blocked bool + Blocked *bool // The network connection direction. ConnectionDirection *string @@ -1768,7 +1768,7 @@ type OrganizationEbsVolumes struct { // Whether scanning EBS volumes should be auto-enabled for new members joining the // organization. - AutoEnable bool + AutoEnable *bool noSmithyDocumentSerde } @@ -1779,7 +1779,7 @@ type OrganizationEbsVolumesResult struct { // An object that contains the status of whether scanning EBS volumes should be // auto-enabled for new members joining the organization. - AutoEnable bool + AutoEnable *bool noSmithyDocumentSerde } @@ -1845,7 +1845,7 @@ type OrganizationKubernetesAuditLogsConfiguration struct { // enabled automatically as a data source for the organization. // // This member is required. - AutoEnable bool + AutoEnable *bool noSmithyDocumentSerde } @@ -1858,7 +1858,7 @@ type OrganizationKubernetesAuditLogsConfigurationResult struct { // members joining the organization. // // This member is required. - AutoEnable bool + AutoEnable *bool noSmithyDocumentSerde } @@ -1916,7 +1916,7 @@ type OrganizationS3LogsConfiguration struct { // automatically as a data source for the organization. // // This member is required. - AutoEnable bool + AutoEnable *bool noSmithyDocumentSerde } @@ -1929,7 +1929,7 @@ type OrganizationS3LogsConfigurationResult struct { // new members of the organization. // // This member is required. - AutoEnable bool + AutoEnable *bool noSmithyDocumentSerde } @@ -1981,7 +1981,7 @@ type PortProbeAction struct { // Indicates whether EC2 blocked the port probe to the instance, such as with an // ACL. - Blocked bool + Blocked *bool // A list of objects related to port probe details. PortProbeDetails []PortProbeDetail @@ -2020,7 +2020,7 @@ type PrivateIpAddressDetails struct { type ProcessDetails struct { // The effective user ID of the user that executed the process. - Euid int32 + Euid *int32 // The absolute path of the process executable file. ExecutablePath *string @@ -2035,14 +2035,14 @@ type ProcessDetails struct { Name *string // The ID of the child process. - NamespacePid int32 + NamespacePid *int32 // The unique ID of the parent process. This ID is assigned to the parent process // by GuardDuty. ParentUuid *string // The ID of the process. - Pid int32 + Pid *int32 // The present working directory of the process. Pwd *string @@ -2054,7 +2054,7 @@ type ProcessDetails struct { User *string // The unique ID of the user that executed the process. - UserId int32 + UserId *int32 // The unique ID assigned to the process by GuardDuty. Uuid *string @@ -2161,7 +2161,7 @@ type RemoteAccountDetails struct { // related to your GuardDuty environment. If this value is True the API caller is // affiliated to your account in some way. If it is False the API caller is from // outside your environment. - Affiliated bool + Affiliated *bool noSmithyDocumentSerde } @@ -2191,7 +2191,7 @@ type RemoteIpDetails struct { type RemotePortDetails struct { // The port number of the remote connection. - Port int32 + Port *int32 // The port name of the remote connection. PortName *string @@ -2272,7 +2272,7 @@ type RuntimeContext struct { // Specifies a particular protocol within the address family. Usually there is a // single protocol in address families. For example, the address family AF_INET // only has the IP protocol. - IanaProtocolNumber int32 + IanaProtocolNumber *int32 // The value of the LD_PRELOAD environment variable. LdPreloadValue *string @@ -2377,7 +2377,7 @@ type S3LogsConfiguration struct { // The status of S3 data event logs as a data source. // // This member is required. - Enable bool + Enable *bool noSmithyDocumentSerde } @@ -2415,7 +2415,7 @@ type Scan struct { FailureReason *string // Represents the number of files that were scanned. - FileCount int64 + FileCount *int64 // Represents the resources that were scanned in the scan entry. ResourceDetails *ResourceDetails @@ -2439,7 +2439,7 @@ type Scan struct { ScanType ScanType // Represents total bytes that were scanned. - TotalBytes int64 + TotalBytes *int64 // Specifies the reason why the scan was initiated. TriggerDetails *TriggerDetails @@ -2498,7 +2498,7 @@ type ScanDetections struct { type ScanEc2InstanceWithFindings struct { // Describes the configuration for scanning EBS volumes as data source. - EbsVolumes bool + EbsVolumes *bool noSmithyDocumentSerde } @@ -2535,13 +2535,13 @@ type ScanFilePath struct { type ScannedItemCount struct { // Number of files scanned. - Files int32 + Files *int32 // Total GB of files scanned for malware. - TotalGb int32 + TotalGb *int32 // Total number of scanned volumes. - Volumes int32 + Volumes *int32 noSmithyDocumentSerde } @@ -2578,7 +2578,7 @@ type ScanThreatName struct { FilePaths []ScanFilePath // Total number of files infected with given threat. - ItemCount int32 + ItemCount *int32 // The name of the identified threat. Name *string @@ -2593,7 +2593,7 @@ type ScanThreatName struct { type SecurityContext struct { // Whether the container is privileged. - Privileged bool + Privileged *bool noSmithyDocumentSerde } @@ -2620,10 +2620,10 @@ type Service struct { AdditionalInfo *ServiceAdditionalInfo // Indicates whether this finding is archived. - Archived bool + Archived *bool // The total count of the occurrences of this finding type. - Count int32 + Count *int32 // The detector ID for the GuardDuty service. DetectorId *string @@ -2702,17 +2702,17 @@ type Tag struct { type ThreatDetectedByName struct { // Total number of infected files identified. - ItemCount int32 + ItemCount *int32 // Flag to determine if the finding contains every single infected file-path // and/or every threat. - Shortened bool + Shortened *bool // List of identified threats with details, organized by threat name. ThreatNames []ScanThreatName // Total number of unique threats by name identified, as part of the malware scan. - UniqueThreatNameCount int32 + UniqueThreatNameCount *int32 noSmithyDocumentSerde } @@ -2735,7 +2735,7 @@ type ThreatIntelligenceDetail struct { type ThreatsDetectedItemCount struct { // Total number of infected files. - Files int32 + Files *int32 noSmithyDocumentSerde } @@ -2915,7 +2915,7 @@ type VolumeDetail struct { VolumeArn *string // EBS volume size in GB. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 // The EBS volume type. VolumeType *string diff --git a/service/guardduty/validators.go b/service/guardduty/validators.go index d3f846a20ad..39b86e2c1b7 100644 --- a/service/guardduty/validators.go +++ b/service/guardduty/validators.go @@ -1608,6 +1608,9 @@ func validateKubernetesAuditLogsConfiguration(v *types.KubernetesAuditLogsConfig return nil } invalidParams := smithy.InvalidParamsError{Context: "KubernetesAuditLogsConfiguration"} + if v.Enable == nil { + invalidParams.Add(smithy.NewErrParamRequired("Enable")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1678,6 +1681,9 @@ func validateOrganizationKubernetesAuditLogsConfiguration(v *types.OrganizationK return nil } invalidParams := smithy.InvalidParamsError{Context: "OrganizationKubernetesAuditLogsConfiguration"} + if v.AutoEnable == nil { + invalidParams.Add(smithy.NewErrParamRequired("AutoEnable")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1709,6 +1715,9 @@ func validateOrganizationS3LogsConfiguration(v *types.OrganizationS3LogsConfigur return nil } invalidParams := smithy.InvalidParamsError{Context: "OrganizationS3LogsConfiguration"} + if v.AutoEnable == nil { + invalidParams.Add(smithy.NewErrParamRequired("AutoEnable")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1721,6 +1730,9 @@ func validateS3LogsConfiguration(v *types.S3LogsConfiguration) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "S3LogsConfiguration"} + if v.Enable == nil { + invalidParams.Add(smithy.NewErrParamRequired("Enable")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1867,6 +1879,9 @@ func validateOpCreateDetectorInput(v *CreateDetectorInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "CreateDetectorInput"} + if v.Enable == nil { + invalidParams.Add(smithy.NewErrParamRequired("Enable")) + } if v.DataSources != nil { if err := validateDataSourceConfigurations(v.DataSources); err != nil { invalidParams.AddNested("DataSources", err.(smithy.InvalidParamsError)) @@ -1917,6 +1932,9 @@ func validateOpCreateIPSetInput(v *CreateIPSetInput) error { if v.Location == nil { invalidParams.Add(smithy.NewErrParamRequired("Location")) } + if v.Activate == nil { + invalidParams.Add(smithy.NewErrParamRequired("Activate")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1999,6 +2017,9 @@ func validateOpCreateThreatIntelSetInput(v *CreateThreatIntelSetInput) error { if v.Location == nil { invalidParams.Add(smithy.NewErrParamRequired("Location")) } + if v.Activate == nil { + invalidParams.Add(smithy.NewErrParamRequired("Activate")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/honeycode/deserializers.go b/service/honeycode/deserializers.go index 9c104f9fbaa..9359af52cf8 100644 --- a/service/honeycode/deserializers.go +++ b/service/honeycode/deserializers.go @@ -4298,7 +4298,7 @@ func awsRestjson1_deserializeDocumentSourceDataColumnProperties(v **types.Source if err != nil { return err } - sv.ColumnIndex = int32(i64) + sv.ColumnIndex = ptr.Int32(int32(i64)) } default: diff --git a/service/honeycode/endpoints.go b/service/honeycode/endpoints.go index 3d896cf02c0..061ac2b2f6d 100644 --- a/service/honeycode/endpoints.go +++ b/service/honeycode/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://honeycode-fips.") diff --git a/service/honeycode/serializers.go b/service/honeycode/serializers.go index 3f475562f5f..84f012764ea 100644 --- a/service/honeycode/serializers.go +++ b/service/honeycode/serializers.go @@ -1663,9 +1663,9 @@ func awsRestjson1_serializeDocumentSourceDataColumnProperties(v *types.SourceDat object := value.Object() defer object.Close() - if v.ColumnIndex != 0 { + if v.ColumnIndex != nil { ok := object.Key("columnIndex") - ok.Integer(v.ColumnIndex) + ok.Integer(*v.ColumnIndex) } return nil diff --git a/service/honeycode/types/types.go b/service/honeycode/types/types.go index 792735bd1df..9fa3ab574a5 100644 --- a/service/honeycode/types/types.go +++ b/service/honeycode/types/types.go @@ -324,7 +324,7 @@ type ResultSet struct { type SourceDataColumnProperties struct { // The index of the column in the input file. - ColumnIndex int32 + ColumnIndex *int32 noSmithyDocumentSerde } diff --git a/service/imagebuilder/endpoints.go b/service/imagebuilder/endpoints.go index 2d655aa09ca..cbae1884240 100644 --- a/service/imagebuilder/endpoints.go +++ b/service/imagebuilder/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://imagebuilder.") diff --git a/service/inspector/api_op_CreateAssessmentTemplate.go b/service/inspector/api_op_CreateAssessmentTemplate.go index 4ce3eaa5b39..e22cb253e21 100644 --- a/service/inspector/api_op_CreateAssessmentTemplate.go +++ b/service/inspector/api_op_CreateAssessmentTemplate.go @@ -55,7 +55,7 @@ type CreateAssessmentTemplateInput struct { // The duration of the assessment run in seconds. // // This member is required. - DurationInSeconds int32 + DurationInSeconds *int32 // The ARNs that specify the rules packages that you want to attach to the // assessment template. diff --git a/service/inspector/deserializers.go b/service/inspector/deserializers.go index fe152233a0d..57b1fa1f282 100644 --- a/service/inspector/deserializers.go +++ b/service/inspector/deserializers.go @@ -5152,7 +5152,7 @@ func awsAwsjson11_deserializeDocumentAssessmentRun(v **types.AssessmentRun, valu if err != nil { return err } - sv.DurationInSeconds = int32(i64) + sv.DurationInSeconds = ptr.Int32(int32(i64)) } case "findingCounts": @@ -5955,7 +5955,7 @@ func awsAwsjson11_deserializeDocumentAssessmentTemplate(v **types.AssessmentTemp if err != nil { return err } - sv.DurationInSeconds = int32(i64) + sv.DurationInSeconds = ptr.Int32(int32(i64)) } case "lastAssessmentRunArn": diff --git a/service/inspector/endpoints.go b/service/inspector/endpoints.go index 204f0b799f8..0f346f5bf0a 100644 --- a/service/inspector/endpoints.go +++ b/service/inspector/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://inspector-fips.") diff --git a/service/inspector/serializers.go b/service/inspector/serializers.go index bac3dc7ffc6..18f4791555f 100644 --- a/service/inspector/serializers.go +++ b/service/inspector/serializers.go @@ -2292,14 +2292,14 @@ func awsAwsjson11_serializeDocumentDurationRange(v *types.DurationRange, value s object := value.Object() defer object.Close() - if v.MaxSeconds != 0 { + if v.MaxSeconds != nil { ok := object.Key("maxSeconds") - ok.Integer(v.MaxSeconds) + ok.Integer(*v.MaxSeconds) } - if v.MinSeconds != 0 { + if v.MinSeconds != nil { ok := object.Key("minSeconds") - ok.Integer(v.MinSeconds) + ok.Integer(*v.MinSeconds) } return nil @@ -2565,9 +2565,9 @@ func awsAwsjson11_serializeOpDocumentCreateAssessmentTemplateInput(v *CreateAsse ok.String(*v.AssessmentTemplateName) } - { + if v.DurationInSeconds != nil { ok := object.Key("durationInSeconds") - ok.Integer(v.DurationInSeconds) + ok.Integer(*v.DurationInSeconds) } if v.RulesPackageArns != nil { diff --git a/service/inspector/types/types.go b/service/inspector/types/types.go index 6e0f6846ee2..ff9c421b74a 100644 --- a/service/inspector/types/types.go +++ b/service/inspector/types/types.go @@ -110,7 +110,7 @@ type AssessmentRun struct { // The duration of the assessment run. // // This member is required. - DurationInSeconds int32 + DurationInSeconds *int32 // Provides a total count of generated findings per severity. // @@ -358,7 +358,7 @@ type AssessmentTemplate struct { // value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day). // // This member is required. - DurationInSeconds int32 + DurationInSeconds *int32 // The name of the assessment template. // @@ -460,10 +460,10 @@ type DurationRange struct { // The maximum value of the duration range. Must be less than or equal to 604800 // seconds (1 week). - MaxSeconds int32 + MaxSeconds *int32 // The minimum value of the duration range. Must be greater than zero. - MinSeconds int32 + MinSeconds *int32 noSmithyDocumentSerde } diff --git a/service/inspector/validators.go b/service/inspector/validators.go index 13c86270fd1..a3d96e4d019 100644 --- a/service/inspector/validators.go +++ b/service/inspector/validators.go @@ -955,6 +955,9 @@ func validateOpCreateAssessmentTemplateInput(v *CreateAssessmentTemplateInput) e if v.AssessmentTemplateName == nil { invalidParams.Add(smithy.NewErrParamRequired("AssessmentTemplateName")) } + if v.DurationInSeconds == nil { + invalidParams.Add(smithy.NewErrParamRequired("DurationInSeconds")) + } if v.RulesPackageArns == nil { invalidParams.Add(smithy.NewErrParamRequired("RulesPackageArns")) } diff --git a/service/iot/deserializers.go b/service/iot/deserializers.go index 1293f83fbf6..c0baa9ec6f7 100644 --- a/service/iot/deserializers.go +++ b/service/iot/deserializers.go @@ -45673,7 +45673,7 @@ func awsRestjson1_deserializeDocumentExponentialRolloutRate(v **types.Exponentia if err != nil { return err } - sv.IncrementFactor = f64 + sv.IncrementFactor = ptr.Float64(f64) case string: var f64 float64 @@ -45691,7 +45691,7 @@ func awsRestjson1_deserializeDocumentExponentialRolloutRate(v **types.Exponentia return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.IncrementFactor = f64 + sv.IncrementFactor = ptr.Float64(f64) default: return fmt.Errorf("expected IncrementFactor to be a JSON Number, got %T instead", value) diff --git a/service/iot/endpoints.go b/service/iot/endpoints.go index 7ae05a91126..ce27f89d6f6 100644 --- a/service/iot/endpoints.go +++ b/service/iot/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://iot-fips.") diff --git a/service/iot/serializers.go b/service/iot/serializers.go index 1669b2f378e..bd357d486b2 100644 --- a/service/iot/serializers.go +++ b/service/iot/serializers.go @@ -21429,20 +21429,20 @@ func awsRestjson1_serializeDocumentExponentialRolloutRate(v *types.ExponentialRo ok.Integer(*v.BaseRatePerMinute) } - { + if v.IncrementFactor != nil { ok := object.Key("incrementFactor") switch { - case math.IsNaN(v.IncrementFactor): + case math.IsNaN(*v.IncrementFactor): ok.String("NaN") - case math.IsInf(v.IncrementFactor, 1): + case math.IsInf(*v.IncrementFactor, 1): ok.String("Infinity") - case math.IsInf(v.IncrementFactor, -1): + case math.IsInf(*v.IncrementFactor, -1): ok.String("-Infinity") default: - ok.Double(v.IncrementFactor) + ok.Double(*v.IncrementFactor) } } @@ -23260,9 +23260,9 @@ func awsRestjson1_serializeDocumentTermsAggregation(v *types.TermsAggregation, v object := value.Object() defer object.Close() - if v.MaxBuckets != 0 { + if v.MaxBuckets != nil { ok := object.Key("maxBuckets") - ok.Integer(v.MaxBuckets) + ok.Integer(*v.MaxBuckets) } return nil diff --git a/service/iot/types/types.go b/service/iot/types/types.go index 283cff8f588..e2daa85119a 100644 --- a/service/iot/types/types.go +++ b/service/iot/types/types.go @@ -1580,7 +1580,7 @@ type ExponentialRolloutRate struct { // but not 1.55). // // This member is required. - IncrementFactor float64 + IncrementFactor *float64 // The criteria to initiate the increase in rate of rollout for a job. // @@ -3736,7 +3736,7 @@ type TaskStatisticsForAuditCheck struct { type TermsAggregation struct { // The number of buckets to return in the response. Default to 10. - MaxBuckets int32 + MaxBuckets *int32 noSmithyDocumentSerde } diff --git a/service/iot/validators.go b/service/iot/validators.go index b5cac538ddf..6ee93cbb4eb 100644 --- a/service/iot/validators.go +++ b/service/iot/validators.go @@ -5332,6 +5332,9 @@ func validateExponentialRolloutRate(v *types.ExponentialRolloutRate) error { if v.BaseRatePerMinute == nil { invalidParams.Add(smithy.NewErrParamRequired("BaseRatePerMinute")) } + if v.IncrementFactor == nil { + invalidParams.Add(smithy.NewErrParamRequired("IncrementFactor")) + } if v.RateIncreaseCriteria == nil { invalidParams.Add(smithy.NewErrParamRequired("RateIncreaseCriteria")) } diff --git a/service/iot1clickdevicesservice/endpoints.go b/service/iot1clickdevicesservice/endpoints.go index 6f612052c19..55dd30034de 100644 --- a/service/iot1clickdevicesservice/endpoints.go +++ b/service/iot1clickdevicesservice/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://devices.iot1click-fips.") diff --git a/service/iotanalytics/deserializers.go b/service/iotanalytics/deserializers.go index 28aa784db5c..54134cd5298 100644 --- a/service/iotanalytics/deserializers.go +++ b/service/iotanalytics/deserializers.go @@ -9535,7 +9535,7 @@ func awsRestjson1_deserializeDocumentResourceConfiguration(v **types.ResourceCon if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: diff --git a/service/iotanalytics/endpoints.go b/service/iotanalytics/endpoints.go index 432dd8a8ae3..c9dd38a46ed 100644 --- a/service/iotanalytics/endpoints.go +++ b/service/iotanalytics/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://iotanalytics-fips.") diff --git a/service/iotanalytics/serializers.go b/service/iotanalytics/serializers.go index c349abf0817..b3df7f1b04c 100644 --- a/service/iotanalytics/serializers.go +++ b/service/iotanalytics/serializers.go @@ -3702,9 +3702,9 @@ func awsRestjson1_serializeDocumentResourceConfiguration(v *types.ResourceConfig ok.String(string(v.ComputeType)) } - { + if v.VolumeSizeInGB != nil { ok := object.Key("volumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil diff --git a/service/iotanalytics/types/types.go b/service/iotanalytics/types/types.go index 15ba949a023..99f534e10bf 100644 --- a/service/iotanalytics/types/types.go +++ b/service/iotanalytics/types/types.go @@ -1250,7 +1250,7 @@ type ResourceConfiguration struct { // used to execute the containerAction (min: 1, max: 50). // // This member is required. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 noSmithyDocumentSerde } diff --git a/service/iotanalytics/validators.go b/service/iotanalytics/validators.go index e6b292995ec..8853764e1c0 100644 --- a/service/iotanalytics/validators.go +++ b/service/iotanalytics/validators.go @@ -1624,6 +1624,9 @@ func validateResourceConfiguration(v *types.ResourceConfiguration) error { if len(v.ComputeType) == 0 { invalidParams.Add(smithy.NewErrParamRequired("ComputeType")) } + if v.VolumeSizeInGB == nil { + invalidParams.Add(smithy.NewErrParamRequired("VolumeSizeInGB")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/iotdataplane/api_op_ListRetainedMessages.go b/service/iotdataplane/api_op_ListRetainedMessages.go index c4b7f56e7fc..75e691c443c 100644 --- a/service/iotdataplane/api_op_ListRetainedMessages.go +++ b/service/iotdataplane/api_op_ListRetainedMessages.go @@ -43,7 +43,7 @@ func (c *Client) ListRetainedMessages(ctx context.Context, params *ListRetainedM type ListRetainedMessagesInput struct { // The maximum number of results to return at one time. - MaxResults int32 + MaxResults *int32 // To retrieve the next set of results, the nextToken value from a previous // response; otherwise null to receive the first set of results. @@ -175,8 +175,8 @@ func NewListRetainedMessagesPaginator(client ListRetainedMessagesAPIClient, para } options := ListRetainedMessagesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *ListRetainedMessagesPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListRetainedMessages(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/iotdataplane/endpoints.go b/service/iotdataplane/endpoints.go index 816ba75c4dd..30d086dc368 100644 --- a/service/iotdataplane/endpoints.go +++ b/service/iotdataplane/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { if _Region == "ca-central-1" { uriString := "https://data.iot-fips.ca-central-1.amazonaws.com" diff --git a/service/iotdataplane/serializers.go b/service/iotdataplane/serializers.go index f8539a4e8e5..08832f4c1bb 100644 --- a/service/iotdataplane/serializers.go +++ b/service/iotdataplane/serializers.go @@ -343,8 +343,8 @@ func awsRestjson1_serializeOpHttpBindingsListRetainedMessagesInput(v *ListRetain return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { diff --git a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go index fc530bca5a5..665c02ac36d 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteDefinitions.go @@ -37,7 +37,7 @@ func (c *Client) ListSuiteDefinitions(ctx context.Context, params *ListSuiteDefi type ListSuiteDefinitionsInput struct { // The maximum number of results to return at once. - MaxResults int32 + MaxResults *int32 // A token used to get the next set of results. NextToken *string @@ -167,8 +167,8 @@ func NewListSuiteDefinitionsPaginator(client ListSuiteDefinitionsAPIClient, para } options := ListSuiteDefinitionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -198,7 +198,11 @@ func (p *ListSuiteDefinitionsPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListSuiteDefinitions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go index 2bff2361145..73982ae6f14 100644 --- a/service/iotdeviceadvisor/api_op_ListSuiteRuns.go +++ b/service/iotdeviceadvisor/api_op_ListSuiteRuns.go @@ -38,7 +38,7 @@ func (c *Client) ListSuiteRuns(ctx context.Context, params *ListSuiteRunsInput, type ListSuiteRunsInput struct { // The maximum number of results to return at once. - MaxResults int32 + MaxResults *int32 // A token to retrieve the next set of results. NextToken *string @@ -174,8 +174,8 @@ func NewListSuiteRunsPaginator(client ListSuiteRunsAPIClient, params *ListSuiteR } options := ListSuiteRunsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -205,7 +205,11 @@ func (p *ListSuiteRunsPaginator) NextPage(ctx context.Context, optFns ...func(*O params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListSuiteRuns(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/iotdeviceadvisor/deserializers.go b/service/iotdeviceadvisor/deserializers.go index e8091face53..1a52acee8a0 100644 --- a/service/iotdeviceadvisor/deserializers.go +++ b/service/iotdeviceadvisor/deserializers.go @@ -2746,7 +2746,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit if !ok { return fmt.Errorf("expected IntendedForQualificationBoolean to be of type *bool, got %T instead", value) } - sv.IntendedForQualification = jtv + sv.IntendedForQualification = ptr.Bool(jtv) } case "isLongDurationTest": @@ -2755,7 +2755,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionConfiguration(v **types.Suit if !ok { return fmt.Errorf("expected IsLongDurationTestBoolean to be of type *bool, got %T instead", value) } - sv.IsLongDurationTest = jtv + sv.IsLongDurationTest = ptr.Bool(jtv) } case "protocol": @@ -2843,7 +2843,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD if !ok { return fmt.Errorf("expected IntendedForQualificationBoolean to be of type *bool, got %T instead", value) } - sv.IntendedForQualification = jtv + sv.IntendedForQualification = ptr.Bool(jtv) } case "isLongDurationTest": @@ -2852,7 +2852,7 @@ func awsRestjson1_deserializeDocumentSuiteDefinitionInformation(v **types.SuiteD if !ok { return fmt.Errorf("expected IsLongDurationTestBoolean to be of type *bool, got %T instead", value) } - sv.IsLongDurationTest = jtv + sv.IsLongDurationTest = ptr.Bool(jtv) } case "protocol": @@ -2953,7 +2953,7 @@ func awsRestjson1_deserializeDocumentSuiteRunConfiguration(v **types.SuiteRunCon if !ok { return fmt.Errorf("expected ParallelRun to be of type *bool, got %T instead", value) } - sv.ParallelRun = jtv + sv.ParallelRun = ptr.Bool(jtv) } case "primaryDevice": @@ -3039,7 +3039,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor if err != nil { return err } - sv.Failed = int32(i64) + sv.Failed = ptr.Int32(int32(i64)) } case "passed": @@ -3052,7 +3052,7 @@ func awsRestjson1_deserializeDocumentSuiteRunInformation(v **types.SuiteRunInfor if err != nil { return err } - sv.Passed = int32(i64) + sv.Passed = ptr.Int32(int32(i64)) } case "startedAt": diff --git a/service/iotdeviceadvisor/endpoints.go b/service/iotdeviceadvisor/endpoints.go index 0c09631a6ee..bcbd86e8683 100644 --- a/service/iotdeviceadvisor/endpoints.go +++ b/service/iotdeviceadvisor/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://api.iotdeviceadvisor-fips.") diff --git a/service/iotdeviceadvisor/serializers.go b/service/iotdeviceadvisor/serializers.go index 43855abae7c..3dc67f49781 100644 --- a/service/iotdeviceadvisor/serializers.go +++ b/service/iotdeviceadvisor/serializers.go @@ -505,8 +505,8 @@ func awsRestjson1_serializeOpHttpBindingsListSuiteDefinitionsInput(v *ListSuiteD return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -569,8 +569,8 @@ func awsRestjson1_serializeOpHttpBindingsListSuiteRunsInput(v *ListSuiteRunsInpu return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("maxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("maxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -1142,14 +1142,14 @@ func awsRestjson1_serializeDocumentSuiteDefinitionConfiguration(v *types.SuiteDe } } - if v.IntendedForQualification { + if v.IntendedForQualification != nil { ok := object.Key("intendedForQualification") - ok.Boolean(v.IntendedForQualification) + ok.Boolean(*v.IntendedForQualification) } - if v.IsLongDurationTest { + if v.IsLongDurationTest != nil { ok := object.Key("isLongDurationTest") - ok.Boolean(v.IsLongDurationTest) + ok.Boolean(*v.IsLongDurationTest) } if len(v.Protocol) > 0 { @@ -1174,9 +1174,9 @@ func awsRestjson1_serializeDocumentSuiteRunConfiguration(v *types.SuiteRunConfig object := value.Object() defer object.Close() - if v.ParallelRun { + if v.ParallelRun != nil { ok := object.Key("parallelRun") - ok.Boolean(v.ParallelRun) + ok.Boolean(*v.ParallelRun) } if v.PrimaryDevice != nil { diff --git a/service/iotdeviceadvisor/types/types.go b/service/iotdeviceadvisor/types/types.go index 6b1f3983566..61f6e31fd0d 100644 --- a/service/iotdeviceadvisor/types/types.go +++ b/service/iotdeviceadvisor/types/types.go @@ -67,10 +67,10 @@ type SuiteDefinitionConfiguration struct { Devices []DeviceUnderTest // Gets the tests intended for qualification in a suite. - IntendedForQualification bool + IntendedForQualification *bool // Verifies if the test suite is a long duration test. - IsLongDurationTest bool + IsLongDurationTest *bool // Sets the MQTT protocol that is configured in the suite definition. Protocol Protocol @@ -88,10 +88,10 @@ type SuiteDefinitionInformation struct { DefaultDevices []DeviceUnderTest // Specifies if the test suite is intended for qualification. - IntendedForQualification bool + IntendedForQualification *bool // Verifies if the test suite is a long duration test. - IsLongDurationTest bool + IsLongDurationTest *bool // Gets the MQTT protocol that is configured in the suite definition. Protocol Protocol @@ -115,7 +115,7 @@ type SuiteRunConfiguration struct { PrimaryDevice *DeviceUnderTest // TRUE if multiple test suites run in parallel. - ParallelRun bool + ParallelRun *bool // Sets test case list. SelectedTestList []string @@ -135,10 +135,10 @@ type SuiteRunInformation struct { EndAt *time.Time // Number of test cases that failed in the suite run. - Failed int32 + Failed *int32 // Number of test cases that passed in the suite run. - Passed int32 + Passed *int32 // Date (in Unix epoch time) when the suite run was started. StartedAt *time.Time diff --git a/service/iotsecuretunneling/endpoints.go b/service/iotsecuretunneling/endpoints.go index cd22a85cab8..431c94f4cce 100644 --- a/service/iotsecuretunneling/endpoints.go +++ b/service/iotsecuretunneling/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://api.tunneling.iot-fips.") diff --git a/service/iotwireless/endpoints.go b/service/iotwireless/endpoints.go index 622bf32efbb..bc63f638359 100644 --- a/service/iotwireless/endpoints.go +++ b/service/iotwireless/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://api.iotwireless-fips.") diff --git a/service/kinesisvideosignaling/deserializers.go b/service/kinesisvideosignaling/deserializers.go index 56a519abf4c..40effabb6de 100644 --- a/service/kinesisvideosignaling/deserializers.go +++ b/service/kinesisvideosignaling/deserializers.go @@ -637,7 +637,7 @@ func awsRestjson1_deserializeDocumentIceServer(v **types.IceServer, value interf if err != nil { return err } - sv.Ttl = int32(i64) + sv.Ttl = ptr.Int32(int32(i64)) } case "Uris": diff --git a/service/kinesisvideosignaling/endpoints.go b/service/kinesisvideosignaling/endpoints.go index f978b5cdbfb..8d279eaad06 100644 --- a/service/kinesisvideosignaling/endpoints.go +++ b/service/kinesisvideosignaling/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://kinesisvideo-fips.") diff --git a/service/kinesisvideosignaling/types/types.go b/service/kinesisvideosignaling/types/types.go index cbc64bce1a9..83b06041121 100644 --- a/service/kinesisvideosignaling/types/types.go +++ b/service/kinesisvideosignaling/types/types.go @@ -14,7 +14,7 @@ type IceServer struct { // The period of time, in seconds, during which the username and password are // valid. - Ttl int32 + Ttl *int32 // An array of URIs, in the form specified in the // I-D.petithuguenin-behave-turn-uris (https://tools.ietf.org/html/draft-petithuguenin-behave-turn-uris-03) diff --git a/service/lambda/api_op_AddLayerVersionPermission.go b/service/lambda/api_op_AddLayerVersionPermission.go index e11a738c721..000b1057b7d 100644 --- a/service/lambda/api_op_AddLayerVersionPermission.go +++ b/service/lambda/api_op_AddLayerVersionPermission.go @@ -66,7 +66,7 @@ type AddLayerVersionPermissionInput struct { // The version number. // // This member is required. - VersionNumber int64 + VersionNumber *int64 // With the principal set to * , grant permission to all accounts in the specified // organization. diff --git a/service/lambda/api_op_DeleteLayerVersion.go b/service/lambda/api_op_DeleteLayerVersion.go index 9982c2e4afa..5abc69bc328 100644 --- a/service/lambda/api_op_DeleteLayerVersion.go +++ b/service/lambda/api_op_DeleteLayerVersion.go @@ -44,7 +44,7 @@ type DeleteLayerVersionInput struct { // The version number. // // This member is required. - VersionNumber int64 + VersionNumber *int64 noSmithyDocumentSerde } diff --git a/service/lambda/api_op_GetLayerVersion.go b/service/lambda/api_op_GetLayerVersion.go index 54697140bd6..652769cb406 100644 --- a/service/lambda/api_op_GetLayerVersion.go +++ b/service/lambda/api_op_GetLayerVersion.go @@ -43,7 +43,7 @@ type GetLayerVersionInput struct { // The version number. // // This member is required. - VersionNumber int64 + VersionNumber *int64 noSmithyDocumentSerde } diff --git a/service/lambda/api_op_GetLayerVersionPolicy.go b/service/lambda/api_op_GetLayerVersionPolicy.go index b4a9621b5ca..1b7e6edc9c1 100644 --- a/service/lambda/api_op_GetLayerVersionPolicy.go +++ b/service/lambda/api_op_GetLayerVersionPolicy.go @@ -42,7 +42,7 @@ type GetLayerVersionPolicyInput struct { // The version number. // // This member is required. - VersionNumber int64 + VersionNumber *int64 noSmithyDocumentSerde } diff --git a/service/lambda/api_op_RemoveLayerVersionPermission.go b/service/lambda/api_op_RemoveLayerVersionPermission.go index 88a97bf0eb0..d1d29402c95 100644 --- a/service/lambda/api_op_RemoveLayerVersionPermission.go +++ b/service/lambda/api_op_RemoveLayerVersionPermission.go @@ -47,7 +47,7 @@ type RemoveLayerVersionPermissionInput struct { // The version number. // // This member is required. - VersionNumber int64 + VersionNumber *int64 // Only update the policy if the revision ID matches the ID specified. Use this // option to avoid modifying a policy that has changed since you last read it. diff --git a/service/lambda/endpoints.go b/service/lambda/endpoints.go index dbd11acf5fc..13462e3a879 100644 --- a/service/lambda/endpoints.go +++ b/service/lambda/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://lambda-fips.") diff --git a/service/lambda/serializers.go b/service/lambda/serializers.go index fc45a1efadc..cb1af7198c1 100644 --- a/service/lambda/serializers.go +++ b/service/lambda/serializers.go @@ -93,8 +93,11 @@ func awsRestjson1_serializeOpHttpBindingsAddLayerVersionPermissionInput(v *AddLa encoder.SetQuery("RevisionId").String(*v.RevisionId) } - { - if err := encoder.SetURI("VersionNumber").Long(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Long(*v.VersionNumber); err != nil { return err } } @@ -1578,8 +1581,11 @@ func awsRestjson1_serializeOpHttpBindingsDeleteLayerVersionInput(v *DeleteLayerV } } - { - if err := encoder.SetURI("VersionNumber").Long(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Long(*v.VersionNumber); err != nil { return err } } @@ -2380,8 +2386,11 @@ func awsRestjson1_serializeOpHttpBindingsGetLayerVersionInput(v *GetLayerVersion } } - { - if err := encoder.SetURI("VersionNumber").Long(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Long(*v.VersionNumber); err != nil { return err } } @@ -2511,8 +2520,11 @@ func awsRestjson1_serializeOpHttpBindingsGetLayerVersionPolicyInput(v *GetLayerV } } - { - if err := encoder.SetURI("VersionNumber").Long(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Long(*v.VersionNumber); err != nil { return err } } @@ -4620,8 +4632,11 @@ func awsRestjson1_serializeOpHttpBindingsRemoveLayerVersionPermissionInput(v *Re } } - { - if err := encoder.SetURI("VersionNumber").Long(v.VersionNumber); err != nil { + if v.VersionNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member VersionNumber must not be empty")} + } + if v.VersionNumber != nil { + if err := encoder.SetURI("VersionNumber").Long(*v.VersionNumber); err != nil { return err } } diff --git a/service/lambda/validators.go b/service/lambda/validators.go index 5434a868d21..8dcff773fef 100644 --- a/service/lambda/validators.go +++ b/service/lambda/validators.go @@ -1547,6 +1547,9 @@ func validateOpAddLayerVersionPermissionInput(v *AddLayerVersionPermissionInput) if v.LayerName == nil { invalidParams.Add(smithy.NewErrParamRequired("LayerName")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if v.StatementId == nil { invalidParams.Add(smithy.NewErrParamRequired("StatementId")) } @@ -1822,6 +1825,9 @@ func validateOpDeleteLayerVersionInput(v *DeleteLayerVersionInput) error { if v.LayerName == nil { invalidParams.Add(smithy.NewErrParamRequired("LayerName")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2008,6 +2014,9 @@ func validateOpGetLayerVersionInput(v *GetLayerVersionInput) error { if v.LayerName == nil { invalidParams.Add(smithy.NewErrParamRequired("LayerName")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2023,6 +2032,9 @@ func validateOpGetLayerVersionPolicyInput(v *GetLayerVersionPolicyInput) error { if v.LayerName == nil { invalidParams.Add(smithy.NewErrParamRequired("LayerName")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -2377,6 +2389,9 @@ func validateOpRemoveLayerVersionPermissionInput(v *RemoveLayerVersionPermission if v.LayerName == nil { invalidParams.Add(smithy.NewErrParamRequired("LayerName")) } + if v.VersionNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("VersionNumber")) + } if v.StatementId == nil { invalidParams.Add(smithy.NewErrParamRequired("StatementId")) } diff --git a/service/lexmodelsv2/deserializers.go b/service/lexmodelsv2/deserializers.go index 5fe2aa41b02..c000edf96b5 100644 --- a/service/lexmodelsv2/deserializers.go +++ b/service/lexmodelsv2/deserializers.go @@ -27999,7 +27999,7 @@ func awsRestjson1_deserializeDocumentRelativeAggregationDuration(v **types.Relat if err != nil { return err } - sv.TimeValue = int32(i64) + sv.TimeValue = ptr.Int32(int32(i64)) } default: diff --git a/service/lexmodelsv2/endpoints.go b/service/lexmodelsv2/endpoints.go index 31179249d1f..ebacd0dd6dd 100644 --- a/service/lexmodelsv2/endpoints.go +++ b/service/lexmodelsv2/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://models-v2-lex-fips.") diff --git a/service/lexmodelsv2/serializers.go b/service/lexmodelsv2/serializers.go index c5e254a5ea1..bf49b0049b2 100644 --- a/service/lexmodelsv2/serializers.go +++ b/service/lexmodelsv2/serializers.go @@ -12111,9 +12111,9 @@ func awsRestjson1_serializeDocumentRelativeAggregationDuration(v *types.Relative ok.String(string(v.TimeDimension)) } - { + if v.TimeValue != nil { ok := object.Key("timeValue") - ok.Integer(v.TimeValue) + ok.Integer(*v.TimeValue) } return nil diff --git a/service/lexmodelsv2/types/types.go b/service/lexmodelsv2/types/types.go index e960e0c84dc..4694bdae4ee 100644 --- a/service/lexmodelsv2/types/types.go +++ b/service/lexmodelsv2/types/types.go @@ -3350,7 +3350,7 @@ type RelativeAggregationDuration struct { // - Weeks - 1/2 // // This member is required. - TimeValue int32 + TimeValue *int32 noSmithyDocumentSerde } diff --git a/service/lexmodelsv2/validators.go b/service/lexmodelsv2/validators.go index 0b836979744..7c5287b8f79 100644 --- a/service/lexmodelsv2/validators.go +++ b/service/lexmodelsv2/validators.go @@ -4833,6 +4833,9 @@ func validateRelativeAggregationDuration(v *types.RelativeAggregationDuration) e if len(v.TimeDimension) == 0 { invalidParams.Add(smithy.NewErrParamRequired("TimeDimension")) } + if v.TimeValue == nil { + invalidParams.Add(smithy.NewErrParamRequired("TimeValue")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/lightsail/api_op_GetBucketMetricData.go b/service/lightsail/api_op_GetBucketMetricData.go index fedfd4083a4..fa1a21016f2 100644 --- a/service/lightsail/api_op_GetBucketMetricData.go +++ b/service/lightsail/api_op_GetBucketMetricData.go @@ -71,7 +71,7 @@ type GetBucketMetricDataInput struct { // 86400 seconds, which is the number of seconds in a day. // // This member is required. - Period int32 + Period *int32 // The timestamp indicating the earliest data to be returned. // diff --git a/service/lightsail/api_op_GetContainerServiceMetricData.go b/service/lightsail/api_op_GetContainerServiceMetricData.go index 657a33f48d2..62b67a35de7 100644 --- a/service/lightsail/api_op_GetContainerServiceMetricData.go +++ b/service/lightsail/api_op_GetContainerServiceMetricData.go @@ -64,7 +64,7 @@ type GetContainerServiceMetricDataInput struct { // metric data is available in 5-minute (300 seconds) granularity. // // This member is required. - Period int32 + Period *int32 // The name of the container service for which to get metric data. // diff --git a/service/lightsail/api_op_GetDistributionMetricData.go b/service/lightsail/api_op_GetDistributionMetricData.go index 9764f702a17..1821328409a 100644 --- a/service/lightsail/api_op_GetDistributionMetricData.go +++ b/service/lightsail/api_op_GetDistributionMetricData.go @@ -88,7 +88,7 @@ type GetDistributionMetricDataInput struct { // The granularity, in seconds, for the metric data points that will be returned. // // This member is required. - Period int32 + Period *int32 // The start of the time interval for which to get metric data. Constraints: // - Specified in Coordinated Universal Time (UTC). diff --git a/service/lightsail/api_op_GetInstanceMetricData.go b/service/lightsail/api_op_GetInstanceMetricData.go index f942cd24721..253f6e7caca 100644 --- a/service/lightsail/api_op_GetInstanceMetricData.go +++ b/service/lightsail/api_op_GetInstanceMetricData.go @@ -118,7 +118,7 @@ type GetInstanceMetricDataInput struct { // metric data is available in 5-minute (300 seconds) granularity. // // This member is required. - Period int32 + Period *int32 // The start time of the time period. // diff --git a/service/lightsail/api_op_GetLoadBalancerMetricData.go b/service/lightsail/api_op_GetLoadBalancerMetricData.go index 9cc51802d42..bccbc6374be 100644 --- a/service/lightsail/api_op_GetLoadBalancerMetricData.go +++ b/service/lightsail/api_op_GetLoadBalancerMetricData.go @@ -115,7 +115,7 @@ type GetLoadBalancerMetricDataInput struct { // The granularity, in seconds, of the returned data points. // // This member is required. - Period int32 + Period *int32 // The start time of the period. // diff --git a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go index f7d32b0aedf..e50531d1ca4 100644 --- a/service/lightsail/api_op_GetRelationalDatabaseMetricData.go +++ b/service/lightsail/api_op_GetRelationalDatabaseMetricData.go @@ -78,7 +78,7 @@ type GetRelationalDatabaseMetricDataInput struct { // database metric data is available in 1-minute (60 seconds) granularity. // // This member is required. - Period int32 + Period *int32 // The name of your database from which to get metric data. // diff --git a/service/lightsail/deserializers.go b/service/lightsail/deserializers.go index a0dea368ae7..86bbefc0638 100644 --- a/service/lightsail/deserializers.go +++ b/service/lightsail/deserializers.go @@ -21224,7 +21224,7 @@ func awsAwsjson11_deserializeDocumentAlarm(v **types.Alarm, value interface{}) e if err != nil { return err } - sv.Period = int32(i64) + sv.Period = ptr.Int32(int32(i64)) } case "resourceType": diff --git a/service/lightsail/endpoints.go b/service/lightsail/endpoints.go index 9c81153dd1a..8319bd1717e 100644 --- a/service/lightsail/endpoints.go +++ b/service/lightsail/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://lightsail-fips.") diff --git a/service/lightsail/serializers.go b/service/lightsail/serializers.go index 621ac63c2e4..4b7c8c97387 100644 --- a/service/lightsail/serializers.go +++ b/service/lightsail/serializers.go @@ -11188,9 +11188,9 @@ func awsAwsjson11_serializeOpDocumentGetBucketMetricDataInput(v *GetBucketMetric ok.String(string(v.MetricName)) } - { + if v.Period != nil { ok := object.Key("period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.StartTime != nil { @@ -11394,9 +11394,9 @@ func awsAwsjson11_serializeOpDocumentGetContainerServiceMetricDataInput(v *GetCo ok.String(string(v.MetricName)) } - { + if v.Period != nil { ok := object.Key("period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.ServiceName != nil { @@ -11546,9 +11546,9 @@ func awsAwsjson11_serializeOpDocumentGetDistributionMetricDataInput(v *GetDistri ok.String(string(v.MetricName)) } - { + if v.Period != nil { ok := object.Key("period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.StartTime != nil { @@ -11672,9 +11672,9 @@ func awsAwsjson11_serializeOpDocumentGetInstanceMetricDataInput(v *GetInstanceMe ok.String(string(v.MetricName)) } - { + if v.Period != nil { ok := object.Key("period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.StartTime != nil { @@ -11817,9 +11817,9 @@ func awsAwsjson11_serializeOpDocumentGetLoadBalancerMetricDataInput(v *GetLoadBa ok.String(string(v.MetricName)) } - { + if v.Period != nil { ok := object.Key("period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.StartTime != nil { @@ -12079,9 +12079,9 @@ func awsAwsjson11_serializeOpDocumentGetRelationalDatabaseMetricDataInput(v *Get ok.String(string(v.MetricName)) } - { + if v.Period != nil { ok := object.Key("period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.RelationalDatabaseName != nil { diff --git a/service/lightsail/types/types.go b/service/lightsail/types/types.go index 3507abf00cb..a6665e1b39c 100644 --- a/service/lightsail/types/types.go +++ b/service/lightsail/types/types.go @@ -261,7 +261,7 @@ type Alarm struct { NotificationTriggers []AlarmState // The period, in seconds, over which the statistic is applied. - Period int32 + Period *int32 // The Lightsail resource type (e.g., Alarm ). ResourceType ResourceType diff --git a/service/lightsail/validators.go b/service/lightsail/validators.go index 4e12a72fcc2..6baa00719f0 100644 --- a/service/lightsail/validators.go +++ b/service/lightsail/validators.go @@ -4094,6 +4094,9 @@ func validateOpGetBucketMetricDataInput(v *GetBucketMetricDataInput) error { if v.EndTime == nil { invalidParams.Add(smithy.NewErrParamRequired("EndTime")) } + if v.Period == nil { + invalidParams.Add(smithy.NewErrParamRequired("Period")) + } if v.Statistics == nil { invalidParams.Add(smithy.NewErrParamRequired("Statistics")) } @@ -4172,6 +4175,9 @@ func validateOpGetContainerServiceMetricDataInput(v *GetContainerServiceMetricDa if v.EndTime == nil { invalidParams.Add(smithy.NewErrParamRequired("EndTime")) } + if v.Period == nil { + invalidParams.Add(smithy.NewErrParamRequired("Period")) + } if v.Statistics == nil { invalidParams.Add(smithy.NewErrParamRequired("Statistics")) } @@ -4250,6 +4256,9 @@ func validateOpGetDistributionMetricDataInput(v *GetDistributionMetricDataInput) if v.EndTime == nil { invalidParams.Add(smithy.NewErrParamRequired("EndTime")) } + if v.Period == nil { + invalidParams.Add(smithy.NewErrParamRequired("Period")) + } if len(v.Unit) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Unit")) } @@ -4319,6 +4328,9 @@ func validateOpGetInstanceMetricDataInput(v *GetInstanceMetricDataInput) error { if len(v.MetricName) == 0 { invalidParams.Add(smithy.NewErrParamRequired("MetricName")) } + if v.Period == nil { + invalidParams.Add(smithy.NewErrParamRequired("Period")) + } if v.StartTime == nil { invalidParams.Add(smithy.NewErrParamRequired("StartTime")) } @@ -4424,6 +4436,9 @@ func validateOpGetLoadBalancerMetricDataInput(v *GetLoadBalancerMetricDataInput) if len(v.MetricName) == 0 { invalidParams.Add(smithy.NewErrParamRequired("MetricName")) } + if v.Period == nil { + invalidParams.Add(smithy.NewErrParamRequired("Period")) + } if v.StartTime == nil { invalidParams.Add(smithy.NewErrParamRequired("StartTime")) } @@ -4577,6 +4592,9 @@ func validateOpGetRelationalDatabaseMetricDataInput(v *GetRelationalDatabaseMetr if len(v.MetricName) == 0 { invalidParams.Add(smithy.NewErrParamRequired("MetricName")) } + if v.Period == nil { + invalidParams.Add(smithy.NewErrParamRequired("Period")) + } if v.StartTime == nil { invalidParams.Add(smithy.NewErrParamRequired("StartTime")) } diff --git a/service/lookoutmetrics/endpoints.go b/service/lookoutmetrics/endpoints.go index 0cd65ef6c69..f3fcffd8ffe 100644 --- a/service/lookoutmetrics/endpoints.go +++ b/service/lookoutmetrics/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://lookoutmetrics-fips.") diff --git a/service/lookoutvision/deserializers.go b/service/lookoutvision/deserializers.go index addc3e10d92..72dbdf41683 100644 --- a/service/lookoutvision/deserializers.go +++ b/service/lookoutvision/deserializers.go @@ -3477,7 +3477,7 @@ func awsRestjson1_deserializeOpHttpBindingsInternalServerException(v *types.Inte if err != nil { return err } - v.RetryAfterSeconds = int32(vv) + v.RetryAfterSeconds = ptr.Int32(int32(vv)) } return nil @@ -3493,7 +3493,7 @@ func awsRestjson1_deserializeOpHttpBindingsThrottlingException(v *types.Throttli if err != nil { return err } - v.RetryAfterSeconds = int32(vv) + v.RetryAfterSeconds = ptr.Int32(int32(vv)) } return nil @@ -4346,7 +4346,7 @@ func awsRestjson1_deserializeDocumentDetectAnomalyResult(v **types.DetectAnomaly if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsAnomalous = jtv + sv.IsAnomalous = ptr.Bool(jtv) } case "Source": @@ -4593,7 +4593,7 @@ func awsRestjson1_deserializeDocumentInternalServerException(v **types.InternalS if err != nil { return err } - sv.RetryAfterSeconds = int32(i64) + sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } default: @@ -6102,7 +6102,7 @@ func awsRestjson1_deserializeDocumentThrottlingException(v **types.ThrottlingExc if err != nil { return err } - sv.RetryAfterSeconds = int32(i64) + sv.RetryAfterSeconds = ptr.Int32(int32(i64)) } case "ServiceCode": diff --git a/service/lookoutvision/endpoints.go b/service/lookoutvision/endpoints.go index ca35ad12701..7f6681a4094 100644 --- a/service/lookoutvision/endpoints.go +++ b/service/lookoutvision/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://lookoutvision-fips.") diff --git a/service/lookoutvision/types/errors.go b/service/lookoutvision/types/errors.go index 811ed95270c..7cb9d356b17 100644 --- a/service/lookoutvision/types/errors.go +++ b/service/lookoutvision/types/errors.go @@ -68,7 +68,7 @@ type InternalServerException struct { ErrorCodeOverride *string - RetryAfterSeconds int32 + RetryAfterSeconds *int32 noSmithyDocumentSerde } @@ -161,7 +161,7 @@ type ThrottlingException struct { QuotaCode *string ServiceCode *string - RetryAfterSeconds int32 + RetryAfterSeconds *int32 noSmithyDocumentSerde } diff --git a/service/lookoutvision/types/types.go b/service/lookoutvision/types/types.go index 45068e29caa..b67c3af5e34 100644 --- a/service/lookoutvision/types/types.go +++ b/service/lookoutvision/types/types.go @@ -140,7 +140,7 @@ type DetectAnomalyResult struct { // True if Amazon Lookout for Vision classifies the image as containing an // anomaly, otherwise false. - IsAnomalous bool + IsAnomalous *bool // The source of the image that was analyzed. direct means that the images was // supplied from the local computer. No other values are supported. diff --git a/service/macie2/endpoints.go b/service/macie2/endpoints.go index fd62a98ba59..b17afc8ba40 100644 --- a/service/macie2/endpoints.go +++ b/service/macie2/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://macie2-fips.") diff --git a/service/mediaconnect/endpoints.go b/service/mediaconnect/endpoints.go index 04a5274f51e..7e3723d0002 100644 --- a/service/mediaconnect/endpoints.go +++ b/service/mediaconnect/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://mediaconnect-fips.") diff --git a/service/mediaconvert/endpoints.go b/service/mediaconvert/endpoints.go index 5aa2c754f63..48cb7e27a69 100644 --- a/service/mediaconvert/endpoints.go +++ b/service/mediaconvert/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://mediaconvert.") diff --git a/service/medialive/endpoints.go b/service/medialive/endpoints.go index 26a97566585..fe45330023b 100644 --- a/service/medialive/endpoints.go +++ b/service/medialive/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://medialive-fips.") diff --git a/service/mediapackage/endpoints.go b/service/mediapackage/endpoints.go index dcd3be9694f..8376bd81f2d 100644 --- a/service/mediapackage/endpoints.go +++ b/service/mediapackage/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://mediapackage-fips.") diff --git a/service/mediapackagevod/endpoints.go b/service/mediapackagevod/endpoints.go index 45f9ee23b4e..436f916d6ce 100644 --- a/service/mediapackagevod/endpoints.go +++ b/service/mediapackagevod/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://mediapackage-vod-fips.") diff --git a/service/mq/endpoints.go b/service/mq/endpoints.go index 8f6f4a34d66..a18d2380116 100644 --- a/service/mq/endpoints.go +++ b/service/mq/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://mq-fips.") diff --git a/service/neptune/api_op_DeleteDBCluster.go b/service/neptune/api_op_DeleteDBCluster.go index cc115c51e08..84a313b019e 100644 --- a/service/neptune/api_op_DeleteDBCluster.go +++ b/service/neptune/api_op_DeleteDBCluster.go @@ -59,7 +59,7 @@ type DeleteDBClusterInput struct { // is specified, a DB cluster snapshot is created before the DB cluster is deleted. // You must specify a FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is // false . Default: false - SkipFinalSnapshot bool + SkipFinalSnapshot *bool noSmithyDocumentSerde } diff --git a/service/neptune/api_op_DeleteDBInstance.go b/service/neptune/api_op_DeleteDBInstance.go index 736b090b958..c8dbbe60d45 100644 --- a/service/neptune/api_op_DeleteDBInstance.go +++ b/service/neptune/api_op_DeleteDBInstance.go @@ -69,7 +69,7 @@ type DeleteDBInstanceInput struct { // the SkipFinalSnapshot parameter is set to "true". Specify true when deleting a // Read Replica. The FinalDBSnapshotIdentifier parameter must be specified if // SkipFinalSnapshot is false . Default: false - SkipFinalSnapshot bool + SkipFinalSnapshot *bool noSmithyDocumentSerde } diff --git a/service/neptune/api_op_DescribeDBClusterSnapshots.go b/service/neptune/api_op_DescribeDBClusterSnapshots.go index 2e686f61253..c04406db120 100644 --- a/service/neptune/api_op_DescribeDBClusterSnapshots.go +++ b/service/neptune/api_op_DescribeDBClusterSnapshots.go @@ -56,14 +56,14 @@ type DescribeDBClusterSnapshotsInput struct { // or restored by any Amazon account, and otherwise false. The default is false . // The default is false. You can share a manual DB cluster snapshot as public by // using the ModifyDBClusterSnapshotAttribute API action. - IncludePublic bool + IncludePublic *bool // True to include shared manual DB cluster snapshots from other Amazon accounts // that this Amazon account has been given permission to copy or restore, and // otherwise false. The default is false . You can give an Amazon account // permission to restore a manual DB cluster snapshot from another Amazon account // by the ModifyDBClusterSnapshotAttribute API action. - IncludeShared bool + IncludeShared *bool // An optional pagination token provided by a previous DescribeDBClusterSnapshots // request. If this parameter is specified, the response includes only records diff --git a/service/neptune/api_op_DescribeDBEngineVersions.go b/service/neptune/api_op_DescribeDBEngineVersions.go index 45b9889df6d..e209a75b78e 100644 --- a/service/neptune/api_op_DescribeDBEngineVersions.go +++ b/service/neptune/api_op_DescribeDBEngineVersions.go @@ -41,7 +41,7 @@ type DescribeDBEngineVersionsInput struct { // Indicates that only the default version of the specified engine or engine and // major version combination is returned. - DefaultOnly bool + DefaultOnly *bool // The database engine to return. Engine *string diff --git a/service/neptune/api_op_ModifyDBCluster.go b/service/neptune/api_op_ModifyDBCluster.go index 9759d795fe0..229ac484ee2 100644 --- a/service/neptune/api_op_ModifyDBCluster.go +++ b/service/neptune/api_op_ModifyDBCluster.go @@ -47,7 +47,7 @@ type ModifyDBClusterInput struct { // allowed. Constraints: You must set the allow-major-version-upgrade flag when // providing an EngineVersion parameter that uses a different major version than // the DB cluster's current version. - AllowMajorVersionUpgrade bool + AllowMajorVersionUpgrade *bool // A value that specifies whether the modifications in this request and any // pending modifications are asynchronously applied as soon as possible, regardless @@ -58,7 +58,7 @@ type ModifyDBClusterInput struct { // to false, then changes to NewDBClusterIdentifier values are applied during the // next maintenance window. All other changes are applied immediately, regardless // of the value of the ApplyImmediately parameter. Default: false - ApplyImmediately bool + ApplyImmediately *bool // The number of days for which automated backups are retained. You must specify a // minimum value of 1. Default: 1 Constraints: diff --git a/service/neptune/api_op_ModifyDBInstance.go b/service/neptune/api_op_ModifyDBInstance.go index f12e5a6edb8..1f3503e0f52 100644 --- a/service/neptune/api_op_ModifyDBInstance.go +++ b/service/neptune/api_op_ModifyDBInstance.go @@ -50,7 +50,7 @@ type ModifyDBInstanceInput struct { // Indicates that major version upgrades are allowed. Changing this parameter // doesn't result in an outage and the change is asynchronously applied as soon as // possible. - AllowMajorVersionUpgrade bool + AllowMajorVersionUpgrade *bool // Specifies whether the modifications in this request and any pending // modifications are asynchronously applied as soon as possible, regardless of the @@ -58,7 +58,7 @@ type ModifyDBInstanceInput struct { // to false , changes to the DB instance are applied during the next maintenance // window. Some parameter changes can cause an outage and are applied on the next // call to RebootDBInstance , or the next failure reboot. Default: false - ApplyImmediately bool + ApplyImmediately *bool // Indicates that minor version upgrades are applied automatically to the DB // instance during the maintenance window. Changing this parameter doesn't result diff --git a/service/neptune/api_op_ResetDBClusterParameterGroup.go b/service/neptune/api_op_ResetDBClusterParameterGroup.go index 491a76e7d31..f65dc2725b1 100644 --- a/service/neptune/api_op_ResetDBClusterParameterGroup.go +++ b/service/neptune/api_op_ResetDBClusterParameterGroup.go @@ -56,7 +56,7 @@ type ResetDBClusterParameterGroupInput struct { // group to their default values, and false otherwise. You can't use this // parameter if there is a list of parameter names specified for the Parameters // parameter. - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/neptune/api_op_ResetDBParameterGroup.go b/service/neptune/api_op_ResetDBParameterGroup.go index cd6e54e2373..fb80c28af66 100644 --- a/service/neptune/api_op_ResetDBParameterGroup.go +++ b/service/neptune/api_op_ResetDBParameterGroup.go @@ -54,7 +54,7 @@ type ResetDBParameterGroupInput struct { // Specifies whether ( true ) or not ( false ) to reset all parameters in the DB // parameter group to default values. Default: true - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/neptune/api_op_RestoreDBClusterToPointInTime.go b/service/neptune/api_op_RestoreDBClusterToPointInTime.go index 69c694c7dcf..b74d5c4a0c7 100644 --- a/service/neptune/api_op_RestoreDBClusterToPointInTime.go +++ b/service/neptune/api_op_RestoreDBClusterToPointInTime.go @@ -135,7 +135,7 @@ type RestoreDBClusterToPointInTimeInput struct { // A value that is set to true to restore the DB cluster to the latest restorable // backup time, and false otherwise. Default: false Constraints: Cannot be // specified if RestoreToTime parameter is provided. - UseLatestRestorableTime bool + UseLatestRestorableTime *bool // A list of VPC security groups that the new DB cluster belongs to. VpcSecurityGroupIds []string diff --git a/service/neptune/deserializers.go b/service/neptune/deserializers.go index 6618b0c7743..9ff0d5d44c0 100644 --- a/service/neptune/deserializers.go +++ b/service/neptune/deserializers.go @@ -11657,7 +11657,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("KmsKeyId", t.Name.Local): @@ -11716,7 +11716,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZ = xtv + sv.MultiAZ = ptr.Bool(xtv) } case strings.EqualFold("PendingModifiedValues", t.Name.Local): @@ -11845,7 +11845,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("VpcSecurityGroups", t.Name.Local): @@ -12413,7 +12413,7 @@ func awsAwsquery_deserializeDocumentDBClusterMember(v **types.DBClusterMember, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsClusterWriter = xtv + sv.IsClusterWriter = ptr.Bool(xtv) } case strings.EqualFold("PromotionTier", t.Name.Local): @@ -13274,7 +13274,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AvailabilityZones", t.Name.Local): @@ -13378,7 +13378,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("KmsKeyId", t.Name.Local): @@ -13434,7 +13434,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("Port", t.Name.Local): @@ -13451,7 +13451,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("SnapshotCreateTime", t.Name.Local): @@ -13523,7 +13523,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("VpcId", t.Name.Local): @@ -14021,7 +14021,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsLogExportsToCloudwatchLogs", t.Name.Local): @@ -14037,7 +14037,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsLogExportsToCloudwatchLogs = xtv + sv.SupportsLogExportsToCloudwatchLogs = ptr.Bool(xtv) } case strings.EqualFold("SupportsReadReplica", t.Name.Local): @@ -14053,7 +14053,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsReadReplica = xtv + sv.SupportsReadReplica = ptr.Bool(xtv) } case strings.EqualFold("ValidUpgradeTarget", t.Name.Local): @@ -14180,7 +14180,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AutoMinorVersionUpgrade", t.Name.Local): @@ -14196,7 +14196,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -14226,7 +14226,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.BackupRetentionPeriod = int32(i64) + sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } case strings.EqualFold("CACertificateIdentifier", t.Name.Local): @@ -14268,7 +14268,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.CopyTagsToSnapshot = xtv + sv.CopyTagsToSnapshot = ptr.Bool(xtv) } case strings.EqualFold("DBClusterIdentifier", t.Name.Local): @@ -14337,7 +14337,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.DbInstancePort = int32(i64) + sv.DbInstancePort = ptr.Int32(int32(i64)) } case strings.EqualFold("DBInstanceStatus", t.Name.Local): @@ -14483,7 +14483,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("InstanceCreateTime", t.Name.Local): @@ -14619,7 +14619,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZ = xtv + sv.MultiAZ = ptr.Bool(xtv) } case strings.EqualFold("OptionGroupMemberships", t.Name.Local): @@ -14719,7 +14719,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.PubliclyAccessible = xtv + sv.PubliclyAccessible = ptr.Bool(xtv) } case strings.EqualFold("ReadReplicaDBClusterIdentifiers", t.Name.Local): @@ -14779,7 +14779,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("StorageType", t.Name.Local): @@ -15055,7 +15055,7 @@ func awsAwsquery_deserializeDocumentDBInstanceStatusInfo(v **types.DBInstanceSta if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Normal = xtv + sv.Normal = ptr.Bool(xtv) } case strings.EqualFold("Status", t.Name.Local): @@ -16586,7 +16586,7 @@ func awsAwsquery_deserializeDocumentDoubleRange(v **types.DoubleRange, decoder s if err != nil { return err } - sv.From = f64 + sv.From = ptr.Float64(f64) } case strings.EqualFold("To", t.Name.Local): @@ -16603,7 +16603,7 @@ func awsAwsquery_deserializeDocumentDoubleRange(v **types.DoubleRange, decoder s if err != nil { return err } - sv.To = f64 + sv.To = ptr.Float64(f64) } default: @@ -16750,7 +16750,7 @@ func awsAwsquery_deserializeDocumentEndpoint(v **types.Endpoint, decoder smithyx if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -17278,7 +17278,7 @@ func awsAwsquery_deserializeDocumentEventSubscription(v **types.EventSubscriptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } case strings.EqualFold("EventCategoriesList", t.Name.Local): @@ -17806,7 +17806,7 @@ func awsAwsquery_deserializeDocumentGlobalClusterMember(v **types.GlobalClusterM if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsWriter = xtv + sv.IsWriter = ptr.Bool(xtv) } case strings.EqualFold("Readers", t.Name.Local): @@ -19380,7 +19380,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZCapable = xtv + sv.MultiAZCapable = ptr.Bool(xtv) } case strings.EqualFold("ReadReplicaCapable", t.Name.Local): @@ -19396,7 +19396,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReadReplicaCapable = xtv + sv.ReadReplicaCapable = ptr.Bool(xtv) } case strings.EqualFold("StorageType", t.Name.Local): @@ -19425,7 +19425,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsEnhancedMonitoring = xtv + sv.SupportsEnhancedMonitoring = ptr.Bool(xtv) } case strings.EqualFold("SupportsGlobalDatabases", t.Name.Local): @@ -19441,7 +19441,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsIAMDatabaseAuthentication", t.Name.Local): @@ -19457,7 +19457,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsIAMDatabaseAuthentication = xtv + sv.SupportsIAMDatabaseAuthentication = ptr.Bool(xtv) } case strings.EqualFold("SupportsIops", t.Name.Local): @@ -19473,7 +19473,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsIops = xtv + sv.SupportsIops = ptr.Bool(xtv) } case strings.EqualFold("SupportsPerformanceInsights", t.Name.Local): @@ -19489,7 +19489,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsPerformanceInsights = xtv + sv.SupportsPerformanceInsights = ptr.Bool(xtv) } case strings.EqualFold("SupportsStorageEncryption", t.Name.Local): @@ -19505,7 +19505,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsStorageEncryption = xtv + sv.SupportsStorageEncryption = ptr.Bool(xtv) } case strings.EqualFold("Vpc", t.Name.Local): @@ -19521,7 +19521,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Vpc = xtv + sv.Vpc = ptr.Bool(xtv) } default: @@ -19706,7 +19706,7 @@ func awsAwsquery_deserializeDocumentParameter(v **types.Parameter, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersion", t.Name.Local): @@ -20468,7 +20468,7 @@ func awsAwsquery_deserializeDocumentRange(v **types.Range, decoder smithyxml.Nod if err != nil { return err } - sv.From = int32(i64) + sv.From = ptr.Int32(int32(i64)) } case strings.EqualFold("Step", t.Name.Local): @@ -20502,7 +20502,7 @@ func awsAwsquery_deserializeDocumentRange(v **types.Range, decoder smithyxml.Nod if err != nil { return err } - sv.To = int32(i64) + sv.To = ptr.Int32(int32(i64)) } default: @@ -22315,7 +22315,7 @@ func awsAwsquery_deserializeDocumentUpgradeTarget(v **types.UpgradeTarget, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoUpgrade = xtv + sv.AutoUpgrade = ptr.Bool(xtv) } case strings.EqualFold("Description", t.Name.Local): @@ -22370,7 +22370,7 @@ func awsAwsquery_deserializeDocumentUpgradeTarget(v **types.UpgradeTarget, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsMajorVersionUpgrade = xtv + sv.IsMajorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("SupportsGlobalDatabases", t.Name.Local): diff --git a/service/neptune/endpoints.go b/service/neptune/endpoints.go index a3f88eebdda..2543ee9f01b 100644 --- a/service/neptune/endpoints.go +++ b/service/neptune/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://rds.") diff --git a/service/neptune/serializers.go b/service/neptune/serializers.go index 45f73406071..10834bfb2d4 100644 --- a/service/neptune/serializers.go +++ b/service/neptune/serializers.go @@ -4583,9 +4583,9 @@ func awsAwsquery_serializeDocumentParameter(v *types.Parameter, value query.Valu objectKey.String(*v.Description) } - if v.IsModifiable { + if v.IsModifiable != nil { objectKey := object.Key("IsModifiable") - objectKey.Boolean(v.IsModifiable) + objectKey.Boolean(*v.IsModifiable) } if v.MinimumEngineVersion != nil { @@ -5571,9 +5571,9 @@ func awsAwsquery_serializeOpDocumentDeleteDBClusterInput(v *DeleteDBClusterInput objectKey.String(*v.FinalDBSnapshotIdentifier) } - if v.SkipFinalSnapshot { + if v.SkipFinalSnapshot != nil { objectKey := object.Key("SkipFinalSnapshot") - objectKey.Boolean(v.SkipFinalSnapshot) + objectKey.Boolean(*v.SkipFinalSnapshot) } return nil @@ -5617,9 +5617,9 @@ func awsAwsquery_serializeOpDocumentDeleteDBInstanceInput(v *DeleteDBInstanceInp objectKey.String(*v.FinalDBSnapshotIdentifier) } - if v.SkipFinalSnapshot { + if v.SkipFinalSnapshot != nil { objectKey := object.Key("SkipFinalSnapshot") - objectKey.Boolean(v.SkipFinalSnapshot) + objectKey.Boolean(*v.SkipFinalSnapshot) } return nil @@ -5832,14 +5832,14 @@ func awsAwsquery_serializeOpDocumentDescribeDBClusterSnapshotsInput(v *DescribeD } } - if v.IncludePublic { + if v.IncludePublic != nil { objectKey := object.Key("IncludePublic") - objectKey.Boolean(v.IncludePublic) + objectKey.Boolean(*v.IncludePublic) } - if v.IncludeShared { + if v.IncludeShared != nil { objectKey := object.Key("IncludeShared") - objectKey.Boolean(v.IncludeShared) + objectKey.Boolean(*v.IncludeShared) } if v.Marker != nil { @@ -5869,9 +5869,9 @@ func awsAwsquery_serializeOpDocumentDescribeDBEngineVersionsInput(v *DescribeDBE objectKey.String(*v.DBParameterGroupFamily) } - if v.DefaultOnly { + if v.DefaultOnly != nil { objectKey := object.Key("DefaultOnly") - objectKey.Boolean(v.DefaultOnly) + objectKey.Boolean(*v.DefaultOnly) } if v.Engine != nil { @@ -6397,14 +6397,14 @@ func awsAwsquery_serializeOpDocumentModifyDBClusterInput(v *ModifyDBClusterInput object := value.Object() _ = object - if v.AllowMajorVersionUpgrade { + if v.AllowMajorVersionUpgrade != nil { objectKey := object.Key("AllowMajorVersionUpgrade") - objectKey.Boolean(v.AllowMajorVersionUpgrade) + objectKey.Boolean(*v.AllowMajorVersionUpgrade) } - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.BackupRetentionPeriod != nil { @@ -6560,14 +6560,14 @@ func awsAwsquery_serializeOpDocumentModifyDBInstanceInput(v *ModifyDBInstanceInp objectKey.Integer(*v.AllocatedStorage) } - if v.AllowMajorVersionUpgrade { + if v.AllowMajorVersionUpgrade != nil { objectKey := object.Key("AllowMajorVersionUpgrade") - objectKey.Boolean(v.AllowMajorVersionUpgrade) + objectKey.Boolean(*v.AllowMajorVersionUpgrade) } - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.AutoMinorVersionUpgrade != nil { @@ -6978,9 +6978,9 @@ func awsAwsquery_serializeOpDocumentResetDBClusterParameterGroupInput(v *ResetDB } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil @@ -7002,9 +7002,9 @@ func awsAwsquery_serializeOpDocumentResetDBParameterGroupInput(v *ResetDBParamet } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil @@ -7197,9 +7197,9 @@ func awsAwsquery_serializeOpDocumentRestoreDBClusterToPointInTimeInput(v *Restor } } - if v.UseLatestRestorableTime { + if v.UseLatestRestorableTime != nil { objectKey := object.Key("UseLatestRestorableTime") - objectKey.Boolean(v.UseLatestRestorableTime) + objectKey.Boolean(*v.UseLatestRestorableTime) } if v.VpcSecurityGroupIds != nil { diff --git a/service/neptune/types/types.go b/service/neptune/types/types.go index 1ace0c54883..ec36af7633d 100644 --- a/service/neptune/types/types.go +++ b/service/neptune/types/types.go @@ -177,7 +177,7 @@ type DBCluster struct { // True if mapping of Amazon Identity and Access Management (IAM) accounts to // database accounts is enabled, and otherwise false. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // If StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB // cluster. @@ -191,7 +191,7 @@ type DBCluster struct { MasterUsername *string // Specifies whether the DB cluster has instances in multiple Availability Zones. - MultiAZ bool + MultiAZ *bool // This data type is used as a response element in the ModifyDBCluster operation // and contains changes that will be applied during the next maintenance window. @@ -238,7 +238,7 @@ type DBCluster struct { Status *string // Specifies whether the DB cluster is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // Provides a list of VPC security groups that the DB cluster belongs to. VpcSecurityGroups []VpcSecurityGroupMembership @@ -311,7 +311,7 @@ type DBClusterMember struct { // Value that is true if the cluster member is the primary instance for the DB // cluster and false otherwise. - IsClusterWriter bool + IsClusterWriter *bool // A value that specifies the order in which a Read Replica is promoted to the // primary instance after a failure of the existing primary instance. @@ -385,7 +385,7 @@ type DBClusterRole struct { type DBClusterSnapshot struct { // Specifies the allocated storage size in gibibytes (GiB). - AllocatedStorage int32 + AllocatedStorage *int32 // Provides the list of EC2 Availability Zones that instances in the DB cluster // snapshot can be restored in. @@ -423,7 +423,7 @@ type DBClusterSnapshot struct { // True if mapping of Amazon Identity and Access Management (IAM) accounts to // database accounts is enabled, and otherwise false. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // If StorageEncrypted is true, the Amazon KMS key identifier for the encrypted DB // cluster snapshot. @@ -436,11 +436,11 @@ type DBClusterSnapshot struct { MasterUsername *string // Specifies the percentage of the estimated data that has been transferred. - PercentProgress int32 + PercentProgress *int32 // Specifies the port that the DB cluster was listening on at the time of the // snapshot. - Port int32 + Port *int32 // Provides the time when the snapshot was taken, in Universal Coordinated Time // (UTC). @@ -458,7 +458,7 @@ type DBClusterSnapshot struct { Status *string // Specifies whether the DB cluster snapshot is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // Provides the VPC ID associated with the DB cluster snapshot. VpcId *string @@ -539,14 +539,14 @@ type DBEngineVersion struct { // A value that indicates whether you can use Aurora global databases with a // specific DB engine version. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // A value that indicates whether the engine version supports exporting the log // types specified by ExportableLogTypes to CloudWatch Logs. - SupportsLogExportsToCloudwatchLogs bool + SupportsLogExportsToCloudwatchLogs *bool // Indicates whether the database engine version supports read replicas. - SupportsReadReplica bool + SupportsReadReplica *bool // A list of engine versions that this database engine version can be upgraded to. ValidUpgradeTarget []UpgradeTarget @@ -559,16 +559,16 @@ type DBEngineVersion struct { type DBInstance struct { // Not supported by Neptune. - AllocatedStorage int32 + AllocatedStorage *int32 // Indicates that minor version patches are applied automatically. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // Specifies the name of the Availability Zone the DB instance is located in. AvailabilityZone *string // Specifies the number of days for which automatic DB snapshots are retained. - BackupRetentionPeriod int32 + BackupRetentionPeriod *int32 // The identifier of the CA certificate for this DB instance. CACertificateIdentifier *string @@ -578,7 +578,7 @@ type DBInstance struct { // Specifies whether tags are copied from the DB instance to snapshots of the DB // instance. - CopyTagsToSnapshot bool + CopyTagsToSnapshot *bool // If the DB instance is a member of a DB cluster, contains the name of the DB // cluster that the DB instance is a member of. @@ -613,7 +613,7 @@ type DBInstance struct { // Specifies the port that the DB instance listens on. If the DB instance is part // of a DB cluster, this can be a different port than the DB cluster port. - DbInstancePort int32 + DbInstancePort *int32 // The Amazon Region-unique, immutable identifier for the DB instance. This // identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key @@ -648,7 +648,7 @@ type DBInstance struct { // True if Amazon Identity and Access Management (IAM) authentication is enabled, // and otherwise false. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // Provides the date and time the DB instance was created. InstanceCreateTime *time.Time @@ -678,7 +678,7 @@ type DBInstance struct { MonitoringRoleArn *string // Specifies if the DB instance is a Multi-AZ deployment. - MultiAZ bool + MultiAZ *bool // (Not supported by Neptune) OptionGroupMemberships []OptionGroupMembership @@ -709,7 +709,7 @@ type DBInstance struct { // This flag should no longer be used. // // Deprecated: This member has been deprecated. - PubliclyAccessible bool + PubliclyAccessible *bool // Contains one or more identifiers of DB clusters that are Read Replicas of this // DB instance. @@ -732,7 +732,7 @@ type DBInstance struct { StatusInfos []DBInstanceStatusInfo // Not supported: The encryption for DB instances is managed by the DB cluster. - StorageEncrypted bool + StorageEncrypted *bool // Specifies the storage type associated with DB instance. StorageType *string @@ -759,7 +759,7 @@ type DBInstanceStatusInfo struct { // Boolean value that is true if the instance is operating normally, or false if // the instance is in an error state. - Normal bool + Normal *bool // Status of the DB instance. For a StatusType of read replica, the values can be // replicating, error, stopped, or terminated. @@ -869,10 +869,10 @@ type DomainMembership struct { type DoubleRange struct { // The minimum value in the range. - From float64 + From *float64 // The maximum value in the range. - To float64 + To *float64 noSmithyDocumentSerde } @@ -888,7 +888,7 @@ type Endpoint struct { HostedZoneId *string // Specifies the port that the database engine is listening on. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -961,7 +961,7 @@ type EventSubscription struct { // A Boolean value indicating if the subscription is enabled. True indicates the // subscription is enabled. - Enabled bool + Enabled *bool // A list of event categories for the event notification subscription. EventCategoriesList []string @@ -1057,7 +1057,7 @@ type GlobalClusterMember struct { // Specifies whether the Neptune cluster is the primary cluster (that is, has // read-write capability) for the Neptune global database with which it is // associated. - IsWriter bool + IsWriter *bool // The Amazon Resource Name (ARN) for each read-only secondary cluster associated // with the Neptune global database. @@ -1116,36 +1116,36 @@ type OrderableDBInstanceOption struct { MinStorageSize *int32 // Indicates whether a DB instance is Multi-AZ capable. - MultiAZCapable bool + MultiAZCapable *bool // Indicates whether a DB instance can have a Read Replica. - ReadReplicaCapable bool + ReadReplicaCapable *bool // Indicates the storage type for a DB instance. StorageType *string // Indicates whether a DB instance supports Enhanced Monitoring at intervals from // 1 to 60 seconds. - SupportsEnhancedMonitoring bool + SupportsEnhancedMonitoring *bool // A value that indicates whether you can use Neptune global databases with a // specific combination of other DB engine attributes. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // Indicates whether a DB instance supports IAM database authentication. - SupportsIAMDatabaseAuthentication bool + SupportsIAMDatabaseAuthentication *bool // Indicates whether a DB instance supports provisioned IOPS. - SupportsIops bool + SupportsIops *bool // (Not supported by Neptune) - SupportsPerformanceInsights bool + SupportsPerformanceInsights *bool // Indicates whether a DB instance supports encrypted storage. - SupportsStorageEncryption bool + SupportsStorageEncryption *bool // Indicates whether a DB instance is in a VPC. - Vpc bool + Vpc *bool noSmithyDocumentSerde } @@ -1171,7 +1171,7 @@ type Parameter struct { // Indicates whether ( true ) or not ( false ) the parameter can be modified. Some // parameters have security or operational implications that prevent them from // being changed. - IsModifiable bool + IsModifiable *bool // The earliest engine version to which the parameter can apply. MinimumEngineVersion *string @@ -1294,7 +1294,7 @@ type PendingModifiedValues struct { type Range struct { // The minimum value in the range. - From int32 + From *int32 // The step value for the range. For example, if you have a range of 5,000 to // 10,000, with a step value of 1,000, the valid values start at 5,000 and step up @@ -1303,7 +1303,7 @@ type Range struct { Step *int32 // The maximum value in the range. - To int32 + To *int32 noSmithyDocumentSerde } @@ -1405,7 +1405,7 @@ type UpgradeTarget struct { // A value that indicates whether the target version is applied to any source DB // instances that have AutoMinorVersionUpgrade set to true. - AutoUpgrade bool + AutoUpgrade *bool // The version of the database engine that a DB instance can be upgraded to. Description *string @@ -1417,7 +1417,7 @@ type UpgradeTarget struct { EngineVersion *string // A value that indicates whether a database engine is upgraded to a major version. - IsMajorVersionUpgrade bool + IsMajorVersionUpgrade *bool // A value that indicates whether you can use Neptune global databases with the // target engine version. diff --git a/service/networkfirewall/deserializers.go b/service/networkfirewall/deserializers.go index 55f85320934..e5d5b4f9d40 100644 --- a/service/networkfirewall/deserializers.go +++ b/service/networkfirewall/deserializers.go @@ -8595,7 +8595,7 @@ func awsAwsjson10_deserializeDocumentStatelessRule(v **types.StatelessRule, valu if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "RuleDefinition": @@ -8644,7 +8644,7 @@ func awsAwsjson10_deserializeDocumentStatelessRuleGroupReference(v **types.State if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "ResourceArn": diff --git a/service/networkfirewall/endpoints.go b/service/networkfirewall/endpoints.go index 0f839b32da5..32b67fe6155 100644 --- a/service/networkfirewall/endpoints.go +++ b/service/networkfirewall/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://network-firewall-fips.") diff --git a/service/networkfirewall/serializers.go b/service/networkfirewall/serializers.go index 8e4f78bd7f0..370194f49ee 100644 --- a/service/networkfirewall/serializers.go +++ b/service/networkfirewall/serializers.go @@ -2974,9 +2974,9 @@ func awsAwsjson10_serializeDocumentStatelessRule(v *types.StatelessRule, value s object := value.Object() defer object.Close() - { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.RuleDefinition != nil { @@ -2993,9 +2993,9 @@ func awsAwsjson10_serializeDocumentStatelessRuleGroupReference(v *types.Stateles object := value.Object() defer object.Close() - { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.ResourceArn != nil { diff --git a/service/networkfirewall/types/types.go b/service/networkfirewall/types/types.go index bf69af6a78f..374f0f53952 100644 --- a/service/networkfirewall/types/types.go +++ b/service/networkfirewall/types/types.go @@ -1248,7 +1248,7 @@ type StatelessRule struct { // for example use 100, 200, and so on. // // This member is required. - Priority int32 + Priority *int32 // Defines the stateless 5-tuple packet inspection criteria and the action to take // on a packet that matches the criteria. @@ -1269,7 +1269,7 @@ type StatelessRuleGroupReference struct { // You must ensure that the priority settings are unique within each policy. // // This member is required. - Priority int32 + Priority *int32 // The Amazon Resource Name (ARN) of the stateless rule group. // diff --git a/service/networkfirewall/validators.go b/service/networkfirewall/validators.go index a68e7986564..36831ca760e 100644 --- a/service/networkfirewall/validators.go +++ b/service/networkfirewall/validators.go @@ -1225,6 +1225,9 @@ func validateStatelessRule(v *types.StatelessRule) error { invalidParams.AddNested("RuleDefinition", err.(smithy.InvalidParamsError)) } } + if v.Priority == nil { + invalidParams.Add(smithy.NewErrParamRequired("Priority")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -1240,6 +1243,9 @@ func validateStatelessRuleGroupReference(v *types.StatelessRuleGroupReference) e if v.ResourceArn == nil { invalidParams.Add(smithy.NewErrParamRequired("ResourceArn")) } + if v.Priority == nil { + invalidParams.Add(smithy.NewErrParamRequired("Priority")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/opensearch/api_op_PurchaseReservedInstanceOffering.go b/service/opensearch/api_op_PurchaseReservedInstanceOffering.go index 8e55f3ed92f..1b1ace90546 100644 --- a/service/opensearch/api_op_PurchaseReservedInstanceOffering.go +++ b/service/opensearch/api_op_PurchaseReservedInstanceOffering.go @@ -46,7 +46,7 @@ type PurchaseReservedInstanceOfferingInput struct { ReservedInstanceOfferingId *string // The number of OpenSearch instances to reserve. - InstanceCount int32 + InstanceCount *int32 noSmithyDocumentSerde } diff --git a/service/opensearch/deserializers.go b/service/opensearch/deserializers.go index dd094910325..87774d627b8 100644 --- a/service/opensearch/deserializers.go +++ b/service/opensearch/deserializers.go @@ -13003,7 +13003,7 @@ func awsRestjson1_deserializeDocumentDuration(v **types.Duration, value interfac if err != nil { return err } - sv.Value = i64 + sv.Value = ptr.Int64(i64) } default: diff --git a/service/opensearch/serializers.go b/service/opensearch/serializers.go index 200f4e5355a..23c1cae902c 100644 --- a/service/opensearch/serializers.go +++ b/service/opensearch/serializers.go @@ -3566,9 +3566,9 @@ func awsRestjson1_serializeOpDocumentPurchaseReservedInstanceOfferingInput(v *Pu object := value.Object() defer object.Close() - if v.InstanceCount != 0 { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if v.ReservationName != nil { @@ -4971,9 +4971,9 @@ func awsRestjson1_serializeDocumentDuration(v *types.Duration, value smithyjson. ok.String(string(v.Unit)) } - if v.Value != 0 { + if v.Value != nil { ok := object.Key("Value") - ok.Long(v.Value) + ok.Long(*v.Value) } return nil diff --git a/service/opensearch/types/types.go b/service/opensearch/types/types.go index 3f922d8265e..26c1270336a 100644 --- a/service/opensearch/types/types.go +++ b/service/opensearch/types/types.go @@ -993,7 +993,7 @@ type Duration struct { Unit TimeUnit // Integer to specify the value of a maintenance schedule duration. - Value int64 + Value *int64 noSmithyDocumentSerde } diff --git a/service/outposts/deserializers.go b/service/outposts/deserializers.go index f9307d17348..31ed894d642 100644 --- a/service/outposts/deserializers.go +++ b/service/outposts/deserializers.go @@ -5131,7 +5131,7 @@ func awsRestjson1_deserializeDocumentLineItem(v **types.LineItem, value interfac if err != nil { return err } - sv.Quantity = int32(i64) + sv.Quantity = ptr.Int32(int32(i64)) } case "ShipmentInformation": diff --git a/service/outposts/endpoints.go b/service/outposts/endpoints.go index 83305220c78..94ee44d248e 100644 --- a/service/outposts/endpoints.go +++ b/service/outposts/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://outposts.") diff --git a/service/outposts/serializers.go b/service/outposts/serializers.go index 8e456978f0f..75cfeb0c7e9 100644 --- a/service/outposts/serializers.go +++ b/service/outposts/serializers.go @@ -2193,9 +2193,9 @@ func awsRestjson1_serializeDocumentLineItemRequest(v *types.LineItemRequest, val ok.String(*v.CatalogItemId) } - if v.Quantity != 0 { + if v.Quantity != nil { ok := object.Key("Quantity") - ok.Integer(v.Quantity) + ok.Integer(*v.Quantity) } return nil diff --git a/service/outposts/types/types.go b/service/outposts/types/types.go index 1628c7a68bb..65c04505211 100644 --- a/service/outposts/types/types.go +++ b/service/outposts/types/types.go @@ -204,7 +204,7 @@ type LineItem struct { PreviousOrderId *string // The quantity of the line item. - Quantity int32 + Quantity *int32 // Information about a line item shipment. ShipmentInformation *ShipmentInformation @@ -234,7 +234,7 @@ type LineItemRequest struct { CatalogItemId *string // The quantity of a line item request. - Quantity int32 + Quantity *int32 noSmithyDocumentSerde } diff --git a/service/personalizeruntime/endpoints.go b/service/personalizeruntime/endpoints.go index 676054f6334..a21136f31d2 100644 --- a/service/personalizeruntime/endpoints.go +++ b/service/personalizeruntime/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://personalize-runtime-fips.") diff --git a/service/personalizeruntime/serializers.go b/service/personalizeruntime/serializers.go index 01cdc0c60ed..b91e2f16542 100644 --- a/service/personalizeruntime/serializers.go +++ b/service/personalizeruntime/serializers.go @@ -295,9 +295,9 @@ func awsRestjson1_serializeDocumentPromotion(v *types.Promotion, value smithyjso ok.String(*v.Name) } - if v.PercentPromotedItems != 0 { + if v.PercentPromotedItems != nil { ok := object.Key("percentPromotedItems") - ok.Integer(v.PercentPromotedItems) + ok.Integer(*v.PercentPromotedItems) } return nil diff --git a/service/personalizeruntime/types/types.go b/service/personalizeruntime/types/types.go index b997cdd71cd..634fb168592 100644 --- a/service/personalizeruntime/types/types.go +++ b/service/personalizeruntime/types/types.go @@ -49,7 +49,7 @@ type Promotion struct { Name *string // The percentage of recommended items to apply the promotion to. - PercentPromotedItems int32 + PercentPromotedItems *int32 noSmithyDocumentSerde } diff --git a/service/pinpoint/endpoints.go b/service/pinpoint/endpoints.go index df3c7351987..9608665fc51 100644 --- a/service/pinpoint/endpoints.go +++ b/service/pinpoint/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://pinpoint-fips.") diff --git a/service/quicksight/deserializers.go b/service/quicksight/deserializers.go index 2045942aec7..eae0b691987 100644 --- a/service/quicksight/deserializers.go +++ b/service/quicksight/deserializers.go @@ -36969,7 +36969,7 @@ func awsRestjson1_deserializeDocumentAuroraParameters(v **types.AuroraParameters if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -37031,7 +37031,7 @@ func awsRestjson1_deserializeDocumentAuroraPostgreSqlParameters(v **types.Aurora if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -43882,7 +43882,7 @@ func awsRestjson1_deserializeDocumentDatabricksParameters(v **types.DatabricksPa if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "SqlEndpointPath": @@ -48643,7 +48643,7 @@ func awsRestjson1_deserializeDocumentExasolParameters(v **types.ExasolParameters if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -54647,7 +54647,7 @@ func awsRestjson1_deserializeDocumentGrowthRateComputation(v **types.GrowthRateC if err != nil { return err } - sv.PeriodSize = int32(i64) + sv.PeriodSize = ptr.Int32(int32(i64)) } case "Time": @@ -59069,7 +59069,7 @@ func awsRestjson1_deserializeDocumentLookbackWindow(v **types.LookbackWindow, va if err != nil { return err } - sv.Size = i64 + sv.Size = ptr.Int64(i64) } case "SizeUnit": @@ -59312,7 +59312,7 @@ func awsRestjson1_deserializeDocumentMariaDbParameters(v **types.MariaDbParamete if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -59794,7 +59794,7 @@ func awsRestjson1_deserializeDocumentMySqlParameters(v **types.MySqlParameters, if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -61226,7 +61226,7 @@ func awsRestjson1_deserializeDocumentOracleParameters(v **types.OracleParameters if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -64709,7 +64709,7 @@ func awsRestjson1_deserializeDocumentPostgreSqlParameters(v **types.PostgreSqlPa if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -64904,7 +64904,7 @@ func awsRestjson1_deserializeDocumentPrestoParameters(v **types.PrestoParameters if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -71785,7 +71785,7 @@ func awsRestjson1_deserializeDocumentSparkParameters(v **types.SparkParameters, if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -71847,7 +71847,7 @@ func awsRestjson1_deserializeDocumentSqlServerParameters(v **types.SqlServerPara if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -71949,7 +71949,7 @@ func awsRestjson1_deserializeDocumentStarburstParameters(v **types.StarburstPara if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "ProductType": @@ -75003,7 +75003,7 @@ func awsRestjson1_deserializeDocumentTeradataParameters(v **types.TeradataParame if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -76791,7 +76791,7 @@ func awsRestjson1_deserializeDocumentTopBottomMoversComputation(v **types.TopBot if err != nil { return err } - sv.MoverSize = int32(i64) + sv.MoverSize = ptr.Int32(int32(i64)) } case "Name": @@ -76895,7 +76895,7 @@ func awsRestjson1_deserializeDocumentTopBottomRankedComputation(v **types.TopBot if err != nil { return err } - sv.ResultSize = int32(i64) + sv.ResultSize = ptr.Int32(int32(i64)) } case "Type": @@ -79155,7 +79155,7 @@ func awsRestjson1_deserializeDocumentTrinoParameters(v **types.TrinoParameters, if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -79199,7 +79199,7 @@ func awsRestjson1_deserializeDocumentTwitterParameters(v **types.TwitterParamete if err != nil { return err } - sv.MaxRows = int32(i64) + sv.MaxRows = ptr.Int32(int32(i64)) } case "Query": diff --git a/service/quicksight/serializers.go b/service/quicksight/serializers.go index 78f888c949e..d64b77b3064 100644 --- a/service/quicksight/serializers.go +++ b/service/quicksight/serializers.go @@ -16211,9 +16211,9 @@ func awsRestjson1_serializeDocumentAuroraParameters(v *types.AuroraParameters, v ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -16233,9 +16233,9 @@ func awsRestjson1_serializeDocumentAuroraPostgreSqlParameters(v *types.AuroraPos ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -19391,9 +19391,9 @@ func awsRestjson1_serializeDocumentDatabricksParameters(v *types.DatabricksParam ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.SqlEndpointPath != nil { @@ -21303,9 +21303,9 @@ func awsRestjson1_serializeDocumentExasolParameters(v *types.ExasolParameters, v ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -24032,9 +24032,9 @@ func awsRestjson1_serializeDocumentGrowthRateComputation(v *types.GrowthRateComp ok.String(*v.Name) } - if v.PeriodSize != 0 { + if v.PeriodSize != nil { ok := object.Key("PeriodSize") - ok.Integer(v.PeriodSize) + ok.Integer(*v.PeriodSize) } if v.Time != nil { @@ -25977,9 +25977,9 @@ func awsRestjson1_serializeDocumentLookbackWindow(v *types.LookbackWindow, value ok.String(*v.ColumnName) } - { + if v.Size != nil { ok := object.Key("Size") - ok.Long(v.Size) + ok.Long(*v.Size) } if len(v.SizeUnit) > 0 { @@ -26063,9 +26063,9 @@ func awsRestjson1_serializeDocumentMariaDbParameters(v *types.MariaDbParameters, ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -26256,9 +26256,9 @@ func awsRestjson1_serializeDocumentMySqlParameters(v *types.MySqlParameters, val ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -26821,9 +26821,9 @@ func awsRestjson1_serializeDocumentOracleParameters(v *types.OracleParameters, v ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -28560,9 +28560,9 @@ func awsRestjson1_serializeDocumentPostgreSqlParameters(v *types.PostgreSqlParam ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -28621,9 +28621,9 @@ func awsRestjson1_serializeDocumentPrestoParameters(v *types.PrestoParameters, v ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -31489,9 +31489,9 @@ func awsRestjson1_serializeDocumentSparkParameters(v *types.SparkParameters, val ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -31511,9 +31511,9 @@ func awsRestjson1_serializeDocumentSqlServerParameters(v *types.SqlServerParamet ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -31545,9 +31545,9 @@ func awsRestjson1_serializeDocumentStarburstParameters(v *types.StarburstParamet ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if len(v.ProductType) > 0 { @@ -32746,9 +32746,9 @@ func awsRestjson1_serializeDocumentTeradataParameters(v *types.TeradataParameter ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -33269,9 +33269,9 @@ func awsRestjson1_serializeDocumentTopBottomMoversComputation(v *types.TopBottom ok.String(*v.ComputationId) } - if v.MoverSize != 0 { + if v.MoverSize != nil { ok := object.Key("MoverSize") - ok.Integer(v.MoverSize) + ok.Integer(*v.MoverSize) } if v.Name != nil { @@ -33327,9 +33327,9 @@ func awsRestjson1_serializeDocumentTopBottomRankedComputation(v *types.TopBottom ok.String(*v.Name) } - if v.ResultSize != 0 { + if v.ResultSize != nil { ok := object.Key("ResultSize") - ok.Integer(v.ResultSize) + ok.Integer(*v.ResultSize) } if len(v.Type) > 0 { @@ -34376,9 +34376,9 @@ func awsRestjson1_serializeDocumentTrinoParameters(v *types.TrinoParameters, val ok.String(*v.Host) } - { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -34388,9 +34388,9 @@ func awsRestjson1_serializeDocumentTwitterParameters(v *types.TwitterParameters, object := value.Object() defer object.Close() - { + if v.MaxRows != nil { ok := object.Key("MaxRows") - ok.Integer(v.MaxRows) + ok.Integer(*v.MaxRows) } if v.Query != nil { diff --git a/service/quicksight/types/types.go b/service/quicksight/types/types.go index 7d3716e8e21..61f8595b51b 100644 --- a/service/quicksight/types/types.go +++ b/service/quicksight/types/types.go @@ -1070,7 +1070,7 @@ type AuroraParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -1091,7 +1091,7 @@ type AuroraPostgreSqlParameters struct { // The port that Amazon Aurora PostgreSQL is listening on. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -3138,7 +3138,7 @@ type DatabricksParameters struct { // The port for the Databricks data source. // // This member is required. - Port int32 + Port *int32 // The HTTP path of the Databricks data source. // @@ -4721,7 +4721,7 @@ type ExasolParameters struct { // The port for the Exasol data source. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -6440,7 +6440,7 @@ type GrowthRateComputation struct { Name *string // The period size setup of a growth rate computation. - PeriodSize int32 + PeriodSize *int32 // The time field that is used in a computation. Time *DimensionField @@ -7661,7 +7661,7 @@ type LookbackWindow struct { // The lookback window column size. // // This member is required. - Size int64 + Size *int64 // The size unit that is used for the lookback window column. Valid values for // this structure are HOUR , DAY , and WEEK . @@ -7729,7 +7729,7 @@ type MariaDbParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -7863,7 +7863,7 @@ type MySqlParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -8291,7 +8291,7 @@ type OracleParameters struct { // The port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -9305,7 +9305,7 @@ type PostgreSqlParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -9347,7 +9347,7 @@ type PrestoParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -11371,7 +11371,7 @@ type SparkParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -11392,7 +11392,7 @@ type SqlServerParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -11423,7 +11423,7 @@ type StarburstParameters struct { // The port for the Starburst data source. // // This member is required. - Port int32 + Port *int32 // The product type for the Starburst data source. ProductType StarburstProductType @@ -12276,7 +12276,7 @@ type TeradataParameters struct { // Port. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -12747,7 +12747,7 @@ type TopBottomMoversComputation struct { Category *DimensionField // The mover size setup of the top and bottom movers computation. - MoverSize int32 + MoverSize *int32 // The name of a computation. Name *string @@ -12786,7 +12786,7 @@ type TopBottomRankedComputation struct { Name *string // The result size of a top and bottom ranked computation. - ResultSize int32 + ResultSize *int32 // The value field that is used in a computation. Value *MeasureField @@ -13522,7 +13522,7 @@ type TrinoParameters struct { // The port for the Trino data source. // // This member is required. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -13533,7 +13533,7 @@ type TwitterParameters struct { // Maximum number of rows to query Twitter. // // This member is required. - MaxRows int32 + MaxRows *int32 // Twitter query string. // diff --git a/service/quicksight/validators.go b/service/quicksight/validators.go index df83e92f264..d93ac9a76e2 100644 --- a/service/quicksight/validators.go +++ b/service/quicksight/validators.go @@ -4729,6 +4729,9 @@ func validateAuroraParameters(v *types.AuroraParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -4747,6 +4750,9 @@ func validateAuroraPostgreSqlParameters(v *types.AuroraPostgreSqlParameters) err if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -6680,6 +6686,9 @@ func validateDatabricksParameters(v *types.DatabricksParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.SqlEndpointPath == nil { invalidParams.Add(smithy.NewErrParamRequired("SqlEndpointPath")) } @@ -7794,6 +7803,9 @@ func validateExasolParameters(v *types.ExasolParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10860,6 +10872,9 @@ func validateLookbackWindow(v *types.LookbackWindow) error { if v.ColumnName == nil { invalidParams.Add(smithy.NewErrParamRequired("ColumnName")) } + if v.Size == nil { + invalidParams.Add(smithy.NewErrParamRequired("Size")) + } if len(v.SizeUnit) == 0 { invalidParams.Add(smithy.NewErrParamRequired("SizeUnit")) } @@ -10931,6 +10946,9 @@ func validateMariaDbParameters(v *types.MariaDbParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -11056,6 +11074,9 @@ func validateMySqlParameters(v *types.MySqlParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -11301,6 +11322,9 @@ func validateOracleParameters(v *types.OracleParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -12387,6 +12411,9 @@ func validatePostgreSqlParameters(v *types.PostgreSqlParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -12449,6 +12476,9 @@ func validatePrestoParameters(v *types.PrestoParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Catalog == nil { invalidParams.Add(smithy.NewErrParamRequired("Catalog")) } @@ -14321,6 +14351,9 @@ func validateSparkParameters(v *types.SparkParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -14336,6 +14369,9 @@ func validateSqlServerParameters(v *types.SqlServerParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -14354,6 +14390,9 @@ func validateStarburstParameters(v *types.StarburstParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Catalog == nil { invalidParams.Add(smithy.NewErrParamRequired("Catalog")) } @@ -15120,6 +15159,9 @@ func validateTeradataParameters(v *types.TeradataParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Database == nil { invalidParams.Add(smithy.NewErrParamRequired("Database")) } @@ -15904,6 +15946,9 @@ func validateTrinoParameters(v *types.TrinoParameters) error { if v.Host == nil { invalidParams.Add(smithy.NewErrParamRequired("Host")) } + if v.Port == nil { + invalidParams.Add(smithy.NewErrParamRequired("Port")) + } if v.Catalog == nil { invalidParams.Add(smithy.NewErrParamRequired("Catalog")) } @@ -15922,6 +15967,9 @@ func validateTwitterParameters(v *types.TwitterParameters) error { if v.Query == nil { invalidParams.Add(smithy.NewErrParamRequired("Query")) } + if v.MaxRows == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxRows")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/rds/api_op_CancelExportTask.go b/service/rds/api_op_CancelExportTask.go index aa1a5180cac..2ee5c889af5 100644 --- a/service/rds/api_op_CancelExportTask.go +++ b/service/rds/api_op_CancelExportTask.go @@ -78,7 +78,7 @@ type CancelExportTaskOutput struct { KmsKeyId *string // The progress of the snapshot or cluster export task as a percentage. - PercentProgress int32 + PercentProgress *int32 // The Amazon S3 bucket where the snapshot or cluster is exported to. S3Bucket *string @@ -111,7 +111,7 @@ type CancelExportTaskOutput struct { TaskStartTime *time.Time // The total amount of data exported, in gigabytes. - TotalExtractedDataInGB int32 + TotalExtractedDataInGB *int32 // A warning about the snapshot or cluster export task. WarningMessage *string diff --git a/service/rds/api_op_CreateCustomDBEngineVersion.go b/service/rds/api_op_CreateCustomDBEngineVersion.go index d3c7eac1a48..7a842a55111 100644 --- a/service/rds/api_op_CreateCustomDBEngineVersion.go +++ b/service/rds/api_op_CreateCustomDBEngineVersion.go @@ -205,7 +205,7 @@ type CreateCustomDBEngineVersionOutput struct { SupportedTimezones []types.Timezone // Indicates whether the engine version supports Babelfish for Aurora PostgreSQL. - SupportsBabelfish bool + SupportsBabelfish *bool // Indicates whether the engine version supports rotating the server certificate // without rebooting the DB instance. @@ -213,7 +213,7 @@ type CreateCustomDBEngineVersionOutput struct { // Indicates whether you can use Aurora global databases with a specific DB engine // version. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // Indicates whether the DB engine version supports forwarding write operations // from reader DB instances to the writer DB instance in the DB cluster. By @@ -223,14 +223,14 @@ type CreateCustomDBEngineVersionOutput struct { // Indicates whether the engine version supports exporting the log types specified // by ExportableLogTypes to CloudWatch Logs. - SupportsLogExportsToCloudwatchLogs bool + SupportsLogExportsToCloudwatchLogs *bool // Indicates whether you can use Aurora parallel query with a specific DB engine // version. - SupportsParallelQuery bool + SupportsParallelQuery *bool // Indicates whether the database engine version supports read replicas. - SupportsReadReplica bool + SupportsReadReplica *bool // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) // in the Amazon RDS User Guide. diff --git a/service/rds/api_op_CreateDBProxy.go b/service/rds/api_op_CreateDBProxy.go index 0c56cc8d015..50c4c75cccc 100644 --- a/service/rds/api_op_CreateDBProxy.go +++ b/service/rds/api_op_CreateDBProxy.go @@ -75,7 +75,7 @@ type CreateDBProxyInput struct { // proxy. Thus, only enable this setting when needed for debugging, and only when // you have security measures in place to safeguard any sensitive information that // appears in the logs. - DebugLogging bool + DebugLogging *bool // The number of seconds that a connection to the proxy can be inactive before the // proxy disconnects it. You can set this value higher or lower than the connection @@ -85,7 +85,7 @@ type CreateDBProxyInput struct { // Specifies whether Transport Layer Security (TLS) encryption is required for // connections to the proxy. By enabling this setting, you can enforce encrypted // TLS connections to the proxy. - RequireTLS bool + RequireTLS *bool // An optional set of key-value pairs to associate arbitrary data of your choosing // with the proxy. diff --git a/service/rds/api_op_DeleteCustomDBEngineVersion.go b/service/rds/api_op_DeleteCustomDBEngineVersion.go index bcb65288f67..6953eac4be6 100644 --- a/service/rds/api_op_DeleteCustomDBEngineVersion.go +++ b/service/rds/api_op_DeleteCustomDBEngineVersion.go @@ -163,7 +163,7 @@ type DeleteCustomDBEngineVersionOutput struct { SupportedTimezones []types.Timezone // Indicates whether the engine version supports Babelfish for Aurora PostgreSQL. - SupportsBabelfish bool + SupportsBabelfish *bool // Indicates whether the engine version supports rotating the server certificate // without rebooting the DB instance. @@ -171,7 +171,7 @@ type DeleteCustomDBEngineVersionOutput struct { // Indicates whether you can use Aurora global databases with a specific DB engine // version. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // Indicates whether the DB engine version supports forwarding write operations // from reader DB instances to the writer DB instance in the DB cluster. By @@ -181,14 +181,14 @@ type DeleteCustomDBEngineVersionOutput struct { // Indicates whether the engine version supports exporting the log types specified // by ExportableLogTypes to CloudWatch Logs. - SupportsLogExportsToCloudwatchLogs bool + SupportsLogExportsToCloudwatchLogs *bool // Indicates whether you can use Aurora parallel query with a specific DB engine // version. - SupportsParallelQuery bool + SupportsParallelQuery *bool // Indicates whether the database engine version supports read replicas. - SupportsReadReplica bool + SupportsReadReplica *bool // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) // in the Amazon RDS User Guide. diff --git a/service/rds/api_op_DeleteDBCluster.go b/service/rds/api_op_DeleteDBCluster.go index f6832150729..255a719ec9e 100644 --- a/service/rds/api_op_DeleteDBCluster.go +++ b/service/rds/api_op_DeleteDBCluster.go @@ -69,7 +69,7 @@ type DeleteDBClusterInput struct { // cluster is deleted. By default, skip isn't specified, and the DB cluster // snapshot is created. By default, this parameter is disabled. You must specify a // FinalDBSnapshotIdentifier parameter if SkipFinalSnapshot is disabled. - SkipFinalSnapshot bool + SkipFinalSnapshot *bool noSmithyDocumentSerde } diff --git a/service/rds/api_op_DeleteDBInstance.go b/service/rds/api_op_DeleteDBInstance.go index 003b25a69dd..19dd8392f54 100644 --- a/service/rds/api_op_DeleteDBInstance.go +++ b/service/rds/api_op_DeleteDBInstance.go @@ -87,7 +87,7 @@ type DeleteDBInstanceInput struct { // RDS can delete the instance only if you enable this parameter. If you delete a // read replica or an RDS Custom instance, you must enable this setting. This // setting is required for RDS Custom. - SkipFinalSnapshot bool + SkipFinalSnapshot *bool noSmithyDocumentSerde } diff --git a/service/rds/api_op_DescribeDBClusterSnapshots.go b/service/rds/api_op_DescribeDBClusterSnapshots.go index b6cbb3f5407..4af05d9cb37 100644 --- a/service/rds/api_op_DescribeDBClusterSnapshots.go +++ b/service/rds/api_op_DescribeDBClusterSnapshots.go @@ -74,7 +74,7 @@ type DescribeDBClusterSnapshotsInput struct { // can be copied or restored by any Amazon Web Services account. By default, the // public snapshots are not included. You can share a manual DB cluster snapshot as // public by using the ModifyDBClusterSnapshotAttribute API action. - IncludePublic bool + IncludePublic *bool // Specifies whether to include shared manual DB cluster snapshots from other // Amazon Web Services accounts that this Amazon Web Services account has been @@ -82,7 +82,7 @@ type DescribeDBClusterSnapshotsInput struct { // included. You can give an Amazon Web Services account permission to restore a // manual DB cluster snapshot from another Amazon Web Services account by the // ModifyDBClusterSnapshotAttribute API action. - IncludeShared bool + IncludeShared *bool // An optional pagination token provided by a previous DescribeDBClusterSnapshots // request. If this parameter is specified, the response includes only records diff --git a/service/rds/api_op_DescribeDBClusters.go b/service/rds/api_op_DescribeDBClusters.go index 26d09f1b248..0ac847e26f4 100644 --- a/service/rds/api_op_DescribeDBClusters.go +++ b/service/rds/api_op_DescribeDBClusters.go @@ -69,7 +69,7 @@ type DescribeDBClustersInput struct { // Specifies whether the output includes information about clusters shared from // other Amazon Web Services accounts. - IncludeShared bool + IncludeShared *bool // An optional pagination token provided by a previous DescribeDBClusters request. // If this parameter is specified, the response includes only records beyond the diff --git a/service/rds/api_op_DescribeDBEngineVersions.go b/service/rds/api_op_DescribeDBEngineVersions.go index 3b2dd4363b1..a0d397f78c3 100644 --- a/service/rds/api_op_DescribeDBEngineVersions.go +++ b/service/rds/api_op_DescribeDBEngineVersions.go @@ -41,7 +41,7 @@ type DescribeDBEngineVersionsInput struct { // Specifies whether to return only the default version of the specified engine or // the engine and major version combination. - DefaultOnly bool + DefaultOnly *bool // The database engine to return version details for. Valid Values: // - aurora-mysql diff --git a/service/rds/api_op_DescribeDBLogFiles.go b/service/rds/api_op_DescribeDBLogFiles.go index 44594e05c30..519689fad43 100644 --- a/service/rds/api_op_DescribeDBLogFiles.go +++ b/service/rds/api_op_DescribeDBLogFiles.go @@ -44,10 +44,10 @@ type DescribeDBLogFilesInput struct { // Filters the available log files for files written since the specified date, in // POSIX timestamp format with milliseconds. - FileLastWritten int64 + FileLastWritten *int64 // Filters the available log files for files larger than the specified size. - FileSize int64 + FileSize *int64 // Filters the available log files for log file names that contain the specified // string. diff --git a/service/rds/api_op_DescribeDBSnapshots.go b/service/rds/api_op_DescribeDBSnapshots.go index 3d93eae3466..4a174243b92 100644 --- a/service/rds/api_op_DescribeDBSnapshots.go +++ b/service/rds/api_op_DescribeDBSnapshots.go @@ -70,7 +70,7 @@ type DescribeDBSnapshotsInput struct { // public snapshots are not included. You can share a manual DB snapshot as public // by using the ModifyDBSnapshotAttribute API. This setting doesn't apply to RDS // Custom. - IncludePublic bool + IncludePublic *bool // Specifies whether to include shared manual DB cluster snapshots from other // Amazon Web Services accounts that this Amazon Web Services account has been @@ -78,7 +78,7 @@ type DescribeDBSnapshotsInput struct { // included. You can give an Amazon Web Services account permission to restore a // manual DB snapshot from another Amazon Web Services account by using the // ModifyDBSnapshotAttribute API action. This setting doesn't apply to RDS Custom. - IncludeShared bool + IncludeShared *bool // An optional pagination token provided by a previous DescribeDBSnapshots // request. If this parameter is specified, the response includes only records diff --git a/service/rds/api_op_DownloadDBLogFilePortion.go b/service/rds/api_op_DownloadDBLogFilePortion.go index 6d7bd45ab98..3efe8cbe442 100644 --- a/service/rds/api_op_DownloadDBLogFilePortion.go +++ b/service/rds/api_op_DownloadDBLogFilePortion.go @@ -68,7 +68,7 @@ type DownloadDBLogFilePortionInput struct { // for the Marker parameter in your first request. Include the Marker value // returned in the response as the Marker value for the next request, continuing // until the AdditionalDataPending response element returns false. - NumberOfLines int32 + NumberOfLines *int32 noSmithyDocumentSerde } @@ -77,7 +77,7 @@ type DownloadDBLogFilePortionInput struct { type DownloadDBLogFilePortionOutput struct { // A Boolean value that, if true, indicates there is more data to be downloaded. - AdditionalDataPending bool + AdditionalDataPending *bool // Entries from the specified log file. LogFileData *string @@ -218,8 +218,8 @@ func NewDownloadDBLogFilePortionPaginator(client DownloadDBLogFilePortionAPIClie } options := DownloadDBLogFilePortionPaginatorOptions{} - if params.NumberOfLines != 0 { - options.Limit = params.NumberOfLines + if params.NumberOfLines != nil { + options.Limit = *params.NumberOfLines } for _, fn := range optFns { @@ -249,7 +249,11 @@ func (p *DownloadDBLogFilePortionPaginator) NextPage(ctx context.Context, optFns params := *p.params params.Marker = p.nextToken - params.NumberOfLines = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.NumberOfLines = limit result, err := p.client.DownloadDBLogFilePortion(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/rds/api_op_ModifyCustomDBEngineVersion.go b/service/rds/api_op_ModifyCustomDBEngineVersion.go index 34c518bb8f3..7d5b3a9efe5 100644 --- a/service/rds/api_op_ModifyCustomDBEngineVersion.go +++ b/service/rds/api_op_ModifyCustomDBEngineVersion.go @@ -173,7 +173,7 @@ type ModifyCustomDBEngineVersionOutput struct { SupportedTimezones []types.Timezone // Indicates whether the engine version supports Babelfish for Aurora PostgreSQL. - SupportsBabelfish bool + SupportsBabelfish *bool // Indicates whether the engine version supports rotating the server certificate // without rebooting the DB instance. @@ -181,7 +181,7 @@ type ModifyCustomDBEngineVersionOutput struct { // Indicates whether you can use Aurora global databases with a specific DB engine // version. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // Indicates whether the DB engine version supports forwarding write operations // from reader DB instances to the writer DB instance in the DB cluster. By @@ -191,14 +191,14 @@ type ModifyCustomDBEngineVersionOutput struct { // Indicates whether the engine version supports exporting the log types specified // by ExportableLogTypes to CloudWatch Logs. - SupportsLogExportsToCloudwatchLogs bool + SupportsLogExportsToCloudwatchLogs *bool // Indicates whether you can use Aurora parallel query with a specific DB engine // version. - SupportsParallelQuery bool + SupportsParallelQuery *bool // Indicates whether the database engine version supports read replicas. - SupportsReadReplica bool + SupportsReadReplica *bool // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) // in the Amazon RDS User Guide. diff --git a/service/rds/api_op_ModifyDBCluster.go b/service/rds/api_op_ModifyDBCluster.go index 4f3227b86b2..1dc6810b718 100644 --- a/service/rds/api_op_ModifyDBCluster.go +++ b/service/rds/api_op_ModifyDBCluster.go @@ -57,14 +57,14 @@ type ModifyDBClusterInput struct { // Constraints: // - You must allow engine mode changes when specifying a different value for // the EngineMode parameter from the DB cluster's current engine mode. - AllowEngineModeChange bool + AllowEngineModeChange *bool // Specifies whether major version upgrades are allowed. Valid for Cluster Type: // Aurora DB clusters and Multi-AZ DB clusters Constraints: // - You must allow major version upgrades when specifying a value for the // EngineVersion parameter that is a different major version than the DB // cluster's current version. - AllowMajorVersionUpgrade bool + AllowMajorVersionUpgrade *bool // Specifies whether the modifications in this request and any pending // modifications are asynchronously applied as soon as possible, regardless of the @@ -75,7 +75,7 @@ type ModifyDBClusterInput struct { // protection and changing the master password, are applied immediately—regardless // of when you choose to apply them. By default, this parameter is disabled. Valid // for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters - ApplyImmediately bool + ApplyImmediately *bool // Specifies whether minor engine upgrades are applied automatically to the DB // cluster during the maintenance window. By default, minor engine upgrades are diff --git a/service/rds/api_op_ModifyDBInstance.go b/service/rds/api_op_ModifyDBInstance.go index 3fb7c7ba5d3..b9b1b80d313 100644 --- a/service/rds/api_op_ModifyDBInstance.go +++ b/service/rds/api_op_ModifyDBInstance.go @@ -58,7 +58,7 @@ type ModifyDBInstanceInput struct { // - Major version upgrades must be allowed when specifying a value for the // EngineVersion parameter that's a different major version than the DB // instance's current version. - AllowMajorVersionUpgrade bool + AllowMajorVersionUpgrade *bool // Specifies whether the modifications in this request and any pending // modifications are asynchronously applied as soon as possible, regardless of the @@ -70,7 +70,7 @@ type ModifyDBInstanceInput struct { // in the Amazon RDS User Guide to see the impact of enabling or disabling // ApplyImmediately for each modified parameter and to determine when the changes // are applied. - ApplyImmediately bool + ApplyImmediately *bool // Specifies whether minor version upgrades are applied automatically to the DB // instance during the maintenance window. An outage occurs when all the following diff --git a/service/rds/api_op_ModifyOptionGroup.go b/service/rds/api_op_ModifyOptionGroup.go index 9508d0fec98..806c752bb1d 100644 --- a/service/rds/api_op_ModifyOptionGroup.go +++ b/service/rds/api_op_ModifyOptionGroup.go @@ -44,7 +44,7 @@ type ModifyOptionGroupInput struct { // Specifies whether to apply the change immediately or during the next // maintenance window for each instance associated with the option group. - ApplyImmediately bool + ApplyImmediately *bool // Options in this list are added to the option group or, if already present, the // specified configuration is used to update the existing configuration. diff --git a/service/rds/api_op_ResetDBClusterParameterGroup.go b/service/rds/api_op_ResetDBClusterParameterGroup.go index 8c479d572e7..aa2df465ee0 100644 --- a/service/rds/api_op_ResetDBClusterParameterGroup.go +++ b/service/rds/api_op_ResetDBClusterParameterGroup.go @@ -59,7 +59,7 @@ type ResetDBClusterParameterGroupInput struct { // Specifies whether to reset all parameters in the DB cluster parameter group to // their default values. You can't use this parameter if there is a list of // parameter names specified for the Parameters parameter. - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/rds/api_op_ResetDBParameterGroup.go b/service/rds/api_op_ResetDBParameterGroup.go index 443e5d42860..4e4691e68b1 100644 --- a/service/rds/api_op_ResetDBParameterGroup.go +++ b/service/rds/api_op_ResetDBParameterGroup.go @@ -62,7 +62,7 @@ type ResetDBParameterGroupInput struct { // Specifies whether to reset all parameters in the DB parameter group to default // values. By default, all parameters in the DB parameter group are reset to // default values. - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/rds/api_op_RestoreDBClusterToPointInTime.go b/service/rds/api_op_RestoreDBClusterToPointInTime.go index 7662254ce68..78710e4d8f4 100644 --- a/service/rds/api_op_RestoreDBClusterToPointInTime.go +++ b/service/rds/api_op_RestoreDBClusterToPointInTime.go @@ -258,7 +258,7 @@ type RestoreDBClusterToPointInTimeInput struct { // time. By default, the DB cluster isn't restored to the latest restorable backup // time. Constraints: Can't be specified if RestoreToTime parameter is provided. // Valid for: Aurora DB clusters and Multi-AZ DB clusters - UseLatestRestorableTime bool + UseLatestRestorableTime *bool // A list of VPC security groups that the new DB cluster belongs to. Valid for: // Aurora DB clusters and Multi-AZ DB clusters diff --git a/service/rds/api_op_RestoreDBInstanceToPointInTime.go b/service/rds/api_op_RestoreDBInstanceToPointInTime.go index c79f0541676..df4255af94b 100644 --- a/service/rds/api_op_RestoreDBInstanceToPointInTime.go +++ b/service/rds/api_op_RestoreDBInstanceToPointInTime.go @@ -325,7 +325,7 @@ type RestoreDBInstanceToPointInTimeInput struct { // default, the DB instance isn't restored from the latest backup time. // Constraints: // - Can't be specified if the RestoreTime parameter is provided. - UseLatestRestorableTime bool + UseLatestRestorableTime *bool // A list of EC2 VPC security groups to associate with this DB instance. Default: // The default EC2 VPC security group for the DB subnet group's VPC. diff --git a/service/rds/api_op_StartActivityStream.go b/service/rds/api_op_StartActivityStream.go index e164aa61466..4706d5c00aa 100644 --- a/service/rds/api_op_StartActivityStream.go +++ b/service/rds/api_op_StartActivityStream.go @@ -74,7 +74,7 @@ type StartActivityStreamOutput struct { // Indicates whether or not the database activity stream will start as soon as // possible, regardless of the maintenance window for the database. - ApplyImmediately bool + ApplyImmediately *bool // Indicates whether engine-native audit fields are included in the database // activity stream. diff --git a/service/rds/api_op_StartExportTask.go b/service/rds/api_op_StartExportTask.go index eeadf8758f2..bb3f7fe88eb 100644 --- a/service/rds/api_op_StartExportTask.go +++ b/service/rds/api_op_StartExportTask.go @@ -148,7 +148,7 @@ type StartExportTaskOutput struct { KmsKeyId *string // The progress of the snapshot or cluster export task as a percentage. - PercentProgress int32 + PercentProgress *int32 // The Amazon S3 bucket where the snapshot or cluster is exported to. S3Bucket *string @@ -181,7 +181,7 @@ type StartExportTaskOutput struct { TaskStartTime *time.Time // The total amount of data exported, in gigabytes. - TotalExtractedDataInGB int32 + TotalExtractedDataInGB *int32 // A warning about the snapshot or cluster export task. WarningMessage *string diff --git a/service/rds/deserializers.go b/service/rds/deserializers.go index f3a05a9e513..102e076565a 100644 --- a/service/rds/deserializers.go +++ b/service/rds/deserializers.go @@ -22229,7 +22229,7 @@ func awsAwsquery_deserializeDocumentAccountQuota(v **types.AccountQuota, decoder if err != nil { return err } - sv.Max = i64 + sv.Max = ptr.Int64(i64) } case strings.EqualFold("Used", t.Name.Local): @@ -22246,7 +22246,7 @@ func awsAwsquery_deserializeDocumentAccountQuota(v **types.AccountQuota, decoder if err != nil { return err } - sv.Used = i64 + sv.Used = ptr.Int64(i64) } default: @@ -24166,7 +24166,7 @@ func awsAwsquery_deserializeDocumentConnectionPoolConfigurationInfo(v **types.Co if err != nil { return err } - sv.ConnectionBorrowTimeout = int32(i64) + sv.ConnectionBorrowTimeout = ptr.Int32(int32(i64)) } case strings.EqualFold("InitQuery", t.Name.Local): @@ -24196,7 +24196,7 @@ func awsAwsquery_deserializeDocumentConnectionPoolConfigurationInfo(v **types.Co if err != nil { return err } - sv.MaxConnectionsPercent = int32(i64) + sv.MaxConnectionsPercent = ptr.Int32(int32(i64)) } case strings.EqualFold("MaxIdleConnectionsPercent", t.Name.Local): @@ -24213,7 +24213,7 @@ func awsAwsquery_deserializeDocumentConnectionPoolConfigurationInfo(v **types.Co if err != nil { return err } - sv.MaxIdleConnectionsPercent = int32(i64) + sv.MaxIdleConnectionsPercent = ptr.Int32(int32(i64)) } case strings.EqualFold("SessionPinningFilters", t.Name.Local): @@ -24670,7 +24670,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("AvailabilityZones", t.Name.Local): @@ -25494,7 +25494,7 @@ func awsAwsquery_deserializeDocumentDBCluster(v **types.DBCluster, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("StorageType", t.Name.Local): @@ -25621,7 +25621,7 @@ func awsAwsquery_deserializeDocumentDBClusterAutomatedBackup(v **types.DBCluster if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AvailabilityZones", t.Name.Local): @@ -25781,7 +25781,7 @@ func awsAwsquery_deserializeDocumentDBClusterAutomatedBackup(v **types.DBCluster if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("Iops", t.Name.Local): @@ -25854,7 +25854,7 @@ func awsAwsquery_deserializeDocumentDBClusterAutomatedBackup(v **types.DBCluster if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("Region", t.Name.Local): @@ -25902,7 +25902,7 @@ func awsAwsquery_deserializeDocumentDBClusterAutomatedBackup(v **types.DBCluster if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("StorageType", t.Name.Local): @@ -26850,7 +26850,7 @@ func awsAwsquery_deserializeDocumentDBClusterMember(v **types.DBClusterMember, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsClusterWriter = xtv + sv.IsClusterWriter = ptr.Bool(xtv) } case strings.EqualFold("PromotionTier", t.Name.Local): @@ -27711,7 +27711,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AvailabilityZones", t.Name.Local): @@ -27854,7 +27854,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("KmsKeyId", t.Name.Local): @@ -27910,7 +27910,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("Port", t.Name.Local): @@ -27927,7 +27927,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("SnapshotCreateTime", t.Name.Local): @@ -27999,7 +27999,7 @@ func awsAwsquery_deserializeDocumentDBClusterSnapshot(v **types.DBClusterSnapsho if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("StorageType", t.Name.Local): @@ -28667,7 +28667,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsBabelfish = xtv + sv.SupportsBabelfish = ptr.Bool(xtv) } case strings.EqualFold("SupportsCertificateRotationWithoutRestart", t.Name.Local): @@ -28699,7 +28699,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsLocalWriteForwarding", t.Name.Local): @@ -28731,7 +28731,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsLogExportsToCloudwatchLogs = xtv + sv.SupportsLogExportsToCloudwatchLogs = ptr.Bool(xtv) } case strings.EqualFold("SupportsParallelQuery", t.Name.Local): @@ -28747,7 +28747,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsParallelQuery = xtv + sv.SupportsParallelQuery = ptr.Bool(xtv) } case strings.EqualFold("SupportsReadReplica", t.Name.Local): @@ -28763,7 +28763,7 @@ func awsAwsquery_deserializeDocumentDBEngineVersion(v **types.DBEngineVersion, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsReadReplica = xtv + sv.SupportsReadReplica = ptr.Bool(xtv) } case strings.EqualFold("TagList", t.Name.Local): @@ -28977,7 +28977,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AssociatedRoles", t.Name.Local): @@ -29029,7 +29029,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoMinorVersionUpgrade = xtv + sv.AutoMinorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -29072,7 +29072,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.BackupRetentionPeriod = int32(i64) + sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } case strings.EqualFold("BackupTarget", t.Name.Local): @@ -29133,7 +29133,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.CopyTagsToSnapshot = xtv + sv.CopyTagsToSnapshot = ptr.Bool(xtv) } case strings.EqualFold("CustomerOwnedIpEnabled", t.Name.Local): @@ -29237,7 +29237,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return err } - sv.DbInstancePort = int32(i64) + sv.DbInstancePort = ptr.Int32(int32(i64)) } case strings.EqualFold("DBInstanceStatus", t.Name.Local): @@ -29323,7 +29323,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DedicatedLogVolume = xtv + sv.DedicatedLogVolume = ptr.Bool(xtv) } case strings.EqualFold("DeletionProtection", t.Name.Local): @@ -29339,7 +29339,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DeletionProtection = xtv + sv.DeletionProtection = ptr.Bool(xtv) } case strings.EqualFold("DomainMemberships", t.Name.Local): @@ -29412,7 +29412,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("InstanceCreateTime", t.Name.Local): @@ -29593,7 +29593,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZ = xtv + sv.MultiAZ = ptr.Bool(xtv) } case strings.EqualFold("NcharCharacterSetName", t.Name.Local): @@ -29755,7 +29755,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.PubliclyAccessible = xtv + sv.PubliclyAccessible = ptr.Bool(xtv) } case strings.EqualFold("ReadReplicaDBClusterIdentifiers", t.Name.Local): @@ -29858,7 +29858,7 @@ func awsAwsquery_deserializeDocumentDBInstance(v **types.DBInstance, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.StorageEncrypted = xtv + sv.StorageEncrypted = ptr.Bool(xtv) } case strings.EqualFold("StorageThroughput", t.Name.Local): @@ -30028,7 +30028,7 @@ func awsAwsquery_deserializeDocumentDBInstanceAutomatedBackup(v **types.DBInstan if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -30174,7 +30174,7 @@ func awsAwsquery_deserializeDocumentDBInstanceAutomatedBackup(v **types.DBInstan if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("Engine", t.Name.Local): @@ -30216,7 +30216,7 @@ func awsAwsquery_deserializeDocumentDBInstanceAutomatedBackup(v **types.DBInstan if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("InstanceCreateTime", t.Name.Local): @@ -30319,7 +30319,7 @@ func awsAwsquery_deserializeDocumentDBInstanceAutomatedBackup(v **types.DBInstan if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("Region", t.Name.Local): @@ -31175,7 +31175,7 @@ func awsAwsquery_deserializeDocumentDBInstanceStatusInfo(v **types.DBInstanceSta if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Normal = xtv + sv.Normal = ptr.Bool(xtv) } case strings.EqualFold("Status", t.Name.Local): @@ -31852,7 +31852,7 @@ func awsAwsquery_deserializeDocumentDBProxy(v **types.DBProxy, decoder smithyxml if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DebugLogging = xtv + sv.DebugLogging = ptr.Bool(xtv) } case strings.EqualFold("Endpoint", t.Name.Local): @@ -31895,7 +31895,7 @@ func awsAwsquery_deserializeDocumentDBProxy(v **types.DBProxy, decoder smithyxml if err != nil { return err } - sv.IdleClientTimeout = int32(i64) + sv.IdleClientTimeout = ptr.Int32(int32(i64)) } case strings.EqualFold("RequireTLS", t.Name.Local): @@ -31911,7 +31911,7 @@ func awsAwsquery_deserializeDocumentDBProxy(v **types.DBProxy, decoder smithyxml if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.RequireTLS = xtv + sv.RequireTLS = ptr.Bool(xtv) } case strings.EqualFold("RoleArn", t.Name.Local): @@ -32149,7 +32149,7 @@ func awsAwsquery_deserializeDocumentDBProxyEndpoint(v **types.DBProxyEndpoint, d if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsDefault = xtv + sv.IsDefault = ptr.Bool(xtv) } case strings.EqualFold("Status", t.Name.Local): @@ -32647,7 +32647,7 @@ func awsAwsquery_deserializeDocumentDBProxyTarget(v **types.DBProxyTarget, decod if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("RdsResourceId", t.Name.Local): @@ -32855,7 +32855,7 @@ func awsAwsquery_deserializeDocumentDBProxyTargetGroup(v **types.DBProxyTargetGr if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsDefault = xtv + sv.IsDefault = ptr.Bool(xtv) } case strings.EqualFold("Status", t.Name.Local): @@ -33569,7 +33569,7 @@ func awsAwsquery_deserializeDocumentDBSnapshot(v **types.DBSnapshot, decoder smi if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -33663,7 +33663,7 @@ func awsAwsquery_deserializeDocumentDBSnapshot(v **types.DBSnapshot, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.DedicatedLogVolume = xtv + sv.DedicatedLogVolume = ptr.Bool(xtv) } case strings.EqualFold("Encrypted", t.Name.Local): @@ -33679,7 +33679,7 @@ func awsAwsquery_deserializeDocumentDBSnapshot(v **types.DBSnapshot, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("Engine", t.Name.Local): @@ -33721,7 +33721,7 @@ func awsAwsquery_deserializeDocumentDBSnapshot(v **types.DBSnapshot, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IAMDatabaseAuthenticationEnabled = xtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(xtv) } case strings.EqualFold("InstanceCreateTime", t.Name.Local): @@ -33841,7 +33841,7 @@ func awsAwsquery_deserializeDocumentDBSnapshot(v **types.DBSnapshot, decoder smi if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("Port", t.Name.Local): @@ -33858,7 +33858,7 @@ func awsAwsquery_deserializeDocumentDBSnapshot(v **types.DBSnapshot, decoder smi if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("ProcessorFeatures", t.Name.Local): @@ -34959,7 +34959,7 @@ func awsAwsquery_deserializeDocumentDescribeDBLogFilesDetails(v **types.Describe if err != nil { return err } - sv.LastWritten = i64 + sv.LastWritten = ptr.Int64(i64) } case strings.EqualFold("LogFileName", t.Name.Local): @@ -34989,7 +34989,7 @@ func awsAwsquery_deserializeDocumentDescribeDBLogFilesDetails(v **types.Describe if err != nil { return err } - sv.Size = i64 + sv.Size = ptr.Int64(i64) } default: @@ -35347,7 +35347,7 @@ func awsAwsquery_deserializeDocumentDoubleRange(v **types.DoubleRange, decoder s if err != nil { return err } - sv.From = f64 + sv.From = ptr.Float64(f64) } case strings.EqualFold("To", t.Name.Local): @@ -35364,7 +35364,7 @@ func awsAwsquery_deserializeDocumentDoubleRange(v **types.DoubleRange, decoder s if err != nil { return err } - sv.To = f64 + sv.To = ptr.Float64(f64) } default: @@ -35716,7 +35716,7 @@ func awsAwsquery_deserializeDocumentEndpoint(v **types.Endpoint, decoder smithyx if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -36324,7 +36324,7 @@ func awsAwsquery_deserializeDocumentEventSubscription(v **types.EventSubscriptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } case strings.EqualFold("EventCategoriesList", t.Name.Local): @@ -36629,7 +36629,7 @@ func awsAwsquery_deserializeDocumentExportTask(v **types.ExportTask, decoder smi if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("S3Bucket", t.Name.Local): @@ -36762,7 +36762,7 @@ func awsAwsquery_deserializeDocumentExportTask(v **types.ExportTask, decoder smi if err != nil { return err } - sv.TotalExtractedDataInGB = int32(i64) + sv.TotalExtractedDataInGB = ptr.Int32(int32(i64)) } case strings.EqualFold("WarningMessage", t.Name.Local): @@ -37006,7 +37006,7 @@ func awsAwsquery_deserializeDocumentFailoverState(v **types.FailoverState, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsDataLossAllowed = xtv + sv.IsDataLossAllowed = ptr.Bool(xtv) } case strings.EqualFold("Status", t.Name.Local): @@ -37478,7 +37478,7 @@ func awsAwsquery_deserializeDocumentGlobalClusterMember(v **types.GlobalClusterM if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsWriter = xtv + sv.IsWriter = ptr.Bool(xtv) } case strings.EqualFold("Readers", t.Name.Local): @@ -39945,7 +39945,7 @@ func awsAwsquery_deserializeDocumentOption(v **types.Option, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Permanent = xtv + sv.Permanent = ptr.Bool(xtv) } case strings.EqualFold("Persistent", t.Name.Local): @@ -39961,7 +39961,7 @@ func awsAwsquery_deserializeDocumentOption(v **types.Option, decoder smithyxml.N if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Persistent = xtv + sv.Persistent = ptr.Bool(xtv) } case strings.EqualFold("Port", t.Name.Local): @@ -40036,7 +40036,7 @@ func awsAwsquery_deserializeDocumentOptionGroup(v **types.OptionGroup, decoder s if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowsVpcAndNonVpcInstanceMemberships = xtv + sv.AllowsVpcAndNonVpcInstanceMemberships = ptr.Bool(xtv) } case strings.EqualFold("CopyTimestamp", t.Name.Local): @@ -40565,7 +40565,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOption(v **types.OptionGroupOptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Permanent = xtv + sv.Permanent = ptr.Bool(xtv) } case strings.EqualFold("Persistent", t.Name.Local): @@ -40581,7 +40581,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOption(v **types.OptionGroupOptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Persistent = xtv + sv.Persistent = ptr.Bool(xtv) } case strings.EqualFold("PortRequired", t.Name.Local): @@ -40597,7 +40597,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOption(v **types.OptionGroupOptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.PortRequired = xtv + sv.PortRequired = ptr.Bool(xtv) } case strings.EqualFold("RequiresAutoMinorEngineVersionUpgrade", t.Name.Local): @@ -40613,7 +40613,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOption(v **types.OptionGroupOptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.RequiresAutoMinorEngineVersionUpgrade = xtv + sv.RequiresAutoMinorEngineVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("SupportsOptionVersionDowngrade", t.Name.Local): @@ -40645,7 +40645,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOption(v **types.OptionGroupOptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.VpcOnly = xtv + sv.VpcOnly = ptr.Bool(xtv) } default: @@ -40736,7 +40736,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOptionSetting(v **types.OptionGro if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("IsRequired", t.Name.Local): @@ -40752,7 +40752,7 @@ func awsAwsquery_deserializeDocumentOptionGroupOptionSetting(v **types.OptionGro if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsRequired = xtv + sv.IsRequired = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersionPerAllowedValue", t.Name.Local): @@ -41382,7 +41382,7 @@ func awsAwsquery_deserializeDocumentOptionSetting(v **types.OptionSetting, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsCollection = xtv + sv.IsCollection = ptr.Bool(xtv) } case strings.EqualFold("IsModifiable", t.Name.Local): @@ -41398,7 +41398,7 @@ func awsAwsquery_deserializeDocumentOptionSetting(v **types.OptionSetting, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("Name", t.Name.Local): @@ -41612,7 +41612,7 @@ func awsAwsquery_deserializeDocumentOptionVersion(v **types.OptionVersion, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsDefault = xtv + sv.IsDefault = ptr.Bool(xtv) } case strings.EqualFold("Version", t.Name.Local): @@ -41924,7 +41924,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZCapable = xtv + sv.MultiAZCapable = ptr.Bool(xtv) } case strings.EqualFold("OutpostCapable", t.Name.Local): @@ -41940,7 +41940,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.OutpostCapable = xtv + sv.OutpostCapable = ptr.Bool(xtv) } case strings.EqualFold("ReadReplicaCapable", t.Name.Local): @@ -41956,7 +41956,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ReadReplicaCapable = xtv + sv.ReadReplicaCapable = ptr.Bool(xtv) } case strings.EqualFold("StorageType", t.Name.Local): @@ -42003,7 +42003,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsClusters = xtv + sv.SupportsClusters = ptr.Bool(xtv) } case strings.EqualFold("SupportsDedicatedLogVolume", t.Name.Local): @@ -42019,7 +42019,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsDedicatedLogVolume = xtv + sv.SupportsDedicatedLogVolume = ptr.Bool(xtv) } case strings.EqualFold("SupportsEnhancedMonitoring", t.Name.Local): @@ -42035,7 +42035,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsEnhancedMonitoring = xtv + sv.SupportsEnhancedMonitoring = ptr.Bool(xtv) } case strings.EqualFold("SupportsGlobalDatabases", t.Name.Local): @@ -42051,7 +42051,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsIAMDatabaseAuthentication", t.Name.Local): @@ -42067,7 +42067,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsIAMDatabaseAuthentication = xtv + sv.SupportsIAMDatabaseAuthentication = ptr.Bool(xtv) } case strings.EqualFold("SupportsIops", t.Name.Local): @@ -42083,7 +42083,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsIops = xtv + sv.SupportsIops = ptr.Bool(xtv) } case strings.EqualFold("SupportsKerberosAuthentication", t.Name.Local): @@ -42115,7 +42115,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsPerformanceInsights = xtv + sv.SupportsPerformanceInsights = ptr.Bool(xtv) } case strings.EqualFold("SupportsStorageAutoscaling", t.Name.Local): @@ -42147,7 +42147,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsStorageEncryption = xtv + sv.SupportsStorageEncryption = ptr.Bool(xtv) } case strings.EqualFold("SupportsStorageThroughput", t.Name.Local): @@ -42163,7 +42163,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsStorageThroughput = xtv + sv.SupportsStorageThroughput = ptr.Bool(xtv) } case strings.EqualFold("Vpc", t.Name.Local): @@ -42179,7 +42179,7 @@ func awsAwsquery_deserializeDocumentOrderableDBInstanceOption(v **types.Orderabl if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Vpc = xtv + sv.Vpc = ptr.Bool(xtv) } default: @@ -42413,7 +42413,7 @@ func awsAwsquery_deserializeDocumentParameter(v **types.Parameter, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersion", t.Name.Local): @@ -43458,7 +43458,7 @@ func awsAwsquery_deserializeDocumentRange(v **types.Range, decoder smithyxml.Nod if err != nil { return err } - sv.From = int32(i64) + sv.From = ptr.Int32(int32(i64)) } case strings.EqualFold("Step", t.Name.Local): @@ -43492,7 +43492,7 @@ func awsAwsquery_deserializeDocumentRange(v **types.Range, decoder smithyxml.Nod if err != nil { return err } - sv.To = int32(i64) + sv.To = ptr.Int32(int32(i64)) } default: @@ -43933,7 +43933,7 @@ func awsAwsquery_deserializeDocumentRecurringCharge(v **types.RecurringCharge, d if err != nil { return err } - sv.RecurringChargeAmount = f64 + sv.RecurringChargeAmount = ptr.Float64(f64) } case strings.EqualFold("RecurringChargeFrequency", t.Name.Local): @@ -44093,7 +44093,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstance(v **types.ReservedDBInsta if err != nil { return err } - sv.DBInstanceCount = int32(i64) + sv.DBInstanceCount = ptr.Int32(int32(i64)) } case strings.EqualFold("Duration", t.Name.Local): @@ -44110,7 +44110,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstance(v **types.ReservedDBInsta if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("FixedPrice", t.Name.Local): @@ -44127,7 +44127,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstance(v **types.ReservedDBInsta if err != nil { return err } - sv.FixedPrice = f64 + sv.FixedPrice = ptr.Float64(f64) } case strings.EqualFold("LeaseId", t.Name.Local): @@ -44156,7 +44156,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstance(v **types.ReservedDBInsta if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZ = xtv + sv.MultiAZ = ptr.Bool(xtv) } case strings.EqualFold("OfferingType", t.Name.Local): @@ -44274,7 +44274,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstance(v **types.ReservedDBInsta if err != nil { return err } - sv.UsagePrice = f64 + sv.UsagePrice = ptr.Float64(f64) } default: @@ -44568,7 +44568,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstancesOffering(v **types.Reserv if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("FixedPrice", t.Name.Local): @@ -44585,7 +44585,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstancesOffering(v **types.Reserv if err != nil { return err } - sv.FixedPrice = f64 + sv.FixedPrice = ptr.Float64(f64) } case strings.EqualFold("MultiAZ", t.Name.Local): @@ -44601,7 +44601,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstancesOffering(v **types.Reserv if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.MultiAZ = xtv + sv.MultiAZ = ptr.Bool(xtv) } case strings.EqualFold("OfferingType", t.Name.Local): @@ -44663,7 +44663,7 @@ func awsAwsquery_deserializeDocumentReservedDBInstancesOffering(v **types.Reserv if err != nil { return err } - sv.UsagePrice = f64 + sv.UsagePrice = ptr.Float64(f64) } default: @@ -45720,7 +45720,7 @@ func awsAwsquery_deserializeDocumentSourceRegion(v **types.SourceRegion, decoder if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsDBInstanceAutomatedBackupsReplication = xtv + sv.SupportsDBInstanceAutomatedBackupsReplication = ptr.Bool(xtv) } default: @@ -47074,7 +47074,7 @@ func awsAwsquery_deserializeDocumentUpgradeTarget(v **types.UpgradeTarget, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AutoUpgrade = xtv + sv.AutoUpgrade = ptr.Bool(xtv) } case strings.EqualFold("Description", t.Name.Local): @@ -47129,7 +47129,7 @@ func awsAwsquery_deserializeDocumentUpgradeTarget(v **types.UpgradeTarget, decod if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsMajorVersionUpgrade = xtv + sv.IsMajorVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("SupportedEngineModes", t.Name.Local): @@ -47439,7 +47439,7 @@ func awsAwsquery_deserializeDocumentValidDBInstanceModificationsMessage(v **type if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsDedicatedLogVolume = xtv + sv.SupportsDedicatedLogVolume = ptr.Bool(xtv) } case strings.EqualFold("ValidProcessorFeatures", t.Name.Local): @@ -47540,7 +47540,7 @@ func awsAwsquery_deserializeDocumentValidStorageOptions(v **types.ValidStorageOp if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsStorageAutoscaling = xtv + sv.SupportsStorageAutoscaling = ptr.Bool(xtv) } default: @@ -48169,7 +48169,7 @@ func awsAwsquery_deserializeOpDocumentCancelExportTaskOutput(v **CancelExportTas if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("S3Bucket", t.Name.Local): @@ -48302,7 +48302,7 @@ func awsAwsquery_deserializeOpDocumentCancelExportTaskOutput(v **CancelExportTas if err != nil { return err } - sv.TotalExtractedDataInGB = int32(i64) + sv.TotalExtractedDataInGB = ptr.Int32(int32(i64)) } case strings.EqualFold("WarningMessage", t.Name.Local): @@ -48859,7 +48859,7 @@ func awsAwsquery_deserializeOpDocumentCreateCustomDBEngineVersionOutput(v **Crea if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsBabelfish = xtv + sv.SupportsBabelfish = ptr.Bool(xtv) } case strings.EqualFold("SupportsCertificateRotationWithoutRestart", t.Name.Local): @@ -48891,7 +48891,7 @@ func awsAwsquery_deserializeOpDocumentCreateCustomDBEngineVersionOutput(v **Crea if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsLocalWriteForwarding", t.Name.Local): @@ -48923,7 +48923,7 @@ func awsAwsquery_deserializeOpDocumentCreateCustomDBEngineVersionOutput(v **Crea if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsLogExportsToCloudwatchLogs = xtv + sv.SupportsLogExportsToCloudwatchLogs = ptr.Bool(xtv) } case strings.EqualFold("SupportsParallelQuery", t.Name.Local): @@ -48939,7 +48939,7 @@ func awsAwsquery_deserializeOpDocumentCreateCustomDBEngineVersionOutput(v **Crea if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsParallelQuery = xtv + sv.SupportsParallelQuery = ptr.Bool(xtv) } case strings.EqualFold("SupportsReadReplica", t.Name.Local): @@ -48955,7 +48955,7 @@ func awsAwsquery_deserializeOpDocumentCreateCustomDBEngineVersionOutput(v **Crea if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsReadReplica = xtv + sv.SupportsReadReplica = ptr.Bool(xtv) } case strings.EqualFold("TagList", t.Name.Local): @@ -50041,7 +50041,7 @@ func awsAwsquery_deserializeOpDocumentDeleteCustomDBEngineVersionOutput(v **Dele if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsBabelfish = xtv + sv.SupportsBabelfish = ptr.Bool(xtv) } case strings.EqualFold("SupportsCertificateRotationWithoutRestart", t.Name.Local): @@ -50073,7 +50073,7 @@ func awsAwsquery_deserializeOpDocumentDeleteCustomDBEngineVersionOutput(v **Dele if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsLocalWriteForwarding", t.Name.Local): @@ -50105,7 +50105,7 @@ func awsAwsquery_deserializeOpDocumentDeleteCustomDBEngineVersionOutput(v **Dele if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsLogExportsToCloudwatchLogs = xtv + sv.SupportsLogExportsToCloudwatchLogs = ptr.Bool(xtv) } case strings.EqualFold("SupportsParallelQuery", t.Name.Local): @@ -50121,7 +50121,7 @@ func awsAwsquery_deserializeOpDocumentDeleteCustomDBEngineVersionOutput(v **Dele if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsParallelQuery = xtv + sv.SupportsParallelQuery = ptr.Bool(xtv) } case strings.EqualFold("SupportsReadReplica", t.Name.Local): @@ -50137,7 +50137,7 @@ func awsAwsquery_deserializeOpDocumentDeleteCustomDBEngineVersionOutput(v **Dele if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsReadReplica = xtv + sv.SupportsReadReplica = ptr.Bool(xtv) } case strings.EqualFold("TagList", t.Name.Local): @@ -52931,7 +52931,7 @@ func awsAwsquery_deserializeOpDocumentDownloadDBLogFilePortionOutput(v **Downloa if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AdditionalDataPending = xtv + sv.AdditionalDataPending = ptr.Bool(xtv) } case strings.EqualFold("LogFileData", t.Name.Local): @@ -53647,7 +53647,7 @@ func awsAwsquery_deserializeOpDocumentModifyCustomDBEngineVersionOutput(v **Modi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsBabelfish = xtv + sv.SupportsBabelfish = ptr.Bool(xtv) } case strings.EqualFold("SupportsCertificateRotationWithoutRestart", t.Name.Local): @@ -53679,7 +53679,7 @@ func awsAwsquery_deserializeOpDocumentModifyCustomDBEngineVersionOutput(v **Modi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsGlobalDatabases = xtv + sv.SupportsGlobalDatabases = ptr.Bool(xtv) } case strings.EqualFold("SupportsLocalWriteForwarding", t.Name.Local): @@ -53711,7 +53711,7 @@ func awsAwsquery_deserializeOpDocumentModifyCustomDBEngineVersionOutput(v **Modi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsLogExportsToCloudwatchLogs = xtv + sv.SupportsLogExportsToCloudwatchLogs = ptr.Bool(xtv) } case strings.EqualFold("SupportsParallelQuery", t.Name.Local): @@ -53727,7 +53727,7 @@ func awsAwsquery_deserializeOpDocumentModifyCustomDBEngineVersionOutput(v **Modi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsParallelQuery = xtv + sv.SupportsParallelQuery = ptr.Bool(xtv) } case strings.EqualFold("SupportsReadReplica", t.Name.Local): @@ -53743,7 +53743,7 @@ func awsAwsquery_deserializeOpDocumentModifyCustomDBEngineVersionOutput(v **Modi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.SupportsReadReplica = xtv + sv.SupportsReadReplica = ptr.Bool(xtv) } case strings.EqualFold("TagList", t.Name.Local): @@ -55289,7 +55289,7 @@ func awsAwsquery_deserializeOpDocumentStartActivityStreamOutput(v **StartActivit if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.ApplyImmediately = xtv + sv.ApplyImmediately = ptr.Bool(xtv) } case strings.EqualFold("EngineNativeAuditFieldsIncluded", t.Name.Local): @@ -55594,7 +55594,7 @@ func awsAwsquery_deserializeOpDocumentStartExportTaskOutput(v **StartExportTaskO if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case strings.EqualFold("S3Bucket", t.Name.Local): @@ -55727,7 +55727,7 @@ func awsAwsquery_deserializeOpDocumentStartExportTaskOutput(v **StartExportTaskO if err != nil { return err } - sv.TotalExtractedDataInGB = int32(i64) + sv.TotalExtractedDataInGB = ptr.Int32(int32(i64)) } case strings.EqualFold("WarningMessage", t.Name.Local): diff --git a/service/rds/serializers.go b/service/rds/serializers.go index 5f2217dd46d..7ed34d47c1e 100644 --- a/service/rds/serializers.go +++ b/service/rds/serializers.go @@ -9488,14 +9488,14 @@ func awsAwsquery_serializeDocumentOptionSetting(v *types.OptionSetting, value qu objectKey.String(*v.Description) } - if v.IsCollection { + if v.IsCollection != nil { objectKey := object.Key("IsCollection") - objectKey.Boolean(v.IsCollection) + objectKey.Boolean(*v.IsCollection) } - if v.IsModifiable { + if v.IsModifiable != nil { objectKey := object.Key("IsModifiable") - objectKey.Boolean(v.IsModifiable) + objectKey.Boolean(*v.IsModifiable) } if v.Name != nil { @@ -9552,9 +9552,9 @@ func awsAwsquery_serializeDocumentParameter(v *types.Parameter, value query.Valu objectKey.String(*v.Description) } - if v.IsModifiable { + if v.IsModifiable != nil { objectKey := object.Key("IsModifiable") - objectKey.Boolean(v.IsModifiable) + objectKey.Boolean(*v.IsModifiable) } if v.MinimumEngineVersion != nil { @@ -11326,9 +11326,9 @@ func awsAwsquery_serializeOpDocumentCreateDBProxyInput(v *CreateDBProxyInput, va objectKey.String(*v.DBProxyName) } - if v.DebugLogging { + if v.DebugLogging != nil { objectKey := object.Key("DebugLogging") - objectKey.Boolean(v.DebugLogging) + objectKey.Boolean(*v.DebugLogging) } if len(v.EngineFamily) > 0 { @@ -11341,9 +11341,9 @@ func awsAwsquery_serializeOpDocumentCreateDBProxyInput(v *CreateDBProxyInput, va objectKey.Integer(*v.IdleClientTimeout) } - if v.RequireTLS { + if v.RequireTLS != nil { objectKey := object.Key("RequireTLS") - objectKey.Boolean(v.RequireTLS) + objectKey.Boolean(*v.RequireTLS) } if v.RoleArn != nil { @@ -11655,9 +11655,9 @@ func awsAwsquery_serializeOpDocumentDeleteDBClusterInput(v *DeleteDBClusterInput objectKey.String(*v.FinalDBSnapshotIdentifier) } - if v.SkipFinalSnapshot { + if v.SkipFinalSnapshot != nil { objectKey := object.Key("SkipFinalSnapshot") - objectKey.Boolean(v.SkipFinalSnapshot) + objectKey.Boolean(*v.SkipFinalSnapshot) } return nil @@ -11723,9 +11723,9 @@ func awsAwsquery_serializeOpDocumentDeleteDBInstanceInput(v *DeleteDBInstanceInp objectKey.String(*v.FinalDBSnapshotIdentifier) } - if v.SkipFinalSnapshot { + if v.SkipFinalSnapshot != nil { objectKey := object.Key("SkipFinalSnapshot") - objectKey.Boolean(v.SkipFinalSnapshot) + objectKey.Boolean(*v.SkipFinalSnapshot) } return nil @@ -12116,9 +12116,9 @@ func awsAwsquery_serializeOpDocumentDescribeDBClustersInput(v *DescribeDBCluster } } - if v.IncludeShared { + if v.IncludeShared != nil { objectKey := object.Key("IncludeShared") - objectKey.Boolean(v.IncludeShared) + objectKey.Boolean(*v.IncludeShared) } if v.Marker != nil { @@ -12172,14 +12172,14 @@ func awsAwsquery_serializeOpDocumentDescribeDBClusterSnapshotsInput(v *DescribeD } } - if v.IncludePublic { + if v.IncludePublic != nil { objectKey := object.Key("IncludePublic") - objectKey.Boolean(v.IncludePublic) + objectKey.Boolean(*v.IncludePublic) } - if v.IncludeShared { + if v.IncludeShared != nil { objectKey := object.Key("IncludeShared") - objectKey.Boolean(v.IncludeShared) + objectKey.Boolean(*v.IncludeShared) } if v.Marker != nil { @@ -12209,9 +12209,9 @@ func awsAwsquery_serializeOpDocumentDescribeDBEngineVersionsInput(v *DescribeDBE objectKey.String(*v.DBParameterGroupFamily) } - if v.DefaultOnly { + if v.DefaultOnly != nil { objectKey := object.Key("DefaultOnly") - objectKey.Boolean(v.DefaultOnly) + objectKey.Boolean(*v.DefaultOnly) } if v.Engine != nil { @@ -12336,9 +12336,9 @@ func awsAwsquery_serializeOpDocumentDescribeDBLogFilesInput(v *DescribeDBLogFile objectKey.String(*v.DBInstanceIdentifier) } - if v.FileLastWritten != 0 { + if v.FileLastWritten != nil { objectKey := object.Key("FileLastWritten") - objectKey.Long(v.FileLastWritten) + objectKey.Long(*v.FileLastWritten) } if v.FilenameContains != nil { @@ -12346,9 +12346,9 @@ func awsAwsquery_serializeOpDocumentDescribeDBLogFilesInput(v *DescribeDBLogFile objectKey.String(*v.FilenameContains) } - if v.FileSize != 0 { + if v.FileSize != nil { objectKey := object.Key("FileSize") - objectKey.Long(v.FileSize) + objectKey.Long(*v.FileSize) } if v.Filters != nil { @@ -12632,14 +12632,14 @@ func awsAwsquery_serializeOpDocumentDescribeDBSnapshotsInput(v *DescribeDBSnapsh } } - if v.IncludePublic { + if v.IncludePublic != nil { objectKey := object.Key("IncludePublic") - objectKey.Boolean(v.IncludePublic) + objectKey.Boolean(*v.IncludePublic) } - if v.IncludeShared { + if v.IncludeShared != nil { objectKey := object.Key("IncludeShared") - objectKey.Boolean(v.IncludeShared) + objectKey.Boolean(*v.IncludeShared) } if v.Marker != nil { @@ -13253,9 +13253,9 @@ func awsAwsquery_serializeOpDocumentDownloadDBLogFilePortionInput(v *DownloadDBL objectKey.String(*v.Marker) } - if v.NumberOfLines != 0 { + if v.NumberOfLines != nil { objectKey := object.Key("NumberOfLines") - objectKey.Integer(v.NumberOfLines) + objectKey.Integer(*v.NumberOfLines) } return nil @@ -13452,19 +13452,19 @@ func awsAwsquery_serializeOpDocumentModifyDBClusterInput(v *ModifyDBClusterInput objectKey.Integer(*v.AllocatedStorage) } - if v.AllowEngineModeChange { + if v.AllowEngineModeChange != nil { objectKey := object.Key("AllowEngineModeChange") - objectKey.Boolean(v.AllowEngineModeChange) + objectKey.Boolean(*v.AllowEngineModeChange) } - if v.AllowMajorVersionUpgrade { + if v.AllowMajorVersionUpgrade != nil { objectKey := object.Key("AllowMajorVersionUpgrade") - objectKey.Boolean(v.AllowMajorVersionUpgrade) + objectKey.Boolean(*v.AllowMajorVersionUpgrade) } - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.AutoMinorVersionUpgrade != nil { @@ -13732,14 +13732,14 @@ func awsAwsquery_serializeOpDocumentModifyDBInstanceInput(v *ModifyDBInstanceInp objectKey.Integer(*v.AllocatedStorage) } - if v.AllowMajorVersionUpgrade { + if v.AllowMajorVersionUpgrade != nil { objectKey := object.Key("AllowMajorVersionUpgrade") - objectKey.Boolean(v.AllowMajorVersionUpgrade) + objectKey.Boolean(*v.AllowMajorVersionUpgrade) } - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if len(v.AutomationMode) > 0 { @@ -14305,9 +14305,9 @@ func awsAwsquery_serializeOpDocumentModifyOptionGroupInput(v *ModifyOptionGroupI object := value.Object() _ = object - if v.ApplyImmediately { + if v.ApplyImmediately != nil { objectKey := object.Key("ApplyImmediately") - objectKey.Boolean(v.ApplyImmediately) + objectKey.Boolean(*v.ApplyImmediately) } if v.OptionGroupName != nil { @@ -14568,9 +14568,9 @@ func awsAwsquery_serializeOpDocumentResetDBClusterParameterGroupInput(v *ResetDB } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil @@ -14592,9 +14592,9 @@ func awsAwsquery_serializeOpDocumentResetDBParameterGroupInput(v *ResetDBParamet } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil @@ -15098,9 +15098,9 @@ func awsAwsquery_serializeOpDocumentRestoreDBClusterToPointInTimeInput(v *Restor } } - if v.UseLatestRestorableTime { + if v.UseLatestRestorableTime != nil { objectKey := object.Key("UseLatestRestorableTime") - objectKey.Boolean(v.UseLatestRestorableTime) + objectKey.Boolean(*v.UseLatestRestorableTime) } if v.VpcSecurityGroupIds != nil { @@ -15814,9 +15814,9 @@ func awsAwsquery_serializeOpDocumentRestoreDBInstanceToPointInTimeInput(v *Resto objectKey.Boolean(*v.UseDefaultProcessorFeatures) } - if v.UseLatestRestorableTime { + if v.UseLatestRestorableTime != nil { objectKey := object.Key("UseLatestRestorableTime") - objectKey.Boolean(v.UseLatestRestorableTime) + objectKey.Boolean(*v.UseLatestRestorableTime) } if v.VpcSecurityGroupIds != nil { diff --git a/service/rds/types/types.go b/service/rds/types/types.go index b6fc5e74599..2660f43eccf 100644 --- a/service/rds/types/types.go +++ b/service/rds/types/types.go @@ -73,10 +73,10 @@ type AccountQuota struct { AccountQuotaName *string // The maximum allowed value for the quota. - Max int64 + Max *int64 // The amount currently used toward the quota maximum. - Used int64 + Used *int64 noSmithyDocumentSerde } @@ -372,7 +372,7 @@ type ConnectionPoolConfigurationInfo struct { // The number of seconds for a proxy to wait for a connection to become available // in the connection pool. Only applies when the proxy has opened its maximum // number of connections and all connections are busy with client sessions. - ConnectionBorrowTimeout int32 + ConnectionBorrowTimeout *int32 // One or more SQL statements for the proxy to run when opening each new database // connection. Typically used with SET statements to make sure that each @@ -385,7 +385,7 @@ type ConnectionPoolConfigurationInfo struct { // The maximum size of the connection pool for each target in a target group. The // value is expressed as a percentage of the max_connections setting for the RDS // DB instance or Aurora DB cluster used by the target group. - MaxConnectionsPercent int32 + MaxConnectionsPercent *int32 // Controls how actively the proxy closes idle database connections in the // connection pool. The value is expressed as a percentage of the max_connections @@ -393,7 +393,7 @@ type ConnectionPoolConfigurationInfo struct { // With a high value, the proxy leaves a high percentage of idle database // connections open. A low value causes the proxy to close more idle connections // and return them to the database. - MaxIdleConnectionsPercent int32 + MaxIdleConnectionsPercent *int32 // Each item in the list represents a class of SQL operations that normally cause // all later statements in a session using a proxy to be pinned to the same @@ -465,7 +465,7 @@ type DBCluster struct { // Indicates whether minor version patches are applied automatically. This setting // is only for non-Aurora Multi-AZ DB clusters. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // The time when a stopped DB cluster is restarted automatically. AutomaticRestartTime *time.Time @@ -745,7 +745,7 @@ type DBCluster struct { Status *string // Indicates whether the DB cluster is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // The storage type associated with the DB cluster. StorageType *string @@ -769,7 +769,7 @@ type DBClusterAutomatedBackup struct { // allocated storage size in gibibytes (GiB). For Aurora, AllocatedStorage always // returns 1, because Aurora DB cluster storage size isn't fixed, but instead // automatically adjusts as needed. - AllocatedStorage int32 + AllocatedStorage *int32 // The Availability Zones where instances in the DB cluster can be created. For // information on Amazon Web Services Regions and Availability Zones, see Regions @@ -812,7 +812,7 @@ type DBClusterAutomatedBackup struct { // Indicates whether mapping of Amazon Web Services Identity and Access Management // (IAM) accounts to database accounts is enabled. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // The IOPS (I/O operations per second) value for the automated backup. This // setting is only for non-Aurora Multi-AZ DB clusters. @@ -831,7 +831,7 @@ type DBClusterAutomatedBackup struct { // The port number that the automated backup used for connections. Default: // Inherits from the source DB cluster Valid Values: 1150-65535 - Port int32 + Port *int32 // The Amazon Web Services Region associated with the automated backup. Region *string @@ -844,7 +844,7 @@ type DBClusterAutomatedBackup struct { Status *string // Indicates whether the source DB cluster is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // The storage type associated with the DB cluster. This setting is only for // non-Aurora Multi-AZ DB clusters. @@ -955,7 +955,7 @@ type DBClusterMember struct { // Indicates whether the cluster member is the primary DB instance for the DB // cluster. - IsClusterWriter bool + IsClusterWriter *bool // A value that specifies the order in which an Aurora Replica is promoted to the // primary instance after a failure of the existing primary instance. For more @@ -1030,7 +1030,7 @@ type DBClusterRole struct { type DBClusterSnapshot struct { // The allocated storage size of the DB cluster snapshot in gibibytes (GiB). - AllocatedStorage int32 + AllocatedStorage *int32 // The list of Availability Zones (AZs) where instances in the DB cluster snapshot // can be restored. @@ -1067,7 +1067,7 @@ type DBClusterSnapshot struct { // Indicates whether mapping of Amazon Web Services Identity and Access Management // (IAM) accounts to database accounts is enabled. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // If StorageEncrypted is true, the Amazon Web Services KMS key identifier for the // encrypted DB cluster snapshot. The Amazon Web Services KMS key identifier is the @@ -1081,10 +1081,10 @@ type DBClusterSnapshot struct { MasterUsername *string // The percentage of the estimated data that has been transferred. - PercentProgress int32 + PercentProgress *int32 // The port that the DB cluster was listening on at the time of the snapshot. - Port int32 + Port *int32 // The time when the snapshot was taken, in Universal Coordinated Time (UTC). SnapshotCreateTime *time.Time @@ -1104,7 +1104,7 @@ type DBClusterSnapshot struct { Status *string // Indicates whether the DB cluster snapshot is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // The storage type associated with the DB cluster snapshot. This setting is only // for Aurora DB clusters. @@ -1257,7 +1257,7 @@ type DBEngineVersion struct { SupportedTimezones []Timezone // Indicates whether the engine version supports Babelfish for Aurora PostgreSQL. - SupportsBabelfish bool + SupportsBabelfish *bool // Indicates whether the engine version supports rotating the server certificate // without rebooting the DB instance. @@ -1265,7 +1265,7 @@ type DBEngineVersion struct { // Indicates whether you can use Aurora global databases with a specific DB engine // version. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // Indicates whether the DB engine version supports forwarding write operations // from reader DB instances to the writer DB instance in the DB cluster. By @@ -1275,14 +1275,14 @@ type DBEngineVersion struct { // Indicates whether the engine version supports exporting the log types specified // by ExportableLogTypes to CloudWatch Logs. - SupportsLogExportsToCloudwatchLogs bool + SupportsLogExportsToCloudwatchLogs *bool // Indicates whether you can use Aurora parallel query with a specific DB engine // version. - SupportsParallelQuery bool + SupportsParallelQuery *bool // Indicates whether the database engine version supports read replicas. - SupportsReadReplica bool + SupportsReadReplica *bool // A list of tags. For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) // in the Amazon RDS User Guide. @@ -1327,14 +1327,14 @@ type DBInstance struct { ActivityStreamStatus ActivityStreamStatus // The amount of storage in gibibytes (GiB) allocated for the DB instance. - AllocatedStorage int32 + AllocatedStorage *int32 // The Amazon Web Services Identity and Access Management (IAM) roles associated // with the DB instance. AssociatedRoles []DBInstanceRole // Indicates whether minor version patches are applied automatically. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // The time when a stopped DB instance is restarted automatically. AutomaticRestartTime *time.Time @@ -1353,7 +1353,7 @@ type DBInstance struct { AwsBackupRecoveryPointArn *string // The number of days for which automatic DB snapshots are retained. - BackupRetentionPeriod int32 + BackupRetentionPeriod *int32 // The location where automated backups and manual snapshots are stored: Amazon // Web Services Outposts or the Amazon Web Services Region. @@ -1378,7 +1378,7 @@ type DBInstance struct { // to snapshots is managed by the DB cluster. Setting this value for an Aurora DB // instance has no effect on the DB cluster setting. For more information, see // DBCluster . - CopyTagsToSnapshot bool + CopyTagsToSnapshot *bool // The instance profile associated with the underlying Amazon EC2 instance of an // RDS Custom DB instance. The instance profile must meet the following @@ -1451,7 +1451,7 @@ type DBInstance struct { // The port that the DB instance listens on. If the DB instance is part of a DB // cluster, this can be a different port than the DB cluster port. - DbInstancePort int32 + DbInstancePort *int32 // The Amazon Web Services Region-unique, immutable identifier for the DB // instance. This identifier is found in Amazon Web Services CloudTrail log entries @@ -1459,13 +1459,13 @@ type DBInstance struct { DbiResourceId *string // Indicates whether the DB instance has a dedicated log volume (DLV) enabled. - DedicatedLogVolume bool + DedicatedLogVolume *bool // Indicates whether the DB instance has deletion protection enabled. The database // can't be deleted when deletion protection is enabled. For more information, see // Deleting a DB Instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html) // . - DeletionProtection bool + DeletionProtection *bool // The Active Directory Domain membership records associated with the DB instance. DomainMemberships []DomainMembership @@ -1496,7 +1496,7 @@ type DBInstance struct { // authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RDS_Fea_Regions_DB-eng.Feature.IamDatabaseAuthentication.html) // in the Amazon RDS User Guide and IAM database authentication in Aurora (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.Aurora_Fea_Regions_DB-eng.Feature.IAMdbauth.html) // in the Amazon Aurora User Guide. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // The date and time when the DB instance was created. InstanceCreateTime *time.Time @@ -1551,7 +1551,7 @@ type DBInstance struct { // Indicates whether the DB instance is a Multi-AZ deployment. This setting // doesn't apply to RDS Custom DB instances. - MultiAZ bool + MultiAZ *bool // The name of the NCHAR character set for the Oracle DB instance. This character // set specifies the Unicode encoding for data stored in table columns of type @@ -1620,7 +1620,7 @@ type DBInstance struct { // doesn't permit it. When the DB instance isn't publicly accessible, it is an // internal DB instance with a DNS name that resolves to a private IP address. For // more information, see CreateDBInstance . - PubliclyAccessible bool + PubliclyAccessible *bool // The identifiers of Aurora DB clusters to which the RDS DB instance is // replicated as a read replica. For example, when you create an Aurora read @@ -1659,7 +1659,7 @@ type DBInstance struct { StatusInfos []DBInstanceStatusInfo // Indicates whether the DB instance is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // The storage throughput for the DB instance. This setting applies only to the gp3 // storage type. @@ -1693,7 +1693,7 @@ type DBInstance struct { type DBInstanceAutomatedBackup struct { // The allocated storage size for the the automated backup in gibibytes (GiB). - AllocatedStorage int32 + AllocatedStorage *int32 // The Availability Zone that the automated backup was created in. For information // on Amazon Web Services Regions and Availability Zones, see Regions and @@ -1734,7 +1734,7 @@ type DBInstanceAutomatedBackup struct { DedicatedLogVolume *bool // Indicates whether the automated backup is encrypted. - Encrypted bool + Encrypted *bool // The name of the database engine for this automated backup. Engine *string @@ -1744,7 +1744,7 @@ type DBInstanceAutomatedBackup struct { // True if mapping of Amazon Web Services Identity and Access Management (IAM) // accounts to database accounts is enabled, and otherwise false. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // The date and time when the DB instance was created. InstanceCreateTime *time.Time @@ -1769,7 +1769,7 @@ type DBInstanceAutomatedBackup struct { // The port number that the automated backup used for connections. Default: // Inherits from the source DB instance Valid Values: 1150-65535 - Port int32 + Port *int32 // The Amazon Web Services Region associated with the automated backup. Region *string @@ -1851,7 +1851,7 @@ type DBInstanceStatusInfo struct { // A Boolean value that is true if the instance is operating normally, or false if // the instance is in an error state. - Normal bool + Normal *bool // The status of the DB instance. For a StatusType of read replica, the values can // be replicating, replication stop point set, replication stop point reached, @@ -1928,7 +1928,7 @@ type DBProxy struct { // proxy. Thus, only enable this setting when needed for debugging, and only when // you have security measures in place to safeguard any sensitive information that // appears in the logs. - DebugLogging bool + DebugLogging *bool // The endpoint that you can use to connect to the DB proxy. You include the // endpoint value in the connection string for a database client application. @@ -1945,11 +1945,11 @@ type DBProxy struct { // proxy drops the client connection. The proxy keeps the underlying database // connection open and puts it back into the connection pool for reuse by later // connection requests. Default: 1800 (30 minutes) Constraints: 1 to 28,800 - IdleClientTimeout int32 + IdleClientTimeout *int32 // Indicates whether Transport Layer Security (TLS) encryption is required for // connections to the proxy. - RequireTLS bool + RequireTLS *bool // The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access // Amazon Secrets Manager. @@ -2005,7 +2005,7 @@ type DBProxyEndpoint struct { // proxy. Default DB proxy endpoints always have read/write capability. Other // endpoints that you associate with the DB proxy can be either read/write or // read-only. - IsDefault bool + IsDefault *bool // The current status of this DB proxy endpoint. A status of available means the // endpoint is ready to handle requests. Other values indicate that you must wait @@ -2039,7 +2039,7 @@ type DBProxyTarget struct { // The port that the RDS Proxy uses to connect to the target RDS DB instance or // Aurora DB cluster. - Port int32 + Port *int32 // The identifier representing the target. It can be the instance identifier for // an RDS DB instance, or the cluster identifier for an Aurora DB cluster. @@ -2085,7 +2085,7 @@ type DBProxyTargetGroup struct { // Indicates whether this target group is the first one used for connection // requests by the associated proxy. Because each proxy is currently associated // with a single target group, currently this setting is always true . - IsDefault bool + IsDefault *bool // The current status of this target group. A status of available means the target // group is correctly associated with a database. Other values indicate that you @@ -2157,7 +2157,7 @@ type DBSecurityGroupMembership struct { type DBSnapshot struct { // Specifies the allocated storage size in gibibytes (GiB). - AllocatedStorage int32 + AllocatedStorage *int32 // Specifies the name of the Availability Zone the DB instance was located in at // the time of the DB snapshot. @@ -2183,10 +2183,10 @@ type DBSnapshot struct { DbiResourceId *string // Indicates whether the DB instance has a dedicated log volume (DLV) enabled. - DedicatedLogVolume bool + DedicatedLogVolume *bool // Indicates whether the DB snapshot is encrypted. - Encrypted bool + Encrypted *bool // Specifies the name of the database engine. Engine *string @@ -2196,7 +2196,7 @@ type DBSnapshot struct { // Indicates whether mapping of Amazon Web Services Identity and Access Management // (IAM) accounts to database accounts is enabled. - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // Specifies the time in Coordinated Universal Time (UTC) when the DB instance, // from which the snapshot was taken, was created. @@ -2225,11 +2225,11 @@ type DBSnapshot struct { OriginalSnapshotCreateTime *time.Time // The percentage of the estimated data that has been transferred. - PercentProgress int32 + PercentProgress *int32 // Specifies the port that the database engine was listening on at the time of the // snapshot. - Port int32 + Port *int32 // The number of CPU cores and the number of threads per core for the DB instance // class of the DB instance when the DB snapshot was created. @@ -2367,13 +2367,13 @@ type DBSubnetGroup struct { type DescribeDBLogFilesDetails struct { // A POSIX timestamp when the last log entry was written. - LastWritten int64 + LastWritten *int64 // The name of the log file for the specified DB instance. LogFileName *string // The size, in bytes, of the log file for the specified DB instance. - Size int64 + Size *int64 noSmithyDocumentSerde } @@ -2413,10 +2413,10 @@ type DomainMembership struct { type DoubleRange struct { // The minimum value in the range. - From float64 + From *float64 // The maximum value in the range. - To float64 + To *float64 noSmithyDocumentSerde } @@ -2462,7 +2462,7 @@ type Endpoint struct { HostedZoneId *string // Specifies the port that the database engine is listening on. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -2537,7 +2537,7 @@ type EventSubscription struct { // A Boolean value indicating if the subscription is enabled. True indicates the // subscription is enabled. - Enabled bool + Enabled *bool // A list of event categories for the RDS event notification subscription. EventCategoriesList []string @@ -2600,7 +2600,7 @@ type ExportTask struct { KmsKeyId *string // The progress of the snapshot or cluster export task as a percentage. - PercentProgress int32 + PercentProgress *int32 // The Amazon S3 bucket where the snapshot or cluster is exported to. S3Bucket *string @@ -2633,7 +2633,7 @@ type ExportTask struct { TaskStartTime *time.Time // The total amount of data exported, in gigabytes. - TotalExtractedDataInGB int32 + TotalExtractedDataInGB *int32 // A warning about the snapshot or cluster export task. WarningMessage *string @@ -2653,7 +2653,7 @@ type FailoverState struct { // Indicates whether the operation is a global switchover or a global failover. If // data loss is allowed, then the operation is a global failover. Otherwise, it's a // switchover. - IsDataLossAllowed bool + IsDataLossAllowed *bool // The current status of the global cluster. Possible values are as follows: // - pending – The service received a request to switch over or fail over the @@ -2757,7 +2757,7 @@ type GlobalClusterMember struct { // Indicates whether the Aurora DB cluster is the primary cluster (that is, has // read-write capability) for the global cluster with which it is associated. - IsWriter bool + IsWriter *bool // The Amazon Resource Name (ARN) for each read-only secondary cluster associated // with the global cluster. @@ -2846,10 +2846,10 @@ type Option struct { OptionVersion *string // Indicates whether this option is permanent. - Permanent bool + Permanent *bool // Indicates whether this option is persistent. - Persistent bool + Persistent *bool // If required, the port configured for this option to use. Port *int32 @@ -2892,7 +2892,7 @@ type OptionGroup struct { // Indicates whether this option group can be applied to both VPC and non-VPC // instances. The value true indicates the option group can be applied to both VPC // and non-VPC instances. - AllowsVpcAndNonVpcInstanceMemberships bool + AllowsVpcAndNonVpcInstanceMemberships *bool // Indicates when the option group was copied. CopyTimestamp *time.Time @@ -2985,28 +2985,28 @@ type OptionGroupOption struct { // Permanent options can never be removed from an option group. An option group // containing a permanent option can't be removed from a DB instance. - Permanent bool + Permanent *bool // Persistent options can't be removed from an option group while DB instances are // associated with the option group. If you disassociate all DB instances from the // option group, your can remove the persistent option from the option group. - Persistent bool + Persistent *bool // Indicates whether the option requires a port. - PortRequired bool + PortRequired *bool // If true, you must enable the Auto Minor Version Upgrade setting for your DB // instance before you can use this option. You can enable Auto Minor Version // Upgrade when you first create your DB instance, or by modifying your DB instance // later. - RequiresAutoMinorEngineVersionUpgrade bool + RequiresAutoMinorEngineVersionUpgrade *bool // If true, you can change the option to an earlier version of the option. This // only applies to options that have different versions available. SupportsOptionVersionDowngrade *bool // If true, you can only use this option with a DB instance that is in a VPC. - VpcOnly bool + VpcOnly *bool noSmithyDocumentSerde } @@ -3027,11 +3027,11 @@ type OptionGroupOptionSetting struct { // Indicates whether this option group option can be changed from the default // value. - IsModifiable bool + IsModifiable *bool // Indicates whether a value must be specified for this option setting of the // option group option. - IsRequired bool + IsRequired *bool // The minimum DB engine version required for the corresponding allowed value for // this option setting. @@ -3068,10 +3068,10 @@ type OptionSetting struct { Description *string // Indicates whether the option setting is part of a collection. - IsCollection bool + IsCollection *bool // Indicates whether the option setting can be modified from the default. - IsModifiable bool + IsModifiable *bool // The name of the option that has settings that you can set. Name *string @@ -3087,7 +3087,7 @@ type OptionSetting struct { type OptionVersion struct { // Indicates whether the version is the default version of the option. - IsDefault bool + IsDefault *bool // The version of the option. Version *string @@ -3152,15 +3152,15 @@ type OrderableDBInstanceOption struct { MinStorageThroughputPerIops *float64 // Indicates whether a DB instance is Multi-AZ capable. - MultiAZCapable bool + MultiAZCapable *bool // Indicates whether a DB instance supports RDS on Outposts. For more information // about RDS on Outposts, see Amazon RDS on Amazon Web Services Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) // in the Amazon RDS User Guide. - OutpostCapable bool + OutpostCapable *bool // Indicates whether a DB instance can have a read replica. - ReadReplicaCapable bool + ReadReplicaCapable *bool // The storage type for a DB instance. StorageType *string @@ -3184,43 +3184,43 @@ type OrderableDBInstanceOption struct { // more information on Multi-AZ DB clusters, see Multi-AZ deployments with two // readable standby DB instances (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html) // in the Amazon RDS User Guide. - SupportsClusters bool + SupportsClusters *bool // Indicates whether a DB instance supports using a dedicated log volume (DLV). - SupportsDedicatedLogVolume bool + SupportsDedicatedLogVolume *bool // Indicates whether a DB instance supports Enhanced Monitoring at intervals from // 1 to 60 seconds. - SupportsEnhancedMonitoring bool + SupportsEnhancedMonitoring *bool // Indicates whether you can use Aurora global databases with a specific // combination of other DB engine attributes. - SupportsGlobalDatabases bool + SupportsGlobalDatabases *bool // Indicates whether a DB instance supports IAM database authentication. - SupportsIAMDatabaseAuthentication bool + SupportsIAMDatabaseAuthentication *bool // Indicates whether a DB instance supports provisioned IOPS. - SupportsIops bool + SupportsIops *bool // Indicates whether a DB instance supports Kerberos Authentication. SupportsKerberosAuthentication *bool // Indicates whether a DB instance supports Performance Insights. - SupportsPerformanceInsights bool + SupportsPerformanceInsights *bool // Indicates whether Amazon RDS can automatically scale storage for DB instances // that use the specified DB instance class. SupportsStorageAutoscaling *bool // Indicates whether a DB instance supports encrypted storage. - SupportsStorageEncryption bool + SupportsStorageEncryption *bool // Indicates whether a DB instance supports storage throughput. - SupportsStorageThroughput bool + SupportsStorageThroughput *bool // Indicates whether a DB instance is in a VPC. - Vpc bool + Vpc *bool noSmithyDocumentSerde } @@ -3259,7 +3259,7 @@ type Parameter struct { // Indicates whether ( true ) or not ( false ) the parameter can be modified. Some // parameters have security or operational implications that prevent them from // being changed. - IsModifiable bool + IsModifiable *bool // The earliest engine version to which the parameter can apply. MinimumEngineVersion *string @@ -3456,7 +3456,7 @@ type ProcessorFeature struct { type Range struct { // The minimum value in the range. - From int32 + From *int32 // The step value for the range. For example, if you have a range of 5,000 to // 10,000, with a step value of 1,000, the valid values start at 5,000 and step up @@ -3465,7 +3465,7 @@ type Range struct { Step *int32 // The maximum value in the range. - To int32 + To *int32 noSmithyDocumentSerde } @@ -3475,7 +3475,7 @@ type Range struct { type RecurringCharge struct { // The amount of the recurring charge. - RecurringChargeAmount float64 + RecurringChargeAmount *float64 // The frequency of the recurring charge. RecurringChargeFrequency *string @@ -3494,13 +3494,13 @@ type ReservedDBInstance struct { DBInstanceClass *string // The number of reserved DB instances. - DBInstanceCount int32 + DBInstanceCount *int32 // The duration of the reservation in seconds. - Duration int32 + Duration *int32 // The fixed price charged for this reserved DB instance. - FixedPrice float64 + FixedPrice *float64 // The unique identifier for the lease associated with the reserved DB instance. // Amazon Web Services Support might request the lease ID for an issue related to a @@ -3508,7 +3508,7 @@ type ReservedDBInstance struct { LeaseId *string // Indicates whether the reservation applies to Multi-AZ deployments. - MultiAZ bool + MultiAZ *bool // The offering type of this reserved DB instance. OfferingType *string @@ -3535,7 +3535,7 @@ type ReservedDBInstance struct { State *string // The hourly price charged for this reserved DB instance. - UsagePrice float64 + UsagePrice *float64 noSmithyDocumentSerde } @@ -3551,13 +3551,13 @@ type ReservedDBInstancesOffering struct { DBInstanceClass *string // The duration of the offering in seconds. - Duration int32 + Duration *int32 // The fixed price charged for this offering. - FixedPrice float64 + FixedPrice *float64 // Indicates whether the offering applies to Multi-AZ deployments. - MultiAZ bool + MultiAZ *bool // The offering type. OfferingType *string @@ -3572,7 +3572,7 @@ type ReservedDBInstancesOffering struct { ReservedDBInstancesOfferingId *string // The hourly price charged for this offering. - UsagePrice float64 + UsagePrice *float64 noSmithyDocumentSerde } @@ -3741,7 +3741,7 @@ type SourceRegion struct { // Indicates whether the source Amazon Web Services Region supports replicating // automated backups to the current Amazon Web Services Region. - SupportsDBInstanceAutomatedBackupsReplication bool + SupportsDBInstanceAutomatedBackupsReplication *bool noSmithyDocumentSerde } @@ -3851,7 +3851,7 @@ type UpgradeTarget struct { // Indicates whether the target version is applied to any source DB instances that // have AutoMinorVersionUpgrade set to true. - AutoUpgrade bool + AutoUpgrade *bool // The version of the database engine that a DB instance can be upgraded to. Description *string @@ -3864,7 +3864,7 @@ type UpgradeTarget struct { // Indicates whether upgrading to the target version requires upgrading the major // version of the database engine. - IsMajorVersionUpgrade bool + IsMajorVersionUpgrade *bool // A list of the supported DB engine modes for the target engine version. SupportedEngineModes []string @@ -3963,7 +3963,7 @@ type ValidDBInstanceModificationsMessage struct { Storage []ValidStorageOptions // Indicates whether a DB instance supports using a dedicated log volume (DLV). - SupportsDedicatedLogVolume bool + SupportsDedicatedLogVolume *bool // Valid processor features for your DB instance. ValidProcessorFeatures []AvailableProcessorFeature @@ -4000,7 +4000,7 @@ type ValidStorageOptions struct { // Indicates whether or not Amazon RDS can automatically scale storage for DB // instances that use the new instance class. - SupportsStorageAutoscaling bool + SupportsStorageAutoscaling *bool noSmithyDocumentSerde } diff --git a/service/redshift/api_op_AssociateDataShareConsumer.go b/service/redshift/api_op_AssociateDataShareConsumer.go index 600fde8cc06..5819f13c879 100644 --- a/service/redshift/api_op_AssociateDataShareConsumer.go +++ b/service/redshift/api_op_AssociateDataShareConsumer.go @@ -61,7 +61,7 @@ type AssociateDataShareConsumerOutput struct { // A value that specifies whether the datashare can be shared to a publicly // accessible cluster. - AllowPubliclyAccessibleConsumers bool + AllowPubliclyAccessibleConsumers *bool // An Amazon Resource Name (ARN) that references the datashare that is owned by a // specific namespace of the producer cluster. A datashare ARN is in the diff --git a/service/redshift/api_op_AuthorizeDataShare.go b/service/redshift/api_op_AuthorizeDataShare.go index 5e3487a75d6..407f9438296 100644 --- a/service/redshift/api_op_AuthorizeDataShare.go +++ b/service/redshift/api_op_AuthorizeDataShare.go @@ -55,7 +55,7 @@ type AuthorizeDataShareOutput struct { // A value that specifies whether the datashare can be shared to a publicly // accessible cluster. - AllowPubliclyAccessibleConsumers bool + AllowPubliclyAccessibleConsumers *bool // An Amazon Resource Name (ARN) that references the datashare that is owned by a // specific namespace of the producer cluster. A datashare ARN is in the diff --git a/service/redshift/api_op_AuthorizeEndpointAccess.go b/service/redshift/api_op_AuthorizeEndpointAccess.go index a10a102f642..baf303a499a 100644 --- a/service/redshift/api_op_AuthorizeEndpointAccess.go +++ b/service/redshift/api_op_AuthorizeEndpointAccess.go @@ -55,7 +55,7 @@ type AuthorizeEndpointAccessOutput struct { // Indicates whether all VPCs in the grantee account are allowed access to the // cluster. - AllowedAllVPCs bool + AllowedAllVPCs *bool // The VPCs allowed access to the cluster. AllowedVPCs []string @@ -70,7 +70,7 @@ type AuthorizeEndpointAccessOutput struct { ClusterStatus *string // The number of Redshift-managed VPC endpoints created for the authorization. - EndpointCount int32 + EndpointCount *int32 // The Amazon Web Services account ID of the grantee of the cluster. Grantee *string diff --git a/service/redshift/api_op_BatchModifyClusterSnapshots.go b/service/redshift/api_op_BatchModifyClusterSnapshots.go index cd771f512c9..1f26c3a725d 100644 --- a/service/redshift/api_op_BatchModifyClusterSnapshots.go +++ b/service/redshift/api_op_BatchModifyClusterSnapshots.go @@ -41,7 +41,7 @@ type BatchModifyClusterSnapshotsInput struct { // A boolean value indicating whether to override an exception if the retention // period has passed. - Force bool + Force *bool // The number of days that a manual snapshot is retained. If you specify the value // -1, the manual snapshot is retained indefinitely. The number must be either -1 diff --git a/service/redshift/api_op_CreateEndpointAccess.go b/service/redshift/api_op_CreateEndpointAccess.go index b315df9a514..77a47703aa4 100644 --- a/service/redshift/api_op_CreateEndpointAccess.go +++ b/service/redshift/api_op_CreateEndpointAccess.go @@ -82,7 +82,7 @@ type CreateEndpointAccessOutput struct { EndpointStatus *string // The port number on which the cluster accepts incoming connections. - Port int32 + Port *int32 // The Amazon Web Services account ID of the owner of the cluster. ResourceOwner *string diff --git a/service/redshift/api_op_CreateUsageLimit.go b/service/redshift/api_op_CreateUsageLimit.go index a003fa2c4d2..23991d0a358 100644 --- a/service/redshift/api_op_CreateUsageLimit.go +++ b/service/redshift/api_op_CreateUsageLimit.go @@ -39,7 +39,7 @@ type CreateUsageLimitInput struct { // amount is in terabytes (TB). The value must be a positive number. // // This member is required. - Amount int64 + Amount *int64 // The identifier of the cluster that you want to limit usage. // @@ -79,7 +79,7 @@ type CreateUsageLimitOutput struct { // The limit amount. If time-based, this amount is in minutes. If data-based, this // amount is in terabytes (TB). - Amount int64 + Amount *int64 // The action that Amazon Redshift takes when the limit is reached. Possible // values are: diff --git a/service/redshift/api_op_DeauthorizeDataShare.go b/service/redshift/api_op_DeauthorizeDataShare.go index 38f404f9321..b116d8a4a40 100644 --- a/service/redshift/api_op_DeauthorizeDataShare.go +++ b/service/redshift/api_op_DeauthorizeDataShare.go @@ -54,7 +54,7 @@ type DeauthorizeDataShareOutput struct { // A value that specifies whether the datashare can be shared to a publicly // accessible cluster. - AllowPubliclyAccessibleConsumers bool + AllowPubliclyAccessibleConsumers *bool // An Amazon Resource Name (ARN) that references the datashare that is owned by a // specific namespace of the producer cluster. A datashare ARN is in the diff --git a/service/redshift/api_op_DeleteCluster.go b/service/redshift/api_op_DeleteCluster.go index a4e03db5cff..4c4a6d3af71 100644 --- a/service/redshift/api_op_DeleteCluster.go +++ b/service/redshift/api_op_DeleteCluster.go @@ -73,7 +73,7 @@ type DeleteClusterInput struct { // If false , a final cluster snapshot is created before the cluster is deleted. // The FinalClusterSnapshotIdentifier parameter must be specified if // SkipFinalClusterSnapshot is false . Default: false - SkipFinalClusterSnapshot bool + SkipFinalClusterSnapshot *bool noSmithyDocumentSerde } diff --git a/service/redshift/api_op_DeleteEndpointAccess.go b/service/redshift/api_op_DeleteEndpointAccess.go index 3d13d680d83..ee14bd5a123 100644 --- a/service/redshift/api_op_DeleteEndpointAccess.go +++ b/service/redshift/api_op_DeleteEndpointAccess.go @@ -62,7 +62,7 @@ type DeleteEndpointAccessOutput struct { EndpointStatus *string // The port number on which the cluster accepts incoming connections. - Port int32 + Port *int32 // The Amazon Web Services account ID of the owner of the cluster. ResourceOwner *string diff --git a/service/redshift/api_op_DescribeLoggingStatus.go b/service/redshift/api_op_DescribeLoggingStatus.go index 659295962f9..865a5bb85c2 100644 --- a/service/redshift/api_op_DescribeLoggingStatus.go +++ b/service/redshift/api_op_DescribeLoggingStatus.go @@ -68,7 +68,7 @@ type DescribeLoggingStatusOutput struct { LogExports []string // true if logging is on, false if logging is off. - LoggingEnabled bool + LoggingEnabled *bool // The prefix applied to the log file names. S3KeyPrefix *string diff --git a/service/redshift/api_op_DescribeStorage.go b/service/redshift/api_op_DescribeStorage.go index 939f4574ce7..c9bfa65dae0 100644 --- a/service/redshift/api_op_DescribeStorage.go +++ b/service/redshift/api_op_DescribeStorage.go @@ -38,10 +38,10 @@ type DescribeStorageInput struct { type DescribeStorageOutput struct { // The total amount of storage currently used for snapshots. - TotalBackupSizeInMegaBytes float64 + TotalBackupSizeInMegaBytes *float64 // The total amount of storage currently provisioned. - TotalProvisionedStorageInMegaBytes float64 + TotalProvisionedStorageInMegaBytes *float64 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/redshift/api_op_DisableLogging.go b/service/redshift/api_op_DisableLogging.go index 9d7d7ee9a26..845b633e3db 100644 --- a/service/redshift/api_op_DisableLogging.go +++ b/service/redshift/api_op_DisableLogging.go @@ -68,7 +68,7 @@ type DisableLoggingOutput struct { LogExports []string // true if logging is on, false if logging is off. - LoggingEnabled bool + LoggingEnabled *bool // The prefix applied to the log file names. S3KeyPrefix *string diff --git a/service/redshift/api_op_DisassociateDataShareConsumer.go b/service/redshift/api_op_DisassociateDataShareConsumer.go index 6e6a4fe6366..c516b7b051e 100644 --- a/service/redshift/api_op_DisassociateDataShareConsumer.go +++ b/service/redshift/api_op_DisassociateDataShareConsumer.go @@ -59,7 +59,7 @@ type DisassociateDataShareConsumerOutput struct { // A value that specifies whether the datashare can be shared to a publicly // accessible cluster. - AllowPubliclyAccessibleConsumers bool + AllowPubliclyAccessibleConsumers *bool // An Amazon Resource Name (ARN) that references the datashare that is owned by a // specific namespace of the producer cluster. A datashare ARN is in the diff --git a/service/redshift/api_op_EnableLogging.go b/service/redshift/api_op_EnableLogging.go index c17b89f11b9..8deeadb660b 100644 --- a/service/redshift/api_op_EnableLogging.go +++ b/service/redshift/api_op_EnableLogging.go @@ -92,7 +92,7 @@ type EnableLoggingOutput struct { LogExports []string // true if logging is on, false if logging is off. - LoggingEnabled bool + LoggingEnabled *bool // The prefix applied to the log file names. S3KeyPrefix *string diff --git a/service/redshift/api_op_ModifyClusterSnapshot.go b/service/redshift/api_op_ModifyClusterSnapshot.go index aca9d6c7320..bcbb6f3b673 100644 --- a/service/redshift/api_op_ModifyClusterSnapshot.go +++ b/service/redshift/api_op_ModifyClusterSnapshot.go @@ -42,7 +42,7 @@ type ModifyClusterSnapshotInput struct { // A Boolean option to override an exception if the retention period has already // passed. - Force bool + Force *bool // The number of days that a manual snapshot is retained. If the value is -1, the // manual snapshot is retained indefinitely. If the manual snapshot falls outside diff --git a/service/redshift/api_op_ModifyEndpointAccess.go b/service/redshift/api_op_ModifyEndpointAccess.go index 2575c815693..7e71899e9c6 100644 --- a/service/redshift/api_op_ModifyEndpointAccess.go +++ b/service/redshift/api_op_ModifyEndpointAccess.go @@ -66,7 +66,7 @@ type ModifyEndpointAccessOutput struct { EndpointStatus *string // The port number on which the cluster accepts incoming connections. - Port int32 + Port *int32 // The Amazon Web Services account ID of the owner of the cluster. ResourceOwner *string diff --git a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go index 5f67e08c0e5..41dbc244cde 100644 --- a/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go +++ b/service/redshift/api_op_ModifySnapshotCopyRetentionPeriod.go @@ -63,11 +63,11 @@ type ModifySnapshotCopyRetentionPeriodInput struct { // an integer between 1 and 3,653 for manual snapshots. // // This member is required. - RetentionPeriod int32 + RetentionPeriod *int32 // Indicates whether to apply the snapshot retention period to newly copied manual // snapshots instead of automated snapshots. - Manual bool + Manual *bool noSmithyDocumentSerde } diff --git a/service/redshift/api_op_ModifyUsageLimit.go b/service/redshift/api_op_ModifyUsageLimit.go index dcd5392a359..b187b37634a 100644 --- a/service/redshift/api_op_ModifyUsageLimit.go +++ b/service/redshift/api_op_ModifyUsageLimit.go @@ -55,7 +55,7 @@ type ModifyUsageLimitOutput struct { // The limit amount. If time-based, this amount is in minutes. If data-based, this // amount is in terabytes (TB). - Amount int64 + Amount *int64 // The action that Amazon Redshift takes when the limit is reached. Possible // values are: diff --git a/service/redshift/api_op_RejectDataShare.go b/service/redshift/api_op_RejectDataShare.go index 00049d53203..2f10c50602f 100644 --- a/service/redshift/api_op_RejectDataShare.go +++ b/service/redshift/api_op_RejectDataShare.go @@ -46,7 +46,7 @@ type RejectDataShareOutput struct { // A value that specifies whether the datashare can be shared to a publicly // accessible cluster. - AllowPubliclyAccessibleConsumers bool + AllowPubliclyAccessibleConsumers *bool // An Amazon Resource Name (ARN) that references the datashare that is owned by a // specific namespace of the producer cluster. A datashare ARN is in the diff --git a/service/redshift/api_op_ResetClusterParameterGroup.go b/service/redshift/api_op_ResetClusterParameterGroup.go index 3031582f1ee..f59f5b8c37f 100644 --- a/service/redshift/api_op_ResetClusterParameterGroup.go +++ b/service/redshift/api_op_ResetClusterParameterGroup.go @@ -49,7 +49,7 @@ type ResetClusterParameterGroupInput struct { // If true , all parameters in the specified parameter group will be reset to their // default values. Default: true - ResetAllParameters bool + ResetAllParameters *bool noSmithyDocumentSerde } diff --git a/service/redshift/api_op_RevokeEndpointAccess.go b/service/redshift/api_op_RevokeEndpointAccess.go index cfe87176d75..7c5338d99a8 100644 --- a/service/redshift/api_op_RevokeEndpointAccess.go +++ b/service/redshift/api_op_RevokeEndpointAccess.go @@ -43,7 +43,7 @@ type RevokeEndpointAccessInput struct { // Indicates whether to force the revoke action. If true, the Redshift-managed VPC // endpoints associated with the endpoint authorization are also deleted. - Force bool + Force *bool // The virtual private cloud (VPC) identifiers for which access is to be revoked. VpcIds []string @@ -57,7 +57,7 @@ type RevokeEndpointAccessOutput struct { // Indicates whether all VPCs in the grantee account are allowed access to the // cluster. - AllowedAllVPCs bool + AllowedAllVPCs *bool // The VPCs allowed access to the cluster. AllowedVPCs []string @@ -72,7 +72,7 @@ type RevokeEndpointAccessOutput struct { ClusterStatus *string // The number of Redshift-managed VPC endpoints created for the authorization. - EndpointCount int32 + EndpointCount *int32 // The Amazon Web Services account ID of the grantee of the cluster. Grantee *string diff --git a/service/redshift/deserializers.go b/service/redshift/deserializers.go index c1e047a9b49..9a916153420 100644 --- a/service/redshift/deserializers.go +++ b/service/redshift/deserializers.go @@ -21227,7 +21227,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowVersionUpgrade = xtv + sv.AllowVersionUpgrade = ptr.Bool(xtv) } case strings.EqualFold("AquaConfiguration", t.Name.Local): @@ -21250,7 +21250,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return err } - sv.AutomatedSnapshotRetentionPeriod = int32(i64) + sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -21537,7 +21537,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("Endpoint", t.Name.Local): @@ -21559,7 +21559,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EnhancedVpcRouting = xtv + sv.EnhancedVpcRouting = ptr.Bool(xtv) } case strings.EqualFold("ExpectedNextSnapshotScheduleTime", t.Name.Local): @@ -21644,7 +21644,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return err } - sv.ManualSnapshotRetentionPeriod = int32(i64) + sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case strings.EqualFold("MasterPasswordSecretArn", t.Name.Local): @@ -21743,7 +21743,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return err } - sv.NumberOfNodes = int32(i64) + sv.NumberOfNodes = ptr.Int32(int32(i64)) } case strings.EqualFold("PendingActions", t.Name.Local): @@ -21784,7 +21784,7 @@ func awsAwsquery_deserializeDocumentCluster(v **types.Cluster, decoder smithyxml if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.PubliclyAccessible = xtv + sv.PubliclyAccessible = ptr.Bool(xtv) } case strings.EqualFold("ReservedNodeExchangeStatus", t.Name.Local): @@ -23669,7 +23669,7 @@ func awsAwsquery_deserializeDocumentClusterSnapshotCopyStatus(v **types.ClusterS if err != nil { return err } - sv.ManualSnapshotRetentionPeriod = int32(i64) + sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case strings.EqualFold("RetentionPeriod", t.Name.Local): @@ -23686,7 +23686,7 @@ func awsAwsquery_deserializeDocumentClusterSnapshotCopyStatus(v **types.ClusterS if err != nil { return err } - sv.RetentionPeriod = i64 + sv.RetentionPeriod = ptr.Int64(i64) } case strings.EqualFold("SnapshotCopyGrantName", t.Name.Local): @@ -24503,7 +24503,7 @@ func awsAwsquery_deserializeDocumentDataShare(v **types.DataShare, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowPubliclyAccessibleConsumers = xtv + sv.AllowPubliclyAccessibleConsumers = ptr.Bool(xtv) } case strings.EqualFold("DataShareArn", t.Name.Local): @@ -24863,7 +24863,7 @@ func awsAwsquery_deserializeDocumentDataTransferProgress(v **types.DataTransferP if err != nil { return err } - sv.DataTransferredInMegaBytes = i64 + sv.DataTransferredInMegaBytes = ptr.Int64(i64) } case strings.EqualFold("ElapsedTimeInSeconds", t.Name.Local): @@ -24927,7 +24927,7 @@ func awsAwsquery_deserializeDocumentDataTransferProgress(v **types.DataTransferP if err != nil { return err } - sv.TotalDataInMegaBytes = i64 + sv.TotalDataInMegaBytes = ptr.Int64(i64) } default: @@ -25589,7 +25589,7 @@ func awsAwsquery_deserializeDocumentEndpoint(v **types.Endpoint, decoder smithyx if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("VpcEndpoints", t.Name.Local): @@ -25717,7 +25717,7 @@ func awsAwsquery_deserializeDocumentEndpointAccess(v **types.EndpointAccess, dec if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("ResourceOwner", t.Name.Local): @@ -25924,7 +25924,7 @@ func awsAwsquery_deserializeDocumentEndpointAuthorization(v **types.EndpointAuth if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowedAllVPCs = xtv + sv.AllowedAllVPCs = ptr.Bool(xtv) } case strings.EqualFold("AllowedVPCs", t.Name.Local): @@ -25990,7 +25990,7 @@ func awsAwsquery_deserializeDocumentEndpointAuthorization(v **types.EndpointAuth if err != nil { return err } - sv.EndpointCount = int32(i64) + sv.EndpointCount = ptr.Int32(int32(i64)) } case strings.EqualFold("Grantee", t.Name.Local): @@ -27013,7 +27013,7 @@ func awsAwsquery_deserializeDocumentEventSubscription(v **types.EventSubscriptio if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Enabled = xtv + sv.Enabled = ptr.Bool(xtv) } case strings.EqualFold("EventCategoriesList", t.Name.Local): @@ -30375,7 +30375,7 @@ func awsAwsquery_deserializeDocumentNodeConfigurationOption(v **types.NodeConfig if err != nil { return err } - sv.NumberOfNodes = int32(i64) + sv.NumberOfNodes = ptr.Int32(int32(i64)) } default: @@ -30794,7 +30794,7 @@ func awsAwsquery_deserializeDocumentParameter(v **types.Parameter, decoder smith if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.IsModifiable = xtv + sv.IsModifiable = ptr.Bool(xtv) } case strings.EqualFold("MinimumEngineVersion", t.Name.Local): @@ -31596,7 +31596,7 @@ func awsAwsquery_deserializeDocumentRecurringCharge(v **types.RecurringCharge, d if err != nil { return err } - sv.RecurringChargeAmount = f64 + sv.RecurringChargeAmount = ptr.Float64(f64) } case strings.EqualFold("RecurringChargeFrequency", t.Name.Local): @@ -31743,7 +31743,7 @@ func awsAwsquery_deserializeDocumentReservedNode(v **types.ReservedNode, decoder if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("FixedPrice", t.Name.Local): @@ -31760,7 +31760,7 @@ func awsAwsquery_deserializeDocumentReservedNode(v **types.ReservedNode, decoder if err != nil { return err } - sv.FixedPrice = f64 + sv.FixedPrice = ptr.Float64(f64) } case strings.EqualFold("NodeCount", t.Name.Local): @@ -31777,7 +31777,7 @@ func awsAwsquery_deserializeDocumentReservedNode(v **types.ReservedNode, decoder if err != nil { return err } - sv.NodeCount = int32(i64) + sv.NodeCount = ptr.Int32(int32(i64)) } case strings.EqualFold("NodeType", t.Name.Local): @@ -31895,7 +31895,7 @@ func awsAwsquery_deserializeDocumentReservedNode(v **types.ReservedNode, decoder if err != nil { return err } - sv.UsagePrice = f64 + sv.UsagePrice = ptr.Float64(f64) } default: @@ -32052,7 +32052,7 @@ func awsAwsquery_deserializeDocumentReservedNodeConfigurationOption(v **types.Re if err != nil { return err } - sv.TargetReservedNodeCount = int32(i64) + sv.TargetReservedNodeCount = ptr.Int32(int32(i64)) } case strings.EqualFold("TargetReservedNodeOffering", t.Name.Local): @@ -32258,7 +32258,7 @@ func awsAwsquery_deserializeDocumentReservedNodeExchangeStatus(v **types.Reserve if err != nil { return err } - sv.SourceReservedNodeCount = int32(i64) + sv.SourceReservedNodeCount = ptr.Int32(int32(i64)) } case strings.EqualFold("SourceReservedNodeId", t.Name.Local): @@ -32314,7 +32314,7 @@ func awsAwsquery_deserializeDocumentReservedNodeExchangeStatus(v **types.Reserve if err != nil { return err } - sv.TargetReservedNodeCount = int32(i64) + sv.TargetReservedNodeCount = ptr.Int32(int32(i64)) } case strings.EqualFold("TargetReservedNodeOfferingId", t.Name.Local): @@ -32591,7 +32591,7 @@ func awsAwsquery_deserializeDocumentReservedNodeOffering(v **types.ReservedNodeO if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case strings.EqualFold("FixedPrice", t.Name.Local): @@ -32608,7 +32608,7 @@ func awsAwsquery_deserializeDocumentReservedNodeOffering(v **types.ReservedNodeO if err != nil { return err } - sv.FixedPrice = f64 + sv.FixedPrice = ptr.Float64(f64) } case strings.EqualFold("NodeType", t.Name.Local): @@ -32683,7 +32683,7 @@ func awsAwsquery_deserializeDocumentReservedNodeOffering(v **types.ReservedNodeO if err != nil { return err } - sv.UsagePrice = f64 + sv.UsagePrice = ptr.Float64(f64) } default: @@ -33035,7 +33035,7 @@ func awsAwsquery_deserializeDocumentResizeInfo(v **types.ResizeInfo, decoder smi if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowCancelResize = xtv + sv.AllowCancelResize = ptr.Bool(xtv) } case strings.EqualFold("ResizeType", t.Name.Local): @@ -33279,7 +33279,7 @@ func awsAwsquery_deserializeDocumentRestoreStatus(v **types.RestoreStatus, decod if err != nil { return err } - sv.CurrentRestoreRateInMegaBytesPerSecond = f64 + sv.CurrentRestoreRateInMegaBytesPerSecond = ptr.Float64(f64) } case strings.EqualFold("ElapsedTimeInSeconds", t.Name.Local): @@ -33296,7 +33296,7 @@ func awsAwsquery_deserializeDocumentRestoreStatus(v **types.RestoreStatus, decod if err != nil { return err } - sv.ElapsedTimeInSeconds = i64 + sv.ElapsedTimeInSeconds = ptr.Int64(i64) } case strings.EqualFold("EstimatedTimeToCompletionInSeconds", t.Name.Local): @@ -33313,7 +33313,7 @@ func awsAwsquery_deserializeDocumentRestoreStatus(v **types.RestoreStatus, decod if err != nil { return err } - sv.EstimatedTimeToCompletionInSeconds = i64 + sv.EstimatedTimeToCompletionInSeconds = ptr.Int64(i64) } case strings.EqualFold("ProgressInMegaBytes", t.Name.Local): @@ -33330,7 +33330,7 @@ func awsAwsquery_deserializeDocumentRestoreStatus(v **types.RestoreStatus, decod if err != nil { return err } - sv.ProgressInMegaBytes = i64 + sv.ProgressInMegaBytes = ptr.Int64(i64) } case strings.EqualFold("SnapshotSizeInMegaBytes", t.Name.Local): @@ -33347,7 +33347,7 @@ func awsAwsquery_deserializeDocumentRestoreStatus(v **types.RestoreStatus, decod if err != nil { return err } - sv.SnapshotSizeInMegaBytes = i64 + sv.SnapshotSizeInMegaBytes = ptr.Int64(i64) } case strings.EqualFold("Status", t.Name.Local): @@ -34385,7 +34385,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.ActualIncrementalBackupSizeInMegaBytes = f64 + sv.ActualIncrementalBackupSizeInMegaBytes = ptr.Float64(f64) } case strings.EqualFold("AvailabilityZone", t.Name.Local): @@ -34415,7 +34415,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.BackupProgressInMegaBytes = f64 + sv.BackupProgressInMegaBytes = ptr.Float64(f64) } case strings.EqualFold("ClusterCreateTime", t.Name.Local): @@ -34475,7 +34475,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.CurrentBackupRateInMegaBytesPerSecond = f64 + sv.CurrentBackupRateInMegaBytesPerSecond = ptr.Float64(f64) } case strings.EqualFold("DBName", t.Name.Local): @@ -34505,7 +34505,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.ElapsedTimeInSeconds = i64 + sv.ElapsedTimeInSeconds = ptr.Int64(i64) } case strings.EqualFold("Encrypted", t.Name.Local): @@ -34521,7 +34521,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.Encrypted = xtv + sv.Encrypted = ptr.Bool(xtv) } case strings.EqualFold("EncryptedWithHSM", t.Name.Local): @@ -34537,7 +34537,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EncryptedWithHSM = xtv + sv.EncryptedWithHSM = ptr.Bool(xtv) } case strings.EqualFold("EngineFullVersion", t.Name.Local): @@ -34566,7 +34566,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.EnhancedVpcRouting = xtv + sv.EnhancedVpcRouting = ptr.Bool(xtv) } case strings.EqualFold("EstimatedSecondsToCompletion", t.Name.Local): @@ -34583,7 +34583,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.EstimatedSecondsToCompletion = i64 + sv.EstimatedSecondsToCompletion = ptr.Int64(i64) } case strings.EqualFold("KmsKeyId", t.Name.Local): @@ -34712,7 +34712,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.NumberOfNodes = int32(i64) + sv.NumberOfNodes = ptr.Int32(int32(i64)) } case strings.EqualFold("OwnerAccount", t.Name.Local): @@ -34742,7 +34742,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("RestorableNodeTypes", t.Name.Local): @@ -34857,7 +34857,7 @@ func awsAwsquery_deserializeDocumentSnapshot(v **types.Snapshot, decoder smithyx if err != nil { return err } - sv.TotalBackupSizeInMegaBytes = f64 + sv.TotalBackupSizeInMegaBytes = ptr.Float64(f64) } case strings.EqualFold("VpcId", t.Name.Local): @@ -37988,7 +37988,7 @@ func awsAwsquery_deserializeDocumentUsageLimit(v **types.UsageLimit, decoder smi if err != nil { return err } - sv.Amount = i64 + sv.Amount = ptr.Int64(i64) } case strings.EqualFold("BreachAction", t.Name.Local): @@ -38740,7 +38740,7 @@ func awsAwsquery_deserializeOpDocumentAssociateDataShareConsumerOutput(v **Assoc if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowPubliclyAccessibleConsumers = xtv + sv.AllowPubliclyAccessibleConsumers = ptr.Bool(xtv) } case strings.EqualFold("DataShareArn", t.Name.Local): @@ -38879,7 +38879,7 @@ func awsAwsquery_deserializeOpDocumentAuthorizeDataShareOutput(v **AuthorizeData if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowPubliclyAccessibleConsumers = xtv + sv.AllowPubliclyAccessibleConsumers = ptr.Bool(xtv) } case strings.EqualFold("DataShareArn", t.Name.Local): @@ -38976,7 +38976,7 @@ func awsAwsquery_deserializeOpDocumentAuthorizeEndpointAccessOutput(v **Authoriz if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowedAllVPCs = xtv + sv.AllowedAllVPCs = ptr.Bool(xtv) } case strings.EqualFold("AllowedVPCs", t.Name.Local): @@ -39042,7 +39042,7 @@ func awsAwsquery_deserializeOpDocumentAuthorizeEndpointAccessOutput(v **Authoriz if err != nil { return err } - sv.EndpointCount = int32(i64) + sv.EndpointCount = ptr.Int32(int32(i64)) } case strings.EqualFold("Grantee", t.Name.Local): @@ -39994,7 +39994,7 @@ func awsAwsquery_deserializeOpDocumentCreateEndpointAccessOutput(v **CreateEndpo if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("ResourceOwner", t.Name.Local): @@ -40503,7 +40503,7 @@ func awsAwsquery_deserializeOpDocumentCreateUsageLimitOutput(v **CreateUsageLimi if err != nil { return err } - sv.Amount = i64 + sv.Amount = ptr.Int64(i64) } case strings.EqualFold("BreachAction", t.Name.Local): @@ -40639,7 +40639,7 @@ func awsAwsquery_deserializeOpDocumentDeauthorizeDataShareOutput(v **Deauthorize if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowPubliclyAccessibleConsumers = xtv + sv.AllowPubliclyAccessibleConsumers = ptr.Bool(xtv) } case strings.EqualFold("DataShareArn", t.Name.Local): @@ -40939,7 +40939,7 @@ func awsAwsquery_deserializeOpDocumentDeleteEndpointAccessOutput(v **DeleteEndpo if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("ResourceOwner", t.Name.Local): @@ -42383,7 +42383,7 @@ func awsAwsquery_deserializeOpDocumentDescribeLoggingStatusOutput(v **DescribeLo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.LoggingEnabled = xtv + sv.LoggingEnabled = ptr.Bool(xtv) } case strings.EqualFold("S3KeyPrefix", t.Name.Local): @@ -43182,7 +43182,7 @@ func awsAwsquery_deserializeOpDocumentDescribeStorageOutput(v **DescribeStorageO if err != nil { return err } - sv.TotalBackupSizeInMegaBytes = f64 + sv.TotalBackupSizeInMegaBytes = ptr.Float64(f64) } case strings.EqualFold("TotalProvisionedStorageInMegaBytes", t.Name.Local): @@ -43199,7 +43199,7 @@ func awsAwsquery_deserializeOpDocumentDescribeStorageOutput(v **DescribeStorageO if err != nil { return err } - sv.TotalProvisionedStorageInMegaBytes = f64 + sv.TotalProvisionedStorageInMegaBytes = ptr.Float64(f64) } default: @@ -43495,7 +43495,7 @@ func awsAwsquery_deserializeOpDocumentDisableLoggingOutput(v **DisableLoggingOut if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.LoggingEnabled = xtv + sv.LoggingEnabled = ptr.Bool(xtv) } case strings.EqualFold("S3KeyPrefix", t.Name.Local): @@ -43602,7 +43602,7 @@ func awsAwsquery_deserializeOpDocumentDisassociateDataShareConsumerOutput(v **Di if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowPubliclyAccessibleConsumers = xtv + sv.AllowPubliclyAccessibleConsumers = ptr.Bool(xtv) } case strings.EqualFold("DataShareArn", t.Name.Local): @@ -43778,7 +43778,7 @@ func awsAwsquery_deserializeOpDocumentEnableLoggingOutput(v **EnableLoggingOutpu if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.LoggingEnabled = xtv + sv.LoggingEnabled = ptr.Bool(xtv) } case strings.EqualFold("S3KeyPrefix", t.Name.Local): @@ -44746,7 +44746,7 @@ func awsAwsquery_deserializeOpDocumentModifyEndpointAccessOutput(v **ModifyEndpo if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case strings.EqualFold("ResourceOwner", t.Name.Local): @@ -45171,7 +45171,7 @@ func awsAwsquery_deserializeOpDocumentModifyUsageLimitOutput(v **ModifyUsageLimi if err != nil { return err } - sv.Amount = i64 + sv.Amount = ptr.Int64(i64) } case strings.EqualFold("BreachAction", t.Name.Local): @@ -45433,7 +45433,7 @@ func awsAwsquery_deserializeOpDocumentRejectDataShareOutput(v **RejectDataShareO if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowPubliclyAccessibleConsumers = xtv + sv.AllowPubliclyAccessibleConsumers = ptr.Bool(xtv) } case strings.EqualFold("DataShareArn", t.Name.Local): @@ -45802,7 +45802,7 @@ func awsAwsquery_deserializeOpDocumentRevokeEndpointAccessOutput(v **RevokeEndpo if err != nil { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", val) } - sv.AllowedAllVPCs = xtv + sv.AllowedAllVPCs = ptr.Bool(xtv) } case strings.EqualFold("AllowedVPCs", t.Name.Local): @@ -45868,7 +45868,7 @@ func awsAwsquery_deserializeOpDocumentRevokeEndpointAccessOutput(v **RevokeEndpo if err != nil { return err } - sv.EndpointCount = int32(i64) + sv.EndpointCount = ptr.Int32(int32(i64)) } case strings.EqualFold("Grantee", t.Name.Local): diff --git a/service/redshift/endpoints.go b/service/redshift/endpoints.go index fb520c6979a..9ef320e18b3 100644 --- a/service/redshift/endpoints.go +++ b/service/redshift/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://redshift.") diff --git a/service/redshift/serializers.go b/service/redshift/serializers.go index c72aff27b04..2b7fcd91cd7 100644 --- a/service/redshift/serializers.go +++ b/service/redshift/serializers.go @@ -8032,9 +8032,9 @@ func awsAwsquery_serializeDocumentParameter(v *types.Parameter, value query.Valu objectKey.String(*v.Description) } - if v.IsModifiable { + if v.IsModifiable != nil { objectKey := object.Key("IsModifiable") - objectKey.Boolean(v.IsModifiable) + objectKey.Boolean(*v.IsModifiable) } if v.MinimumEngineVersion != nil { @@ -8529,9 +8529,9 @@ func awsAwsquery_serializeOpDocumentBatchModifyClusterSnapshotsInput(v *BatchMod object := value.Object() _ = object - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } if v.ManualSnapshotRetentionPeriod != nil { @@ -9222,9 +9222,9 @@ func awsAwsquery_serializeOpDocumentCreateUsageLimitInput(v *CreateUsageLimitInp object := value.Object() _ = object - { + if v.Amount != nil { objectKey := object.Key("Amount") - objectKey.Long(v.Amount) + objectKey.Long(*v.Amount) } if len(v.BreachAction) > 0 { @@ -9310,9 +9310,9 @@ func awsAwsquery_serializeOpDocumentDeleteClusterInput(v *DeleteClusterInput, va objectKey.Integer(*v.FinalClusterSnapshotRetentionPeriod) } - if v.SkipFinalClusterSnapshot { + if v.SkipFinalClusterSnapshot != nil { objectKey := object.Key("SkipFinalClusterSnapshot") - objectKey.Boolean(v.SkipFinalClusterSnapshot) + objectKey.Boolean(*v.SkipFinalClusterSnapshot) } return nil @@ -11195,9 +11195,9 @@ func awsAwsquery_serializeOpDocumentModifyClusterSnapshotInput(v *ModifyClusterS object := value.Object() _ = object - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } if v.ManualSnapshotRetentionPeriod != nil { @@ -11404,14 +11404,14 @@ func awsAwsquery_serializeOpDocumentModifySnapshotCopyRetentionPeriodInput(v *Mo objectKey.String(*v.ClusterIdentifier) } - if v.Manual { + if v.Manual != nil { objectKey := object.Key("Manual") - objectKey.Boolean(v.Manual) + objectKey.Boolean(*v.Manual) } - { + if v.RetentionPeriod != nil { objectKey := object.Key("RetentionPeriod") - objectKey.Integer(v.RetentionPeriod) + objectKey.Integer(*v.RetentionPeriod) } return nil @@ -11527,9 +11527,9 @@ func awsAwsquery_serializeOpDocumentResetClusterParameterGroupInput(v *ResetClus } } - if v.ResetAllParameters { + if v.ResetAllParameters != nil { objectKey := object.Key("ResetAllParameters") - objectKey.Boolean(v.ResetAllParameters) + objectKey.Boolean(*v.ResetAllParameters) } return nil @@ -11870,9 +11870,9 @@ func awsAwsquery_serializeOpDocumentRevokeEndpointAccessInput(v *RevokeEndpointA objectKey.String(*v.ClusterIdentifier) } - if v.Force { + if v.Force != nil { objectKey := object.Key("Force") - objectKey.Boolean(v.Force) + objectKey.Boolean(*v.Force) } if v.VpcIds != nil { diff --git a/service/redshift/types/types.go b/service/redshift/types/types.go index e86f6827b34..5c7f3c11b6b 100644 --- a/service/redshift/types/types.go +++ b/service/redshift/types/types.go @@ -118,14 +118,14 @@ type Cluster struct { // A boolean value that, if true , indicates that major version upgrades will be // applied automatically to the cluster during the maintenance window. - AllowVersionUpgrade bool + AllowVersionUpgrade *bool // This field is retired. Amazon Redshift automatically determines whether to use // AQUA (Advanced Query Accelerator). AquaConfiguration *AquaConfiguration // The number of days that automatic cluster snapshots are retained. - AutomatedSnapshotRetentionPeriod int32 + AutomatedSnapshotRetentionPeriod *int32 // The name of the Availability Zone in which the cluster is located. AvailabilityZone *string @@ -240,7 +240,7 @@ type Cluster struct { // A boolean value that, if true , indicates that data in the cluster is encrypted // at rest. - Encrypted bool + Encrypted *bool // The connection endpoint. Endpoint *Endpoint @@ -250,7 +250,7 @@ type Cluster struct { // must be in a VPC. For more information, see Enhanced VPC Routing (https://docs.aws.amazon.com/redshift/latest/mgmt/enhanced-vpc-routing.html) // in the Amazon Redshift Cluster Management Guide. If this option is true , // enhanced VPC routing is enabled. Default: false - EnhancedVpcRouting bool + EnhancedVpcRouting *bool // The date and time when the next snapshot is expected to be taken for clusters // with a valid snapshot schedule and backups enabled. @@ -282,7 +282,7 @@ type Cluster struct { // snapshot is retained indefinitely. This setting doesn't change the retention // period of existing snapshots. The value must be either -1 or an integer between // 1 and 3,653. - ManualSnapshotRetentionPeriod int32 + ManualSnapshotRetentionPeriod *int32 // The Amazon Resource Name (ARN) for the cluster's admin user credentials secret. MasterPasswordSecretArn *string @@ -305,7 +305,7 @@ type Cluster struct { NodeType *string // The number of compute nodes in the cluster. - NumberOfNodes int32 + NumberOfNodes *int32 // Cluster operations that are waiting to be started. PendingActions []string @@ -320,7 +320,7 @@ type Cluster struct { // A boolean value that, if true , indicates that the cluster can be accessed from // a public network. - PubliclyAccessible bool + PubliclyAccessible *bool // The status of the reserved-node exchange request. Statuses include in-progress // and requested. @@ -535,11 +535,11 @@ type ClusterSnapshotCopyStatus struct { // region after they are copied from a source region. If the value is -1, the // manual snapshot is retained indefinitely. The value must be either -1 or an // integer between 1 and 3,653. - ManualSnapshotRetentionPeriod int32 + ManualSnapshotRetentionPeriod *int32 // The number of days that automated snapshots are retained in the destination // region after they are copied from a source region. - RetentionPeriod int64 + RetentionPeriod *int64 // The name of the snapshot copy grant. SnapshotCopyGrantName *string @@ -592,7 +592,7 @@ type DataShare struct { // A value that specifies whether the datashare can be shared to a publicly // accessible cluster. - AllowPubliclyAccessibleConsumers bool + AllowPubliclyAccessibleConsumers *bool // An Amazon Resource Name (ARN) that references the datashare that is owned by a // specific namespace of the producer cluster. A datashare ARN is in the @@ -644,7 +644,7 @@ type DataTransferProgress struct { CurrentRateInMegaBytesPerSecond *float64 // Describes the total amount of data that has been transfered in MB's. - DataTransferredInMegaBytes int64 + DataTransferredInMegaBytes *int64 // Describes the number of seconds that have elapsed during the data transfer. ElapsedTimeInSeconds *int64 @@ -657,7 +657,7 @@ type DataTransferProgress struct { Status *string // Describes the total amount of data to be transfered in megabytes. - TotalDataInMegaBytes int64 + TotalDataInMegaBytes *int64 noSmithyDocumentSerde } @@ -753,7 +753,7 @@ type Endpoint struct { Address *string // The port that the database engine is listening on. - Port int32 + Port *int32 // Describes a connection endpoint. VpcEndpoints []VpcEndpoint @@ -780,7 +780,7 @@ type EndpointAccess struct { EndpointStatus *string // The port number on which the cluster accepts incoming connections. - Port int32 + Port *int32 // The Amazon Web Services account ID of the owner of the cluster. ResourceOwner *string @@ -804,7 +804,7 @@ type EndpointAuthorization struct { // Indicates whether all VPCs in the grantee account are allowed access to the // cluster. - AllowedAllVPCs bool + AllowedAllVPCs *bool // The VPCs allowed access to the cluster. AllowedVPCs []string @@ -819,7 +819,7 @@ type EndpointAuthorization struct { ClusterStatus *string // The number of Redshift-managed VPC endpoints created for the authorization. - EndpointCount int32 + EndpointCount *int32 // The Amazon Web Services account ID of the grantee of the cluster. Grantee *string @@ -904,7 +904,7 @@ type EventSubscription struct { // A boolean value indicating whether the subscription is enabled; true indicates // that the subscription is enabled. - Enabled bool + Enabled *bool // The list of Amazon Redshift event categories specified in the event // notification subscription. Values: Configuration, Management, Monitoring, @@ -1070,7 +1070,7 @@ type NodeConfigurationOption struct { NodeType *string // The number of nodes. - NumberOfNodes int32 + NumberOfNodes *int32 noSmithyDocumentSerde } @@ -1134,7 +1134,7 @@ type Parameter struct { // If true , the parameter can be modified. Some parameters have security or // operational implications that prevent them from being changed. - IsModifiable bool + IsModifiable *bool // The earliest engine version to which the parameter can apply. MinimumEngineVersion *string @@ -1240,7 +1240,7 @@ type RecurringCharge struct { // The amount charged per the period of time specified by the recurring charge // frequency. - RecurringChargeAmount float64 + RecurringChargeAmount *float64 // The frequency at which the recurring charge amount is applied. RecurringChargeFrequency *string @@ -1256,13 +1256,13 @@ type ReservedNode struct { CurrencyCode *string // The duration of the node reservation in seconds. - Duration int32 + Duration *int32 // The fixed cost Amazon Redshift charges you for this reserved node. - FixedPrice float64 + FixedPrice *float64 // The number of reserved compute nodes. - NodeCount int32 + NodeCount *int32 // The node type of the reserved node. NodeType *string @@ -1298,7 +1298,7 @@ type ReservedNode struct { State *string // The hourly rate Amazon Redshift charges you for this reserved node. - UsagePrice float64 + UsagePrice *float64 noSmithyDocumentSerde } @@ -1312,7 +1312,7 @@ type ReservedNodeConfigurationOption struct { SourceReservedNode *ReservedNode // The target reserved-node count. - TargetReservedNodeCount int32 + TargetReservedNodeCount *int32 // Describes a reserved node offering. TargetReservedNodeOffering *ReservedNodeOffering @@ -1332,7 +1332,7 @@ type ReservedNodeExchangeStatus struct { ReservedNodeExchangeRequestId *string // The source reserved-node count in the cluster. - SourceReservedNodeCount int32 + SourceReservedNodeCount *int32 // The identifier of the source reserved node. SourceReservedNodeId *string @@ -1345,7 +1345,7 @@ type ReservedNodeExchangeStatus struct { Status ReservedNodeExchangeStatusType // The count of target reserved nodes in the cluster. - TargetReservedNodeCount int32 + TargetReservedNodeCount *int32 // The identifier of the target reserved node offering. TargetReservedNodeOfferingId *string @@ -1363,11 +1363,11 @@ type ReservedNodeOffering struct { CurrencyCode *string // The duration, in seconds, for which the offering will reserve the node. - Duration int32 + Duration *int32 // The upfront fixed charge you will pay to purchase the specific reserved node // offering. - FixedPrice float64 + FixedPrice *float64 // The node type offered by the reserved node offering. NodeType *string @@ -1389,7 +1389,7 @@ type ReservedNodeOffering struct { // The rate you are charged for each hour the cluster that is using the offering // is running. - UsagePrice float64 + UsagePrice *float64 noSmithyDocumentSerde } @@ -1432,7 +1432,7 @@ type ResizeClusterMessage struct { type ResizeInfo struct { // A boolean value indicating if the resize operation can be cancelled. - AllowCancelResize bool + AllowCancelResize *bool // Returns the value ClassicResize . ResizeType *string @@ -1447,25 +1447,25 @@ type RestoreStatus struct { // The number of megabytes per second being transferred from the backup storage. // Returns the average rate for a completed backup. This field is only updated when // you restore to DC2 and DS2 node types. - CurrentRestoreRateInMegaBytesPerSecond float64 + CurrentRestoreRateInMegaBytesPerSecond *float64 // The amount of time an in-progress restore has been running, or the amount of // time it took a completed restore to finish. This field is only updated when you // restore to DC2 and DS2 node types. - ElapsedTimeInSeconds int64 + ElapsedTimeInSeconds *int64 // The estimate of the time remaining before the restore will complete. Returns 0 // for a completed restore. This field is only updated when you restore to DC2 and // DS2 node types. - EstimatedTimeToCompletionInSeconds int64 + EstimatedTimeToCompletionInSeconds *int64 // The number of megabytes that have been transferred from snapshot storage. This // field is only updated when you restore to DC2 and DS2 node types. - ProgressInMegaBytes int64 + ProgressInMegaBytes *int64 // The size of the set of snapshot data used to restore the cluster. This field is // only updated when you restore to DC2 and DS2 node types. - SnapshotSizeInMegaBytes int64 + SnapshotSizeInMegaBytes *int64 // The status of the restore action. Returns starting, restoring, completed, or // failed. @@ -1596,13 +1596,13 @@ type Snapshot struct { AccountsWithRestoreAccess []AccountWithRestoreAccess // The size of the incremental backup. - ActualIncrementalBackupSizeInMegaBytes float64 + ActualIncrementalBackupSizeInMegaBytes *float64 // The Availability Zone in which the cluster was created. AvailabilityZone *string // The number of megabytes that have been transferred to the snapshot backup. - BackupProgressInMegaBytes float64 + BackupProgressInMegaBytes *float64 // The time (UTC) when the cluster was originally created. ClusterCreateTime *time.Time @@ -1615,22 +1615,22 @@ type Snapshot struct { // The number of megabytes per second being transferred to the snapshot backup. // Returns 0 for a completed backup. - CurrentBackupRateInMegaBytesPerSecond float64 + CurrentBackupRateInMegaBytesPerSecond *float64 // The name of the database that was created when the cluster was created. DBName *string // The amount of time an in-progress snapshot backup has been running, or the // amount of time it took a completed backup to finish. - ElapsedTimeInSeconds int64 + ElapsedTimeInSeconds *int64 // If true , the data in the snapshot is encrypted at rest. - Encrypted bool + Encrypted *bool // A boolean that indicates whether the snapshot data is encrypted using the HSM // keys of the source cluster. true indicates that the data is encrypted using HSM // keys. - EncryptedWithHSM bool + EncryptedWithHSM *bool // The cluster version of the cluster used to create the snapshot. For example, // 1.0.15503. @@ -1641,11 +1641,11 @@ type Snapshot struct { // must be in a VPC. For more information, see Enhanced VPC Routing (https://docs.aws.amazon.com/redshift/latest/mgmt/enhanced-vpc-routing.html) // in the Amazon Redshift Cluster Management Guide. If this option is true , // enhanced VPC routing is enabled. Default: false - EnhancedVpcRouting bool + EnhancedVpcRouting *bool // The estimate of the time remaining before the snapshot backup will complete. // Returns 0 for a completed backup. - EstimatedSecondsToCompletion int64 + EstimatedSecondsToCompletion *int64 // The Key Management Service (KMS) key ID of the encryption key that was used to // encrypt data in the cluster from which the snapshot was taken. @@ -1676,7 +1676,7 @@ type Snapshot struct { NodeType *string // The number of nodes in the cluster. - NumberOfNodes int32 + NumberOfNodes *int32 // For manual snapshots, the Amazon Web Services account used to create or copy // the snapshot. For automatic snapshots, the owner of the cluster. The owner can @@ -1684,7 +1684,7 @@ type Snapshot struct { OwnerAccount *string // The port that the cluster is listening on. - Port int32 + Port *int32 // The list of node types that this cluster snapshot is able to restore into. RestorableNodeTypes []string @@ -1718,7 +1718,7 @@ type Snapshot struct { // The size of the complete set of backup data that would be used to restore the // cluster. - TotalBackupSizeInMegaBytes float64 + TotalBackupSizeInMegaBytes *float64 // The VPC identifier of the cluster if the snapshot is from a cluster in a VPC. // Otherwise, this field is not in the output. @@ -1954,7 +1954,7 @@ type UsageLimit struct { // The limit amount. If time-based, this amount is in minutes. If data-based, this // amount is in terabytes (TB). - Amount int64 + Amount *int64 // The action that Amazon Redshift takes when the limit is reached. Possible // values are: diff --git a/service/redshift/validators.go b/service/redshift/validators.go index 3d431e0c3c2..2d1ebb5e7d9 100644 --- a/service/redshift/validators.go +++ b/service/redshift/validators.go @@ -2822,6 +2822,9 @@ func validateOpCreateUsageLimitInput(v *CreateUsageLimitInput) error { if len(v.LimitType) == 0 { invalidParams.Add(smithy.NewErrParamRequired("LimitType")) } + if v.Amount == nil { + invalidParams.Add(smithy.NewErrParamRequired("Amount")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -3599,6 +3602,9 @@ func validateOpModifySnapshotCopyRetentionPeriodInput(v *ModifySnapshotCopyReten if v.ClusterIdentifier == nil { invalidParams.Add(smithy.NewErrParamRequired("ClusterIdentifier")) } + if v.RetentionPeriod == nil { + invalidParams.Add(smithy.NewErrParamRequired("RetentionPeriod")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/robomaker/deserializers.go b/service/robomaker/deserializers.go index ffb0a848cb7..bc44eafb2dc 100644 --- a/service/robomaker/deserializers.go +++ b/service/robomaker/deserializers.go @@ -12441,7 +12441,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in if err != nil { return err } - sv.ApplicationPort = int32(i64) + sv.ApplicationPort = ptr.Int32(int32(i64)) } case "enableOnPublicIp": @@ -12463,7 +12463,7 @@ func awsRestjson1_deserializeDocumentPortMapping(v **types.PortMapping, value in if err != nil { return err } - sv.JobPort = int32(i64) + sv.JobPort = ptr.Int32(int32(i64)) } default: diff --git a/service/robomaker/endpoints.go b/service/robomaker/endpoints.go index 4bc8d05352c..110d72a3b70 100644 --- a/service/robomaker/endpoints.go +++ b/service/robomaker/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://robomaker-fips.") diff --git a/service/robomaker/serializers.go b/service/robomaker/serializers.go index 36434963940..ca8950b6577 100644 --- a/service/robomaker/serializers.go +++ b/service/robomaker/serializers.go @@ -5251,9 +5251,9 @@ func awsRestjson1_serializeDocumentPortMapping(v *types.PortMapping, value smith object := value.Object() defer object.Close() - { + if v.ApplicationPort != nil { ok := object.Key("applicationPort") - ok.Integer(v.ApplicationPort) + ok.Integer(*v.ApplicationPort) } if v.EnableOnPublicIp { @@ -5261,9 +5261,9 @@ func awsRestjson1_serializeDocumentPortMapping(v *types.PortMapping, value smith ok.Boolean(v.EnableOnPublicIp) } - { + if v.JobPort != nil { ok := object.Key("jobPort") - ok.Integer(v.JobPort) + ok.Integer(*v.JobPort) } return nil diff --git a/service/robomaker/types/types.go b/service/robomaker/types/types.go index 210680159b1..5a0f1f6ecea 100644 --- a/service/robomaker/types/types.go +++ b/service/robomaker/types/types.go @@ -408,13 +408,13 @@ type PortMapping struct { // The port number on the application. // // This member is required. - ApplicationPort int32 + ApplicationPort *int32 // The port number on the simulation job instance to use as a remote connection // point. // // This member is required. - JobPort int32 + JobPort *int32 // A Boolean indicating whether to enable this port mapping on public IP. EnableOnPublicIp bool diff --git a/service/robomaker/validators.go b/service/robomaker/validators.go index 95b3dc820dc..ac41e3291b8 100644 --- a/service/robomaker/validators.go +++ b/service/robomaker/validators.go @@ -1261,6 +1261,12 @@ func validatePortMapping(v *types.PortMapping) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "PortMapping"} + if v.JobPort == nil { + invalidParams.Add(smithy.NewErrParamRequired("JobPort")) + } + if v.ApplicationPort == nil { + invalidParams.Add(smithy.NewErrParamRequired("ApplicationPort")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/route53/deserializers.go b/service/route53/deserializers.go index b4af79c8dcc..2b17215a862 100644 --- a/service/route53/deserializers.go +++ b/service/route53/deserializers.go @@ -13844,7 +13844,7 @@ func awsRestxml_deserializeDocumentAccountLimit(v **types.AccountLimit, decoder if err != nil { return err } - sv.Value = i64 + sv.Value = ptr.Int64(i64) } default: @@ -17296,7 +17296,7 @@ func awsRestxml_deserializeDocumentHostedZoneLimit(v **types.HostedZoneLimit, de if err != nil { return err } - sv.Value = i64 + sv.Value = ptr.Int64(i64) } default: @@ -20805,7 +20805,7 @@ func awsRestxml_deserializeDocumentReusableDelegationSetLimit(v **types.Reusable if err != nil { return err } - sv.Value = i64 + sv.Value = ptr.Int64(i64) } default: diff --git a/service/route53/endpoints.go b/service/route53/endpoints.go index 7b48b1b78a7..8155ec89891 100644 --- a/service/route53/endpoints.go +++ b/service/route53/endpoints.go @@ -607,7 +607,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://route53-fips.") diff --git a/service/route53/types/types.go b/service/route53/types/types.go index d5e7a7569f4..d7c1e0d20c9 100644 --- a/service/route53/types/types.go +++ b/service/route53/types/types.go @@ -32,7 +32,7 @@ type AccountLimit struct { // . // // This member is required. - Value int64 + Value *int64 noSmithyDocumentSerde } @@ -981,7 +981,7 @@ type HostedZoneLimit struct { // The current value for the limit that is specified by Type . // // This member is required. - Value int64 + Value *int64 noSmithyDocumentSerde } @@ -1566,7 +1566,7 @@ type ReusableDelegationSetLimit struct { // The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET limit. // // This member is required. - Value int64 + Value *int64 noSmithyDocumentSerde } diff --git a/service/route53recoveryreadiness/endpoints.go b/service/route53recoveryreadiness/endpoints.go index 654f7070095..4bdcbcb8439 100644 --- a/service/route53recoveryreadiness/endpoints.go +++ b/service/route53recoveryreadiness/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://route53-recovery-readiness-fips.") diff --git a/service/s3control/deserializers.go b/service/s3control/deserializers.go index 474466bd649..4c6de9d6443 100644 --- a/service/s3control/deserializers.go +++ b/service/s3control/deserializers.go @@ -17135,7 +17135,7 @@ func awsRestxml_deserializeDocumentSelectionCriteria(v **types.SelectionCriteria if err != nil { return err } - sv.MaxDepth = int32(i64) + sv.MaxDepth = ptr.Int32(int32(i64)) } case strings.EqualFold("MinStorageBytesPercentage", t.Name.Local): @@ -17152,7 +17152,7 @@ func awsRestxml_deserializeDocumentSelectionCriteria(v **types.SelectionCriteria if err != nil { return err } - sv.MinStorageBytesPercentage = f64 + sv.MinStorageBytesPercentage = ptr.Float64(f64) } default: diff --git a/service/s3control/serializers.go b/service/s3control/serializers.go index 4a766d4eb85..cddf020fb36 100644 --- a/service/s3control/serializers.go +++ b/service/s3control/serializers.go @@ -8408,7 +8408,7 @@ func awsRestxml_serializeDocumentSelectionCriteria(v *types.SelectionCriteria, v el := value.MemberElement(root) el.String(*v.Delimiter) } - if v.MaxDepth != 0 { + if v.MaxDepth != nil { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ Name: smithyxml.Name{ @@ -8417,9 +8417,9 @@ func awsRestxml_serializeDocumentSelectionCriteria(v *types.SelectionCriteria, v Attr: rootAttr, } el := value.MemberElement(root) - el.Integer(v.MaxDepth) + el.Integer(*v.MaxDepth) } - if v.MinStorageBytesPercentage != 0 { + if v.MinStorageBytesPercentage != nil { rootAttr := []smithyxml.Attr{} root := smithyxml.StartElement{ Name: smithyxml.Name{ @@ -8429,17 +8429,17 @@ func awsRestxml_serializeDocumentSelectionCriteria(v *types.SelectionCriteria, v } el := value.MemberElement(root) switch { - case math.IsNaN(v.MinStorageBytesPercentage): + case math.IsNaN(*v.MinStorageBytesPercentage): el.String("NaN") - case math.IsInf(v.MinStorageBytesPercentage, 1): + case math.IsInf(*v.MinStorageBytesPercentage, 1): el.String("Infinity") - case math.IsInf(v.MinStorageBytesPercentage, -1): + case math.IsInf(*v.MinStorageBytesPercentage, -1): el.String("-Infinity") default: - el.Double(v.MinStorageBytesPercentage) + el.Double(*v.MinStorageBytesPercentage) } } diff --git a/service/s3control/types/types.go b/service/s3control/types/types.go index 2909102ea65..854753632d5 100644 --- a/service/s3control/types/types.go +++ b/service/s3control/types/types.go @@ -2020,11 +2020,11 @@ type SelectionCriteria struct { Delimiter *string // The max depth of the selection criteria - MaxDepth int32 + MaxDepth *int32 // The minimum number of storage bytes percentage whose metrics will be selected. // You must choose a value greater than or equal to 1.0 . - MinStorageBytesPercentage float64 + MinStorageBytesPercentage *float64 noSmithyDocumentSerde } diff --git a/service/sagemaker/api_op_CreateAlgorithm.go b/service/sagemaker/api_op_CreateAlgorithm.go index f491a72d71b..9fab940f9d8 100644 --- a/service/sagemaker/api_op_CreateAlgorithm.go +++ b/service/sagemaker/api_op_CreateAlgorithm.go @@ -61,7 +61,7 @@ type CreateAlgorithmInput struct { // Whether to certify the algorithm so that it can be listed in Amazon Web // Services Marketplace. - CertifyForMarketplace bool + CertifyForMarketplace *bool // Specifies details about inference jobs that the algorithm runs, including the // following: diff --git a/service/sagemaker/api_op_CreateAutoMLJob.go b/service/sagemaker/api_op_CreateAutoMLJob.go index 2548d57bea2..3097fe6a831 100644 --- a/service/sagemaker/api_op_CreateAutoMLJob.go +++ b/service/sagemaker/api_op_CreateAutoMLJob.go @@ -83,7 +83,7 @@ type CreateAutoMLJobInput struct { // Generates possible candidates without training the models. A candidate is a // combination of data preprocessors, algorithms, and algorithm parameter settings. - GenerateCandidateDefinitionsOnly bool + GenerateCandidateDefinitionsOnly *bool // Specifies how to generate the endpoint name for an automatic one-click // Autopilot model deployment. diff --git a/service/sagemaker/api_op_CreateImageVersion.go b/service/sagemaker/api_op_CreateImageVersion.go index 2148279cf65..28d2d9552f3 100644 --- a/service/sagemaker/api_op_CreateImageVersion.go +++ b/service/sagemaker/api_op_CreateImageVersion.go @@ -59,7 +59,7 @@ type CreateImageVersionInput struct { Aliases []string // Indicates Horovod compatibility. - Horovod bool + Horovod *bool // Indicates SageMaker job type compatibility. // - TRAINING : The image version is compatible with SageMaker training jobs. diff --git a/service/sagemaker/api_op_CreateModel.go b/service/sagemaker/api_op_CreateModel.go index d2db274457e..58c0cf7bdc3 100644 --- a/service/sagemaker/api_op_CreateModel.go +++ b/service/sagemaker/api_op_CreateModel.go @@ -72,7 +72,7 @@ type CreateModelInput struct { // Isolates the model container. No inbound or outbound network calls can be made // to or from the model container. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // Specifies details of how containers in a multi-container endpoint are called. InferenceExecutionConfig *types.InferenceExecutionConfig diff --git a/service/sagemaker/api_op_CreateModelCardExportJob.go b/service/sagemaker/api_op_CreateModelCardExportJob.go index a2774a980d3..b87e51afc3d 100644 --- a/service/sagemaker/api_op_CreateModelCardExportJob.go +++ b/service/sagemaker/api_op_CreateModelCardExportJob.go @@ -52,7 +52,7 @@ type CreateModelCardExportJobInput struct { // The version of the model card to export. If a version is not provided, then the // latest version of the model card is exported. - ModelCardVersion int32 + ModelCardVersion *int32 noSmithyDocumentSerde } diff --git a/service/sagemaker/api_op_CreateModelPackage.go b/service/sagemaker/api_op_CreateModelPackage.go index a7f571c5feb..728b086b80c 100644 --- a/service/sagemaker/api_op_CreateModelPackage.go +++ b/service/sagemaker/api_op_CreateModelPackage.go @@ -53,7 +53,7 @@ type CreateModelPackageInput struct { // Whether to certify the model package for listing on Amazon Web Services // Marketplace. This parameter is optional for unversioned models, and does not // apply to versioned models. - CertifyForMarketplace bool + CertifyForMarketplace *bool // A unique token that guarantees that the call to this API is idempotent. ClientToken *string diff --git a/service/sagemaker/api_op_CreateTrainingJob.go b/service/sagemaker/api_op_CreateTrainingJob.go index 2e5c29eee13..272f69f3788 100644 --- a/service/sagemaker/api_op_CreateTrainingJob.go +++ b/service/sagemaker/api_op_CreateTrainingJob.go @@ -149,7 +149,7 @@ type CreateTrainingJobInput struct { // learning algorithm in distributed training. For more information, see Protect // Communications Between ML Compute Instances in a Distributed Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html) // . - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // To train models using managed spot training, choose True . Managed spot training // provides a fully managed and scalable infrastructure for training machine @@ -159,7 +159,7 @@ type CreateTrainingJobInput struct { // as a starting point to train models incrementally. Amazon SageMaker provides // metrics and logs in CloudWatch. They can be used to see when managed spot // training jobs are running, interrupted, resumed, or completed. - EnableManagedSpotTraining bool + EnableManagedSpotTraining *bool // Isolates the training container. No inbound or outbound network calls can be // made, except for calls between peers within a training cluster for distributed @@ -167,7 +167,7 @@ type CreateTrainingJobInput struct { // to use a VPC, SageMaker downloads and uploads customer data and model artifacts // through the specified VPC, but the training container does not have network // access. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // The environment variables to set in the Docker container. Environment map[string]string diff --git a/service/sagemaker/api_op_DeleteWorkteam.go b/service/sagemaker/api_op_DeleteWorkteam.go index 1e81223edc9..12c1b1e891a 100644 --- a/service/sagemaker/api_op_DeleteWorkteam.go +++ b/service/sagemaker/api_op_DeleteWorkteam.go @@ -47,7 +47,7 @@ type DeleteWorkteamOutput struct { // . // // This member is required. - Success bool + Success *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/sagemaker/api_op_DescribeAlgorithm.go b/service/sagemaker/api_op_DescribeAlgorithm.go index 0c4b8cfa8a2..296d2e5136a 100644 --- a/service/sagemaker/api_op_DescribeAlgorithm.go +++ b/service/sagemaker/api_op_DescribeAlgorithm.go @@ -80,7 +80,7 @@ type DescribeAlgorithmOutput struct { // Whether the algorithm is certified to be listed in Amazon Web Services // Marketplace. - CertifyForMarketplace bool + CertifyForMarketplace *bool // Details about inference jobs that the algorithm runs. InferenceSpecification *types.InferenceSpecification diff --git a/service/sagemaker/api_op_DescribeAutoMLJob.go b/service/sagemaker/api_op_DescribeAutoMLJob.go index e65338d6584..548ca95063f 100644 --- a/service/sagemaker/api_op_DescribeAutoMLJob.go +++ b/service/sagemaker/api_op_DescribeAutoMLJob.go @@ -116,7 +116,7 @@ type DescribeAutoMLJobOutput struct { // Indicates whether the output for an AutoML job generates candidate definitions // only. - GenerateCandidateDefinitionsOnly bool + GenerateCandidateDefinitionsOnly *bool // Indicates whether the model was deployed automatically to an endpoint and the // name of that endpoint if deployed automatically. diff --git a/service/sagemaker/api_op_DescribeDevice.go b/service/sagemaker/api_op_DescribeDevice.go index 343074a84f4..8311be9984c 100644 --- a/service/sagemaker/api_op_DescribeDevice.go +++ b/service/sagemaker/api_op_DescribeDevice.go @@ -85,7 +85,7 @@ type DescribeDeviceOutput struct { LatestHeartbeat *time.Time // The maximum number of models. - MaxModels int32 + MaxModels *int32 // Models on the device. Models []types.EdgeModel diff --git a/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go b/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go index 3f7f7398875..5e5b59533f3 100644 --- a/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go +++ b/service/sagemaker/api_op_DescribeEdgeDeploymentPlan.go @@ -41,7 +41,7 @@ type DescribeEdgeDeploymentPlanInput struct { EdgeDeploymentPlanName *string // The maximum number of results to select (50 by default). - MaxResults int32 + MaxResults *int32 // If the edge deployment plan has enough stages to require tokening, then this is // the response from the last list of stages returned. @@ -81,13 +81,13 @@ type DescribeEdgeDeploymentPlanOutput struct { CreationTime *time.Time // The number of edge devices that failed the deployment. - EdgeDeploymentFailed int32 + EdgeDeploymentFailed *int32 // The number of edge devices yet to pick up deployment, or in progress. - EdgeDeploymentPending int32 + EdgeDeploymentPending *int32 // The number of edge devices with the successful deployment. - EdgeDeploymentSuccess int32 + EdgeDeploymentSuccess *int32 // The time when the edge deployment plan was last updated. LastModifiedTime *time.Time diff --git a/service/sagemaker/api_op_DescribeImageVersion.go b/service/sagemaker/api_op_DescribeImageVersion.go index a6436611559..4c7f65025ec 100644 --- a/service/sagemaker/api_op_DescribeImageVersion.go +++ b/service/sagemaker/api_op_DescribeImageVersion.go @@ -68,7 +68,7 @@ type DescribeImageVersionOutput struct { FailureReason *string // Indicates Horovod compatibility. - Horovod bool + Horovod *bool // The ARN of the image the version is based on. ImageArn *string diff --git a/service/sagemaker/api_op_DescribeModel.go b/service/sagemaker/api_op_DescribeModel.go index ecf67810b9d..70b74d744f7 100644 --- a/service/sagemaker/api_op_DescribeModel.go +++ b/service/sagemaker/api_op_DescribeModel.go @@ -73,7 +73,7 @@ type DescribeModelOutput struct { // If True , no inbound or outbound network calls can be made to or from the model // container. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // Specifies details of how containers in a multi-container endpoint are called. InferenceExecutionConfig *types.InferenceExecutionConfig diff --git a/service/sagemaker/api_op_DescribeModelCard.go b/service/sagemaker/api_op_DescribeModelCard.go index 4d059a1a54f..b8cd720a388 100644 --- a/service/sagemaker/api_op_DescribeModelCard.go +++ b/service/sagemaker/api_op_DescribeModelCard.go @@ -43,7 +43,7 @@ type DescribeModelCardInput struct { // The version of the model card to describe. If a version is not provided, then // the latest version of the model card is described. - ModelCardVersion int32 + ModelCardVersion *int32 noSmithyDocumentSerde } @@ -90,7 +90,7 @@ type DescribeModelCardOutput struct { // The version of the model card. // // This member is required. - ModelCardVersion int32 + ModelCardVersion *int32 // Information about the user who created or modified an experiment, trial, trial // component, lineage group, project, or model card. diff --git a/service/sagemaker/api_op_DescribeModelCardExportJob.go b/service/sagemaker/api_op_DescribeModelCardExportJob.go index c2d99c2e81f..b0c280e6e64 100644 --- a/service/sagemaker/api_op_DescribeModelCardExportJob.go +++ b/service/sagemaker/api_op_DescribeModelCardExportJob.go @@ -74,7 +74,7 @@ type DescribeModelCardExportJobOutput struct { // The version of the model card that the model export job exports. // // This member is required. - ModelCardVersion int32 + ModelCardVersion *int32 // The export output details for the model card. // diff --git a/service/sagemaker/api_op_DescribeModelPackage.go b/service/sagemaker/api_op_DescribeModelPackage.go index 6d81b199b10..a551b5f34a3 100644 --- a/service/sagemaker/api_op_DescribeModelPackage.go +++ b/service/sagemaker/api_op_DescribeModelPackage.go @@ -86,7 +86,7 @@ type DescribeModelPackageOutput struct { // Whether the model package is certified for listing on Amazon Web Services // Marketplace. - CertifyForMarketplace bool + CertifyForMarketplace *bool // Information about the user who created or modified an experiment, trial, trial // component, lineage group, project, or model card. diff --git a/service/sagemaker/api_op_DescribeTrainingJob.go b/service/sagemaker/api_op_DescribeTrainingJob.go index 27eadd3c539..25dd9754318 100644 --- a/service/sagemaker/api_op_DescribeTrainingJob.go +++ b/service/sagemaker/api_op_DescribeTrainingJob.go @@ -181,18 +181,18 @@ type DescribeTrainingJobOutput struct { // training, but training might take longer. How long it takes depends on the // amount of communication between compute instances, especially if you use a deep // learning algorithms in distributed training. - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // A Boolean indicating whether managed spot training is enabled ( True ) or not ( // False ). - EnableManagedSpotTraining bool + EnableManagedSpotTraining *bool // If you want to allow inbound or outbound network calls, except for calls // between peers within a training cluster for distributed training, choose True . // If you enable network isolation for training jobs that are configured to use a // VPC, SageMaker downloads and uploads customer data and model artifacts through // the specified VPC, but the training container does not have network access. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // The environment variables to set in the Docker container. Environment map[string]string diff --git a/service/sagemaker/api_op_ListModelCardExportJobs.go b/service/sagemaker/api_op_ListModelCardExportJobs.go index f80378aa228..2e653b71d19 100644 --- a/service/sagemaker/api_op_ListModelCardExportJobs.go +++ b/service/sagemaker/api_op_ListModelCardExportJobs.go @@ -53,7 +53,7 @@ type ListModelCardExportJobsInput struct { ModelCardExportJobNameContains *string // List export jobs for the model card with the specified version. - ModelCardVersion int32 + ModelCardVersion *int32 // If the response to a previous ListModelCardExportJobs request was truncated, // the response includes a NextToken . To retrieve the next set of model card diff --git a/service/sagemaker/api_op_ListStageDevices.go b/service/sagemaker/api_op_ListStageDevices.go index 468f5dac7c9..4ac9c9c7171 100644 --- a/service/sagemaker/api_op_ListStageDevices.go +++ b/service/sagemaker/api_op_ListStageDevices.go @@ -46,7 +46,7 @@ type ListStageDevicesInput struct { StageName *string // Toggle for excluding devices deployed in other stages. - ExcludeDevicesDeployedInOtherStage bool + ExcludeDevicesDeployedInOtherStage *bool // The maximum number of requests to select. MaxResults *int32 diff --git a/service/sagemaker/api_op_QueryLineage.go b/service/sagemaker/api_op_QueryLineage.go index a67b5f18771..77b045f6f11 100644 --- a/service/sagemaker/api_op_QueryLineage.go +++ b/service/sagemaker/api_op_QueryLineage.go @@ -54,7 +54,7 @@ type QueryLineageInput struct { // the Associations (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking-entities.html) // and lineage entities on the path. Set to False to only return lineage entities // that match your query. - IncludeEdges bool + IncludeEdges *bool // The maximum depth in lineage relationships from the StartArns that are // traversed. Depth is a measure of the number of Associations from the StartArn diff --git a/service/sagemaker/api_op_UpdateEndpoint.go b/service/sagemaker/api_op_UpdateEndpoint.go index 6281df21d53..efbf006a49b 100644 --- a/service/sagemaker/api_op_UpdateEndpoint.go +++ b/service/sagemaker/api_op_UpdateEndpoint.go @@ -74,11 +74,11 @@ type UpdateEndpointInput struct { // true . To use the variant properties specified in a new EndpointConfig call // when updating an endpoint, set RetainAllVariantProperties to false . The default // is false . - RetainAllVariantProperties bool + RetainAllVariantProperties *bool // Specifies whether to reuse the last deployment configuration. The default value // is false (the configuration is not reused). - RetainDeploymentConfig bool + RetainDeploymentConfig *bool noSmithyDocumentSerde } diff --git a/service/sagemaker/api_op_UpdateImageVersion.go b/service/sagemaker/api_op_UpdateImageVersion.go index 65287705455..a1ad2416dc3 100644 --- a/service/sagemaker/api_op_UpdateImageVersion.go +++ b/service/sagemaker/api_op_UpdateImageVersion.go @@ -49,7 +49,7 @@ type UpdateImageVersionInput struct { AliasesToDelete []string // Indicates Horovod compatibility. - Horovod bool + Horovod *bool // Indicates SageMaker job type compatibility. // - TRAINING : The image version is compatible with SageMaker training jobs. diff --git a/service/sagemaker/api_op_UpdateNotebookInstance.go b/service/sagemaker/api_op_UpdateNotebookInstance.go index 2e5c00be82c..12427df196c 100644 --- a/service/sagemaker/api_op_UpdateNotebookInstance.go +++ b/service/sagemaker/api_op_UpdateNotebookInstance.go @@ -71,25 +71,25 @@ type UpdateNotebookInstanceInput struct { // notebook instance. This operation is idempotent. If you specify an accelerator // type that is not associated with the notebook instance when you call this // method, it does not throw an error. - DisassociateAcceleratorTypes bool + DisassociateAcceleratorTypes *bool // A list of names or URLs of the default Git repositories to remove from this // notebook instance. This operation is idempotent. If you specify a Git repository // that is not associated with the notebook instance when you call this method, it // does not throw an error. - DisassociateAdditionalCodeRepositories bool + DisassociateAdditionalCodeRepositories *bool // The name or URL of the default Git repository to remove from this notebook // instance. This operation is idempotent. If you specify a Git repository that is // not associated with the notebook instance when you call this method, it does not // throw an error. - DisassociateDefaultCodeRepository bool + DisassociateDefaultCodeRepository *bool // Set to true to remove the notebook instance lifecycle configuration currently // associated with the notebook instance. This operation is idempotent. If you // specify a lifecycle configuration that is not associated with the notebook // instance when you call this method, it does not throw an error. - DisassociateLifecycleConfig bool + DisassociateLifecycleConfig *bool // Information on the IMDS configuration of the notebook instance InstanceMetadataServiceConfiguration *types.InstanceMetadataServiceConfiguration diff --git a/service/sagemaker/deserializers.go b/service/sagemaker/deserializers.go index ecb4dadc1ed..d9e267d4a44 100644 --- a/service/sagemaker/deserializers.go +++ b/service/sagemaker/deserializers.go @@ -33137,7 +33137,7 @@ func awsAwsjson11_deserializeDocumentAgentVersion(v **types.AgentVersion, value if err != nil { return err } - sv.AgentCount = i64 + sv.AgentCount = ptr.Int64(i64) } case "Version": @@ -33349,7 +33349,7 @@ func awsAwsjson11_deserializeDocumentAlgorithmSpecification(v **types.AlgorithmS if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableSageMakerMetricsTimeSeries = jtv + sv.EnableSageMakerMetricsTimeSeries = ptr.Bool(jtv) } case "MetricDefinitions": @@ -36492,7 +36492,7 @@ func awsAwsjson11_deserializeDocumentAutoMLSecurityConfig(v **types.AutoMLSecuri if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableInterContainerTrafficEncryption = jtv + sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } case "VolumeKmsKeyId": @@ -36714,7 +36714,7 @@ func awsAwsjson11_deserializeDocumentBatchDataCaptureConfig(v **types.BatchDataC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.GenerateInferenceId = jtv + sv.GenerateInferenceId = ptr.Bool(jtv) } case "KmsKeyId": @@ -38086,7 +38086,7 @@ func awsAwsjson11_deserializeDocumentChannelSpecification(v **types.ChannelSpeci if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsRequired = jtv + sv.IsRequired = ptr.Bool(jtv) } case "Name": @@ -38314,7 +38314,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RegisterNewBaseline = jtv + sv.RegisterNewBaseline = ptr.Bool(jtv) } case "SkipCheck": @@ -38323,7 +38323,7 @@ func awsAwsjson11_deserializeDocumentClarifyCheckStepMetadata(v **types.ClarifyC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SkipCheck = jtv + sv.SkipCheck = ptr.Bool(jtv) } case "ViolationReport": @@ -40516,7 +40516,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfig(v **types.DataCaptureConf if !ok { return fmt.Errorf("expected EnableCapture to be of type *bool, got %T instead", value) } - sv.EnableCapture = jtv + sv.EnableCapture = ptr.Bool(jtv) } case "InitialSamplingPercentage": @@ -40609,7 +40609,7 @@ func awsAwsjson11_deserializeDocumentDataCaptureConfigSummary(v **types.DataCapt if !ok { return fmt.Errorf("expected EnableCapture to be of type *bool, got %T instead", value) } - sv.EnableCapture = jtv + sv.EnableCapture = ptr.Bool(jtv) } case "KmsKeyId": @@ -41160,7 +41160,7 @@ func awsAwsjson11_deserializeDocumentDebugRuleConfiguration(v **types.DebugRuleC if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: @@ -42074,7 +42074,7 @@ func awsAwsjson11_deserializeDocumentDeviceSelectionConfig(v **types.DeviceSelec if err != nil { return err } - sv.Percentage = int32(i64) + sv.Percentage = ptr.Int32(int32(i64)) } default: @@ -42118,7 +42118,7 @@ func awsAwsjson11_deserializeDocumentDeviceStats(v **types.DeviceStats, value in if err != nil { return err } - sv.ConnectedDeviceCount = i64 + sv.ConnectedDeviceCount = ptr.Int64(i64) } case "RegisteredDeviceCount": @@ -42131,7 +42131,7 @@ func awsAwsjson11_deserializeDocumentDeviceStats(v **types.DeviceStats, value in if err != nil { return err } - sv.RegisteredDeviceCount = i64 + sv.RegisteredDeviceCount = ptr.Int64(i64) } default: @@ -42819,7 +42819,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam if err != nil { return err } - sv.MaxCapacity = int32(i64) + sv.MaxCapacity = ptr.Int32(int32(i64)) } case "MinCapacity": @@ -42832,7 +42832,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam if err != nil { return err } - sv.MinCapacity = int32(i64) + sv.MinCapacity = ptr.Int32(int32(i64)) } case "ScaleInCooldown": @@ -42845,7 +42845,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam if err != nil { return err } - sv.ScaleInCooldown = int32(i64) + sv.ScaleInCooldown = ptr.Int32(int32(i64)) } case "ScaleOutCooldown": @@ -42858,7 +42858,7 @@ func awsAwsjson11_deserializeDocumentDynamicScalingConfiguration(v **types.Dynam if err != nil { return err } - sv.ScaleOutCooldown = int32(i64) + sv.ScaleOutCooldown = ptr.Int32(int32(i64)) } case "ScalingPolicies": @@ -43147,7 +43147,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep if err != nil { return err } - sv.EdgeDeploymentFailed = int32(i64) + sv.EdgeDeploymentFailed = ptr.Int32(int32(i64)) } case "EdgeDeploymentPending": @@ -43160,7 +43160,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep if err != nil { return err } - sv.EdgeDeploymentPending = int32(i64) + sv.EdgeDeploymentPending = ptr.Int32(int32(i64)) } case "EdgeDeploymentPlanArn": @@ -43191,7 +43191,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentPlanSummary(v **types.EdgeDep if err != nil { return err } - sv.EdgeDeploymentSuccess = int32(i64) + sv.EdgeDeploymentSuccess = ptr.Int32(int32(i64)) } case "LastModifiedTime": @@ -43251,7 +43251,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme if err != nil { return err } - sv.EdgeDeploymentFailedInStage = int32(i64) + sv.EdgeDeploymentFailedInStage = ptr.Int32(int32(i64)) } case "EdgeDeploymentPendingInStage": @@ -43264,7 +43264,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme if err != nil { return err } - sv.EdgeDeploymentPendingInStage = int32(i64) + sv.EdgeDeploymentPendingInStage = ptr.Int32(int32(i64)) } case "EdgeDeploymentStageStartTime": @@ -43302,7 +43302,7 @@ func awsAwsjson11_deserializeDocumentEdgeDeploymentStatus(v **types.EdgeDeployme if err != nil { return err } - sv.EdgeDeploymentSuccessInStage = int32(i64) + sv.EdgeDeploymentSuccessInStage = ptr.Int32(int32(i64)) } case "StageStatus": @@ -43470,7 +43470,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu if err != nil { return err } - sv.ActiveDeviceCount = i64 + sv.ActiveDeviceCount = ptr.Int64(i64) } case "ConnectedDeviceCount": @@ -43483,7 +43483,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu if err != nil { return err } - sv.ConnectedDeviceCount = i64 + sv.ConnectedDeviceCount = ptr.Int64(i64) } case "ModelName": @@ -43514,7 +43514,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu if err != nil { return err } - sv.OfflineDeviceCount = i64 + sv.OfflineDeviceCount = ptr.Int64(i64) } case "SamplingDeviceCount": @@ -43527,7 +43527,7 @@ func awsAwsjson11_deserializeDocumentEdgeModelStat(v **types.EdgeModelStat, valu if err != nil { return err } - sv.SamplingDeviceCount = i64 + sv.SamplingDeviceCount = ptr.Int64(i64) } default: @@ -46467,7 +46467,7 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin if err != nil { return err } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -46485,7 +46485,7 @@ func awsAwsjson11_deserializeDocumentFinalAutoMLJobObjectiveMetric(v **types.Fin return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected MetricValue to be a JSON Number, got %T instead", value) @@ -46550,7 +46550,7 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric if err != nil { return err } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -46568,7 +46568,7 @@ func awsAwsjson11_deserializeDocumentFinalHyperParameterTuningJobObjectiveMetric return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected MetricValue to be a JSON Number, got %T instead", value) @@ -48269,7 +48269,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsRequired = jtv + sv.IsRequired = ptr.Bool(jtv) } case "IsTunable": @@ -48278,7 +48278,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterSpecification(v **types.Hyper if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsTunable = jtv + sv.IsTunable = ptr.Bool(jtv) } case "Name": @@ -48394,7 +48394,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableInterContainerTrafficEncryption = jtv + sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } case "EnableManagedSpotTraining": @@ -48403,7 +48403,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableManagedSpotTraining = jtv + sv.EnableManagedSpotTraining = ptr.Bool(jtv) } case "EnableNetworkIsolation": @@ -48412,7 +48412,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTrainingJobDefinition(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "Environment": @@ -48776,7 +48776,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case "InstanceType": @@ -48798,7 +48798,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningInstanceConfig(v **type if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: @@ -48892,7 +48892,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobCompletionDetails(v if err != nil { return err } - sv.NumberOfTrainingJobsObjectiveNotImproving = int32(i64) + sv.NumberOfTrainingJobsObjectiveNotImproving = ptr.Int32(int32(i64)) } default: @@ -49023,7 +49023,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningJobConsumedResources(v if err != nil { return err } - sv.RuntimeInSeconds = int32(i64) + sv.RuntimeInSeconds = ptr.Int32(int32(i64)) } default: @@ -49579,7 +49579,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case "InstanceType": @@ -49610,7 +49610,7 @@ func awsAwsjson11_deserializeDocumentHyperParameterTuningResourceConfig(v **type if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: @@ -50511,7 +50511,7 @@ func awsAwsjson11_deserializeDocumentInferenceMetrics(v **types.InferenceMetrics if err != nil { return err } - sv.MaxInvocations = int32(i64) + sv.MaxInvocations = ptr.Int32(int32(i64)) } case "ModelLatency": @@ -50524,7 +50524,7 @@ func awsAwsjson11_deserializeDocumentInferenceMetrics(v **types.InferenceMetrics if err != nil { return err } - sv.ModelLatency = int32(i64) + sv.ModelLatency = ptr.Int32(int32(i64)) } default: @@ -51182,7 +51182,7 @@ func awsAwsjson11_deserializeDocumentInstanceGroup(v **types.InstanceGroup, valu if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case "InstanceGroupName": @@ -51796,7 +51796,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu if err != nil { return err } - sv.FailedNonRetryableError = int32(i64) + sv.FailedNonRetryableError = ptr.Int32(int32(i64)) } case "HumanLabeled": @@ -51809,7 +51809,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu if err != nil { return err } - sv.HumanLabeled = int32(i64) + sv.HumanLabeled = ptr.Int32(int32(i64)) } case "MachineLabeled": @@ -51822,7 +51822,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu if err != nil { return err } - sv.MachineLabeled = int32(i64) + sv.MachineLabeled = ptr.Int32(int32(i64)) } case "TotalLabeled": @@ -51835,7 +51835,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu if err != nil { return err } - sv.TotalLabeled = int32(i64) + sv.TotalLabeled = ptr.Int32(int32(i64)) } case "Unlabeled": @@ -51848,7 +51848,7 @@ func awsAwsjson11_deserializeDocumentLabelCounters(v **types.LabelCounters, valu if err != nil { return err } - sv.Unlabeled = int32(i64) + sv.Unlabeled = ptr.Int32(int32(i64)) } default: @@ -51892,7 +51892,7 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou if err != nil { return err } - sv.HumanLabeled = int32(i64) + sv.HumanLabeled = ptr.Int32(int32(i64)) } case "PendingHuman": @@ -51905,7 +51905,7 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou if err != nil { return err } - sv.PendingHuman = int32(i64) + sv.PendingHuman = ptr.Int32(int32(i64)) } case "Total": @@ -51918,7 +51918,7 @@ func awsAwsjson11_deserializeDocumentLabelCountersForWorkteam(v **types.LabelCou if err != nil { return err } - sv.Total = int32(i64) + sv.Total = ptr.Int32(int32(i64)) } default: @@ -53179,7 +53179,7 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte if err != nil { return err } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -53197,7 +53197,7 @@ func awsAwsjson11_deserializeDocumentMetricData(v **types.MetricData, value inte return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Float to be a JSON Number, got %T instead", value) @@ -53305,7 +53305,7 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in if err != nil { return err } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -53323,7 +53323,7 @@ func awsAwsjson11_deserializeDocumentMetricDatum(v **types.MetricDatum, value in return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Value = float32(f64) + sv.Value = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Float to be a JSON Number, got %T instead", value) @@ -53585,7 +53585,7 @@ func awsAwsjson11_deserializeDocumentModel(v **types.Model, value interface{}) e if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "ExecutionRoleArn": @@ -53939,7 +53939,7 @@ func awsAwsjson11_deserializeDocumentModelCard(v **types.ModelCard, value interf if err != nil { return err } - sv.ModelCardVersion = int32(i64) + sv.ModelCardVersion = ptr.Int32(int32(i64)) } case "ModelId": @@ -54119,7 +54119,7 @@ func awsAwsjson11_deserializeDocumentModelCardExportJobSummary(v **types.ModelCa if err != nil { return err } - sv.ModelCardVersion = int32(i64) + sv.ModelCardVersion = ptr.Int32(int32(i64)) } case "Status": @@ -54469,7 +54469,7 @@ func awsAwsjson11_deserializeDocumentModelCardVersionSummary(v **types.ModelCard if err != nil { return err } - sv.ModelCardVersion = int32(i64) + sv.ModelCardVersion = ptr.Int32(int32(i64)) } default: @@ -54778,7 +54778,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardIndicatorAction(v **types.Mod if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -54947,7 +54947,7 @@ func awsAwsjson11_deserializeDocumentModelDashboardModelCard(v **types.ModelDash if err != nil { return err } - sv.ModelCardVersion = int32(i64) + sv.ModelCardVersion = ptr.Int32(int32(i64)) } case "ModelId": @@ -55258,7 +55258,7 @@ func awsAwsjson11_deserializeDocumentModelDeployConfig(v **types.ModelDeployConf if !ok { return fmt.Errorf("expected AutoGenerateEndpointName to be of type *bool, got %T instead", value) } - sv.AutoGenerateEndpointName = jtv + sv.AutoGenerateEndpointName = ptr.Bool(jtv) } case "EndpointName": @@ -55625,7 +55625,7 @@ func awsAwsjson11_deserializeDocumentModelLatencyThreshold(v **types.ModelLatenc if err != nil { return err } - sv.ValueInMilliseconds = int32(i64) + sv.ValueInMilliseconds = ptr.Int32(int32(i64)) } default: @@ -55874,7 +55874,7 @@ func awsAwsjson11_deserializeDocumentModelPackage(v **types.ModelPackage, value if !ok { return fmt.Errorf("expected CertifyForMarketplace to be of type *bool, got %T instead", value) } - sv.CertifyForMarketplace = jtv + sv.CertifyForMarketplace = ptr.Bool(jtv) } case "CreatedBy": @@ -57964,7 +57964,7 @@ func awsAwsjson11_deserializeDocumentMonitoringCsvDatasetFormat(v **types.Monito if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Header = jtv + sv.Header = ptr.Bool(jtv) } default: @@ -58565,7 +58565,7 @@ func awsAwsjson11_deserializeDocumentMonitoringJsonDatasetFormat(v **types.Monit if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Line = jtv + sv.Line = ptr.Bool(jtv) } default: @@ -58605,7 +58605,7 @@ func awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(v **types.Monitorin if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableInterContainerTrafficEncryption = jtv + sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } case "EnableNetworkIsolation": @@ -58614,7 +58614,7 @@ func awsAwsjson11_deserializeDocumentMonitoringNetworkConfig(v **types.Monitorin if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "VpcConfig": @@ -59319,7 +59319,7 @@ func awsAwsjson11_deserializeDocumentMonitoringStoppingCondition(v **types.Monit if err != nil { return err } - sv.MaxRuntimeInSeconds = int32(i64) + sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } default: @@ -59512,7 +59512,7 @@ func awsAwsjson11_deserializeDocumentNetworkConfig(v **types.NetworkConfig, valu if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableInterContainerTrafficEncryption = jtv + sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } case "EnableNetworkIsolation": @@ -59521,7 +59521,7 @@ func awsAwsjson11_deserializeDocumentNetworkConfig(v **types.NetworkConfig, valu if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "VpcConfig": @@ -60000,7 +60000,7 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective if err != nil { return err } - sv.Failed = int32(i64) + sv.Failed = ptr.Int32(int32(i64)) } case "Pending": @@ -60013,7 +60013,7 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective if err != nil { return err } - sv.Pending = int32(i64) + sv.Pending = ptr.Int32(int32(i64)) } case "Succeeded": @@ -60026,7 +60026,7 @@ func awsAwsjson11_deserializeDocumentObjectiveStatusCounters(v **types.Objective if err != nil { return err } - sv.Succeeded = int32(i64) + sv.Succeeded = ptr.Int32(int32(i64)) } default: @@ -60071,7 +60071,7 @@ func awsAwsjson11_deserializeDocumentOfflineStoreConfig(v **types.OfflineStoreCo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DisableGlueTableCreation = jtv + sv.DisableGlueTableCreation = ptr.Bool(jtv) } case "S3StorageConfig": @@ -60304,7 +60304,7 @@ func awsAwsjson11_deserializeDocumentOnlineStoreConfig(v **types.OnlineStoreConf if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableOnlineStore = jtv + sv.EnableOnlineStore = ptr.Bool(jtv) } case "SecurityConfig": @@ -60620,7 +60620,7 @@ func awsAwsjson11_deserializeDocumentParallelismConfiguration(v **types.Parallel if err != nil { return err } - sv.MaxParallelExecutionSteps = int32(i64) + sv.MaxParallelExecutionSteps = ptr.Int32(int32(i64)) } default: @@ -61713,7 +61713,7 @@ func awsAwsjson11_deserializeDocumentPipelineExecutionStep(v **types.PipelineExe if err != nil { return err } - sv.AttemptCount = int32(i64) + sv.AttemptCount = ptr.Int32(int32(i64)) } case "CacheHitResult": @@ -62504,7 +62504,7 @@ func awsAwsjson11_deserializeDocumentProcessingInput(v **types.ProcessingInput, if !ok { return fmt.Errorf("expected AppManaged to be of type *bool, got %T instead", value) } - sv.AppManaged = jtv + sv.AppManaged = ptr.Bool(jtv) } case "DatasetDefinition": @@ -63016,7 +63016,7 @@ func awsAwsjson11_deserializeDocumentProcessingOutput(v **types.ProcessingOutput if !ok { return fmt.Errorf("expected AppManaged to be of type *bool, got %T instead", value) } - sv.AppManaged = jtv + sv.AppManaged = ptr.Bool(jtv) } case "FeatureStoreOutput": @@ -63337,7 +63337,7 @@ func awsAwsjson11_deserializeDocumentProcessingStoppingCondition(v **types.Proce if err != nil { return err } - sv.MaxRuntimeInSeconds = int32(i64) + sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } default: @@ -64025,7 +64025,7 @@ func awsAwsjson11_deserializeDocumentProfilerConfig(v **types.ProfilerConfig, va if !ok { return fmt.Errorf("expected DisableProfiler to be of type *bool, got %T instead", value) } - sv.DisableProfiler = jtv + sv.DisableProfiler = ptr.Bool(jtv) } case "ProfilingIntervalInMilliseconds": @@ -64146,7 +64146,7 @@ func awsAwsjson11_deserializeDocumentProfilerRuleConfiguration(v **types.Profile if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: @@ -64888,7 +64888,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RegisterNewBaseline = jtv + sv.RegisterNewBaseline = ptr.Bool(jtv) } case "SkipCheck": @@ -64897,7 +64897,7 @@ func awsAwsjson11_deserializeDocumentQualityCheckStepMetadata(v **types.QualityC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SkipCheck = jtv + sv.SkipCheck = ptr.Bool(jtv) } case "ViolationReport": @@ -65540,7 +65540,7 @@ func awsAwsjson11_deserializeDocumentRecommendationJobStoppingConditions(v **typ if err != nil { return err } - sv.MaxInvocations = int32(i64) + sv.MaxInvocations = ptr.Int32(int32(i64)) } case "ModelLatencyThresholds": @@ -65808,7 +65808,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat if err != nil { return err } - sv.CostPerHour = float32(f64) + sv.CostPerHour = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -65826,7 +65826,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.CostPerHour = float32(f64) + sv.CostPerHour = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Float to be a JSON Number, got %T instead", value) @@ -65842,7 +65842,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat if err != nil { return err } - sv.CostPerInference = float32(f64) + sv.CostPerInference = ptr.Float32(float32(f64)) case string: var f64 float64 @@ -65860,7 +65860,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.CostPerInference = float32(f64) + sv.CostPerInference = ptr.Float32(float32(f64)) default: return fmt.Errorf("expected Float to be a JSON Number, got %T instead", value) @@ -65912,7 +65912,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat if err != nil { return err } - sv.MaxInvocations = int32(i64) + sv.MaxInvocations = ptr.Int32(int32(i64)) } case "MemoryUtilization": @@ -65959,7 +65959,7 @@ func awsAwsjson11_deserializeDocumentRecommendationMetrics(v **types.Recommendat if err != nil { return err } - sv.ModelLatency = int32(i64) + sv.ModelLatency = ptr.Int32(int32(i64)) } case "ModelSetupTime": @@ -66449,7 +66449,7 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case "InstanceGroups": @@ -66498,7 +66498,7 @@ func awsAwsjson11_deserializeDocumentResourceConfig(v **types.ResourceConfig, va if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: @@ -66635,7 +66635,7 @@ func awsAwsjson11_deserializeDocumentResourceLimits(v **types.ResourceLimits, va if err != nil { return err } - sv.MaxParallelTrainingJobs = int32(i64) + sv.MaxParallelTrainingJobs = ptr.Int32(int32(i64)) } case "MaxRuntimeInSeconds": @@ -66835,7 +66835,7 @@ func awsAwsjson11_deserializeDocumentRetryStrategy(v **types.RetryStrategy, valu if err != nil { return err } - sv.MaximumRetryAttempts = int32(i64) + sv.MaximumRetryAttempts = ptr.Int32(int32(i64)) } default: @@ -67427,7 +67427,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyMetric(v **types.ScalingPolicy if err != nil { return err } - sv.InvocationsPerInstance = int32(i64) + sv.InvocationsPerInstance = ptr.Int32(int32(i64)) } case "ModelLatency": @@ -67440,7 +67440,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyMetric(v **types.ScalingPolicy if err != nil { return err } - sv.ModelLatency = int32(i64) + sv.ModelLatency = ptr.Int32(int32(i64)) } default: @@ -67484,7 +67484,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyObjective(v **types.ScalingPol if err != nil { return err } - sv.MaxInvocationsPerMinute = int32(i64) + sv.MaxInvocationsPerMinute = ptr.Int32(int32(i64)) } case "MinInvocationsPerMinute": @@ -67497,7 +67497,7 @@ func awsAwsjson11_deserializeDocumentScalingPolicyObjective(v **types.ScalingPol if err != nil { return err } - sv.MinInvocationsPerMinute = int32(i64) + sv.MinInvocationsPerMinute = ptr.Int32(int32(i64)) } default: @@ -68206,7 +68206,7 @@ func awsAwsjson11_deserializeDocumentShadowModelVariantConfig(v **types.ShadowMo if err != nil { return err } - sv.SamplingPercentage = int32(i64) + sv.SamplingPercentage = ptr.Int32(int32(i64)) } case "ShadowModelVariantName": @@ -68351,7 +68351,7 @@ func awsAwsjson11_deserializeDocumentShuffleConfig(v **types.ShuffleConfig, valu if err != nil { return err } - sv.Seed = i64 + sv.Seed = ptr.Int64(i64) } default: @@ -68785,7 +68785,7 @@ func awsAwsjson11_deserializeDocumentStoppingCondition(v **types.StoppingConditi if err != nil { return err } - sv.MaxRuntimeInSeconds = int32(i64) + sv.MaxRuntimeInSeconds = ptr.Int32(int32(i64)) } case "MaxWaitTimeInSeconds": @@ -69127,7 +69127,7 @@ func awsAwsjson11_deserializeDocumentTabularJobConfig(v **types.TabularJobConfig if !ok { return fmt.Errorf("expected GenerateCandidateDefinitionsOnly to be of type *bool, got %T instead", value) } - sv.GenerateCandidateDefinitionsOnly = jtv + sv.GenerateCandidateDefinitionsOnly = ptr.Bool(jtv) } case "Mode": @@ -69391,7 +69391,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v if err != nil { return err } - sv.TargetValue = f64 + sv.TargetValue = ptr.Float64(f64) case string: var f64 float64 @@ -69409,7 +69409,7 @@ func awsAwsjson11_deserializeDocumentTargetTrackingScalingPolicyConfiguration(v return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.TargetValue = f64 + sv.TargetValue = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -70234,7 +70234,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableInterContainerTrafficEncryption = jtv + sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } case "EnableManagedSpotTraining": @@ -70243,7 +70243,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableManagedSpotTraining = jtv + sv.EnableManagedSpotTraining = ptr.Bool(jtv) } case "EnableNetworkIsolation": @@ -70252,7 +70252,7 @@ func awsAwsjson11_deserializeDocumentTrainingJob(v **types.TrainingJob, value in if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "Environment": @@ -70569,7 +70569,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin if err != nil { return err } - sv.Completed = int32(i64) + sv.Completed = ptr.Int32(int32(i64)) } case "InProgress": @@ -70582,7 +70582,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin if err != nil { return err } - sv.InProgress = int32(i64) + sv.InProgress = ptr.Int32(int32(i64)) } case "NonRetryableError": @@ -70595,7 +70595,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin if err != nil { return err } - sv.NonRetryableError = int32(i64) + sv.NonRetryableError = ptr.Int32(int32(i64)) } case "RetryableError": @@ -70608,7 +70608,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin if err != nil { return err } - sv.RetryableError = int32(i64) + sv.RetryableError = ptr.Int32(int32(i64)) } case "Stopped": @@ -70621,7 +70621,7 @@ func awsAwsjson11_deserializeDocumentTrainingJobStatusCounters(v **types.Trainin if err != nil { return err } - sv.Stopped = int32(i64) + sv.Stopped = ptr.Int32(int32(i64)) } default: @@ -70911,7 +70911,7 @@ func awsAwsjson11_deserializeDocumentTrainingSpecification(v **types.TrainingSpe if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SupportsDistributedTraining = jtv + sv.SupportsDistributedTraining = ptr.Bool(jtv) } case "TrainingChannels": @@ -73548,7 +73548,7 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error if err != nil { return err } - sv.Cents = int32(i64) + sv.Cents = ptr.Int32(int32(i64)) } case "Dollars": @@ -73561,7 +73561,7 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error if err != nil { return err } - sv.Dollars = int32(i64) + sv.Dollars = ptr.Int32(int32(i64)) } case "TenthFractionsOfACent": @@ -73574,7 +73574,7 @@ func awsAwsjson11_deserializeDocumentUSD(v **types.USD, value interface{}) error if err != nil { return err } - sv.TenthFractionsOfACent = int32(i64) + sv.TenthFractionsOfACent = ptr.Int32(int32(i64)) } default: @@ -77443,7 +77443,7 @@ func awsAwsjson11_deserializeOpDocumentDeleteWorkteamOutput(v **DeleteWorkteamOu if !ok { return fmt.Errorf("expected Success to be of type *bool, got %T instead", value) } - sv.Success = jtv + sv.Success = ptr.Bool(jtv) } default: @@ -77666,7 +77666,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAlgorithmOutput(v **DescribeAlgor if !ok { return fmt.Errorf("expected CertifyForMarketplace to be of type *bool, got %T instead", value) } - sv.CertifyForMarketplace = jtv + sv.CertifyForMarketplace = ptr.Bool(jtv) } case "CreationTime": @@ -78209,7 +78209,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeAutoMLJobOutput(v **DescribeAutoM if !ok { return fmt.Errorf("expected GenerateCandidateDefinitionsOnly to be of type *bool, got %T instead", value) } - sv.GenerateCandidateDefinitionsOnly = jtv + sv.GenerateCandidateDefinitionsOnly = ptr.Bool(jtv) } case "InputDataConfig": @@ -79218,7 +79218,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeDeviceOutput(v **DescribeDeviceOu if err != nil { return err } - sv.MaxModels = int32(i64) + sv.MaxModels = ptr.Int32(int32(i64)) } case "Models": @@ -79535,7 +79535,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc if err != nil { return err } - sv.EdgeDeploymentFailed = int32(i64) + sv.EdgeDeploymentFailed = ptr.Int32(int32(i64)) } case "EdgeDeploymentPending": @@ -79548,7 +79548,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc if err != nil { return err } - sv.EdgeDeploymentPending = int32(i64) + sv.EdgeDeploymentPending = ptr.Int32(int32(i64)) } case "EdgeDeploymentPlanArn": @@ -79579,7 +79579,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeEdgeDeploymentPlanOutput(v **Desc if err != nil { return err } - sv.EdgeDeploymentSuccess = int32(i64) + sv.EdgeDeploymentSuccess = ptr.Int32(int32(i64)) } case "LastModifiedTime": @@ -81308,7 +81308,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeImageVersionOutput(v **DescribeIm if !ok { return fmt.Errorf("expected Horovod to be of type *bool, got %T instead", value) } - sv.Horovod = jtv + sv.Horovod = ptr.Bool(jtv) } case "ImageArn": @@ -82266,7 +82266,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardExportJobOutput(v **Desc if err != nil { return err } - sv.ModelCardVersion = int32(i64) + sv.ModelCardVersion = ptr.Int32(int32(i64)) } case "OutputConfig": @@ -82411,7 +82411,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelCardOutput(v **DescribeModel if err != nil { return err } - sv.ModelCardVersion = int32(i64) + sv.ModelCardVersion = ptr.Int32(int32(i64)) } case "SecurityConfig": @@ -82591,7 +82591,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelOutput(v **DescribeModelOutp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "ExecutionRoleArn": @@ -82775,7 +82775,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeModelPackageOutput(v **DescribeMo if !ok { return fmt.Errorf("expected CertifyForMarketplace to be of type *bool, got %T instead", value) } - sv.CertifyForMarketplace = jtv + sv.CertifyForMarketplace = ptr.Bool(jtv) } case "CreatedBy": @@ -84577,7 +84577,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableInterContainerTrafficEncryption = jtv + sv.EnableInterContainerTrafficEncryption = ptr.Bool(jtv) } case "EnableManagedSpotTraining": @@ -84586,7 +84586,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableManagedSpotTraining = jtv + sv.EnableManagedSpotTraining = ptr.Bool(jtv) } case "EnableNetworkIsolation": @@ -84595,7 +84595,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeTrainingJobOutput(v **DescribeTra if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableNetworkIsolation = jtv + sv.EnableNetworkIsolation = ptr.Bool(jtv) } case "Environment": diff --git a/service/sagemaker/endpoints.go b/service/sagemaker/endpoints.go index ba979b9b502..a17fdd7ab70 100644 --- a/service/sagemaker/endpoints.go +++ b/service/sagemaker/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws" { uriString := func() string { var out strings.Builder out.WriteString("https://api-fips.sagemaker.") @@ -430,7 +430,7 @@ func (r *resolver) ResolveEndpoint( Headers: http.Header{}, }, nil } - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://api-fips.sagemaker.") diff --git a/service/sagemaker/serializers.go b/service/sagemaker/serializers.go index 19ccf92ebfe..2988a6b23a8 100644 --- a/service/sagemaker/serializers.go +++ b/service/sagemaker/serializers.go @@ -16915,9 +16915,9 @@ func awsAwsjson11_serializeDocumentAlgorithmSpecification(v *types.AlgorithmSpec } } - if v.EnableSageMakerMetricsTimeSeries { + if v.EnableSageMakerMetricsTimeSeries != nil { ok := object.Key("EnableSageMakerMetricsTimeSeries") - ok.Boolean(v.EnableSageMakerMetricsTimeSeries) + ok.Boolean(*v.EnableSageMakerMetricsTimeSeries) } if v.MetricDefinitions != nil { @@ -17585,9 +17585,9 @@ func awsAwsjson11_serializeDocumentAutoMLSecurityConfig(v *types.AutoMLSecurityC object := value.Object() defer object.Close() - if v.EnableInterContainerTrafficEncryption { + if v.EnableInterContainerTrafficEncryption != nil { ok := object.Key("EnableInterContainerTrafficEncryption") - ok.Boolean(v.EnableInterContainerTrafficEncryption) + ok.Boolean(*v.EnableInterContainerTrafficEncryption) } if v.VolumeKmsKeyId != nil { @@ -17670,9 +17670,9 @@ func awsAwsjson11_serializeDocumentBatchDataCaptureConfig(v *types.BatchDataCapt ok.String(*v.DestinationS3Uri) } - if v.GenerateInferenceId { + if v.GenerateInferenceId != nil { ok := object.Key("GenerateInferenceId") - ok.Boolean(v.GenerateInferenceId) + ok.Boolean(*v.GenerateInferenceId) } if v.KmsKeyId != nil { @@ -18099,9 +18099,9 @@ func awsAwsjson11_serializeDocumentChannelSpecification(v *types.ChannelSpecific ok.String(*v.Description) } - if v.IsRequired { + if v.IsRequired != nil { ok := object.Key("IsRequired") - ok.Boolean(v.IsRequired) + ok.Boolean(*v.IsRequired) } if v.Name != nil { @@ -18816,9 +18816,9 @@ func awsAwsjson11_serializeDocumentDataCaptureConfig(v *types.DataCaptureConfig, ok.String(*v.DestinationS3Uri) } - if v.EnableCapture { + if v.EnableCapture != nil { ok := object.Key("EnableCapture") - ok.Boolean(v.EnableCapture) + ok.Boolean(*v.EnableCapture) } if v.InitialSamplingPercentage != nil { @@ -19092,9 +19092,9 @@ func awsAwsjson11_serializeDocumentDebugRuleConfiguration(v *types.DebugRuleConf ok.String(*v.S3OutputPath) } - if v.VolumeSizeInGB != 0 { + if v.VolumeSizeInGB != nil { ok := object.Key("VolumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil @@ -19335,9 +19335,9 @@ func awsAwsjson11_serializeDocumentDeviceSelectionConfig(v *types.DeviceSelectio ok.String(string(v.DeviceSubsetType)) } - if v.Percentage != 0 { + if v.Percentage != nil { ok := object.Key("Percentage") - ok.Integer(v.Percentage) + ok.Integer(*v.Percentage) } return nil @@ -20471,14 +20471,14 @@ func awsAwsjson11_serializeDocumentHyperParameterSpecification(v *types.HyperPar ok.String(*v.Description) } - if v.IsRequired { + if v.IsRequired != nil { ok := object.Key("IsRequired") - ok.Boolean(v.IsRequired) + ok.Boolean(*v.IsRequired) } - if v.IsTunable { + if v.IsTunable != nil { ok := object.Key("IsTunable") - ok.Boolean(v.IsTunable) + ok.Boolean(*v.IsTunable) } if v.Name != nil { @@ -20537,19 +20537,19 @@ func awsAwsjson11_serializeDocumentHyperParameterTrainingJobDefinition(v *types. ok.String(*v.DefinitionName) } - if v.EnableInterContainerTrafficEncryption { + if v.EnableInterContainerTrafficEncryption != nil { ok := object.Key("EnableInterContainerTrafficEncryption") - ok.Boolean(v.EnableInterContainerTrafficEncryption) + ok.Boolean(*v.EnableInterContainerTrafficEncryption) } - if v.EnableManagedSpotTraining { + if v.EnableManagedSpotTraining != nil { ok := object.Key("EnableManagedSpotTraining") - ok.Boolean(v.EnableManagedSpotTraining) + ok.Boolean(*v.EnableManagedSpotTraining) } - if v.EnableNetworkIsolation { + if v.EnableNetworkIsolation != nil { ok := object.Key("EnableNetworkIsolation") - ok.Boolean(v.EnableNetworkIsolation) + ok.Boolean(*v.EnableNetworkIsolation) } if v.Environment != nil { @@ -20665,9 +20665,9 @@ func awsAwsjson11_serializeDocumentHyperParameterTuningInstanceConfig(v *types.H object := value.Object() defer object.Close() - { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if len(v.InstanceType) > 0 { @@ -20675,9 +20675,9 @@ func awsAwsjson11_serializeDocumentHyperParameterTuningInstanceConfig(v *types.H ok.String(string(v.InstanceType)) } - { + if v.VolumeSizeInGB != nil { ok := object.Key("VolumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil @@ -20832,9 +20832,9 @@ func awsAwsjson11_serializeDocumentHyperParameterTuningResourceConfig(v *types.H } } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if len(v.InstanceType) > 0 { @@ -20847,9 +20847,9 @@ func awsAwsjson11_serializeDocumentHyperParameterTuningResourceConfig(v *types.H ok.String(*v.VolumeKmsKeyId) } - if v.VolumeSizeInGB != 0 { + if v.VolumeSizeInGB != nil { ok := object.Key("VolumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil @@ -21084,9 +21084,9 @@ func awsAwsjson11_serializeDocumentInstanceGroup(v *types.InstanceGroup, value s object := value.Object() defer object.Close() - { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if v.InstanceGroupName != nil { @@ -21795,9 +21795,9 @@ func awsAwsjson11_serializeDocumentModelDeployConfig(v *types.ModelDeployConfig, object := value.Object() defer object.Close() - if v.AutoGenerateEndpointName { + if v.AutoGenerateEndpointName != nil { ok := object.Key("AutoGenerateEndpointName") - ok.Boolean(v.AutoGenerateEndpointName) + ok.Boolean(*v.AutoGenerateEndpointName) } if v.EndpointName != nil { @@ -21912,9 +21912,9 @@ func awsAwsjson11_serializeDocumentModelLatencyThreshold(v *types.ModelLatencyTh ok.String(*v.Percentile) } - if v.ValueInMilliseconds != 0 { + if v.ValueInMilliseconds != nil { ok := object.Key("ValueInMilliseconds") - ok.Integer(v.ValueInMilliseconds) + ok.Integer(*v.ValueInMilliseconds) } return nil @@ -22452,9 +22452,9 @@ func awsAwsjson11_serializeDocumentMonitoringCsvDatasetFormat(v *types.Monitorin object := value.Object() defer object.Close() - if v.Header { + if v.Header != nil { ok := object.Key("Header") - ok.Boolean(v.Header) + ok.Boolean(*v.Header) } return nil @@ -22617,9 +22617,9 @@ func awsAwsjson11_serializeDocumentMonitoringJsonDatasetFormat(v *types.Monitori object := value.Object() defer object.Close() - if v.Line { + if v.Line != nil { ok := object.Key("Line") - ok.Boolean(v.Line) + ok.Boolean(*v.Line) } return nil @@ -22629,14 +22629,14 @@ func awsAwsjson11_serializeDocumentMonitoringNetworkConfig(v *types.MonitoringNe object := value.Object() defer object.Close() - if v.EnableInterContainerTrafficEncryption { + if v.EnableInterContainerTrafficEncryption != nil { ok := object.Key("EnableInterContainerTrafficEncryption") - ok.Boolean(v.EnableInterContainerTrafficEncryption) + ok.Boolean(*v.EnableInterContainerTrafficEncryption) } - if v.EnableNetworkIsolation { + if v.EnableNetworkIsolation != nil { ok := object.Key("EnableNetworkIsolation") - ok.Boolean(v.EnableNetworkIsolation) + ok.Boolean(*v.EnableNetworkIsolation) } if v.VpcConfig != nil { @@ -22785,9 +22785,9 @@ func awsAwsjson11_serializeDocumentMonitoringStoppingCondition(v *types.Monitori object := value.Object() defer object.Close() - { + if v.MaxRuntimeInSeconds != nil { ok := object.Key("MaxRuntimeInSeconds") - ok.Integer(v.MaxRuntimeInSeconds) + ok.Integer(*v.MaxRuntimeInSeconds) } return nil @@ -22884,14 +22884,14 @@ func awsAwsjson11_serializeDocumentNetworkConfig(v *types.NetworkConfig, value s object := value.Object() defer object.Close() - if v.EnableInterContainerTrafficEncryption { + if v.EnableInterContainerTrafficEncryption != nil { ok := object.Key("EnableInterContainerTrafficEncryption") - ok.Boolean(v.EnableInterContainerTrafficEncryption) + ok.Boolean(*v.EnableInterContainerTrafficEncryption) } - if v.EnableNetworkIsolation { + if v.EnableNetworkIsolation != nil { ok := object.Key("EnableNetworkIsolation") - ok.Boolean(v.EnableNetworkIsolation) + ok.Boolean(*v.EnableNetworkIsolation) } if v.VpcConfig != nil { @@ -22963,9 +22963,9 @@ func awsAwsjson11_serializeDocumentOfflineStoreConfig(v *types.OfflineStoreConfi } } - if v.DisableGlueTableCreation { + if v.DisableGlueTableCreation != nil { ok := object.Key("DisableGlueTableCreation") - ok.Boolean(v.DisableGlueTableCreation) + ok.Boolean(*v.DisableGlueTableCreation) } if v.S3StorageConfig != nil { @@ -23048,9 +23048,9 @@ func awsAwsjson11_serializeDocumentOnlineStoreConfig(v *types.OnlineStoreConfig, object := value.Object() defer object.Close() - if v.EnableOnlineStore { + if v.EnableOnlineStore != nil { ok := object.Key("EnableOnlineStore") - ok.Boolean(v.EnableOnlineStore) + ok.Boolean(*v.EnableOnlineStore) } if v.SecurityConfig != nil { @@ -23191,9 +23191,9 @@ func awsAwsjson11_serializeDocumentParallelismConfiguration(v *types.Parallelism object := value.Object() defer object.Close() - { + if v.MaxParallelExecutionSteps != nil { ok := object.Key("MaxParallelExecutionSteps") - ok.Integer(v.MaxParallelExecutionSteps) + ok.Integer(*v.MaxParallelExecutionSteps) } return nil @@ -23439,9 +23439,9 @@ func awsAwsjson11_serializeDocumentProcessingInput(v *types.ProcessingInput, val object := value.Object() defer object.Close() - if v.AppManaged { + if v.AppManaged != nil { ok := object.Key("AppManaged") - ok.Boolean(v.AppManaged) + ok.Boolean(*v.AppManaged) } if v.DatasetDefinition != nil { @@ -23483,9 +23483,9 @@ func awsAwsjson11_serializeDocumentProcessingOutput(v *types.ProcessingOutput, v object := value.Object() defer object.Close() - if v.AppManaged { + if v.AppManaged != nil { ok := object.Key("AppManaged") - ok.Boolean(v.AppManaged) + ok.Boolean(*v.AppManaged) } if v.FeatureStoreOutput != nil { @@ -23619,9 +23619,9 @@ func awsAwsjson11_serializeDocumentProcessingStoppingCondition(v *types.Processi object := value.Object() defer object.Close() - { + if v.MaxRuntimeInSeconds != nil { ok := object.Key("MaxRuntimeInSeconds") - ok.Integer(v.MaxRuntimeInSeconds) + ok.Integer(*v.MaxRuntimeInSeconds) } return nil @@ -23784,9 +23784,9 @@ func awsAwsjson11_serializeDocumentProfilerConfig(v *types.ProfilerConfig, value object := value.Object() defer object.Close() - if v.DisableProfiler { + if v.DisableProfiler != nil { ok := object.Key("DisableProfiler") - ok.Boolean(v.DisableProfiler) + ok.Boolean(*v.DisableProfiler) } if v.ProfilingIntervalInMilliseconds != nil { @@ -23813,9 +23813,9 @@ func awsAwsjson11_serializeDocumentProfilerConfigForUpdate(v *types.ProfilerConf object := value.Object() defer object.Close() - if v.DisableProfiler { + if v.DisableProfiler != nil { ok := object.Key("DisableProfiler") - ok.Boolean(v.DisableProfiler) + ok.Boolean(*v.DisableProfiler) } if v.ProfilingIntervalInMilliseconds != nil { @@ -23874,9 +23874,9 @@ func awsAwsjson11_serializeDocumentProfilerRuleConfiguration(v *types.ProfilerRu ok.String(*v.S3OutputPath) } - if v.VolumeSizeInGB != 0 { + if v.VolumeSizeInGB != nil { ok := object.Key("VolumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil @@ -24290,9 +24290,9 @@ func awsAwsjson11_serializeDocumentRecommendationJobStoppingConditions(v *types. ok.String(string(v.FlatInvocations)) } - if v.MaxInvocations != 0 { + if v.MaxInvocations != nil { ok := object.Key("MaxInvocations") - ok.Integer(v.MaxInvocations) + ok.Integer(*v.MaxInvocations) } if v.ModelLatencyThresholds != nil { @@ -24461,9 +24461,9 @@ func awsAwsjson11_serializeDocumentResourceConfig(v *types.ResourceConfig, value object := value.Object() defer object.Close() - if v.InstanceCount != 0 { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if v.InstanceGroups != nil { @@ -24488,9 +24488,9 @@ func awsAwsjson11_serializeDocumentResourceConfig(v *types.ResourceConfig, value ok.String(*v.VolumeKmsKeyId) } - { + if v.VolumeSizeInGB != nil { ok := object.Key("VolumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil @@ -24517,9 +24517,9 @@ func awsAwsjson11_serializeDocumentResourceLimits(v *types.ResourceLimits, value ok.Integer(*v.MaxNumberOfTrainingJobs) } - { + if v.MaxParallelTrainingJobs != nil { ok := object.Key("MaxParallelTrainingJobs") - ok.Integer(v.MaxParallelTrainingJobs) + ok.Integer(*v.MaxParallelTrainingJobs) } if v.MaxRuntimeInSeconds != nil { @@ -24584,9 +24584,9 @@ func awsAwsjson11_serializeDocumentRetryStrategy(v *types.RetryStrategy, value s object := value.Object() defer object.Close() - { + if v.MaximumRetryAttempts != nil { ok := object.Key("MaximumRetryAttempts") - ok.Integer(v.MaximumRetryAttempts) + ok.Integer(*v.MaximumRetryAttempts) } return nil @@ -24825,14 +24825,14 @@ func awsAwsjson11_serializeDocumentScalingPolicyObjective(v *types.ScalingPolicy object := value.Object() defer object.Close() - if v.MaxInvocationsPerMinute != 0 { + if v.MaxInvocationsPerMinute != nil { ok := object.Key("MaxInvocationsPerMinute") - ok.Integer(v.MaxInvocationsPerMinute) + ok.Integer(*v.MaxInvocationsPerMinute) } - if v.MinInvocationsPerMinute != 0 { + if v.MinInvocationsPerMinute != nil { ok := object.Key("MinInvocationsPerMinute") - ok.Integer(v.MinInvocationsPerMinute) + ok.Integer(*v.MinInvocationsPerMinute) } return nil @@ -25032,9 +25032,9 @@ func awsAwsjson11_serializeDocumentShadowModelVariantConfig(v *types.ShadowModel object := value.Object() defer object.Close() - { + if v.SamplingPercentage != nil { ok := object.Key("SamplingPercentage") - ok.Integer(v.SamplingPercentage) + ok.Integer(*v.SamplingPercentage) } if v.ShadowModelVariantName != nil { @@ -25084,9 +25084,9 @@ func awsAwsjson11_serializeDocumentShuffleConfig(v *types.ShuffleConfig, value s object := value.Object() defer object.Close() - { + if v.Seed != nil { ok := object.Key("Seed") - ok.Long(v.Seed) + ok.Long(*v.Seed) } return nil @@ -25197,9 +25197,9 @@ func awsAwsjson11_serializeDocumentStoppingCondition(v *types.StoppingCondition, object := value.Object() defer object.Close() - if v.MaxRuntimeInSeconds != 0 { + if v.MaxRuntimeInSeconds != nil { ok := object.Key("MaxRuntimeInSeconds") - ok.Integer(v.MaxRuntimeInSeconds) + ok.Integer(*v.MaxRuntimeInSeconds) } if v.MaxWaitTimeInSeconds != nil { @@ -25258,9 +25258,9 @@ func awsAwsjson11_serializeDocumentTabularJobConfig(v *types.TabularJobConfig, v ok.String(*v.FeatureSpecificationS3Uri) } - if v.GenerateCandidateDefinitionsOnly { + if v.GenerateCandidateDefinitionsOnly != nil { ok := object.Key("GenerateCandidateDefinitionsOnly") - ok.Boolean(v.GenerateCandidateDefinitionsOnly) + ok.Boolean(*v.GenerateCandidateDefinitionsOnly) } if len(v.Mode) > 0 { @@ -25757,9 +25757,9 @@ func awsAwsjson11_serializeDocumentTrainingSpecification(v *types.TrainingSpecif } } - if v.SupportsDistributedTraining { + if v.SupportsDistributedTraining != nil { ok := object.Key("SupportsDistributedTraining") - ok.Boolean(v.SupportsDistributedTraining) + ok.Boolean(*v.SupportsDistributedTraining) } if v.TrainingChannels != nil { @@ -26149,19 +26149,19 @@ func awsAwsjson11_serializeDocumentUSD(v *types.USD, value smithyjson.Value) err object := value.Object() defer object.Close() - if v.Cents != 0 { + if v.Cents != nil { ok := object.Key("Cents") - ok.Integer(v.Cents) + ok.Integer(*v.Cents) } - if v.Dollars != 0 { + if v.Dollars != nil { ok := object.Key("Dollars") - ok.Integer(v.Dollars) + ok.Integer(*v.Dollars) } - if v.TenthFractionsOfACent != 0 { + if v.TenthFractionsOfACent != nil { ok := object.Key("TenthFractionsOfACent") - ok.Integer(v.TenthFractionsOfACent) + ok.Integer(*v.TenthFractionsOfACent) } return nil @@ -26510,9 +26510,9 @@ func awsAwsjson11_serializeOpDocumentCreateAlgorithmInput(v *CreateAlgorithmInpu ok.String(*v.AlgorithmName) } - if v.CertifyForMarketplace { + if v.CertifyForMarketplace != nil { ok := object.Key("CertifyForMarketplace") - ok.Boolean(v.CertifyForMarketplace) + ok.Boolean(*v.CertifyForMarketplace) } if v.InferenceSpecification != nil { @@ -26686,9 +26686,9 @@ func awsAwsjson11_serializeOpDocumentCreateAutoMLJobInput(v *CreateAutoMLJobInpu } } - if v.GenerateCandidateDefinitionsOnly { + if v.GenerateCandidateDefinitionsOnly != nil { ok := object.Key("GenerateCandidateDefinitionsOnly") - ok.Boolean(v.GenerateCandidateDefinitionsOnly) + ok.Boolean(*v.GenerateCandidateDefinitionsOnly) } if v.InputDataConfig != nil { @@ -27639,9 +27639,9 @@ func awsAwsjson11_serializeOpDocumentCreateImageVersionInput(v *CreateImageVersi ok.String(*v.ClientToken) } - if v.Horovod { + if v.Horovod != nil { ok := object.Key("Horovod") - ok.Boolean(v.Horovod) + ok.Boolean(*v.Horovod) } if v.ImageName != nil { @@ -27965,9 +27965,9 @@ func awsAwsjson11_serializeOpDocumentCreateModelCardExportJobInput(v *CreateMode ok.String(*v.ModelCardName) } - if v.ModelCardVersion != 0 { + if v.ModelCardVersion != nil { ok := object.Key("ModelCardVersion") - ok.Integer(v.ModelCardVersion) + ok.Integer(*v.ModelCardVersion) } if v.OutputConfig != nil { @@ -28100,9 +28100,9 @@ func awsAwsjson11_serializeOpDocumentCreateModelInput(v *CreateModelInput, value } } - if v.EnableNetworkIsolation { + if v.EnableNetworkIsolation != nil { ok := object.Key("EnableNetworkIsolation") - ok.Boolean(v.EnableNetworkIsolation) + ok.Boolean(*v.EnableNetworkIsolation) } if v.ExecutionRoleArn != nil { @@ -28181,9 +28181,9 @@ func awsAwsjson11_serializeOpDocumentCreateModelPackageInput(v *CreateModelPacka } } - if v.CertifyForMarketplace { + if v.CertifyForMarketplace != nil { ok := object.Key("CertifyForMarketplace") - ok.Boolean(v.CertifyForMarketplace) + ok.Boolean(*v.CertifyForMarketplace) } if v.ClientToken != nil { @@ -28822,19 +28822,19 @@ func awsAwsjson11_serializeOpDocumentCreateTrainingJobInput(v *CreateTrainingJob } } - if v.EnableInterContainerTrafficEncryption { + if v.EnableInterContainerTrafficEncryption != nil { ok := object.Key("EnableInterContainerTrafficEncryption") - ok.Boolean(v.EnableInterContainerTrafficEncryption) + ok.Boolean(*v.EnableInterContainerTrafficEncryption) } - if v.EnableManagedSpotTraining { + if v.EnableManagedSpotTraining != nil { ok := object.Key("EnableManagedSpotTraining") - ok.Boolean(v.EnableManagedSpotTraining) + ok.Boolean(*v.EnableManagedSpotTraining) } - if v.EnableNetworkIsolation { + if v.EnableNetworkIsolation != nil { ok := object.Key("EnableNetworkIsolation") - ok.Boolean(v.EnableNetworkIsolation) + ok.Boolean(*v.EnableNetworkIsolation) } if v.Environment != nil { @@ -30129,9 +30129,9 @@ func awsAwsjson11_serializeOpDocumentDescribeEdgeDeploymentPlanInput(v *Describe ok.String(*v.EdgeDeploymentPlanName) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -30414,9 +30414,9 @@ func awsAwsjson11_serializeOpDocumentDescribeModelCardInput(v *DescribeModelCard ok.String(*v.ModelCardName) } - if v.ModelCardVersion != 0 { + if v.ModelCardVersion != nil { ok := object.Key("ModelCardVersion") - ok.Integer(v.ModelCardVersion) + ok.Integer(*v.ModelCardVersion) } return nil @@ -32709,9 +32709,9 @@ func awsAwsjson11_serializeOpDocumentListModelCardExportJobsInput(v *ListModelCa ok.String(*v.ModelCardName) } - if v.ModelCardVersion != 0 { + if v.ModelCardVersion != nil { ok := object.Key("ModelCardVersion") - ok.Integer(v.ModelCardVersion) + ok.Integer(*v.ModelCardVersion) } if v.NextToken != nil { @@ -33762,9 +33762,9 @@ func awsAwsjson11_serializeOpDocumentListStageDevicesInput(v *ListStageDevicesIn ok.String(*v.EdgeDeploymentPlanName) } - if v.ExcludeDevicesDeployedInOtherStage { + if v.ExcludeDevicesDeployedInOtherStage != nil { ok := object.Key("ExcludeDevicesDeployedInOtherStage") - ok.Boolean(v.ExcludeDevicesDeployedInOtherStage) + ok.Boolean(*v.ExcludeDevicesDeployedInOtherStage) } if v.MaxResults != nil { @@ -34275,9 +34275,9 @@ func awsAwsjson11_serializeOpDocumentQueryLineageInput(v *QueryLineageInput, val } } - if v.IncludeEdges { + if v.IncludeEdges != nil { ok := object.Key("IncludeEdges") - ok.Boolean(v.IncludeEdges) + ok.Boolean(*v.IncludeEdges) } if v.MaxDepth != nil { @@ -35034,14 +35034,14 @@ func awsAwsjson11_serializeOpDocumentUpdateEndpointInput(v *UpdateEndpointInput, } } - if v.RetainAllVariantProperties { + if v.RetainAllVariantProperties != nil { ok := object.Key("RetainAllVariantProperties") - ok.Boolean(v.RetainAllVariantProperties) + ok.Boolean(*v.RetainAllVariantProperties) } - if v.RetainDeploymentConfig { + if v.RetainDeploymentConfig != nil { ok := object.Key("RetainDeploymentConfig") - ok.Boolean(v.RetainDeploymentConfig) + ok.Boolean(*v.RetainDeploymentConfig) } return nil @@ -35236,9 +35236,9 @@ func awsAwsjson11_serializeOpDocumentUpdateImageVersionInput(v *UpdateImageVersi } } - if v.Horovod { + if v.Horovod != nil { ok := object.Key("Horovod") - ok.Boolean(v.Horovod) + ok.Boolean(*v.Horovod) } if v.ImageName != nil { @@ -35463,24 +35463,24 @@ func awsAwsjson11_serializeOpDocumentUpdateNotebookInstanceInput(v *UpdateNotebo ok.String(*v.DefaultCodeRepository) } - if v.DisassociateAcceleratorTypes { + if v.DisassociateAcceleratorTypes != nil { ok := object.Key("DisassociateAcceleratorTypes") - ok.Boolean(v.DisassociateAcceleratorTypes) + ok.Boolean(*v.DisassociateAcceleratorTypes) } - if v.DisassociateAdditionalCodeRepositories { + if v.DisassociateAdditionalCodeRepositories != nil { ok := object.Key("DisassociateAdditionalCodeRepositories") - ok.Boolean(v.DisassociateAdditionalCodeRepositories) + ok.Boolean(*v.DisassociateAdditionalCodeRepositories) } - if v.DisassociateDefaultCodeRepository { + if v.DisassociateDefaultCodeRepository != nil { ok := object.Key("DisassociateDefaultCodeRepository") - ok.Boolean(v.DisassociateDefaultCodeRepository) + ok.Boolean(*v.DisassociateDefaultCodeRepository) } - if v.DisassociateLifecycleConfig { + if v.DisassociateLifecycleConfig != nil { ok := object.Key("DisassociateLifecycleConfig") - ok.Boolean(v.DisassociateLifecycleConfig) + ok.Boolean(*v.DisassociateLifecycleConfig) } if v.InstanceMetadataServiceConfiguration != nil { diff --git a/service/sagemaker/types/types.go b/service/sagemaker/types/types.go index 4cc02527761..b02797d5402 100644 --- a/service/sagemaker/types/types.go +++ b/service/sagemaker/types/types.go @@ -119,7 +119,7 @@ type AgentVersion struct { // The number of Edge Manager agents. // // This member is required. - AgentCount int64 + AgentCount *int64 // Version of the agent. // @@ -205,7 +205,7 @@ type AlgorithmSpecification struct { // - MXNet (version >= 1.6) // - PyTorch (version >= 1.3) // - You specify at least one MetricDefinition (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_MetricDefinition.html) - EnableSageMakerMetricsTimeSeries bool + EnableSageMakerMetricsTimeSeries *bool // A list of metric definition objects. Each object specifies the metric name and // regular expressions used to parse algorithm logs. SageMaker publishes each @@ -1694,7 +1694,7 @@ type AutoMLS3DataSource struct { type AutoMLSecurityConfig struct { // Whether to use traffic encryption between the container layers. - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // The key used to encrypt stored data. VolumeKmsKeyId *string @@ -1775,7 +1775,7 @@ type BatchDataCaptureConfig struct { DestinationS3Uri *string // Flag that indicates whether to append inference id to the output. - GenerateInferenceId bool + GenerateInferenceId *bool // The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service // key that SageMaker uses to encrypt data on the storage volume attached to the ML @@ -2244,7 +2244,7 @@ type ChannelSpecification struct { Description *string // Indicates whether the channel is required by the algorithm. - IsRequired bool + IsRequired *bool // The allowed compression types, if data compression is used. SupportedCompressionTypes []CompressionType @@ -2295,12 +2295,12 @@ type ClarifyCheckStepMetadata struct { // BaselineUsedForDriftCheckStatistics . If it is set to False , the previous // baseline of the configured check type must also be available. These can be // accessed through the BaselineUsedForDriftCheckConstraints property. - RegisterNewBaseline bool + RegisterNewBaseline *bool // This flag indicates if the drift check against the previous baseline will be // skipped or not. If it is set to False , the previous baseline of the configured // check type must be available. - SkipCheck bool + SkipCheck *bool // The Amazon S3 URI of the violation report if violations are detected. ViolationReport *string @@ -2944,7 +2944,7 @@ type DataCaptureConfig struct { CaptureContentTypeHeader *CaptureContentTypeHeader // Whether data capture should be enabled or disabled (defaults to enabled). - EnableCapture bool + EnableCapture *bool // The Amazon Resource Name (ARN) of an Key Management Service key that SageMaker // uses to encrypt the captured data at rest using Amazon S3 server-side @@ -2980,7 +2980,7 @@ type DataCaptureConfigSummary struct { // Whether data capture is enabled or disabled. // // This member is required. - EnableCapture bool + EnableCapture *bool // The KMS key being used to encrypt the data in Amazon S3. // @@ -3223,7 +3223,7 @@ type DebugRuleConfiguration struct { S3OutputPath *string // The size, in GB, of the ML storage volume attached to the processing instance. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 noSmithyDocumentSerde } @@ -3514,7 +3514,7 @@ type DeviceSelectionConfig struct { DeviceNames []string // Percentage of devices in the fleet to deploy to the current stage. - Percentage int32 + Percentage *int32 noSmithyDocumentSerde } @@ -3525,12 +3525,12 @@ type DeviceStats struct { // The number of devices connected with a heartbeat. // // This member is required. - ConnectedDeviceCount int64 + ConnectedDeviceCount *int64 // The number of registered devices. // // This member is required. - RegisteredDeviceCount int64 + RegisteredDeviceCount *int64 noSmithyDocumentSerde } @@ -3737,16 +3737,16 @@ type DriftCheckModelQuality struct { type DynamicScalingConfiguration struct { // The recommended maximum capacity to specify for your autoscaling policy. - MaxCapacity int32 + MaxCapacity *int32 // The recommended minimum capacity to specify for your autoscaling policy. - MinCapacity int32 + MinCapacity *int32 // The recommended scale in cooldown time for your autoscaling policy. - ScaleInCooldown int32 + ScaleInCooldown *int32 // The recommended scale out cooldown time for your autoscaling policy. - ScaleOutCooldown int32 + ScaleOutCooldown *int32 // An object of the scaling policies for each metric. ScalingPolicies []ScalingPolicy @@ -3812,12 +3812,12 @@ type EdgeDeploymentPlanSummary struct { // The number of edge devices that failed the deployment. // // This member is required. - EdgeDeploymentFailed int32 + EdgeDeploymentFailed *int32 // The number of edge devices yet to pick up the deployment, or in progress. // // This member is required. - EdgeDeploymentPending int32 + EdgeDeploymentPending *int32 // The ARN of the edge deployment plan. // @@ -3832,7 +3832,7 @@ type EdgeDeploymentPlanSummary struct { // The number of edge devices with the successful deployment. // // This member is required. - EdgeDeploymentSuccess int32 + EdgeDeploymentSuccess *int32 // The time when the edge deployment plan was created. CreationTime *time.Time @@ -3849,18 +3849,18 @@ type EdgeDeploymentStatus struct { // The number of edge devices that failed the deployment in current stage. // // This member is required. - EdgeDeploymentFailedInStage int32 + EdgeDeploymentFailedInStage *int32 // The number of edge devices yet to pick up the deployment in current stage, or // in progress. // // This member is required. - EdgeDeploymentPendingInStage int32 + EdgeDeploymentPendingInStage *int32 // The number of edge devices with the successful deployment in the current stage. // // This member is required. - EdgeDeploymentSuccessInStage int32 + EdgeDeploymentSuccessInStage *int32 // The general status of the current stage. // @@ -3905,12 +3905,12 @@ type EdgeModelStat struct { // currently running. // // This member is required. - ActiveDeviceCount int64 + ActiveDeviceCount *int64 // The number of devices that have this model version and have a heart beat. // // This member is required. - ConnectedDeviceCount int64 + ConnectedDeviceCount *int64 // The name of the model. // @@ -3925,12 +3925,12 @@ type EdgeModelStat struct { // The number of devices that have this model version and do not have a heart beat. // // This member is required. - OfflineDeviceCount int64 + OfflineDeviceCount *int64 // The number of devices with this model version and are producing sample data. // // This member is required. - SamplingDeviceCount int64 + SamplingDeviceCount *int64 noSmithyDocumentSerde } @@ -4846,7 +4846,7 @@ type FinalAutoMLJobObjectiveMetric struct { // The value of the metric with the best result. // // This member is required. - Value float32 + Value *float32 // The name of the standard metric. For a description of the standard metrics, see // Autopilot candidate metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-metrics-validation.html#autopilot-metrics) @@ -4877,7 +4877,7 @@ type FinalHyperParameterTuningJobObjectiveMetric struct { // The value of the objective metric. // // This member is required. - Value float32 + Value *float32 // Select if you want to minimize or maximize the objective metric during // hyperparameter tuning. @@ -6002,10 +6002,10 @@ type HyperParameterSpecification struct { Description *string // Indicates whether this hyperparameter is required. - IsRequired bool + IsRequired *bool // Indicates whether this hyperparameter is tunable in a hyperparameter tuning job. - IsTunable bool + IsTunable *bool // The allowed range for this hyperparameter. Range *ParameterRange @@ -6055,11 +6055,11 @@ type HyperParameterTrainingJobDefinition struct { // training, but training might take longer. How long it takes depends on the // amount of communication between compute instances, especially if you use a deep // learning algorithm in distributed training. - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // A Boolean indicating whether managed spot training is enabled ( True ) or not ( // False ). - EnableManagedSpotTraining bool + EnableManagedSpotTraining *bool // Isolates the training container. No inbound or outbound network calls can be // made, except for calls between peers within a training cluster for distributed @@ -6067,7 +6067,7 @@ type HyperParameterTrainingJobDefinition struct { // use a VPC, SageMaker downloads and uploads customer data and model artifacts // through the specified VPC, but the training container does not have network // access. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // An environment variable that you can pass into the SageMaker CreateTrainingJob (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html) // API. You can use an existing environment variable from the training container (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html#sagemaker-CreateTrainingJob-request-Environment) @@ -6215,7 +6215,7 @@ type HyperParameterTuningInstanceConfig struct { // for more information. // // This member is required. - InstanceCount int32 + InstanceCount *int32 // The instance type used for processing of hyperparameter optimization jobs. // Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, @@ -6231,7 +6231,7 @@ type HyperParameterTuningInstanceConfig struct { // optimization (optional). // // This member is required. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 noSmithyDocumentSerde } @@ -6248,7 +6248,7 @@ type HyperParameterTuningJobCompletionDetails struct { // The number of training jobs launched by a tuning job that are not improving (1% // or less) as measured by model performance evaluated against an objective // function. - NumberOfTrainingJobsObjectiveNotImproving int32 + NumberOfTrainingJobsObjectiveNotImproving *int32 noSmithyDocumentSerde } @@ -6315,7 +6315,7 @@ type HyperParameterTuningJobConfig struct { type HyperParameterTuningJobConsumedResources struct { // The wall clock runtime in seconds used by your hyperparameter tuning job. - RuntimeInSeconds int32 + RuntimeInSeconds *int32 noSmithyDocumentSerde } @@ -6567,7 +6567,7 @@ type HyperParameterTuningResourceConfig struct { // The number of compute instances of type InstanceType to use. For distributed // training (https://docs.aws.amazon.com/sagemaker/latest/dg/data-parallel-use-api.html) // , select a value greater than 1. - InstanceCount int32 + InstanceCount *int32 // The instance type used to run hyperparameter optimization tuning jobs. See // descriptions of instance types (https://docs.aws.amazon.com/sagemaker/latest/dg/notebooks-available-instance-types.html) @@ -6598,7 +6598,7 @@ type HyperParameterTuningResourceConfig struct { // instance storage and their sizes, see instance store volumes (http://aws.amazon.com/releasenotes/host-instance-storage-volumes-table/) // . SageMaker supports only the General Purpose SSD (gp2) (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volume-types.html) // storage volume type. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 noSmithyDocumentSerde } @@ -6855,12 +6855,12 @@ type InferenceMetrics struct { // The expected maximum number of requests per minute for the instance. // // This member is required. - MaxInvocations int32 + MaxInvocations *int32 // The expected model latency at maximum invocations per minute for the instance. // // This member is required. - ModelLatency int32 + ModelLatency *int32 noSmithyDocumentSerde } @@ -7157,7 +7157,7 @@ type InstanceGroup struct { // Specifies the number of instances of the instance group. // // This member is required. - InstanceCount int32 + InstanceCount *int32 // Specifies the name of the instance group. // @@ -7324,19 +7324,19 @@ type KernelSpec struct { type LabelCounters struct { // The total number of objects that could not be labeled due to an error. - FailedNonRetryableError int32 + FailedNonRetryableError *int32 // The total number of objects labeled by a human worker. - HumanLabeled int32 + HumanLabeled *int32 // The total number of objects labeled by automated data labeling. - MachineLabeled int32 + MachineLabeled *int32 // The total number of objects labeled. - TotalLabeled int32 + TotalLabeled *int32 // The total number of objects not yet labeled. - Unlabeled int32 + Unlabeled *int32 noSmithyDocumentSerde } @@ -7345,13 +7345,13 @@ type LabelCounters struct { type LabelCountersForWorkteam struct { // The total number of data objects labeled by a human worker. - HumanLabeled int32 + HumanLabeled *int32 // The total number of data objects that need to be labeled by a human worker. - PendingHuman int32 + PendingHuman *int32 // The total number of tasks in the labeling job. - Total int32 + Total *int32 noSmithyDocumentSerde } @@ -7751,7 +7751,7 @@ type MetricData struct { Timestamp *time.Time // The value of the metric. - Value float32 + Value *float32 noSmithyDocumentSerde } @@ -7771,7 +7771,7 @@ type MetricDatum struct { StandardMetricName AutoMLMetricExtendedEnum // The value of the metric. - Value float32 + Value *float32 noSmithyDocumentSerde } @@ -7863,7 +7863,7 @@ type Model struct { // Isolates the model container. No inbound or outbound network calls can be made // to or from the model container. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // The Amazon Resource Name (ARN) of the IAM role that you specified for the model. ExecutionRoleArn *string @@ -7998,7 +7998,7 @@ type ModelCard struct { ModelCardStatus ModelCardStatus // The version of the model card. - ModelCardVersion int32 + ModelCardVersion *int32 // The unique name (ID) of the model. ModelId *string @@ -8063,7 +8063,7 @@ type ModelCardExportJobSummary struct { // The version of the model card that the export job exports. // // This member is required. - ModelCardVersion int32 + ModelCardVersion *int32 // The completion status of the model card export job. // @@ -8162,7 +8162,7 @@ type ModelCardVersionSummary struct { // A version of the model card. // // This member is required. - ModelCardVersion int32 + ModelCardVersion *int32 // The time date and time that the model card version was last modified. LastModifiedTime *time.Time @@ -8238,7 +8238,7 @@ type ModelDashboardEndpoint struct { type ModelDashboardIndicatorAction struct { // Indicates whether the alert action is turned on. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8293,7 +8293,7 @@ type ModelDashboardModelCard struct { ModelCardStatus ModelCardStatus // The model card version. - ModelCardVersion int32 + ModelCardVersion *int32 // For models created in SageMaker, this is the model ARN. For models created // outside of SageMaker, this is a user-customized string. @@ -8383,7 +8383,7 @@ type ModelDeployConfig struct { // Autopilot model deployment; set to False otherwise. The default value is False . // If you set AutoGenerateEndpointName to True , do not specify the EndpointName ; // otherwise a 400 error is thrown. - AutoGenerateEndpointName bool + AutoGenerateEndpointName *bool // Specifies the endpoint name to use for a one-click Autopilot model deployment // if the endpoint name is not generated automatically. Specify the EndpointName @@ -8496,7 +8496,7 @@ type ModelLatencyThreshold struct { Percentile *string // The model latency percentile value in milliseconds. - ValueInMilliseconds int32 + ValueInMilliseconds *int32 noSmithyDocumentSerde } @@ -8592,7 +8592,7 @@ type ModelPackage struct { // Services Marketplace, see List Your Algorithm or Model Package on Amazon Web // Services Marketplace (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-list.html) // . - CertifyForMarketplace bool + CertifyForMarketplace *bool // Information about the user who created or modified an experiment, trial, trial // component, lineage group, or project. @@ -9268,7 +9268,7 @@ type MonitoringConstraintsResource struct { type MonitoringCsvDatasetFormat struct { // Indicates if the CSV data has a header. - Header bool + Header *bool noSmithyDocumentSerde } @@ -9433,7 +9433,7 @@ type MonitoringJobDefinitionSummary struct { type MonitoringJsonDatasetFormat struct { // Indicates if the file should be read as a JSON object per line. - Line bool + Line *bool noSmithyDocumentSerde } @@ -9444,11 +9444,11 @@ type MonitoringNetworkConfig struct { // Whether to encrypt all communications between the instances used for the // monitoring jobs. Choose True to encrypt communications. Encryption provides // greater security for distributed jobs, but the processing might take longer. - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // Whether to allow inbound and outbound network calls to and from the containers // used for the monitoring job. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // Specifies a VPC that your training jobs and hosted models have access to. // Control access to and from your training and model containers by configuring the @@ -9651,7 +9651,7 @@ type MonitoringStoppingCondition struct { // hourly schedules, this can be up to 1800 seconds. // // This member is required. - MaxRuntimeInSeconds int32 + MaxRuntimeInSeconds *int32 noSmithyDocumentSerde } @@ -9729,11 +9729,11 @@ type NetworkConfig struct { // Whether to encrypt all communications between distributed processing jobs. // Choose True to encrypt communications. Encryption provides greater security for // distributed processing jobs, but the processing might take longer. - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // Whether to allow inbound and outbound network calls to and from the containers // used for the processing job. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // Specifies a VPC that your training jobs and hosted models have access to. // Control access to and from your training and model containers by configuring the @@ -9864,15 +9864,15 @@ type ObjectiveStatusCounters struct { // The number of training jobs whose final objective metric was not evaluated and // used in the hyperparameter tuning process. This typically occurs when the // training job failed or did not emit an objective metric. - Failed int32 + Failed *int32 // The number of training jobs that are in progress and pending evaluation of // their final objective metric. - Pending int32 + Pending *int32 // The number of training jobs whose final objective metric was evaluated by the // hyperparameter tuning job and used in the hyperparameter tuning process. - Succeeded int32 + Succeeded *int32 noSmithyDocumentSerde } @@ -9896,7 +9896,7 @@ type OfflineStoreConfig struct { // table when configuring an OfflineStore . If set to False , Feature Store will // name the OfflineStore Glue table following Athena's naming recommendations (https://docs.aws.amazon.com/athena/latest/ug/tables-databases-columns-names.html) // . The default value is False . - DisableGlueTableCreation bool + DisableGlueTableCreation *bool // Format for the offline store table. Supported formats are Glue (Default) and // Apache Iceberg (https://iceberg.apache.org/) . @@ -10019,7 +10019,7 @@ type OnlineStoreConfig struct { // Turn OnlineStore off by specifying False for the EnableOnlineStore flag. Turn // OnlineStore on by specifying True for the EnableOnlineStore flag. The default // value is False . - EnableOnlineStore bool + EnableOnlineStore *bool // Use to specify KMS Key ID ( KMSKeyId ) for at-rest encryption of your // OnlineStore . @@ -10253,7 +10253,7 @@ type ParallelismConfiguration struct { // The max number of steps that can be executed in parallel. // // This member is required. - MaxParallelExecutionSteps int32 + MaxParallelExecutionSteps *int32 noSmithyDocumentSerde } @@ -10577,7 +10577,7 @@ type PipelineExecutionStep struct { // The current attempt of the execution step. For more information, see Retry // Policy for SageMaker Pipelines steps (https://docs.aws.amazon.com/sagemaker/latest/dg/pipelines-retry-policy.html) // . - AttemptCount int32 + AttemptCount *int32 // If this pipeline execution step was cached, details on the cache hit. CacheHitResult *CacheHitResult @@ -10838,7 +10838,7 @@ type ProcessingInput struct { // When True , input operations such as data download are managed natively by the // processing job application. When False (default), input operations are managed // by Amazon SageMaker. - AppManaged bool + AppManaged *bool // Configuration for a Dataset Definition input. DatasetDefinition *DatasetDefinition @@ -11001,7 +11001,7 @@ type ProcessingOutput struct { // When True , output operations such as data upload are managed natively by the // processing job application. When False (default), output operations are managed // by Amazon SageMaker. - AppManaged bool + AppManaged *bool // Configuration for processing job outputs in Amazon SageMaker Feature Store. // This processing output type is only supported when AppManaged is specified. @@ -11126,7 +11126,7 @@ type ProcessingStoppingCondition struct { // Specifies the maximum runtime in seconds. // // This member is required. - MaxRuntimeInSeconds int32 + MaxRuntimeInSeconds *int32 noSmithyDocumentSerde } @@ -11351,7 +11351,7 @@ type ProfilerConfig struct { // Configuration to turn off Amazon SageMaker Debugger's system monitoring and // profiling functionality. To turn it off, set to True . - DisableProfiler bool + DisableProfiler *bool // A time interval for capturing system metrics in milliseconds. Available values // are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) @@ -11380,7 +11380,7 @@ type ProfilerConfigForUpdate struct { // To turn off Amazon SageMaker Debugger monitoring and profiling while a training // job is in progress, set to True . - DisableProfiler bool + DisableProfiler *bool // A time interval for capturing system metrics in milliseconds. Available values // are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) @@ -11431,7 +11431,7 @@ type ProfilerRuleConfiguration struct { S3OutputPath *string // The size, in GB, of the ML storage volume attached to the processing instance. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 noSmithyDocumentSerde } @@ -11732,12 +11732,12 @@ type QualityCheckStepMetadata struct { // baseline of the configured check type must also be available. These can be // accessed through the BaselineUsedForDriftCheckConstraints and // BaselineUsedForDriftCheckStatistics properties. - RegisterNewBaseline bool + RegisterNewBaseline *bool // This flag indicates if the drift check against the previous baseline will be // skipped or not. If it is set to False , the previous baseline of the configured // check type must be available. - SkipCheck bool + SkipCheck *bool // The Amazon S3 URI of violation report if violations are detected. ViolationReport *string @@ -12028,7 +12028,7 @@ type RecommendationJobStoppingConditions struct { FlatInvocations FlatInvocations // The maximum number of requests per minute expected for the endpoint. - MaxInvocations int32 + MaxInvocations *int32 // The interval of time taken by a model to respond as viewed from SageMaker. The // interval includes the local communication time taken to send the request and to @@ -12063,22 +12063,22 @@ type RecommendationMetrics struct { // Defines the cost per hour for the instance. // // This member is required. - CostPerHour float32 + CostPerHour *float32 // Defines the cost per inference for the instance . // // This member is required. - CostPerInference float32 + CostPerInference *float32 // The expected maximum number of requests per minute for the instance. // // This member is required. - MaxInvocations int32 + MaxInvocations *int32 // The expected model latency at maximum invocation per minute for the instance. // // This member is required. - ModelLatency int32 + ModelLatency *int32 // The expected CPU utilization at maximum invocations per minute for the // instance. NaN indicates that the value is not available. @@ -12275,11 +12275,11 @@ type ResourceConfig struct { // . // // This member is required. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 // The number of ML compute instances to use. For distributed training, provide a // value greater than 1. - InstanceCount int32 + InstanceCount *int32 // The configuration of a heterogeneous cluster in JSON format. InstanceGroups []InstanceGroup @@ -12342,7 +12342,7 @@ type ResourceLimits struct { // can launch. // // This member is required. - MaxParallelTrainingJobs int32 + MaxParallelTrainingJobs *int32 // The maximum number of training jobs that a hyperparameter tuning job can launch. MaxNumberOfTrainingJobs *int32 @@ -12398,7 +12398,7 @@ type RetryStrategy struct { // SecondaryStatus is changed to STARTING . // // This member is required. - MaximumRetryAttempts int32 + MaximumRetryAttempts *int32 noSmithyDocumentSerde } @@ -12681,13 +12681,13 @@ type ScalingPolicyMetric struct { // ProductionVariant. 1/numberOfInstances is sent as the value on each request, // where numberOfInstances is the number of active instances for the // ProductionVariant behind the endpoint at the time of the request. - InvocationsPerInstance int32 + InvocationsPerInstance *int32 // The interval of time taken by a model to respond as viewed from SageMaker. This // interval includes the local communication times taken to send the request and to // fetch the response from the container of a model and the time taken to complete // the inference in the container. - ModelLatency int32 + ModelLatency *int32 noSmithyDocumentSerde } @@ -12696,10 +12696,10 @@ type ScalingPolicyMetric struct { type ScalingPolicyObjective struct { // The maximum number of expected requests to your endpoint per minute. - MaxInvocationsPerMinute int32 + MaxInvocationsPerMinute *int32 // The minimum number of expected requests to your endpoint per minute. - MinInvocationsPerMinute int32 + MinInvocationsPerMinute *int32 noSmithyDocumentSerde } @@ -13056,7 +13056,7 @@ type ShadowModelVariantConfig struct { // production variant to the shadow variant. // // This member is required. - SamplingPercentage int32 + SamplingPercentage *int32 // The name of the shadow variant. // @@ -13105,7 +13105,7 @@ type ShuffleConfig struct { // Determines the shuffling order in ShuffleConfig value. // // This member is required. - Seed int64 + Seed *int64 noSmithyDocumentSerde } @@ -13235,7 +13235,7 @@ type StoppingCondition struct { // The default value is 1 day. The maximum value is 28 days. The maximum time that // a TrainingJob can run in total, including any time spent publishing metrics or // archiving and uploading models after it has been stopped, is 30 days. - MaxRuntimeInSeconds int32 + MaxRuntimeInSeconds *int32 // The maximum length of time, in seconds, that a managed Spot training job has to // complete. It is the amount of time spent waiting for Spot capacity plus the @@ -13344,7 +13344,7 @@ type TabularJobConfig struct { // Generates possible candidates without training the models. A model candidate is // a combination of data preprocessors, algorithms, and algorithm parameter // settings. - GenerateCandidateDefinitionsOnly bool + GenerateCandidateDefinitionsOnly *bool // The method that Autopilot uses to train the data. You can either specify the // mode manually or let Autopilot choose for you based on the dataset size by @@ -13469,7 +13469,7 @@ type TargetTrackingScalingPolicyConfiguration struct { // The recommended target value to specify for the metric when creating a scaling // policy. - TargetValue float64 + TargetValue *float64 noSmithyDocumentSerde } @@ -13772,18 +13772,18 @@ type TrainingJob struct { // training, but training might take longer. How long it takes depends on the // amount of communication between compute instances, especially if you use a deep // learning algorithm in distributed training. - EnableInterContainerTrafficEncryption bool + EnableInterContainerTrafficEncryption *bool // When true, enables managed spot training using Amazon EC2 Spot instances to run // training jobs instead of on-demand instances. For more information, see Managed // Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html) // . - EnableManagedSpotTraining bool + EnableManagedSpotTraining *bool // If the TrainingJob was created with network isolation, the value is set to true // . If network isolation is enabled, nodes can't communicate beyond the VPC they // run in. - EnableNetworkIsolation bool + EnableNetworkIsolation *bool // The environment variables to set in the Docker container. Environment map[string]string @@ -14005,22 +14005,22 @@ type TrainingJobDefinition struct { type TrainingJobStatusCounters struct { // The number of completed training jobs launched by the hyperparameter tuning job. - Completed int32 + Completed *int32 // The number of in-progress training jobs launched by a hyperparameter tuning job. - InProgress int32 + InProgress *int32 // The number of training jobs that failed and can't be retried. A failed training // job can't be retried if it failed because a client error occurred. - NonRetryableError int32 + NonRetryableError *int32 // The number of training jobs that failed, but can be retried. A failed training // job can be retried only if it failed because an internal service error occurred. - RetryableError int32 + RetryableError *int32 // The number of training jobs launched by a hyperparameter tuning job that were // manually stopped. - Stopped int32 + Stopped *int32 noSmithyDocumentSerde } @@ -14122,7 +14122,7 @@ type TrainingSpecification struct { // Indicates whether the algorithm supports distributed training. If set to false, // buyers can't request more than one instance during training. - SupportsDistributedTraining bool + SupportsDistributedTraining *bool // An MD5 hash of the training algorithm that identifies the Docker image used for // training. @@ -15000,13 +15000,13 @@ type UiTemplateInfo struct { type USD struct { // The fractional portion, in cents, of the amount. - Cents int32 + Cents *int32 // The whole number of dollars in the amount. - Dollars int32 + Dollars *int32 // Fractions of a cent, in tenths. - TenthFractionsOfACent int32 + TenthFractionsOfACent *int32 noSmithyDocumentSerde } diff --git a/service/sagemaker/validators.go b/service/sagemaker/validators.go index 35e8469acb1..eb55e0772f8 100644 --- a/service/sagemaker/validators.go +++ b/service/sagemaker/validators.go @@ -8202,6 +8202,12 @@ func validateHyperParameterTuningInstanceConfig(v *types.HyperParameterTuningIns if len(v.InstanceType) == 0 { invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) } + if v.InstanceCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) + } + if v.VolumeSizeInGB == nil { + invalidParams.Add(smithy.NewErrParamRequired("VolumeSizeInGB")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -8446,6 +8452,9 @@ func validateInstanceGroup(v *types.InstanceGroup) error { if len(v.InstanceType) == 0 { invalidParams.Add(smithy.NewErrParamRequired("InstanceType")) } + if v.InstanceCount == nil { + invalidParams.Add(smithy.NewErrParamRequired("InstanceCount")) + } if v.InstanceGroupName == nil { invalidParams.Add(smithy.NewErrParamRequired("InstanceGroupName")) } @@ -9575,6 +9584,9 @@ func validateMonitoringStoppingCondition(v *types.MonitoringStoppingCondition) e return nil } invalidParams := smithy.InvalidParamsError{Context: "MonitoringStoppingCondition"} + if v.MaxRuntimeInSeconds == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxRuntimeInSeconds")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -9806,6 +9818,9 @@ func validateParallelismConfiguration(v *types.ParallelismConfiguration) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ParallelismConfiguration"} + if v.MaxParallelExecutionSteps == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxParallelExecutionSteps")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10127,6 +10142,9 @@ func validateProcessingStoppingCondition(v *types.ProcessingStoppingCondition) e return nil } invalidParams := smithy.InvalidParamsError{Context: "ProcessingStoppingCondition"} + if v.MaxRuntimeInSeconds == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxRuntimeInSeconds")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10393,6 +10411,9 @@ func validateResourceConfig(v *types.ResourceConfig) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ResourceConfig"} + if v.VolumeSizeInGB == nil { + invalidParams.Add(smithy.NewErrParamRequired("VolumeSizeInGB")) + } if v.InstanceGroups != nil { if err := validateInstanceGroups(v.InstanceGroups); err != nil { invalidParams.AddNested("InstanceGroups", err.(smithy.InvalidParamsError)) @@ -10425,6 +10446,9 @@ func validateResourceLimits(v *types.ResourceLimits) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ResourceLimits"} + if v.MaxParallelTrainingJobs == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxParallelTrainingJobs")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10437,6 +10461,9 @@ func validateRetryStrategy(v *types.RetryStrategy) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "RetryStrategy"} + if v.MaximumRetryAttempts == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaximumRetryAttempts")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10727,6 +10754,9 @@ func validateShadowModelVariantConfig(v *types.ShadowModelVariantConfig) error { if v.ShadowModelVariantName == nil { invalidParams.Add(smithy.NewErrParamRequired("ShadowModelVariantName")) } + if v.SamplingPercentage == nil { + invalidParams.Add(smithy.NewErrParamRequired("SamplingPercentage")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -10756,6 +10786,9 @@ func validateShuffleConfig(v *types.ShuffleConfig) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "ShuffleConfig"} + if v.Seed == nil { + invalidParams.Add(smithy.NewErrParamRequired("Seed")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/sagemakera2iruntime/endpoints.go b/service/sagemakera2iruntime/endpoints.go index 8c4641276af..44926e38c85 100644 --- a/service/sagemakera2iruntime/endpoints.go +++ b/service/sagemakera2iruntime/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://a2i-runtime.sagemaker-fips.") diff --git a/service/sagemakeredge/endpoints.go b/service/sagemakeredge/endpoints.go index d6f80d5bcea..9402943f72b 100644 --- a/service/sagemakeredge/endpoints.go +++ b/service/sagemakeredge/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://edge.sagemaker-fips.") diff --git a/service/sagemakeredge/serializers.go b/service/sagemakeredge/serializers.go index c850a57bf5a..b4dbbadfbc3 100644 --- a/service/sagemakeredge/serializers.go +++ b/service/sagemakeredge/serializers.go @@ -400,20 +400,20 @@ func awsRestjson1_serializeDocumentEdgeMetric(v *types.EdgeMetric, value smithyj ok.Double(smithytime.FormatEpochSeconds(*v.Timestamp)) } - if v.Value != 0 { + if v.Value != nil { ok := object.Key("Value") switch { - case math.IsNaN(v.Value): + case math.IsNaN(*v.Value): ok.String("NaN") - case math.IsInf(v.Value, 1): + case math.IsInf(*v.Value, 1): ok.String("Infinity") - case math.IsInf(v.Value, -1): + case math.IsInf(*v.Value, -1): ok.String("-Infinity") default: - ok.Double(v.Value) + ok.Double(*v.Value) } } diff --git a/service/sagemakeredge/types/types.go b/service/sagemakeredge/types/types.go index 22102ed70b5..28dc141aa6e 100644 --- a/service/sagemakeredge/types/types.go +++ b/service/sagemakeredge/types/types.go @@ -123,7 +123,7 @@ type EdgeMetric struct { Timestamp *time.Time // Returns the value of the metric. - Value float64 + Value *float64 noSmithyDocumentSerde } diff --git a/service/sagemakerfeaturestoreruntime/endpoints.go b/service/sagemakerfeaturestoreruntime/endpoints.go index 6d10aa739ac..e7ed0e6d971 100644 --- a/service/sagemakerfeaturestoreruntime/endpoints.go +++ b/service/sagemakerfeaturestoreruntime/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://featurestore-runtime.sagemaker-fips.") diff --git a/service/sagemakermetrics/deserializers.go b/service/sagemakermetrics/deserializers.go index 20bffa254b8..b8011ee7b36 100644 --- a/service/sagemakermetrics/deserializers.go +++ b/service/sagemakermetrics/deserializers.go @@ -12,6 +12,7 @@ import ( smithy "github.com/aws/smithy-go" smithyio "github.com/aws/smithy-go/io" "github.com/aws/smithy-go/middleware" + "github.com/aws/smithy-go/ptr" smithyhttp "github.com/aws/smithy-go/transport/http" "io" ) @@ -201,7 +202,7 @@ func awsRestjson1_deserializeDocumentBatchPutMetricsError(v **types.BatchPutMetr if err != nil { return err } - sv.MetricIndex = int32(i64) + sv.MetricIndex = ptr.Int32(int32(i64)) } default: diff --git a/service/sagemakermetrics/endpoints.go b/service/sagemakermetrics/endpoints.go index 65d4081a925..c988512cb4b 100644 --- a/service/sagemakermetrics/endpoints.go +++ b/service/sagemakermetrics/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://metrics.sagemaker-fips.") diff --git a/service/sagemakermetrics/serializers.go b/service/sagemakermetrics/serializers.go index b3340ba0a2c..84bfecc11a0 100644 --- a/service/sagemakermetrics/serializers.go +++ b/service/sagemakermetrics/serializers.go @@ -117,20 +117,20 @@ func awsRestjson1_serializeDocumentRawMetricData(v *types.RawMetricData, value s ok.Double(smithytime.FormatEpochSeconds(*v.Timestamp)) } - { + if v.Value != nil { ok := object.Key("Value") switch { - case math.IsNaN(v.Value): + case math.IsNaN(*v.Value): ok.String("NaN") - case math.IsInf(v.Value, 1): + case math.IsInf(*v.Value, 1): ok.String("Infinity") - case math.IsInf(v.Value, -1): + case math.IsInf(*v.Value, -1): ok.String("-Infinity") default: - ok.Double(v.Value) + ok.Double(*v.Value) } } diff --git a/service/sagemakermetrics/types/types.go b/service/sagemakermetrics/types/types.go index 0c2e4313250..7e29af420bf 100644 --- a/service/sagemakermetrics/types/types.go +++ b/service/sagemakermetrics/types/types.go @@ -20,7 +20,7 @@ type BatchPutMetricsError struct { Code PutMetricsErrorCode // An index that corresponds to the metric in the request. - MetricIndex int32 + MetricIndex *int32 noSmithyDocumentSerde } @@ -41,7 +41,7 @@ type RawMetricData struct { // The metric value. // // This member is required. - Value float64 + Value *float64 // The metric step (epoch). Step *int32 diff --git a/service/sagemakermetrics/validators.go b/service/sagemakermetrics/validators.go index da08138ed71..66246a4acd7 100644 --- a/service/sagemakermetrics/validators.go +++ b/service/sagemakermetrics/validators.go @@ -45,6 +45,9 @@ func validateRawMetricData(v *types.RawMetricData) error { if v.Timestamp == nil { invalidParams.Add(smithy.NewErrParamRequired("Timestamp")) } + if v.Value == nil { + invalidParams.Add(smithy.NewErrParamRequired("Value")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/sagemakerruntime/endpoints.go b/service/sagemakerruntime/endpoints.go index b991f390bb5..d2b6007e148 100644 --- a/service/sagemakerruntime/endpoints.go +++ b/service/sagemakerruntime/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws" { uriString := func() string { var out strings.Builder out.WriteString("https://runtime-fips.sagemaker.") @@ -430,7 +430,7 @@ func (r *resolver) ResolveEndpoint( Headers: http.Header{}, }, nil } - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://runtime.sagemaker.") diff --git a/service/schemas/endpoints.go b/service/schemas/endpoints.go index 4a60a0dc176..7277912cbd0 100644 --- a/service/schemas/endpoints.go +++ b/service/schemas/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://schemas-fips.") diff --git a/service/securityhub/api_op_BatchImportFindings.go b/service/securityhub/api_op_BatchImportFindings.go index 4d58d29f5c9..2c648bce5cd 100644 --- a/service/securityhub/api_op_BatchImportFindings.go +++ b/service/securityhub/api_op_BatchImportFindings.go @@ -81,12 +81,12 @@ type BatchImportFindingsOutput struct { // The number of findings that failed to import. // // This member is required. - FailedCount int32 + FailedCount *int32 // The number of findings that were successfully imported. // // This member is required. - SuccessCount int32 + SuccessCount *int32 // The list of findings that failed to import. FailedFindings []types.ImportFindingsError diff --git a/service/securityhub/api_op_BatchUpdateFindings.go b/service/securityhub/api_op_BatchUpdateFindings.go index 6ce1fdbd547..23bc69c30ef 100644 --- a/service/securityhub/api_op_BatchUpdateFindings.go +++ b/service/securityhub/api_op_BatchUpdateFindings.go @@ -66,13 +66,13 @@ type BatchUpdateFindingsInput struct { // was intended to identify. Confidence is scored on a 0-100 basis using a ratio // scale, where 0 means zero percent confidence and 100 means 100 percent // confidence. - Confidence int32 + Confidence *int32 // The updated value for the level of importance assigned to the resources // associated with the findings. A score of 0 means that the underlying resources // have no criticality, and a score of 100 is reserved for the most critical // resources. - Criticality int32 + Criticality *int32 // The updated note. Note *types.NoteUpdate diff --git a/service/securityhub/api_op_CreateAutomationRule.go b/service/securityhub/api_op_CreateAutomationRule.go index 482a4f49860..60f1cca707a 100644 --- a/service/securityhub/api_op_CreateAutomationRule.go +++ b/service/securityhub/api_op_CreateAutomationRule.go @@ -63,7 +63,7 @@ type CreateAutomationRuleInput struct { // this parameter first. // // This member is required. - RuleOrder int32 + RuleOrder *int32 // Specifies whether a rule is the last to be applied with respect to a finding // that matches the rule criteria. This is useful when a finding matches the @@ -71,7 +71,7 @@ type CreateAutomationRuleInput struct { // terminal, Security Hub applies the rule action to a finding that matches the // rule criteria and doesn't evaluate other rules for the finding. By default, a // rule isn't terminal. - IsTerminal bool + IsTerminal *bool // Whether the rule is active after it is created. If this parameter is equal to // ENABLED , Security Hub starts applying the rule to findings and finding updates diff --git a/service/securityhub/api_op_DescribeActionTargets.go b/service/securityhub/api_op_DescribeActionTargets.go index 552ac041cae..3ac72b1671d 100644 --- a/service/securityhub/api_op_DescribeActionTargets.go +++ b/service/securityhub/api_op_DescribeActionTargets.go @@ -38,7 +38,7 @@ type DescribeActionTargetsInput struct { ActionTargetArns []string // The maximum number of results to return. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // DescribeActionTargets operation, set the value of this parameter to NULL . For @@ -173,8 +173,8 @@ func NewDescribeActionTargetsPaginator(client DescribeActionTargetsAPIClient, pa } options := DescribeActionTargetsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -204,7 +204,11 @@ func (p *DescribeActionTargetsPaginator) NextPage(ctx context.Context, optFns .. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeActionTargets(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_DescribeHub.go b/service/securityhub/api_op_DescribeHub.go index d5f6310816b..f2f976a19f4 100644 --- a/service/securityhub/api_op_DescribeHub.go +++ b/service/securityhub/api_op_DescribeHub.go @@ -46,7 +46,7 @@ type DescribeHubOutput struct { // Whether to automatically enable new controls when they are added to standards // that are enabled. If set to true , then new controls for enabled standards are // enabled automatically. If set to false , then new controls are not enabled. - AutoEnableControls bool + AutoEnableControls *bool // Specifies whether the calling account has consolidated control findings turned // on. If the value for this field is set to SECURITY_CONTROL , Security Hub diff --git a/service/securityhub/api_op_DescribeOrganizationConfiguration.go b/service/securityhub/api_op_DescribeOrganizationConfiguration.go index 061cf711ec0..a901de6b7b6 100644 --- a/service/securityhub/api_op_DescribeOrganizationConfiguration.go +++ b/service/securityhub/api_op_DescribeOrganizationConfiguration.go @@ -42,7 +42,7 @@ type DescribeOrganizationConfigurationOutput struct { // Whether to automatically enable Security Hub for new accounts in the // organization. If set to true , then Security Hub is enabled for new accounts. If // set to false, then new accounts are not added automatically. - AutoEnable bool + AutoEnable *bool // Whether to automatically enable Security Hub default standards (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html) // for new member accounts in the organization. The default value of this parameter @@ -53,7 +53,7 @@ type DescribeOrganizationConfigurationOutput struct { // Whether the maximum number of allowed member accounts are already associated // with the Security Hub administrator account. - MemberAccountLimitReached bool + MemberAccountLimitReached *bool // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/securityhub/api_op_DescribeProducts.go b/service/securityhub/api_op_DescribeProducts.go index 8d641df4811..115ccc96af6 100644 --- a/service/securityhub/api_op_DescribeProducts.go +++ b/service/securityhub/api_op_DescribeProducts.go @@ -38,7 +38,7 @@ func (c *Client) DescribeProducts(ctx context.Context, params *DescribeProductsI type DescribeProductsInput struct { // The maximum number of results to return. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // DescribeProducts operation, set the value of this parameter to NULL . For @@ -174,8 +174,8 @@ func NewDescribeProductsPaginator(client DescribeProductsAPIClient, params *Desc } options := DescribeProductsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -205,7 +205,11 @@ func (p *DescribeProductsPaginator) NextPage(ctx context.Context, optFns ...func params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeProducts(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_DescribeStandards.go b/service/securityhub/api_op_DescribeStandards.go index 9c37ba59835..99b96cef77a 100644 --- a/service/securityhub/api_op_DescribeStandards.go +++ b/service/securityhub/api_op_DescribeStandards.go @@ -36,7 +36,7 @@ func (c *Client) DescribeStandards(ctx context.Context, params *DescribeStandard type DescribeStandardsInput struct { // The maximum number of standards to return. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // DescribeStandards operation, set the value of this parameter to NULL . For @@ -167,8 +167,8 @@ func NewDescribeStandardsPaginator(client DescribeStandardsAPIClient, params *De } options := DescribeStandardsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -198,7 +198,11 @@ func (p *DescribeStandardsPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeStandards(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_DescribeStandardsControls.go b/service/securityhub/api_op_DescribeStandardsControls.go index e6ffc0e4f08..935d030a172 100644 --- a/service/securityhub/api_op_DescribeStandardsControls.go +++ b/service/securityhub/api_op_DescribeStandardsControls.go @@ -44,7 +44,7 @@ type DescribeStandardsControlsInput struct { StandardsSubscriptionArn *string // The maximum number of security standard controls to return. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // DescribeStandardsControls operation, set the value of this parameter to NULL . @@ -180,8 +180,8 @@ func NewDescribeStandardsControlsPaginator(client DescribeStandardsControlsAPICl } options := DescribeStandardsControlsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -211,7 +211,11 @@ func (p *DescribeStandardsControlsPaginator) NextPage(ctx context.Context, optFn params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.DescribeStandardsControls(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_EnableSecurityHub.go b/service/securityhub/api_op_EnableSecurityHub.go index 0b238718f78..c556f5b6d4f 100644 --- a/service/securityhub/api_op_EnableSecurityHub.go +++ b/service/securityhub/api_op_EnableSecurityHub.go @@ -64,7 +64,7 @@ type EnableSecurityHubInput struct { // automatically enabled. If you do not provide a value for EnableDefaultStandards // , it is set to true . To not enable the automatically enabled standards, set // EnableDefaultStandards to false . - EnableDefaultStandards bool + EnableDefaultStandards *bool // The tags to add to the hub resource when you enable Security Hub. Tags map[string]string diff --git a/service/securityhub/api_op_GetEnabledStandards.go b/service/securityhub/api_op_GetEnabledStandards.go index 29b41a5b381..70ad1fc2e3a 100644 --- a/service/securityhub/api_op_GetEnabledStandards.go +++ b/service/securityhub/api_op_GetEnabledStandards.go @@ -35,7 +35,7 @@ func (c *Client) GetEnabledStandards(ctx context.Context, params *GetEnabledStan type GetEnabledStandardsInput struct { // The maximum number of results to return in the response. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // GetEnabledStandards operation, set the value of this parameter to NULL . For @@ -171,8 +171,8 @@ func NewGetEnabledStandardsPaginator(client GetEnabledStandardsAPIClient, params } options := GetEnabledStandardsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -202,7 +202,11 @@ func (p *GetEnabledStandardsPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetEnabledStandards(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_GetFindingHistory.go b/service/securityhub/api_op_GetFindingHistory.go index 30e773d5dca..29c4b48018e 100644 --- a/service/securityhub/api_op_GetFindingHistory.go +++ b/service/securityhub/api_op_GetFindingHistory.go @@ -61,7 +61,7 @@ type GetFindingHistoryInput struct { // The maximum number of results to be returned. If you don’t provide it, Security // Hub returns up to 100 results of finding history. - MaxResults int32 + MaxResults *int32 // A token for pagination purposes. Provide NULL as the initial value. In // subsequent requests, provide the token included in the response to get up to an @@ -216,8 +216,8 @@ func NewGetFindingHistoryPaginator(client GetFindingHistoryAPIClient, params *Ge } options := GetFindingHistoryPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -247,7 +247,11 @@ func (p *GetFindingHistoryPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetFindingHistory(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_GetFindings.go b/service/securityhub/api_op_GetFindings.go index 9bde6b02647..0f48f5315ee 100644 --- a/service/securityhub/api_op_GetFindings.go +++ b/service/securityhub/api_op_GetFindings.go @@ -45,7 +45,7 @@ type GetFindingsInput struct { Filters *types.AwsSecurityFindingFilters // The maximum number of findings to return. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the GetFindings // operation, set the value of this parameter to NULL . For subsequent calls to the @@ -180,8 +180,8 @@ func NewGetFindingsPaginator(client GetFindingsAPIClient, params *GetFindingsInp } options := GetFindingsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -211,7 +211,11 @@ func (p *GetFindingsPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetFindings(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_GetInsights.go b/service/securityhub/api_op_GetInsights.go index 40cdc15cdd3..7737fb90afe 100644 --- a/service/securityhub/api_op_GetInsights.go +++ b/service/securityhub/api_op_GetInsights.go @@ -40,7 +40,7 @@ type GetInsightsInput struct { InsightArns []string // The maximum number of items to return in the response. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the GetInsights // operation, set the value of this parameter to NULL . For subsequent calls to the @@ -172,8 +172,8 @@ func NewGetInsightsPaginator(client GetInsightsAPIClient, params *GetInsightsInp } options := GetInsightsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -203,7 +203,11 @@ func (p *GetInsightsPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetInsights(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_GetInvitationsCount.go b/service/securityhub/api_op_GetInvitationsCount.go index 6c08fb4d371..a1e69eaffc8 100644 --- a/service/securityhub/api_op_GetInvitationsCount.go +++ b/service/securityhub/api_op_GetInvitationsCount.go @@ -40,7 +40,7 @@ type GetInvitationsCountOutput struct { // The number of all membership invitations sent to this Security Hub member // account, not including the currently accepted invitation. - InvitationsCount int32 + InvitationsCount *int32 // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata diff --git a/service/securityhub/api_op_ListAutomationRules.go b/service/securityhub/api_op_ListAutomationRules.go index 956f45d29e7..26c1629abfe 100644 --- a/service/securityhub/api_op_ListAutomationRules.go +++ b/service/securityhub/api_op_ListAutomationRules.go @@ -36,7 +36,7 @@ type ListAutomationRulesInput struct { // The maximum number of rules to return in the response. This currently ranges // from 1 to 100. - MaxResults int32 + MaxResults *int32 // A token to specify where to start paginating the response. This is the NextToken // from a previously truncated response. On your first call to the diff --git a/service/securityhub/api_op_ListEnabledProductsForImport.go b/service/securityhub/api_op_ListEnabledProductsForImport.go index cda831efb35..2e407e275e9 100644 --- a/service/securityhub/api_op_ListEnabledProductsForImport.go +++ b/service/securityhub/api_op_ListEnabledProductsForImport.go @@ -35,7 +35,7 @@ func (c *Client) ListEnabledProductsForImport(ctx context.Context, params *ListE type ListEnabledProductsForImportInput struct { // The maximum number of items to return in the response. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // ListEnabledProductsForImport operation, set the value of this parameter to NULL @@ -170,8 +170,8 @@ func NewListEnabledProductsForImportPaginator(client ListEnabledProductsForImpor } options := ListEnabledProductsForImportPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *ListEnabledProductsForImportPaginator) NextPage(ctx context.Context, op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListEnabledProductsForImport(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_ListFindingAggregators.go b/service/securityhub/api_op_ListFindingAggregators.go index 1de3f379636..68f3d304c2e 100644 --- a/service/securityhub/api_op_ListFindingAggregators.go +++ b/service/securityhub/api_op_ListFindingAggregators.go @@ -37,7 +37,7 @@ type ListFindingAggregatorsInput struct { // The maximum number of results to return. This operation currently only returns // a single result. - MaxResults int32 + MaxResults *int32 // The token returned with the previous set of results. Identifies the next set of // results to return. @@ -170,8 +170,8 @@ func NewListFindingAggregatorsPaginator(client ListFindingAggregatorsAPIClient, } options := ListFindingAggregatorsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *ListFindingAggregatorsPaginator) NextPage(ctx context.Context, optFns . params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListFindingAggregators(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_ListInvitations.go b/service/securityhub/api_op_ListInvitations.go index 1d544d94d75..64c9cc8e60f 100644 --- a/service/securityhub/api_op_ListInvitations.go +++ b/service/securityhub/api_op_ListInvitations.go @@ -38,7 +38,7 @@ func (c *Client) ListInvitations(ctx context.Context, params *ListInvitationsInp type ListInvitationsInput struct { // The maximum number of items to return in the response. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // ListInvitations operation, set the value of this parameter to NULL . For @@ -169,8 +169,8 @@ func NewListInvitationsPaginator(client ListInvitationsAPIClient, params *ListIn } options := ListInvitationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *ListInvitationsPaginator) NextPage(ctx context.Context, optFns ...func( params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListInvitations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_ListMembers.go b/service/securityhub/api_op_ListMembers.go index 36bf2317098..ccc8617c5c9 100644 --- a/service/securityhub/api_op_ListMembers.go +++ b/service/securityhub/api_op_ListMembers.go @@ -37,7 +37,7 @@ func (c *Client) ListMembers(ctx context.Context, params *ListMembersInput, optF type ListMembersInput struct { // The maximum number of items to return in the response. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the ListMembers // operation, set the value of this parameter to NULL . For subsequent calls to the @@ -51,7 +51,7 @@ type ListMembersInput struct { // relationship status with the administrator account is set to ENABLED . If // OnlyAssociated is set to FALSE , the response includes all existing member // accounts. - OnlyAssociated bool + OnlyAssociated *bool noSmithyDocumentSerde } @@ -175,8 +175,8 @@ func NewListMembersPaginator(client ListMembersAPIClient, params *ListMembersInp } options := ListMembersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -206,7 +206,11 @@ func (p *ListMembersPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListMembers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_ListOrganizationAdminAccounts.go b/service/securityhub/api_op_ListOrganizationAdminAccounts.go index d7a1155feff..5f110d9ee0d 100644 --- a/service/securityhub/api_op_ListOrganizationAdminAccounts.go +++ b/service/securityhub/api_op_ListOrganizationAdminAccounts.go @@ -36,7 +36,7 @@ func (c *Client) ListOrganizationAdminAccounts(ctx context.Context, params *List type ListOrganizationAdminAccountsInput struct { // The maximum number of items to return in the response. - MaxResults int32 + MaxResults *int32 // The token that is required for pagination. On your first call to the // ListOrganizationAdminAccounts operation, set the value of this parameter to NULL @@ -170,8 +170,8 @@ func NewListOrganizationAdminAccountsPaginator(client ListOrganizationAdminAccou } options := ListOrganizationAdminAccountsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -201,7 +201,11 @@ func (p *ListOrganizationAdminAccountsPaginator) NextPage(ctx context.Context, o params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListOrganizationAdminAccounts(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_ListSecurityControlDefinitions.go b/service/securityhub/api_op_ListSecurityControlDefinitions.go index e681eeda061..531f5471868 100644 --- a/service/securityhub/api_op_ListSecurityControlDefinitions.go +++ b/service/securityhub/api_op_ListSecurityControlDefinitions.go @@ -40,7 +40,7 @@ type ListSecurityControlDefinitionsInput struct { // results also include a NextToken parameter that you can use in a subsequent API // call to get the next 25 controls. This repeats until all controls for the // standard are returned. - MaxResults int32 + MaxResults *int32 // Optional pagination parameter. NextToken *string @@ -183,8 +183,8 @@ func NewListSecurityControlDefinitionsPaginator(client ListSecurityControlDefini } options := ListSecurityControlDefinitionsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -214,7 +214,11 @@ func (p *ListSecurityControlDefinitionsPaginator) NextPage(ctx context.Context, params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListSecurityControlDefinitions(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_ListStandardsControlAssociations.go b/service/securityhub/api_op_ListStandardsControlAssociations.go index 89bf2e67279..c2e18f7cb2d 100644 --- a/service/securityhub/api_op_ListStandardsControlAssociations.go +++ b/service/securityhub/api_op_ListStandardsControlAssociations.go @@ -49,7 +49,7 @@ type ListStandardsControlAssociationsInput struct { // 25 associations. This repeats until all associations for the specified control // are returned. The number of results is limited by the number of supported // Security Hub standards that you've enabled in the calling account. - MaxResults int32 + MaxResults *int32 // Optional pagination parameter. NextToken *string @@ -193,8 +193,8 @@ func NewListStandardsControlAssociationsPaginator(client ListStandardsControlAss } options := ListStandardsControlAssociationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -224,7 +224,11 @@ func (p *ListStandardsControlAssociationsPaginator) NextPage(ctx context.Context params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListStandardsControlAssociations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/securityhub/api_op_UpdateOrganizationConfiguration.go b/service/securityhub/api_op_UpdateOrganizationConfiguration.go index f2b2f2763d4..eace18a022c 100644 --- a/service/securityhub/api_op_UpdateOrganizationConfiguration.go +++ b/service/securityhub/api_op_UpdateOrganizationConfiguration.go @@ -41,7 +41,7 @@ type UpdateOrganizationConfigurationInput struct { // to true . // // This member is required. - AutoEnable bool + AutoEnable *bool // Whether to automatically enable Security Hub default standards (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-enable-disable.html) // for new member accounts in the organization. By default, this parameter is equal diff --git a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go index 78a8c65b236..808ad2e50df 100644 --- a/service/securityhub/api_op_UpdateSecurityHubConfiguration.go +++ b/service/securityhub/api_op_UpdateSecurityHubConfiguration.go @@ -37,7 +37,7 @@ type UpdateSecurityHubConfigurationInput struct { // Whether to automatically enable new controls when they are added to standards // that are enabled. By default, this is set to true , and new controls are enabled // automatically. To not automatically enable new controls, set this to false . - AutoEnableControls bool + AutoEnableControls *bool // Updates whether the calling account has consolidated control findings turned // on. If the value for this field is set to SECURITY_CONTROL , Security Hub diff --git a/service/securityhub/deserializers.go b/service/securityhub/deserializers.go index 54f4c185355..8788c4e87ab 100644 --- a/service/securityhub/deserializers.go +++ b/service/securityhub/deserializers.go @@ -1327,7 +1327,7 @@ func awsRestjson1_deserializeOpDocumentBatchImportFindingsOutput(v **BatchImport if err != nil { return err } - sv.FailedCount = int32(i64) + sv.FailedCount = ptr.Int32(int32(i64)) } case "FailedFindings": @@ -1345,7 +1345,7 @@ func awsRestjson1_deserializeOpDocumentBatchImportFindingsOutput(v **BatchImport if err != nil { return err } - sv.SuccessCount = int32(i64) + sv.SuccessCount = ptr.Int32(int32(i64)) } default: @@ -3883,7 +3883,7 @@ func awsRestjson1_deserializeOpDocumentDescribeHubOutput(v **DescribeHubOutput, if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoEnableControls = jtv + sv.AutoEnableControls = ptr.Bool(jtv) } case "ControlFindingGenerator": @@ -4070,7 +4070,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoEnable = jtv + sv.AutoEnable = ptr.Bool(jtv) } case "AutoEnableStandards": @@ -4088,7 +4088,7 @@ func awsRestjson1_deserializeOpDocumentDescribeOrganizationConfigurationOutput(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MemberAccountLimitReached = jtv + sv.MemberAccountLimitReached = ptr.Bool(jtv) } default: @@ -6828,7 +6828,7 @@ func awsRestjson1_deserializeOpDocumentGetInvitationsCountOutput(v **GetInvitati if err != nil { return err } - sv.InvitationsCount = int32(i64) + sv.InvitationsCount = ptr.Int32(int32(i64)) } default: @@ -10193,7 +10193,7 @@ func awsRestjson1_deserializeDocumentActionLocalPortDetails(v **types.ActionLoca if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "PortName": @@ -10306,7 +10306,7 @@ func awsRestjson1_deserializeDocumentActionRemotePortDetails(v **types.ActionRem if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "PortName": @@ -10701,7 +10701,7 @@ func awsRestjson1_deserializeDocumentAssociationSetDetails(v **types.Association if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Main = jtv + sv.Main = ptr.Bool(jtv) } case "RouteTableAssociationId": @@ -10973,7 +10973,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsTerminal = jtv + sv.IsTerminal = ptr.Bool(jtv) } case "RuleArn": @@ -11004,7 +11004,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesConfig(v **types.AutomationR if err != nil { return err } - sv.RuleOrder = int32(i64) + sv.RuleOrder = ptr.Int32(int32(i64)) } case "RuleStatus": @@ -11104,7 +11104,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type if err != nil { return err } - sv.Confidence = int32(i64) + sv.Confidence = ptr.Int32(int32(i64)) } case "Criticality": @@ -11117,7 +11117,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesFindingFieldsUpdate(v **type if err != nil { return err } - sv.Criticality = int32(i64) + sv.Criticality = ptr.Int32(int32(i64)) } case "Note": @@ -11433,7 +11433,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsTerminal = jtv + sv.IsTerminal = ptr.Bool(jtv) } case "RuleArn": @@ -11464,7 +11464,7 @@ func awsRestjson1_deserializeDocumentAutomationRulesMetadata(v **types.Automatio if err != nil { return err } - sv.RuleOrder = int32(i64) + sv.RuleOrder = ptr.Int32(int32(i64)) } case "RuleStatus": @@ -11652,7 +11652,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoMinorVersionUpgrade = jtv + sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } case "BrokerArn": @@ -11744,7 +11744,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerDetails(v **types.AwsAmazo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PubliclyAccessible = jtv + sv.PubliclyAccessible = ptr.Bool(jtv) } case "SecurityGroups": @@ -11817,7 +11817,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.UseAwsOwnedKey = jtv + sv.UseAwsOwnedKey = ptr.Bool(jtv) } default: @@ -11889,7 +11889,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RoleSearchSubtree = jtv + sv.RoleSearchSubtree = ptr.Bool(jtv) } case "ServiceAccountUsername": @@ -11934,7 +11934,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails( if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.UserSearchSubtree = jtv + sv.UserSearchSubtree = ptr.Bool(jtv) } default: @@ -11974,7 +11974,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Audit = jtv + sv.Audit = ptr.Bool(jtv) } case "AuditLogGroup": @@ -11992,7 +11992,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsDetails(v **types.AwsA if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.General = jtv + sv.General = ptr.Bool(jtv) } case "GeneralLogGroup": @@ -12046,7 +12046,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Audit = jtv + sv.Audit = ptr.Bool(jtv) } case "General": @@ -12055,7 +12055,7 @@ func awsRestjson1_deserializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.General = jtv + sv.General = ptr.Bool(jtv) } default: @@ -12427,7 +12427,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp if err != nil { return err } - sv.PercentTraffic = f64 + sv.PercentTraffic = ptr.Float64(f64) case string: var f64 float64 @@ -12445,7 +12445,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.PercentTraffic = f64 + sv.PercentTraffic = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -12464,7 +12464,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayCanarySettings(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.UseStageCache = jtv + sv.UseStageCache = ptr.Bool(jtv) } default: @@ -12540,7 +12540,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CacheDataEncrypted = jtv + sv.CacheDataEncrypted = ptr.Bool(jtv) } case "CacheTtlInSeconds": @@ -12553,7 +12553,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if err != nil { return err } - sv.CacheTtlInSeconds = int32(i64) + sv.CacheTtlInSeconds = ptr.Int32(int32(i64)) } case "CachingEnabled": @@ -12562,7 +12562,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CachingEnabled = jtv + sv.CachingEnabled = ptr.Bool(jtv) } case "DataTraceEnabled": @@ -12571,7 +12571,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DataTraceEnabled = jtv + sv.DataTraceEnabled = ptr.Bool(jtv) } case "HttpMethod": @@ -12598,7 +12598,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MetricsEnabled = jtv + sv.MetricsEnabled = ptr.Bool(jtv) } case "RequireAuthorizationForCacheControl": @@ -12607,7 +12607,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RequireAuthorizationForCacheControl = jtv + sv.RequireAuthorizationForCacheControl = ptr.Bool(jtv) } case "ResourcePath": @@ -12629,7 +12629,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if err != nil { return err } - sv.ThrottlingBurstLimit = int32(i64) + sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } case "ThrottlingRateLimit": @@ -12640,7 +12640,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp if err != nil { return err } - sv.ThrottlingRateLimit = f64 + sv.ThrottlingRateLimit = ptr.Float64(f64) case string: var f64 float64 @@ -12658,7 +12658,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayMethodSettings(v **types.AwsAp return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.ThrottlingRateLimit = f64 + sv.ThrottlingRateLimit = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -12796,7 +12796,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayRestApiDetails(v **types.AwsAp if err != nil { return err } - sv.MinimumCompressionSize = int32(i64) + sv.MinimumCompressionSize = ptr.Int32(int32(i64)) } case "Name": @@ -12859,7 +12859,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CacheClusterEnabled = jtv + sv.CacheClusterEnabled = ptr.Bool(jtv) } case "CacheClusterSize": @@ -12959,7 +12959,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayStageDetails(v **types.AwsApiG if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.TracingEnabled = jtv + sv.TracingEnabled = ptr.Bool(jtv) } case "Variables": @@ -13130,7 +13130,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DataTraceEnabled = jtv + sv.DataTraceEnabled = ptr.Bool(jtv) } case "DetailedMetricsEnabled": @@ -13139,7 +13139,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DetailedMetricsEnabled = jtv + sv.DetailedMetricsEnabled = ptr.Bool(jtv) } case "LoggingLevel": @@ -13161,7 +13161,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA if err != nil { return err } - sv.ThrottlingBurstLimit = int32(i64) + sv.ThrottlingBurstLimit = ptr.Int32(int32(i64)) } case "ThrottlingRateLimit": @@ -13172,7 +13172,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA if err != nil { return err } - sv.ThrottlingRateLimit = f64 + sv.ThrottlingRateLimit = ptr.Float64(f64) case string: var f64 float64 @@ -13190,7 +13190,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2RouteSettings(v **types.AwsA return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.ThrottlingRateLimit = f64 + sv.ThrottlingRateLimit = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -13240,7 +13240,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ApiGatewayManaged = jtv + sv.ApiGatewayManaged = ptr.Bool(jtv) } case "AutoDeploy": @@ -13249,7 +13249,7 @@ func awsRestjson1_deserializeDocumentAwsApiGatewayV2StageDetails(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoDeploy = jtv + sv.AutoDeploy = ptr.Bool(jtv) } case "ClientCertificateId": @@ -13535,7 +13535,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiDetails(v **types.AwsAp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.XrayEnabled = jtv + sv.XrayEnabled = ptr.Bool(jtv) } default: @@ -13579,7 +13579,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigD if err != nil { return err } - sv.AuthorizerResultTtlInSeconds = int32(i64) + sv.AuthorizerResultTtlInSeconds = ptr.Int32(int32(i64)) } case "AuthorizerUri": @@ -13646,7 +13646,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ExcludeVerboseContent = jtv + sv.ExcludeVerboseContent = ptr.Bool(jtv) } case "FieldLogLevel": @@ -13699,7 +13699,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta if err != nil { return err } - sv.AuthTtL = i64 + sv.AuthTtL = ptr.Int64(i64) } case "ClientId": @@ -13721,7 +13721,7 @@ func awsRestjson1_deserializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDeta if err != nil { return err } - sv.IatTtL = i64 + sv.IatTtL = ptr.Int64(i64) } case "Issuer": @@ -14100,7 +14100,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CapacityRebalance = jtv + sv.CapacityRebalance = ptr.Bool(jtv) } case "CreatedTime": @@ -14122,7 +14122,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupDetails(v **t if err != nil { return err } - sv.HealthCheckGracePeriod = int32(i64) + sv.HealthCheckGracePeriod = ptr.Int32(int32(i64)) } case "HealthCheckType": @@ -14307,7 +14307,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err != nil { return err } - sv.OnDemandBaseCapacity = int32(i64) + sv.OnDemandBaseCapacity = ptr.Int32(int32(i64)) } case "OnDemandPercentageAboveBaseCapacity": @@ -14320,7 +14320,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err != nil { return err } - sv.OnDemandPercentageAboveBaseCapacity = int32(i64) + sv.OnDemandPercentageAboveBaseCapacity = ptr.Int32(int32(i64)) } case "SpotAllocationStrategy": @@ -14342,7 +14342,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingAutoScalingGroupMixedInstance if err != nil { return err } - sv.SpotInstancePools = int32(i64) + sv.SpotInstancePools = ptr.Int32(int32(i64)) } case "SpotMaxPrice": @@ -14587,7 +14587,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.NoDevice = jtv + sv.NoDevice = ptr.Bool(jtv) } case "VirtualName": @@ -14636,7 +14636,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeleteOnTermination = jtv + sv.DeleteOnTermination = ptr.Bool(jtv) } case "Encrypted": @@ -14645,7 +14645,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Encrypted = jtv + sv.Encrypted = ptr.Bool(jtv) } case "Iops": @@ -14658,7 +14658,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case "SnapshotId": @@ -14680,7 +14680,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationBlockDevic if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } case "VolumeType": @@ -14763,7 +14763,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AssociatePublicIpAddress = jtv + sv.AssociatePublicIpAddress = ptr.Bool(jtv) } case "BlockDeviceMappings": @@ -14800,7 +14800,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationDetails(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EbsOptimized = jtv + sv.EbsOptimized = ptr.Bool(jtv) } case "IamInstanceProfile": @@ -14945,7 +14945,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationInstanceMo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -14998,7 +14998,7 @@ func awsRestjson1_deserializeDocumentAwsAutoScalingLaunchConfigurationMetadataOp if err != nil { return err } - sv.HttpPutResponseHopLimit = int32(i64) + sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } case "HttpTokens": @@ -15243,7 +15243,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(v **typ if err != nil { return err } - sv.DeleteAfterDays = i64 + sv.DeleteAfterDays = ptr.Int64(i64) } case "MoveToColdStorageAfterDays": @@ -15256,7 +15256,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanLifecycleDetails(v **typ if err != nil { return err } - sv.MoveToColdStorageAfterDays = i64 + sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } default: @@ -15379,7 +15379,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw if err != nil { return err } - sv.CompletionWindowMinutes = i64 + sv.CompletionWindowMinutes = ptr.Int64(i64) } case "CopyActions": @@ -15393,7 +15393,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableContinuousBackup = jtv + sv.EnableContinuousBackup = ptr.Bool(jtv) } case "Lifecycle": @@ -15438,7 +15438,7 @@ func awsRestjson1_deserializeDocumentAwsBackupBackupPlanRuleDetails(v **types.Aw if err != nil { return err } - sv.StartWindowMinutes = i64 + sv.StartWindowMinutes = ptr.Int64(i64) } case "TargetBackupVault": @@ -15758,7 +15758,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws if err != nil { return err } - sv.BackupSizeInBytes = i64 + sv.BackupSizeInBytes = ptr.Int64(i64) } case "BackupVaultArn": @@ -15831,7 +15831,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointDetails(v **types.Aws if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsEncrypted = jtv + sv.IsEncrypted = ptr.Bool(jtv) } case "LastRestoreTime": @@ -15952,7 +15952,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(v ** if err != nil { return err } - sv.DeleteAfterDays = i64 + sv.DeleteAfterDays = ptr.Int64(i64) } case "MoveToColdStorageAfterDays": @@ -15965,7 +15965,7 @@ func awsRestjson1_deserializeDocumentAwsBackupRecoveryPointLifecycleDetails(v ** if err != nil { return err } - sv.MoveToColdStorageAfterDays = i64 + sv.MoveToColdStorageAfterDays = ptr.Int64(i64) } default: @@ -16667,7 +16667,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DisableRollback = jtv + sv.DisableRollback = ptr.Bool(jtv) } case "DriftInformation": @@ -16681,7 +16681,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableTerminationProtection = jtv + sv.EnableTerminationProtection = ptr.Bool(jtv) } case "LastUpdatedTime": @@ -16758,7 +16758,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFormationStackDetails(v **types.Aws if err != nil { return err } - sv.TimeoutInMinutes = int32(i64) + sv.TimeoutInMinutes = ptr.Int32(int32(i64)) } default: @@ -17204,7 +17204,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "IncludeCookies": @@ -17213,7 +17213,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionLogging(v **types. if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IncludeCookies = jtv + sv.IncludeCookies = ptr.Bool(jtv) } case "Prefix": @@ -17266,7 +17266,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin if err != nil { return err } - sv.HttpPort = int32(i64) + sv.HttpPort = ptr.Int32(int32(i64)) } case "HttpsPort": @@ -17279,7 +17279,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin if err != nil { return err } - sv.HttpsPort = int32(i64) + sv.HttpsPort = ptr.Int32(int32(i64)) } case "OriginKeepaliveTimeout": @@ -17292,7 +17292,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin if err != nil { return err } - sv.OriginKeepaliveTimeout = int32(i64) + sv.OriginKeepaliveTimeout = ptr.Int32(int32(i64)) } case "OriginProtocolPolicy": @@ -17314,7 +17314,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginCustomOrigin if err != nil { return err } - sv.OriginReadTimeout = int32(i64) + sv.OriginReadTimeout = ptr.Int32(int32(i64)) } case "OriginSslProtocols": @@ -17440,7 +17440,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginGroupFailove if err != nil { return err } - sv.Quantity = int32(i64) + sv.Quantity = ptr.Int32(int32(i64)) } default: @@ -17777,7 +17777,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionOriginSslProtocols if err != nil { return err } - sv.Quantity = int32(i64) + sv.Quantity = ptr.Int32(int32(i64)) } default: @@ -17844,7 +17844,7 @@ func awsRestjson1_deserializeDocumentAwsCloudFrontDistributionViewerCertificate( if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CloudFrontDefaultCertificate = jtv + sv.CloudFrontDefaultCertificate = ptr.Bool(jtv) } case "IamCertificateId": @@ -17929,7 +17929,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.HasCustomEventSelectors = jtv + sv.HasCustomEventSelectors = ptr.Bool(jtv) } case "HomeRegion": @@ -17947,7 +17947,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IncludeGlobalServiceEvents = jtv + sv.IncludeGlobalServiceEvents = ptr.Bool(jtv) } case "IsMultiRegionTrail": @@ -17956,7 +17956,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsMultiRegionTrail = jtv + sv.IsMultiRegionTrail = ptr.Bool(jtv) } case "IsOrganizationTrail": @@ -17965,7 +17965,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsOrganizationTrail = jtv + sv.IsOrganizationTrail = ptr.Bool(jtv) } case "KmsKeyId": @@ -17983,7 +17983,7 @@ func awsRestjson1_deserializeDocumentAwsCloudTrailTrailDetails(v **types.AwsClou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.LogFileValidationEnabled = jtv + sv.LogFileValidationEnabled = ptr.Bool(jtv) } case "Name": @@ -18077,7 +18077,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ActionsEnabled = jtv + sv.ActionsEnabled = ptr.Bool(jtv) } case "AlarmActions": @@ -18140,7 +18140,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou if err != nil { return err } - sv.DatapointsToAlarm = int32(i64) + sv.DatapointsToAlarm = ptr.Int32(int32(i64)) } case "Dimensions": @@ -18167,7 +18167,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou if err != nil { return err } - sv.EvaluationPeriods = int32(i64) + sv.EvaluationPeriods = ptr.Int32(int32(i64)) } case "ExtendedStatistic": @@ -18217,7 +18217,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou if err != nil { return err } - sv.Period = int32(i64) + sv.Period = ptr.Int32(int32(i64)) } case "Statistic": @@ -18237,7 +18237,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou if err != nil { return err } - sv.Threshold = f64 + sv.Threshold = ptr.Float64(f64) case string: var f64 float64 @@ -18255,7 +18255,7 @@ func awsRestjson1_deserializeDocumentAwsCloudWatchAlarmDetails(v **types.AwsClou return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Threshold = f64 + sv.Threshold = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -18419,7 +18419,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EncryptionDisabled = jtv + sv.EncryptionDisabled = ptr.Bool(jtv) } case "Location": @@ -18455,7 +18455,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectArtifactsDetails(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.OverrideArtifactName = jtv + sv.OverrideArtifactName = ptr.Bool(jtv) } case "Packaging": @@ -18667,7 +18667,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectEnvironment(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PrivilegedMode = jtv + sv.PrivilegedMode = ptr.Bool(jtv) } case "RegistryCredential": @@ -18961,7 +18961,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails( if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EncryptionDisabled = jtv + sv.EncryptionDisabled = ptr.Bool(jtv) } case "Location": @@ -19023,7 +19023,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode if err != nil { return err } - sv.GitCloneDepth = int32(i64) + sv.GitCloneDepth = ptr.Int32(int32(i64)) } case "InsecureSsl": @@ -19032,7 +19032,7 @@ func awsRestjson1_deserializeDocumentAwsCodeBuildProjectSource(v **types.AwsCode if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.InsecureSsl = jtv + sv.InsecureSsl = ptr.Bool(jtv) } case "Location": @@ -19140,7 +19140,7 @@ func awsRestjson1_deserializeDocumentAwsCorsConfiguration(v **types.AwsCorsConfi if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowCredentials = jtv + sv.AllowCredentials = ptr.Bool(jtv) } case "AllowHeaders": @@ -19173,7 +19173,7 @@ func awsRestjson1_deserializeDocumentAwsCorsConfiguration(v **types.AwsCorsConfi if err != nil { return err } - sv.MaxAge = int32(i64) + sv.MaxAge = ptr.Int32(int32(i64)) } default: @@ -19298,7 +19298,7 @@ func awsRestjson1_deserializeDocumentAwsDmsEndpointDetails(v **types.AwsDmsEndpo if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "ServerName": @@ -19369,7 +19369,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case "AutoMinorVersionUpgrade": @@ -19378,7 +19378,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoMinorVersionUpgrade = jtv + sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } case "AvailabilityZone": @@ -19414,7 +19414,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MultiAZ = jtv + sv.MultiAZ = ptr.Bool(jtv) } case "PreferredMaintenanceWindow": @@ -19432,7 +19432,7 @@ func awsRestjson1_deserializeDocumentAwsDmsReplicationInstanceDetails(v **types. if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PubliclyAccessible = jtv + sv.PubliclyAccessible = ptr.Bool(jtv) } case "ReplicationInstanceClass": @@ -19931,7 +19931,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo if err != nil { return err } - sv.ItemCount = int32(i64) + sv.ItemCount = ptr.Int32(int32(i64)) } case "KeySchema": @@ -20015,7 +20015,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableDetails(v **types.AwsDynamo if err != nil { return err } - sv.TableSizeBytes = i64 + sv.TableSizeBytes = ptr.Int64(i64) } case "TableStatus": @@ -20064,7 +20064,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Backfilling = jtv + sv.Backfilling = ptr.Bool(jtv) } case "IndexArn": @@ -20095,7 +20095,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty if err != nil { return err } - sv.IndexSizeBytes = i64 + sv.IndexSizeBytes = ptr.Int64(i64) } case "IndexStatus": @@ -20117,7 +20117,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v **ty if err != nil { return err } - sv.ItemCount = int32(i64) + sv.ItemCount = ptr.Int32(int32(i64)) } case "KeySchema": @@ -20449,7 +20449,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t if err != nil { return err } - sv.NumberOfDecreasesToday = int32(i64) + sv.NumberOfDecreasesToday = ptr.Int32(int32(i64)) } case "ReadCapacityUnits": @@ -20462,7 +20462,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t if err != nil { return err } - sv.ReadCapacityUnits = int32(i64) + sv.ReadCapacityUnits = ptr.Int32(int32(i64)) } case "WriteCapacityUnits": @@ -20475,7 +20475,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughput(v **t if err != nil { return err } - sv.WriteCapacityUnits = int32(i64) + sv.WriteCapacityUnits = ptr.Int32(int32(i64)) } default: @@ -20519,7 +20519,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableProvisionedThroughputOverri if err != nil { return err } - sv.ReadCapacityUnits = int32(i64) + sv.ReadCapacityUnits = ptr.Int32(int32(i64)) } default: @@ -20758,7 +20758,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableRestoreSummary(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RestoreInProgress = jtv + sv.RestoreInProgress = ptr.Bool(jtv) } case "SourceBackupArn": @@ -20883,7 +20883,7 @@ func awsRestjson1_deserializeDocumentAwsDynamoDbTableStreamSpecification(v **typ if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.StreamEnabled = jtv + sv.StreamEnabled = ptr.Bool(jtv) } case "StreamViewType": @@ -21203,7 +21203,7 @@ func awsRestjson1_deserializeDocumentAwsEc2InstanceMetadataOptions(v **types.Aws if err != nil { return err } - sv.HttpPutResponseHopLimit = int32(i64) + sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } case "HttpTokens": @@ -21438,7 +21438,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeleteOnTermination = jtv + sv.DeleteOnTermination = ptr.Bool(jtv) } case "Encrypted": @@ -21447,7 +21447,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Encrypted = jtv + sv.Encrypted = ptr.Bool(jtv) } case "Iops": @@ -21460,7 +21460,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case "KmsKeyId": @@ -21491,7 +21491,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS if err != nil { return err } - sv.Throughput = int32(i64) + sv.Throughput = ptr.Int32(int32(i64)) } case "VolumeSize": @@ -21504,7 +21504,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingS if err != nil { return err } - sv.VolumeSize = int32(i64) + sv.VolumeSize = ptr.Int32(int32(i64)) } case "VolumeType": @@ -21685,7 +21685,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v if err != nil { return err } - sv.CoreCount = int32(i64) + sv.CoreCount = ptr.Int32(int32(i64)) } case "ThreadsPerCore": @@ -21698,7 +21698,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v if err != nil { return err } - sv.ThreadsPerCore = int32(i64) + sv.ThreadsPerCore = ptr.Int32(int32(i64)) } default: @@ -21798,7 +21798,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DisableApiStop = jtv + sv.DisableApiStop = ptr.Bool(jtv) } case "DisableApiTermination": @@ -21807,7 +21807,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DisableApiTermination = jtv + sv.DisableApiTermination = ptr.Bool(jtv) } case "EbsOptimized": @@ -21816,7 +21816,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EbsOptimized = jtv + sv.EbsOptimized = ptr.Bool(jtv) } case "ElasticGpuSpecificationSet": @@ -22077,7 +22077,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAcc if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "Type": @@ -22160,7 +22160,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataEnclaveOptionsDetai if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -22200,7 +22200,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataHibernationOptionsD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Configured = jtv + sv.Configured = ptr.Bool(jtv) } default: @@ -22338,7 +22338,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptio if err != nil { return err } - sv.BlockDurationMinutes = int32(i64) + sv.BlockDurationMinutes = ptr.Int32(int32(i64)) } case "InstanceInterruptionBehavior": @@ -22418,7 +22418,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = int32(i64) + sv.Max = ptr.Int32(int32(i64)) } case "Min": @@ -22431,7 +22431,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = int32(i64) + sv.Min = ptr.Int32(int32(i64)) } default: @@ -22475,7 +22475,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = int32(i64) + sv.Max = ptr.Int32(int32(i64)) } case "Min": @@ -22488,7 +22488,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = int32(i64) + sv.Min = ptr.Int32(int32(i64)) } default: @@ -22532,7 +22532,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = int32(i64) + sv.Max = ptr.Int32(int32(i64)) } case "Min": @@ -22545,7 +22545,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = int32(i64) + sv.Min = ptr.Int32(int32(i64)) } default: @@ -22681,7 +22681,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.OnDemandMaxPricePercentageOverLowestPrice = int32(i64) + sv.OnDemandMaxPricePercentageOverLowestPrice = ptr.Int32(int32(i64)) } case "RequireHibernateSupport": @@ -22690,7 +22690,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RequireHibernateSupport = jtv + sv.RequireHibernateSupport = ptr.Bool(jtv) } case "SpotMaxPricePercentageOverLowestPrice": @@ -22703,7 +22703,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.SpotMaxPricePercentageOverLowestPrice = int32(i64) + sv.SpotMaxPricePercentageOverLowestPrice = ptr.Int32(int32(i64)) } case "TotalLocalStorageGB": @@ -22755,7 +22755,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = f64 + sv.Max = ptr.Float64(f64) case string: var f64 float64 @@ -22773,7 +22773,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Max = f64 + sv.Max = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -22789,7 +22789,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = f64 + sv.Min = ptr.Float64(f64) case string: var f64 float64 @@ -22807,7 +22807,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Min = f64 + sv.Min = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -22856,7 +22856,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = int32(i64) + sv.Max = ptr.Int32(int32(i64)) } case "Min": @@ -22869,7 +22869,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = int32(i64) + sv.Min = ptr.Int32(int32(i64)) } default: @@ -22913,7 +22913,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = int32(i64) + sv.Max = ptr.Int32(int32(i64)) } case "Min": @@ -22926,7 +22926,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = int32(i64) + sv.Min = ptr.Int32(int32(i64)) } default: @@ -22968,7 +22968,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = f64 + sv.Max = ptr.Float64(f64) case string: var f64 float64 @@ -22986,7 +22986,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Max = f64 + sv.Max = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -23002,7 +23002,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = f64 + sv.Min = ptr.Float64(f64) case string: var f64 float64 @@ -23020,7 +23020,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Min = f64 + sv.Min = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -23069,7 +23069,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Max = int32(i64) + sv.Max = ptr.Int32(int32(i64)) } case "Min": @@ -23082,7 +23082,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataInstanceRequirement if err != nil { return err } - sv.Min = int32(i64) + sv.Min = ptr.Int32(int32(i64)) } default: @@ -23258,7 +23258,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDeta if err != nil { return err } - sv.HttpPutResponseHopLimit = int32(i64) + sv.HttpPutResponseHopLimit = ptr.Int32(int32(i64)) } case "HttpTokens": @@ -23316,7 +23316,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataMonitoringDetails(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -23356,7 +23356,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AssociateCarrierIpAddress = jtv + sv.AssociateCarrierIpAddress = ptr.Bool(jtv) } case "AssociatePublicIpAddress": @@ -23365,7 +23365,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AssociatePublicIpAddress = jtv + sv.AssociatePublicIpAddress = ptr.Bool(jtv) } case "DeleteOnTermination": @@ -23374,7 +23374,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeleteOnTermination = jtv + sv.DeleteOnTermination = ptr.Bool(jtv) } case "Description": @@ -23396,7 +23396,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if err != nil { return err } - sv.DeviceIndex = int32(i64) + sv.DeviceIndex = ptr.Int32(int32(i64)) } case "Groups": @@ -23423,7 +23423,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if err != nil { return err } - sv.Ipv4PrefixCount = int32(i64) + sv.Ipv4PrefixCount = ptr.Int32(int32(i64)) } case "Ipv4Prefixes": @@ -23441,7 +23441,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if err != nil { return err } - sv.Ipv6AddressCount = int32(i64) + sv.Ipv6AddressCount = ptr.Int32(int32(i64)) } case "Ipv6Addresses": @@ -23459,7 +23459,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if err != nil { return err } - sv.Ipv6PrefixCount = int32(i64) + sv.Ipv6PrefixCount = ptr.Int32(int32(i64)) } case "Ipv6Prefixes": @@ -23477,7 +23477,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if err != nil { return err } - sv.NetworkCardIndex = int32(i64) + sv.NetworkCardIndex = ptr.Int32(int32(i64)) } case "NetworkInterfaceId": @@ -23513,7 +23513,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if err != nil { return err } - sv.SecondaryPrivateIpAddressCount = int32(i64) + sv.SecondaryPrivateIpAddressCount = ptr.Int32(int32(i64)) } case "SubnetId": @@ -23818,7 +23818,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Primary = jtv + sv.Primary = ptr.Bool(jtv) } case "PrivateIpAddress": @@ -23950,7 +23950,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v if err != nil { return err } - sv.PartitionNumber = int32(i64) + sv.PartitionNumber = ptr.Int32(int32(i64)) } case "SpreadDomain": @@ -24008,7 +24008,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableResourceNameDnsAAAARecord = jtv + sv.EnableResourceNameDnsAAAARecord = ptr.Bool(jtv) } case "EnableResourceNameDnsARecord": @@ -24017,7 +24017,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableResourceNameDnsARecord = jtv + sv.EnableResourceNameDnsARecord = ptr.Bool(jtv) } case "HostnameType": @@ -24070,7 +24070,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc if err != nil { return err } - sv.DefaultVersionNumber = i64 + sv.DefaultVersionNumber = ptr.Int64(i64) } case "Id": @@ -24092,7 +24092,7 @@ func awsRestjson1_deserializeDocumentAwsEc2LaunchTemplateDetails(v **types.AwsEc if err != nil { return err } - sv.LatestVersionNumber = i64 + sv.LatestVersionNumber = ptr.Int64(i64) } case "LaunchTemplateData": @@ -24248,7 +24248,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclDetails(v **types.AwsEc2Net if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsDefault = jtv + sv.IsDefault = ptr.Bool(jtv) } case "NetworkAclId": @@ -24324,7 +24324,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Egress = jtv + sv.Egress = ptr.Bool(jtv) } case "IcmpTypeCode": @@ -24374,7 +24374,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkAclEntry(v **types.AwsEc2Netwo if err != nil { return err } - sv.RuleNumber = int32(i64) + sv.RuleNumber = ptr.Int32(int32(i64)) } default: @@ -24466,7 +24466,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeleteOnTermination = jtv + sv.DeleteOnTermination = ptr.Bool(jtv) } case "DeviceIndex": @@ -24479,7 +24479,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceAttachment(v **types. if err != nil { return err } - sv.DeviceIndex = int32(i64) + sv.DeviceIndex = ptr.Int32(int32(i64)) } case "InstanceId": @@ -24593,7 +24593,7 @@ func awsRestjson1_deserializeDocumentAwsEc2NetworkInterfaceDetails(v **types.Aws if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SourceDestCheck = jtv + sv.SourceDestCheck = ptr.Bool(jtv) } default: @@ -25027,7 +25027,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A if err != nil { return err } - sv.FromPort = int32(i64) + sv.FromPort = ptr.Int32(int32(i64)) } case "IpProtocol": @@ -25064,7 +25064,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SecurityGroupIpPermission(v **types.A if err != nil { return err } - sv.ToPort = int32(i64) + sv.ToPort = ptr.Int32(int32(i64)) } case "UserIdGroupPairs": @@ -25484,7 +25484,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AssignIpv6AddressOnCreation = jtv + sv.AssignIpv6AddressOnCreation = ptr.Bool(jtv) } case "AvailabilityZone": @@ -25515,7 +25515,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD if err != nil { return err } - sv.AvailableIpAddressCount = int32(i64) + sv.AvailableIpAddressCount = ptr.Int32(int32(i64)) } case "CidrBlock": @@ -25533,7 +25533,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DefaultForAz = jtv + sv.DefaultForAz = ptr.Bool(jtv) } case "Ipv6CidrBlockAssociationSet": @@ -25547,7 +25547,7 @@ func awsRestjson1_deserializeDocumentAwsEc2SubnetDetails(v **types.AwsEc2SubnetD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MapPublicIpOnLaunch = jtv + sv.MapPublicIpOnLaunch = ptr.Bool(jtv) } case "OwnerId": @@ -25636,7 +25636,7 @@ func awsRestjson1_deserializeDocumentAwsEc2TransitGatewayDetails(v **types.AwsEc if err != nil { return err } - sv.AmazonSideAsn = int32(i64) + sv.AmazonSideAsn = ptr.Int32(int32(i64)) } case "AssociationDefaultRouteTableId": @@ -25780,7 +25780,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeAttachment(v **types.AwsEc2Volu if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeleteOnTermination = jtv + sv.DeleteOnTermination = ptr.Bool(jtv) } case "InstanceId": @@ -25895,7 +25895,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Encrypted = jtv + sv.Encrypted = ptr.Bool(jtv) } case "KmsKeyId": @@ -25917,7 +25917,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VolumeDetails(v **types.AwsEc2VolumeD if err != nil { return err } - sv.Size = int32(i64) + sv.Size = ptr.Int32(int32(i64)) } case "SnapshotId": @@ -26061,7 +26061,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AcceptanceRequired = jtv + sv.AcceptanceRequired = ptr.Bool(jtv) } case "AvailabilityZones": @@ -26085,7 +26085,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpcEndpointServiceDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ManagesVpcEndpoints = jtv + sv.ManagesVpcEndpoints = ptr.Bool(jtv) } case "NetworkLoadBalancerArns": @@ -26558,7 +26558,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsDetails(v **types if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.StaticRoutesOnly = jtv + sv.StaticRoutesOnly = ptr.Bool(jtv) } case "TunnelOptions": @@ -26607,7 +26607,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta if err != nil { return err } - sv.DpdTimeoutSeconds = int32(i64) + sv.DpdTimeoutSeconds = ptr.Int32(int32(i64)) } case "IkeVersions": @@ -26649,7 +26649,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta if err != nil { return err } - sv.Phase1LifetimeSeconds = int32(i64) + sv.Phase1LifetimeSeconds = ptr.Int32(int32(i64)) } case "Phase2DhGroupNumbers": @@ -26677,7 +26677,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta if err != nil { return err } - sv.Phase2LifetimeSeconds = int32(i64) + sv.Phase2LifetimeSeconds = ptr.Int32(int32(i64)) } case "PreSharedKey": @@ -26699,7 +26699,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta if err != nil { return err } - sv.RekeyFuzzPercentage = int32(i64) + sv.RekeyFuzzPercentage = ptr.Int32(int32(i64)) } case "RekeyMarginTimeSeconds": @@ -26712,7 +26712,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta if err != nil { return err } - sv.RekeyMarginTimeSeconds = int32(i64) + sv.RekeyMarginTimeSeconds = ptr.Int32(int32(i64)) } case "ReplayWindowSize": @@ -26725,7 +26725,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDeta if err != nil { return err } - sv.ReplayWindowSize = int32(i64) + sv.ReplayWindowSize = ptr.Int32(int32(i64)) } case "TunnelInsideCidr": @@ -26895,7 +26895,7 @@ func awsRestjson1_deserializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v ** if err != nil { return err } - sv.AcceptedRouteCount = int32(i64) + sv.AcceptedRouteCount = ptr.Int32(int32(i64)) } case "CertificateArn": @@ -27172,7 +27172,7 @@ func awsRestjson1_deserializeDocumentAwsEcrRepositoryImageScanningConfigurationD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ScanOnPush = jtv + sv.ScanOnPush = ptr.Bool(jtv) } default: @@ -27434,7 +27434,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CloudWatchEncryptionEnabled = jtv + sv.CloudWatchEncryptionEnabled = ptr.Bool(jtv) } case "CloudWatchLogGroupName": @@ -27461,7 +27461,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterConfigurationExecuteCommandCon if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.S3EncryptionEnabled = jtv + sv.S3EncryptionEnabled = ptr.Bool(jtv) } case "S3KeyPrefix": @@ -27514,7 +27514,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg if err != nil { return err } - sv.Base = int32(i64) + sv.Base = ptr.Int32(int32(i64)) } case "CapacityProvider": @@ -27536,7 +27536,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDefaultCapacityProviderStrateg if err != nil { return err } - sv.Weight = int32(i64) + sv.Weight = ptr.Int32(int32(i64)) } default: @@ -27614,7 +27614,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste if err != nil { return err } - sv.ActiveServicesCount = int32(i64) + sv.ActiveServicesCount = ptr.Int32(int32(i64)) } case "CapacityProviders": @@ -27665,7 +27665,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste if err != nil { return err } - sv.RegisteredContainerInstancesCount = int32(i64) + sv.RegisteredContainerInstancesCount = ptr.Int32(int32(i64)) } case "RunningTasksCount": @@ -27678,7 +27678,7 @@ func awsRestjson1_deserializeDocumentAwsEcsClusterDetails(v **types.AwsEcsCluste if err != nil { return err } - sv.RunningTasksCount = int32(i64) + sv.RunningTasksCount = ptr.Int32(int32(i64)) } case "Status": @@ -27750,7 +27750,7 @@ func awsRestjson1_deserializeDocumentAwsEcsContainerDetails(v **types.AwsEcsCont if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Privileged = jtv + sv.Privileged = ptr.Bool(jtv) } default: @@ -27828,7 +27828,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail if err != nil { return err } - sv.Base = int32(i64) + sv.Base = ptr.Int32(int32(i64)) } case "CapacityProvider": @@ -27850,7 +27850,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceCapacityProviderStrategyDetail if err != nil { return err } - sv.Weight = int32(i64) + sv.Weight = ptr.Int32(int32(i64)) } default: @@ -27924,7 +27924,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploym if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enable = jtv + sv.Enable = ptr.Bool(jtv) } case "Rollback": @@ -27933,7 +27933,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDeploym if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Rollback = jtv + sv.Rollback = ptr.Bool(jtv) } default: @@ -27982,7 +27982,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails if err != nil { return err } - sv.MaximumPercent = int32(i64) + sv.MaximumPercent = ptr.Int32(int32(i64)) } case "MinimumHealthyPercent": @@ -27995,7 +27995,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDeploymentConfigurationDetails if err != nil { return err } - sv.MinimumHealthyPercent = int32(i64) + sv.MinimumHealthyPercent = ptr.Int32(int32(i64)) } default: @@ -28103,7 +28103,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic if err != nil { return err } - sv.DesiredCount = int32(i64) + sv.DesiredCount = ptr.Int32(int32(i64)) } case "EnableEcsManagedTags": @@ -28112,7 +28112,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableEcsManagedTags = jtv + sv.EnableEcsManagedTags = ptr.Bool(jtv) } case "EnableExecuteCommand": @@ -28121,7 +28121,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnableExecuteCommand = jtv + sv.EnableExecuteCommand = ptr.Bool(jtv) } case "HealthCheckGracePeriodSeconds": @@ -28134,7 +28134,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceDetails(v **types.AwsEcsServic if err != nil { return err } - sv.HealthCheckGracePeriodSeconds = int32(i64) + sv.HealthCheckGracePeriodSeconds = ptr.Int32(int32(i64)) } case "LaunchType": @@ -28293,7 +28293,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceLoadBalancersDetails(v **types if err != nil { return err } - sv.ContainerPort = int32(i64) + sv.ContainerPort = ptr.Int32(int32(i64)) } case "LoadBalancerName": @@ -28650,7 +28650,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t if err != nil { return err } - sv.ContainerPort = int32(i64) + sv.ContainerPort = ptr.Int32(int32(i64)) } case "Port": @@ -28663,7 +28663,7 @@ func awsRestjson1_deserializeDocumentAwsEcsServiceServiceRegistriesDetails(v **t if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "RegistryArn": @@ -28838,7 +28838,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err != nil { return err } - sv.Cpu = int32(i64) + sv.Cpu = ptr.Int32(int32(i64)) } case "DependsOn": @@ -28852,7 +28852,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DisableNetworking = jtv + sv.DisableNetworking = ptr.Bool(jtv) } case "DnsSearchDomains": @@ -28896,7 +28896,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Essential = jtv + sv.Essential = ptr.Bool(jtv) } case "ExtraHosts": @@ -28938,7 +28938,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Interactive = jtv + sv.Interactive = ptr.Bool(jtv) } case "Links": @@ -28966,7 +28966,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err != nil { return err } - sv.Memory = int32(i64) + sv.Memory = ptr.Int32(int32(i64)) } case "MemoryReservation": @@ -28979,7 +28979,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err != nil { return err } - sv.MemoryReservation = int32(i64) + sv.MemoryReservation = ptr.Int32(int32(i64)) } case "MountPoints": @@ -29007,7 +29007,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Privileged = jtv + sv.Privileged = ptr.Bool(jtv) } case "PseudoTerminal": @@ -29016,7 +29016,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PseudoTerminal = jtv + sv.PseudoTerminal = ptr.Bool(jtv) } case "ReadonlyRootFilesystem": @@ -29025,7 +29025,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ReadonlyRootFilesystem = jtv + sv.ReadonlyRootFilesystem = ptr.Bool(jtv) } case "RepositoryCredentials": @@ -29053,7 +29053,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err != nil { return err } - sv.StartTimeout = int32(i64) + sv.StartTimeout = ptr.Int32(int32(i64)) } case "StopTimeout": @@ -29066,7 +29066,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDet if err != nil { return err } - sv.StopTimeout = int32(i64) + sv.StopTimeout = ptr.Int32(int32(i64)) } case "SystemControls": @@ -29442,7 +29442,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "Retries": @@ -29455,7 +29455,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea if err != nil { return err } - sv.Retries = int32(i64) + sv.Retries = ptr.Int32(int32(i64)) } case "StartPeriod": @@ -29468,7 +29468,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea if err != nil { return err } - sv.StartPeriod = int32(i64) + sv.StartPeriod = ptr.Int32(int32(i64)) } case "Timeout": @@ -29481,7 +29481,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHea if err != nil { return err } - sv.Timeout = int32(i64) + sv.Timeout = ptr.Int32(int32(i64)) } default: @@ -29572,7 +29572,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.InitProcessEnabled = jtv + sv.InitProcessEnabled = ptr.Bool(jtv) } case "MaxSwap": @@ -29585,7 +29585,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err != nil { return err } - sv.MaxSwap = int32(i64) + sv.MaxSwap = ptr.Int32(int32(i64)) } case "SharedMemorySize": @@ -29598,7 +29598,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err != nil { return err } - sv.SharedMemorySize = int32(i64) + sv.SharedMemorySize = ptr.Int32(int32(i64)) } case "Swappiness": @@ -29611,7 +29611,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err != nil { return err } - sv.Swappiness = int32(i64) + sv.Swappiness = ptr.Int32(int32(i64)) } case "Tmpfs": @@ -29762,7 +29762,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLin if err != nil { return err } - sv.Size = int32(i64) + sv.Size = ptr.Int32(int32(i64)) } default: @@ -30012,7 +30012,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMou if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ReadOnly = jtv + sv.ReadOnly = ptr.Bool(jtv) } case "SourceVolume": @@ -30099,7 +30099,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor if err != nil { return err } - sv.ContainerPort = int32(i64) + sv.ContainerPort = ptr.Int32(int32(i64)) } case "HostPort": @@ -30112,7 +30112,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPor if err != nil { return err } - sv.HostPort = int32(i64) + sv.HostPort = ptr.Int32(int32(i64)) } case "Protocol": @@ -30488,7 +30488,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli if err != nil { return err } - sv.HardLimit = int32(i64) + sv.HardLimit = ptr.Int32(int32(i64)) } case "Name": @@ -30510,7 +30510,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUli if err != nil { return err } - sv.SoftLimit = int32(i64) + sv.SoftLimit = ptr.Int32(int32(i64)) } default: @@ -30584,7 +30584,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVol if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ReadOnly = jtv + sv.ReadOnly = ptr.Bool(jtv) } case "SourceContainer": @@ -31167,7 +31167,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConf if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Autoprovision = jtv + sv.Autoprovision = ptr.Bool(jtv) } case "Driver": @@ -31320,7 +31320,7 @@ func awsRestjson1_deserializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigu if err != nil { return err } - sv.TransitEncryptionPort = int32(i64) + sv.TransitEncryptionPort = ptr.Int32(int32(i64)) } default: @@ -31995,7 +31995,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterLoggingClusterLoggingDetails(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "Types": @@ -32110,7 +32110,7 @@ func awsRestjson1_deserializeDocumentAwsEksClusterResourcesVpcConfigDetails(v ** if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EndpointPublicAccess = jtv + sv.EndpointPublicAccess = ptr.Bool(jtv) } case "SecurityGroupIds": @@ -32681,7 +32681,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainDomainEndpointOptions if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnforceHTTPS = jtv + sv.EnforceHTTPS = ptr.Bool(jtv) } case "TLSSecurityPolicy": @@ -32734,7 +32734,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC if err != nil { return err } - sv.DedicatedMasterCount = int32(i64) + sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } case "DedicatedMasterEnabled": @@ -32743,7 +32743,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DedicatedMasterEnabled = jtv + sv.DedicatedMasterEnabled = ptr.Bool(jtv) } case "DedicatedMasterType": @@ -32765,7 +32765,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case "InstanceType": @@ -32788,7 +32788,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ZoneAwarenessEnabled = jtv + sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } default: @@ -32832,7 +32832,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainElasticsearchClusterC if err != nil { return err } - sv.AvailabilityZoneCount = int32(i64) + sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } default: @@ -32872,7 +32872,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainEncryptionAtRestOptio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "KmsKeyId": @@ -32976,7 +32976,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainLogPublishingOptionsL if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -33016,7 +33016,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainNodeToNodeEncryptionO if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -33065,7 +33065,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Cancellable = jtv + sv.Cancellable = ptr.Bool(jtv) } case "CurrentVersion": @@ -33101,7 +33101,7 @@ func awsRestjson1_deserializeDocumentAwsElasticsearchDomainServiceSoftwareOption if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.UpdateAvailable = jtv + sv.UpdateAvailable = ptr.Bool(jtv) } case "UpdateStatus": @@ -33326,7 +33326,7 @@ func awsRestjson1_deserializeDocumentAwsElbLbCookieStickinessPolicy(v **types.Aw if err != nil { return err } - sv.CookieExpirationPeriod = i64 + sv.CookieExpirationPeriod = ptr.Int64(i64) } case "PolicyName": @@ -33379,7 +33379,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl if err != nil { return err } - sv.EmitInterval = int32(i64) + sv.EmitInterval = ptr.Int32(int32(i64)) } case "Enabled": @@ -33388,7 +33388,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerAccessLog(v **types.AwsEl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "S3BucketName": @@ -33589,7 +33589,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerBackendServerDescription( if err != nil { return err } - sv.InstancePort = int32(i64) + sv.InstancePort = ptr.Int32(int32(i64)) } case "PolicyNames": @@ -33668,7 +33668,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "Timeout": @@ -33681,7 +33681,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionDraining(v **ty if err != nil { return err } - sv.Timeout = int32(i64) + sv.Timeout = ptr.Int32(int32(i64)) } default: @@ -33725,7 +33725,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerConnectionSettings(v **ty if err != nil { return err } - sv.IdleTimeout = int32(i64) + sv.IdleTimeout = ptr.Int32(int32(i64)) } default: @@ -33765,7 +33765,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerCrossZoneLoadBalancing(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -33953,7 +33953,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws if err != nil { return err } - sv.HealthyThreshold = int32(i64) + sv.HealthyThreshold = ptr.Int32(int32(i64)) } case "Interval": @@ -33966,7 +33966,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws if err != nil { return err } - sv.Interval = int32(i64) + sv.Interval = ptr.Int32(int32(i64)) } case "Target": @@ -33988,7 +33988,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws if err != nil { return err } - sv.Timeout = int32(i64) + sv.Timeout = ptr.Int32(int32(i64)) } case "UnhealthyThreshold": @@ -34001,7 +34001,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerHealthCheck(v **types.Aws if err != nil { return err } - sv.UnhealthyThreshold = int32(i64) + sv.UnhealthyThreshold = ptr.Int32(int32(i64)) } default: @@ -34119,7 +34119,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb if err != nil { return err } - sv.InstancePort = int32(i64) + sv.InstancePort = ptr.Int32(int32(i64)) } case "InstanceProtocol": @@ -34141,7 +34141,7 @@ func awsRestjson1_deserializeDocumentAwsElbLoadBalancerListener(v **types.AwsElb if err != nil { return err } - sv.LoadBalancerPort = int32(i64) + sv.LoadBalancerPort = ptr.Int32(int32(i64)) } case "Protocol": @@ -35807,7 +35807,7 @@ func awsRestjson1_deserializeDocumentAwsIamAccessKeySessionContextAttributes(v * if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MfaAuthenticated = jtv + sv.MfaAuthenticated = ptr.Bool(jtv) } default: @@ -36444,7 +36444,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD if err != nil { return err } - sv.AttachmentCount = int32(i64) + sv.AttachmentCount = ptr.Int32(int32(i64)) } case "CreateDate": @@ -36480,7 +36480,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsAttachable = jtv + sv.IsAttachable = ptr.Bool(jtv) } case "Path": @@ -36502,7 +36502,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyDetails(v **types.AwsIamPolicyD if err != nil { return err } - sv.PermissionsBoundaryUsageCount = int32(i64) + sv.PermissionsBoundaryUsageCount = ptr.Int32(int32(i64)) } case "PolicyId": @@ -36583,7 +36583,7 @@ func awsRestjson1_deserializeDocumentAwsIamPolicyVersion(v **types.AwsIamPolicyV if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsDefaultVersion = jtv + sv.IsDefaultVersion = ptr.Bool(jtv) } case "VersionId": @@ -36698,7 +36698,7 @@ func awsRestjson1_deserializeDocumentAwsIamRoleDetails(v **types.AwsIamRoleDetai if err != nil { return err } - sv.MaxSessionDuration = int32(i64) + sv.MaxSessionDuration = ptr.Int32(int32(i64)) } case "Path": @@ -37032,7 +37032,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi if err != nil { return err } - sv.RetentionPeriodHours = int32(i64) + sv.RetentionPeriodHours = ptr.Int32(int32(i64)) } case "ShardCount": @@ -37045,7 +37045,7 @@ func awsRestjson1_deserializeDocumentAwsKinesisStreamDetails(v **types.AwsKinesi if err != nil { return err } - sv.ShardCount = int32(i64) + sv.ShardCount = ptr.Int32(int32(i64)) } case "StreamEncryption": @@ -37150,7 +37150,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails if err != nil { return err } - sv.CreationDate = f64 + sv.CreationDate = ptr.Float64(f64) case string: var f64 float64 @@ -37168,7 +37168,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.CreationDate = f64 + sv.CreationDate = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -37209,7 +37209,7 @@ func awsRestjson1_deserializeDocumentAwsKmsKeyDetails(v **types.AwsKmsKeyDetails if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.KeyRotationStatus = jtv + sv.KeyRotationStatus = ptr.Bool(jtv) } case "KeyState": @@ -37457,7 +37457,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd if err != nil { return err } - sv.MemorySize = int32(i64) + sv.MemorySize = ptr.Int32(int32(i64)) } case "PackageType": @@ -37506,7 +37506,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionDetails(v **types.AwsLambd if err != nil { return err } - sv.Timeout = int32(i64) + sv.Timeout = ptr.Int32(int32(i64)) } case "TracingConfig": @@ -37668,7 +37668,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaFunctionLayer(v **types.AwsLambdaF if err != nil { return err } - sv.CodeSize = int32(i64) + sv.CodeSize = ptr.Int32(int32(i64)) } default: @@ -37850,7 +37850,7 @@ func awsRestjson1_deserializeDocumentAwsLambdaLayerVersionDetails(v **types.AwsL if err != nil { return err } - sv.Version = i64 + sv.Version = ptr.Int64(i64) } default: @@ -38060,7 +38060,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -38100,7 +38100,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -38145,7 +38145,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -38185,7 +38185,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoClientAuthenticatio if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -38257,7 +38257,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoDetails(v **types.A if err != nil { return err } - sv.NumberOfBrokerNodes = int32(i64) + sv.NumberOfBrokerNodes = ptr.Int32(int32(i64)) } default: @@ -38387,7 +38387,7 @@ func awsRestjson1_deserializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncry if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.InCluster = jtv + sv.InCluster = ptr.Bool(jtv) } default: @@ -38463,7 +38463,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeleteProtection = jtv + sv.DeleteProtection = ptr.Bool(jtv) } case "Description": @@ -38517,7 +38517,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.FirewallPolicyChangeProtection = jtv + sv.FirewallPolicyChangeProtection = ptr.Bool(jtv) } case "SubnetChangeProtection": @@ -38526,7 +38526,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallFirewallDetails(v **types if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SubnetChangeProtection = jtv + sv.SubnetChangeProtection = ptr.Bool(jtv) } case "SubnetMappings": @@ -38730,7 +38730,7 @@ func awsRestjson1_deserializeDocumentAwsNetworkFirewallRuleGroupDetails(v **type if err != nil { return err } - sv.Capacity = int32(i64) + sv.Capacity = ptr.Int32(int32(i64)) } case "Description": @@ -38820,7 +38820,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityO if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "InternalUserDatabaseEnabled": @@ -38829,7 +38829,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityO if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.InternalUserDatabaseEnabled = jtv + sv.InternalUserDatabaseEnabled = ptr.Bool(jtv) } case "MasterUserOptions": @@ -38878,7 +38878,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta if err != nil { return err } - sv.DedicatedMasterCount = int32(i64) + sv.DedicatedMasterCount = ptr.Int32(int32(i64)) } case "DedicatedMasterEnabled": @@ -38887,7 +38887,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DedicatedMasterEnabled = jtv + sv.DedicatedMasterEnabled = ptr.Bool(jtv) } case "DedicatedMasterType": @@ -38909,7 +38909,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta if err != nil { return err } - sv.InstanceCount = int32(i64) + sv.InstanceCount = ptr.Int32(int32(i64)) } case "InstanceType": @@ -38931,7 +38931,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta if err != nil { return err } - sv.WarmCount = int32(i64) + sv.WarmCount = ptr.Int32(int32(i64)) } case "WarmEnabled": @@ -38940,7 +38940,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.WarmEnabled = jtv + sv.WarmEnabled = ptr.Bool(jtv) } case "WarmType": @@ -38963,7 +38963,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigDeta if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ZoneAwarenessEnabled = jtv + sv.ZoneAwarenessEnabled = ptr.Bool(jtv) } default: @@ -39007,7 +39007,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainClusterConfigZone if err != nil { return err } - sv.AvailabilityZoneCount = int32(i64) + sv.AvailabilityZoneCount = ptr.Int32(int32(i64)) } default: @@ -39195,7 +39195,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CustomEndpointEnabled = jtv + sv.CustomEndpointEnabled = ptr.Bool(jtv) } case "EnforceHTTPS": @@ -39204,7 +39204,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainDomainEndpointOpt if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnforceHTTPS = jtv + sv.EnforceHTTPS = ptr.Bool(jtv) } case "TLSSecurityPolicy": @@ -39253,7 +39253,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestO if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "KmsKeyId": @@ -39311,7 +39311,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainLogPublishingOpti if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -39455,7 +39455,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainNodeToNodeEncrypt if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -39504,7 +39504,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Cancellable = jtv + sv.Cancellable = ptr.Bool(jtv) } case "CurrentVersion": @@ -39540,7 +39540,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.OptionalDeployment = jtv + sv.OptionalDeployment = ptr.Bool(jtv) } case "UpdateAvailable": @@ -39549,7 +39549,7 @@ func awsRestjson1_deserializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOp if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.UpdateAvailable = jtv + sv.UpdateAvailable = ptr.Bool(jtv) } case "UpdateStatus": @@ -39735,7 +39735,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case "AssociatedRoles": @@ -39749,7 +39749,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoMinorVersionUpgrade = jtv + sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } case "AvailabilityZones": @@ -39767,7 +39767,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if err != nil { return err } - sv.BackupRetentionPeriod = int32(i64) + sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } case "ClusterCreateTime": @@ -39785,7 +39785,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CopyTagsToSnapshot = jtv + sv.CopyTagsToSnapshot = ptr.Bool(jtv) } case "CrossAccountClone": @@ -39794,7 +39794,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CrossAccountClone = jtv + sv.CrossAccountClone = ptr.Bool(jtv) } case "CustomEndpoints": @@ -39863,7 +39863,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeletionProtection = jtv + sv.DeletionProtection = ptr.Bool(jtv) } case "DomainMemberships": @@ -39927,7 +39927,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.HttpEndpointEnabled = jtv + sv.HttpEndpointEnabled = ptr.Bool(jtv) } case "IamDatabaseAuthenticationEnabled": @@ -39936,7 +39936,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IamDatabaseAuthenticationEnabled = jtv + sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } case "KmsKeyId": @@ -39963,7 +39963,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MultiAz = jtv + sv.MultiAz = ptr.Bool(jtv) } case "Port": @@ -39976,7 +39976,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "PreferredBackupWindow": @@ -40026,7 +40026,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterDetails(v **types.AwsRdsDbCl if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.StorageEncrypted = jtv + sv.StorageEncrypted = ptr.Bool(jtv) } case "VpcSecurityGroups": @@ -40089,7 +40089,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsClusterWriter = jtv + sv.IsClusterWriter = ptr.Bool(jtv) } case "PromotionTier": @@ -40102,7 +40102,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterMember(v **types.AwsRdsDbClu if err != nil { return err } - sv.PromotionTier = int32(i64) + sv.PromotionTier = ptr.Int32(int32(i64)) } default: @@ -40342,7 +40342,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case "AvailabilityZones": @@ -40406,7 +40406,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IamDatabaseAuthenticationEnabled = jtv + sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } case "KmsKeyId": @@ -40446,7 +40446,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case "Port": @@ -40459,7 +40459,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "SnapshotCreateTime": @@ -40495,7 +40495,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbClusterSnapshotDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.StorageEncrypted = jtv + sv.StorageEncrypted = ptr.Bool(jtv) } case "VpcId": @@ -40741,7 +40741,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case "AssociatedRoles": @@ -40755,7 +40755,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AutoMinorVersionUpgrade = jtv + sv.AutoMinorVersionUpgrade = ptr.Bool(jtv) } case "AvailabilityZone": @@ -40777,7 +40777,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.BackupRetentionPeriod = int32(i64) + sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } case "CACertificateIdentifier": @@ -40804,7 +40804,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CopyTagsToSnapshot = jtv + sv.CopyTagsToSnapshot = ptr.Bool(jtv) } case "DBClusterIdentifier": @@ -40844,7 +40844,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.DbInstancePort = int32(i64) + sv.DbInstancePort = ptr.Int32(int32(i64)) } case "DbInstanceStatus": @@ -40895,7 +40895,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.DeletionProtection = jtv + sv.DeletionProtection = ptr.Bool(jtv) } case "DomainMemberships": @@ -40946,7 +40946,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IAMDatabaseAuthenticationEnabled = jtv + sv.IAMDatabaseAuthenticationEnabled = ptr.Bool(jtv) } case "InstanceCreateTime": @@ -40968,7 +40968,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case "KmsKeyId": @@ -41022,7 +41022,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.MaxAllocatedStorage = int32(i64) + sv.MaxAllocatedStorage = ptr.Int32(int32(i64)) } case "MonitoringInterval": @@ -41035,7 +41035,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.MonitoringInterval = int32(i64) + sv.MonitoringInterval = ptr.Int32(int32(i64)) } case "MonitoringRoleArn": @@ -41053,7 +41053,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MultiAz = jtv + sv.MultiAz = ptr.Bool(jtv) } case "OptionGroupMemberships": @@ -41072,7 +41072,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PerformanceInsightsEnabled = jtv + sv.PerformanceInsightsEnabled = ptr.Bool(jtv) } case "PerformanceInsightsKmsKeyId": @@ -41094,7 +41094,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.PerformanceInsightsRetentionPeriod = int32(i64) + sv.PerformanceInsightsRetentionPeriod = ptr.Int32(int32(i64)) } case "PreferredBackupWindow": @@ -41130,7 +41130,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if err != nil { return err } - sv.PromotionTier = int32(i64) + sv.PromotionTier = ptr.Int32(int32(i64)) } case "PubliclyAccessible": @@ -41139,7 +41139,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PubliclyAccessible = jtv + sv.PubliclyAccessible = ptr.Bool(jtv) } case "ReadReplicaDBClusterIdentifiers": @@ -41181,7 +41181,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceDetails(v **types.AwsRdsDbI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.StorageEncrypted = jtv + sv.StorageEncrypted = ptr.Bool(jtv) } case "StorageType": @@ -41275,7 +41275,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbInstanceEndpoint(v **types.AwsRdsDb if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -41568,7 +41568,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case "BackupRetentionPeriod": @@ -41581,7 +41581,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws if err != nil { return err } - sv.BackupRetentionPeriod = int32(i64) + sv.BackupRetentionPeriod = ptr.Int32(int32(i64)) } case "CaCertificateIdentifier": @@ -41639,7 +41639,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case "LicenseModel": @@ -41666,7 +41666,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.MultiAZ = jtv + sv.MultiAZ = ptr.Bool(jtv) } case "PendingCloudWatchLogsExports": @@ -41684,7 +41684,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbPendingModifiedValues(v **types.Aws if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "ProcessorFeatures": @@ -42095,7 +42095,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS if err != nil { return err } - sv.AllocatedStorage = int32(i64) + sv.AllocatedStorage = ptr.Int32(int32(i64)) } case "AvailabilityZone": @@ -42140,7 +42140,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Encrypted = jtv + sv.Encrypted = ptr.Bool(jtv) } case "Engine": @@ -42167,7 +42167,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IamDatabaseAuthenticationEnabled = jtv + sv.IamDatabaseAuthenticationEnabled = ptr.Bool(jtv) } case "InstanceCreateTime": @@ -42189,7 +42189,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS if err != nil { return err } - sv.Iops = int32(i64) + sv.Iops = ptr.Int32(int32(i64)) } case "KmsKeyId": @@ -42238,7 +42238,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS if err != nil { return err } - sv.PercentProgress = int32(i64) + sv.PercentProgress = ptr.Int32(int32(i64)) } case "Port": @@ -42251,7 +42251,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbSnapshotDetails(v **types.AwsRdsDbS if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } case "ProcessorFeatures": @@ -42386,7 +42386,7 @@ func awsRestjson1_deserializeDocumentAwsRdsDbStatusInfo(v **types.AwsRdsDbStatus if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Normal = jtv + sv.Normal = ptr.Bool(jtv) } case "Status": @@ -42705,7 +42705,7 @@ func awsRestjson1_deserializeDocumentAwsRdsEventSubscriptionDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } case "EventCategoriesList": @@ -43209,7 +43209,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus if err != nil { return err } - sv.ManualSnapshotRetentionPeriod = int32(i64) + sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case "RetentionPeriod": @@ -43222,7 +43222,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus if err != nil { return err } - sv.RetentionPeriod = int32(i64) + sv.RetentionPeriod = ptr.Int32(int32(i64)) } case "SnapshotCopyGrantName": @@ -43363,7 +43363,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowVersionUpgrade = jtv + sv.AllowVersionUpgrade = ptr.Bool(jtv) } case "AutomatedSnapshotRetentionPeriod": @@ -43376,7 +43376,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if err != nil { return err } - sv.AutomatedSnapshotRetentionPeriod = int32(i64) + sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case "AvailabilityZone": @@ -43514,7 +43514,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Encrypted = jtv + sv.Encrypted = ptr.Bool(jtv) } case "Endpoint": @@ -43528,7 +43528,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnhancedVpcRouting = jtv + sv.EnhancedVpcRouting = ptr.Bool(jtv) } case "ExpectedNextSnapshotScheduleTime": @@ -43592,7 +43592,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if err != nil { return err } - sv.ManualSnapshotRetentionPeriod = int32(i64) + sv.ManualSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case "MasterUsername": @@ -43632,7 +43632,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if err != nil { return err } - sv.NumberOfNodes = int32(i64) + sv.NumberOfNodes = ptr.Int32(int32(i64)) } case "PendingActions": @@ -43660,7 +43660,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterDetails(v **types.AwsReds if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PubliclyAccessible = jtv + sv.PubliclyAccessible = ptr.Bool(jtv) } case "ResizeInfo": @@ -43804,7 +43804,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterEndpoint(v **types.AwsRed if err != nil { return err } - sv.Port = int32(i64) + sv.Port = ptr.Int32(int32(i64)) } default: @@ -44021,7 +44021,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterLoggingStatus(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.LoggingEnabled = jtv + sv.LoggingEnabled = ptr.Bool(jtv) } case "S3KeyPrefix": @@ -44074,7 +44074,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * if err != nil { return err } - sv.AutomatedSnapshotRetentionPeriod = int32(i64) + sv.AutomatedSnapshotRetentionPeriod = ptr.Int32(int32(i64)) } case "ClusterIdentifier": @@ -44119,7 +44119,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnhancedVpcRouting = jtv + sv.EnhancedVpcRouting = ptr.Bool(jtv) } case "MaintenanceTrackName": @@ -44159,7 +44159,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * if err != nil { return err } - sv.NumberOfNodes = int32(i64) + sv.NumberOfNodes = ptr.Int32(int32(i64)) } case "PubliclyAccessible": @@ -44168,7 +44168,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterPendingModifiedValues(v * if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.PubliclyAccessible = jtv + sv.PubliclyAccessible = ptr.Bool(jtv) } default: @@ -44208,7 +44208,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterResizeInfo(v **types.AwsR if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowCancelResize = jtv + sv.AllowCancelResize = ptr.Bool(jtv) } case "ResizeType": @@ -44259,7 +44259,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A if err != nil { return err } - sv.CurrentRestoreRateInMegaBytesPerSecond = f64 + sv.CurrentRestoreRateInMegaBytesPerSecond = ptr.Float64(f64) case string: var f64 float64 @@ -44277,7 +44277,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.CurrentRestoreRateInMegaBytesPerSecond = f64 + sv.CurrentRestoreRateInMegaBytesPerSecond = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -44295,7 +44295,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A if err != nil { return err } - sv.ElapsedTimeInSeconds = i64 + sv.ElapsedTimeInSeconds = ptr.Int64(i64) } case "EstimatedTimeToCompletionInSeconds": @@ -44308,7 +44308,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A if err != nil { return err } - sv.EstimatedTimeToCompletionInSeconds = i64 + sv.EstimatedTimeToCompletionInSeconds = ptr.Int64(i64) } case "ProgressInMegaBytes": @@ -44321,7 +44321,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A if err != nil { return err } - sv.ProgressInMegaBytes = i64 + sv.ProgressInMegaBytes = ptr.Int64(i64) } case "SnapshotSizeInMegaBytes": @@ -44334,7 +44334,7 @@ func awsRestjson1_deserializeDocumentAwsRedshiftClusterRestoreStatus(v **types.A if err != nil { return err } - sv.SnapshotSizeInMegaBytes = i64 + sv.SnapshotSizeInMegaBytes = ptr.Int64(i64) } case "Status": @@ -44766,7 +44766,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.BlockPublicAcls = jtv + sv.BlockPublicAcls = ptr.Bool(jtv) } case "BlockPublicPolicy": @@ -44775,7 +44775,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.BlockPublicPolicy = jtv + sv.BlockPublicPolicy = ptr.Bool(jtv) } case "IgnorePublicAcls": @@ -44784,7 +44784,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IgnorePublicAcls = jtv + sv.IgnorePublicAcls = ptr.Bool(jtv) } case "RestrictPublicBuckets": @@ -44793,7 +44793,7 @@ func awsRestjson1_deserializeDocumentAwsS3AccountPublicAccessBlockDetails(v **ty if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RestrictPublicBuckets = jtv + sv.RestrictPublicBuckets = ptr.Bool(jtv) } default: @@ -44873,7 +44873,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err != nil { return err } - sv.DaysAfterInitiation = int32(i64) + sv.DaysAfterInitiation = ptr.Int32(int32(i64)) } default: @@ -44931,7 +44931,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err != nil { return err } - sv.ExpirationInDays = int32(i64) + sv.ExpirationInDays = ptr.Int32(int32(i64)) } case "ExpiredObjectDeleteMarker": @@ -44940,7 +44940,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ExpiredObjectDeleteMarker = jtv + sv.ExpiredObjectDeleteMarker = ptr.Bool(jtv) } case "Filter": @@ -44967,7 +44967,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err != nil { return err } - sv.NoncurrentVersionExpirationInDays = int32(i64) + sv.NoncurrentVersionExpirationInDays = ptr.Int32(int32(i64)) } case "NoncurrentVersionTransitions": @@ -45354,7 +45354,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err != nil { return err } - sv.Days = int32(i64) + sv.Days = ptr.Int32(int32(i64)) } case "StorageClass": @@ -45450,7 +45450,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketLifecycleConfigurationRule if err != nil { return err } - sv.Days = int32(i64) + sv.Days = ptr.Int32(int32(i64)) } case "StorageClass": @@ -45533,7 +45533,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketBucketVersioningConfiguration(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IsMfaDeleteEnabled = jtv + sv.IsMfaDeleteEnabled = ptr.Bool(jtv) } case "Status": @@ -46116,7 +46116,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau if err != nil { return err } - sv.Days = int32(i64) + sv.Days = ptr.Int32(int32(i64)) } case "Mode": @@ -46138,7 +46138,7 @@ func awsRestjson1_deserializeDocumentAwsS3BucketObjectLockConfigurationRuleDefau if err != nil { return err } - sv.Years = int32(i64) + sv.Years = ptr.Int32(int32(i64)) } default: @@ -46921,7 +46921,7 @@ func awsRestjson1_deserializeDocumentAwsSageMakerNotebookInstanceDetails(v **typ if err != nil { return err } - sv.VolumeSizeInGB = int32(i64) + sv.VolumeSizeInGB = ptr.Int32(int32(i64)) } default: @@ -47001,7 +47001,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Deleted = jtv + sv.Deleted = ptr.Bool(jtv) } case "Description": @@ -47037,7 +47037,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RotationEnabled = jtv + sv.RotationEnabled = ptr.Bool(jtv) } case "RotationLambdaArn": @@ -47055,7 +47055,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.RotationOccurredWithinFrequency = jtv + sv.RotationOccurredWithinFrequency = ptr.Bool(jtv) } case "RotationRules": @@ -47104,7 +47104,7 @@ func awsRestjson1_deserializeDocumentAwsSecretsManagerSecretRotationRules(v **ty if err != nil { return err } - sv.AutomaticallyAfterDays = int32(i64) + sv.AutomaticallyAfterDays = ptr.Int32(int32(i64)) } default: @@ -47176,7 +47176,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin if err != nil { return err } - sv.Confidence = int32(i64) + sv.Confidence = ptr.Int32(int32(i64)) } case "CreatedAt": @@ -47198,7 +47198,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin if err != nil { return err } - sv.Criticality = int32(i64) + sv.Criticality = ptr.Int32(int32(i64)) } case "Description": @@ -47348,7 +47348,7 @@ func awsRestjson1_deserializeDocumentAwsSecurityFinding(v **types.AwsSecurityFin if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Sample = jtv + sv.Sample = ptr.Bool(jtv) } case "SchemaVersion": @@ -48332,7 +48332,7 @@ func awsRestjson1_deserializeDocumentAwsSqsQueueDetails(v **types.AwsSqsQueueDet if err != nil { return err } - sv.KmsDataKeyReusePeriodSeconds = int32(i64) + sv.KmsDataKeyReusePeriodSeconds = ptr.Int32(int32(i64)) } case "KmsMasterKeyId": @@ -48403,7 +48403,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.CompliantCriticalCount = int32(i64) + sv.CompliantCriticalCount = ptr.Int32(int32(i64)) } case "CompliantHighCount": @@ -48416,7 +48416,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.CompliantHighCount = int32(i64) + sv.CompliantHighCount = ptr.Int32(int32(i64)) } case "CompliantInformationalCount": @@ -48429,7 +48429,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.CompliantInformationalCount = int32(i64) + sv.CompliantInformationalCount = ptr.Int32(int32(i64)) } case "CompliantLowCount": @@ -48442,7 +48442,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.CompliantLowCount = int32(i64) + sv.CompliantLowCount = ptr.Int32(int32(i64)) } case "CompliantMediumCount": @@ -48455,7 +48455,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.CompliantMediumCount = int32(i64) + sv.CompliantMediumCount = ptr.Int32(int32(i64)) } case "CompliantUnspecifiedCount": @@ -48468,7 +48468,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.CompliantUnspecifiedCount = int32(i64) + sv.CompliantUnspecifiedCount = ptr.Int32(int32(i64)) } case "ExecutionType": @@ -48490,7 +48490,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.NonCompliantCriticalCount = int32(i64) + sv.NonCompliantCriticalCount = ptr.Int32(int32(i64)) } case "NonCompliantHighCount": @@ -48503,7 +48503,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.NonCompliantHighCount = int32(i64) + sv.NonCompliantHighCount = ptr.Int32(int32(i64)) } case "NonCompliantInformationalCount": @@ -48516,7 +48516,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.NonCompliantInformationalCount = int32(i64) + sv.NonCompliantInformationalCount = ptr.Int32(int32(i64)) } case "NonCompliantLowCount": @@ -48529,7 +48529,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.NonCompliantLowCount = int32(i64) + sv.NonCompliantLowCount = ptr.Int32(int32(i64)) } case "NonCompliantMediumCount": @@ -48542,7 +48542,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.NonCompliantMediumCount = int32(i64) + sv.NonCompliantMediumCount = ptr.Int32(int32(i64)) } case "NonCompliantUnspecifiedCount": @@ -48555,7 +48555,7 @@ func awsRestjson1_deserializeDocumentAwsSsmComplianceSummary(v **types.AwsSsmCom if err != nil { return err } - sv.NonCompliantUnspecifiedCount = int32(i64) + sv.NonCompliantUnspecifiedCount = ptr.Int32(int32(i64)) } case "OverallSeverity": @@ -48913,7 +48913,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineLoggingConfigura if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.IncludeExecutionData = jtv + sv.IncludeExecutionData = ptr.Bool(jtv) } case "Level": @@ -48962,7 +48962,7 @@ func awsRestjson1_deserializeDocumentAwsStepFunctionStateMachineTracingConfigura if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Enabled = jtv + sv.Enabled = ptr.Bool(jtv) } default: @@ -49038,7 +49038,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleDetails(v **types.AwsWaf if err != nil { return err } - sv.RateLimit = i64 + sv.RateLimit = ptr.Int64(i64) } case "RuleId": @@ -49096,7 +49096,7 @@ func awsRestjson1_deserializeDocumentAwsWafRateBasedRuleMatchPredicate(v **types if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Negated = jtv + sv.Negated = ptr.Bool(jtv) } case "Type": @@ -49215,7 +49215,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleDetails(v **type if err != nil { return err } - sv.RateLimit = i64 + sv.RateLimit = ptr.Int64(i64) } case "RuleId": @@ -49273,7 +49273,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Negated = jtv + sv.Negated = ptr.Bool(jtv) } case "Type": @@ -49531,7 +49531,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRuleGroupRulesDetails(v **typ if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "RuleId": @@ -49666,7 +49666,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalRulePredicateListDetails(v ** if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Negated = jtv + sv.Negated = ptr.Bool(jtv) } case "Type": @@ -49875,7 +49875,7 @@ func awsRestjson1_deserializeDocumentAwsWafRegionalWebAclRulesListDetails(v **ty if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "RuleId": @@ -50148,7 +50148,7 @@ func awsRestjson1_deserializeDocumentAwsWafRuleGroupRulesDetails(v **types.AwsWa if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "RuleId": @@ -50283,7 +50283,7 @@ func awsRestjson1_deserializeDocumentAwsWafRulePredicateListDetails(v **types.Aw if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Negated = jtv + sv.Negated = ptr.Bool(jtv) } case "Type": @@ -50502,7 +50502,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2CustomResponseDetails(v **types.Aws if err != nil { return err } - sv.ResponseCode = int32(i64) + sv.ResponseCode = ptr.Int32(int32(i64)) } case "ResponseHeaders": @@ -50594,7 +50594,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RuleGroupDetails(v **types.AwsWafv2 if err != nil { return err } - sv.Capacity = i64 + sv.Capacity = ptr.Int64(i64) } case "Description": @@ -50830,7 +50830,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2RulesDetails(v **types.AwsWafv2Rule if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "VisibilityConfig": @@ -50909,7 +50909,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.CloudWatchMetricsEnabled = jtv + sv.CloudWatchMetricsEnabled = ptr.Bool(jtv) } case "MetricName": @@ -50927,7 +50927,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2VisibilityConfigDetails(v **types.A if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.SampledRequestsEnabled = jtv + sv.SampledRequestsEnabled = ptr.Bool(jtv) } default: @@ -51048,7 +51048,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclCaptchaConfigImmunityTimeProp if err != nil { return err } - sv.ImmunityTime = i64 + sv.ImmunityTime = ptr.Int64(i64) } default: @@ -51101,7 +51101,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web if err != nil { return err } - sv.Capacity = i64 + sv.Capacity = ptr.Int64(i64) } case "CaptchaConfig": @@ -51138,7 +51138,7 @@ func awsRestjson1_deserializeDocumentAwsWafv2WebAclDetails(v **types.AwsWafv2Web if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.ManagedbyFirewallManager = jtv + sv.ManagedbyFirewallManager = ptr.Bool(jtv) } case "Name": @@ -51279,7 +51279,7 @@ func awsRestjson1_deserializeDocumentAwsWafWebAclRule(v **types.AwsWafWebAclRule if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "RuleId": @@ -51517,7 +51517,7 @@ func awsRestjson1_deserializeDocumentBooleanFilter(v **types.BooleanFilter, valu if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Value = jtv + sv.Value = ptr.Bool(jtv) } default: @@ -51640,7 +51640,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err if err != nil { return err } - sv.Column = i64 + sv.Column = ptr.Int64(i64) } case "ColumnName": @@ -51662,7 +51662,7 @@ func awsRestjson1_deserializeDocumentCell(v **types.Cell, value interface{}) err if err != nil { return err } - sv.Row = i64 + sv.Row = ptr.Int64(i64) } default: @@ -51868,7 +51868,7 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AdditionalOccurrences = jtv + sv.AdditionalOccurrences = ptr.Bool(jtv) } case "CustomDataIdentifiers": @@ -51900,7 +51900,7 @@ func awsRestjson1_deserializeDocumentClassificationResult(v **types.Classificati if err != nil { return err } - sv.SizeClassified = i64 + sv.SizeClassified = ptr.Int64(i64) } case "Status": @@ -52056,7 +52056,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV if err != nil { return err } - sv.EndLine = int32(i64) + sv.EndLine = ptr.Int32(int32(i64)) } case "FileName": @@ -52087,7 +52087,7 @@ func awsRestjson1_deserializeDocumentCodeVulnerabilitiesFilePath(v **types.CodeV if err != nil { return err } - sv.StartLine = int32(i64) + sv.StartLine = ptr.Int32(int32(i64)) } default: @@ -52236,7 +52236,7 @@ func awsRestjson1_deserializeDocumentContainerDetails(v **types.ContainerDetails if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Privileged = jtv + sv.Privileged = ptr.Bool(jtv) } case "VolumeMounts": @@ -52343,7 +52343,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersDetections(v **types.C if err != nil { return err } - sv.Count = i64 + sv.Count = ptr.Int64(i64) } case "Name": @@ -52440,7 +52440,7 @@ func awsRestjson1_deserializeDocumentCustomDataIdentifiersResult(v **types.Custo if err != nil { return err } - sv.TotalCount = i64 + sv.TotalCount = ptr.Int64(i64) } default: @@ -52487,7 +52487,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err if err != nil { return err } - sv.BaseScore = f64 + sv.BaseScore = ptr.Float64(f64) case string: var f64 float64 @@ -52505,7 +52505,7 @@ func awsRestjson1_deserializeDocumentCvss(v **types.Cvss, value interface{}) err return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.BaseScore = f64 + sv.BaseScore = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -52757,7 +52757,7 @@ func awsRestjson1_deserializeDocumentDateRange(v **types.DateRange, value interf if err != nil { return err } - sv.Value = int32(i64) + sv.Value = ptr.Int32(int32(i64)) } default: @@ -52797,7 +52797,7 @@ func awsRestjson1_deserializeDocumentDnsRequestAction(v **types.DnsRequestAction if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Blocked = jtv + sv.Blocked = ptr.Bool(jtv) } case "Domain": @@ -53066,7 +53066,7 @@ func awsRestjson1_deserializeDocumentFindingHistoryRecord(v **types.FindingHisto if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.FindingCreated = jtv + sv.FindingCreated = ptr.Bool(jtv) } case "FindingIdentifier": @@ -53322,7 +53322,7 @@ func awsRestjson1_deserializeDocumentFindingProviderFields(v **types.FindingProv if err != nil { return err } - sv.Confidence = int32(i64) + sv.Confidence = ptr.Int32(int32(i64)) } case "Criticality": @@ -53335,7 +53335,7 @@ func awsRestjson1_deserializeDocumentFindingProviderFields(v **types.FindingProv if err != nil { return err } - sv.Criticality = int32(i64) + sv.Criticality = ptr.Int32(int32(i64)) } case "RelatedFindings": @@ -53652,7 +53652,7 @@ func awsRestjson1_deserializeDocumentFirewallPolicyStatelessRuleGroupReferencesD if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "ResourceArn": @@ -53791,7 +53791,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in if err != nil { return err } - sv.Lat = f64 + sv.Lat = ptr.Float64(f64) case string: var f64 float64 @@ -53809,7 +53809,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Lat = f64 + sv.Lat = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -53825,7 +53825,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in if err != nil { return err } - sv.Lon = f64 + sv.Lon = ptr.Float64(f64) case string: var f64 float64 @@ -53843,7 +53843,7 @@ func awsRestjson1_deserializeDocumentGeoLocation(v **types.GeoLocation, value in return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Lon = f64 + sv.Lon = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -53892,7 +53892,7 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value if err != nil { return err } - sv.Code = int32(i64) + sv.Code = ptr.Int32(int32(i64)) } case "Type": @@ -53905,7 +53905,7 @@ func awsRestjson1_deserializeDocumentIcmpTypeCode(v **types.IcmpTypeCode, value if err != nil { return err } - sv.Type = int32(i64) + sv.Type = ptr.Int32(int32(i64)) } default: @@ -54192,7 +54192,7 @@ func awsRestjson1_deserializeDocumentInsightResultValue(v **types.InsightResultV if err != nil { return err } - sv.Count = int32(i64) + sv.Count = ptr.Int32(int32(i64)) } case "GroupByAttributeValue": @@ -54681,7 +54681,7 @@ func awsRestjson1_deserializeDocumentIpOrganizationDetails(v **types.IpOrganizat if err != nil { return err } - sv.Asn = int32(i64) + sv.Asn = ptr.Int32(int32(i64)) } case "AsnOrg": @@ -55372,7 +55372,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ if err != nil { return err } - sv.DestinationPort = int32(i64) + sv.DestinationPort = ptr.Int32(int32(i64)) } case "Direction": @@ -55444,7 +55444,7 @@ func awsRestjson1_deserializeDocumentNetwork(v **types.Network, value interface{ if err != nil { return err } - sv.SourcePort = int32(i64) + sv.SourcePort = ptr.Int32(int32(i64)) } default: @@ -55484,7 +55484,7 @@ func awsRestjson1_deserializeDocumentNetworkConnectionAction(v **types.NetworkCo if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Blocked = jtv + sv.Blocked = ptr.Bool(jtv) } case "ConnectionDirection": @@ -55886,7 +55886,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value if err != nil { return err } - sv.Eq = f64 + sv.Eq = ptr.Float64(f64) case string: var f64 float64 @@ -55904,7 +55904,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Eq = f64 + sv.Eq = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -55920,7 +55920,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value if err != nil { return err } - sv.Gte = f64 + sv.Gte = ptr.Float64(f64) case string: var f64 float64 @@ -55938,7 +55938,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Gte = f64 + sv.Gte = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -55954,7 +55954,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value if err != nil { return err } - sv.Lte = f64 + sv.Lte = ptr.Float64(f64) case string: var f64 float64 @@ -55972,7 +55972,7 @@ func awsRestjson1_deserializeDocumentNumberFilter(v **types.NumberFilter, value return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Lte = f64 + sv.Lte = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -56121,7 +56121,7 @@ func awsRestjson1_deserializeDocumentPage(v **types.Page, value interface{}) err if err != nil { return err } - sv.PageNumber = i64 + sv.PageNumber = ptr.Int64(i64) } default: @@ -56199,7 +56199,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value if err != nil { return err } - sv.FailedCount = int32(i64) + sv.FailedCount = ptr.Int32(int32(i64)) } case "Id": @@ -56221,7 +56221,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value if err != nil { return err } - sv.InstalledCount = int32(i64) + sv.InstalledCount = ptr.Int32(int32(i64)) } case "InstalledOtherCount": @@ -56234,7 +56234,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value if err != nil { return err } - sv.InstalledOtherCount = int32(i64) + sv.InstalledOtherCount = ptr.Int32(int32(i64)) } case "InstalledPendingReboot": @@ -56247,7 +56247,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value if err != nil { return err } - sv.InstalledPendingReboot = int32(i64) + sv.InstalledPendingReboot = ptr.Int32(int32(i64)) } case "InstalledRejectedCount": @@ -56260,7 +56260,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value if err != nil { return err } - sv.InstalledRejectedCount = int32(i64) + sv.InstalledRejectedCount = ptr.Int32(int32(i64)) } case "MissingCount": @@ -56273,7 +56273,7 @@ func awsRestjson1_deserializeDocumentPatchSummary(v **types.PatchSummary, value if err != nil { return err } - sv.MissingCount = int32(i64) + sv.MissingCount = ptr.Int32(int32(i64)) } case "Operation": @@ -56349,7 +56349,7 @@ func awsRestjson1_deserializeDocumentPortProbeAction(v **types.PortProbeAction, if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.Blocked = jtv + sv.Blocked = ptr.Bool(jtv) } case "PortProbeDetails": @@ -56478,7 +56478,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf if err != nil { return err } - sv.Begin = int32(i64) + sv.Begin = ptr.Int32(int32(i64)) } case "End": @@ -56491,7 +56491,7 @@ func awsRestjson1_deserializeDocumentPortRange(v **types.PortRange, value interf if err != nil { return err } - sv.End = int32(i64) + sv.End = ptr.Int32(int32(i64)) } default: @@ -56535,7 +56535,7 @@ func awsRestjson1_deserializeDocumentPortRangeFromTo(v **types.PortRangeFromTo, if err != nil { return err } - sv.From = int32(i64) + sv.From = ptr.Int32(int32(i64)) } case "To": @@ -56548,7 +56548,7 @@ func awsRestjson1_deserializeDocumentPortRangeFromTo(v **types.PortRangeFromTo, if err != nil { return err } - sv.To = int32(i64) + sv.To = ptr.Int32(int32(i64)) } default: @@ -56644,7 +56644,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va if err != nil { return err } - sv.ParentPid = int32(i64) + sv.ParentPid = ptr.Int32(int32(i64)) } case "Path": @@ -56666,7 +56666,7 @@ func awsRestjson1_deserializeDocumentProcessDetails(v **types.ProcessDetails, va if err != nil { return err } - sv.Pid = int32(i64) + sv.Pid = ptr.Int32(int32(i64)) } case "TerminatedAt": @@ -56967,7 +56967,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e if err != nil { return err } - sv.End = i64 + sv.End = ptr.Int64(i64) } case "Start": @@ -56980,7 +56980,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e if err != nil { return err } - sv.Start = i64 + sv.Start = ptr.Int64(i64) } case "StartColumn": @@ -56993,7 +56993,7 @@ func awsRestjson1_deserializeDocumentRange(v **types.Range, value interface{}) e if err != nil { return err } - sv.StartColumn = i64 + sv.StartColumn = ptr.Int64(i64) } default: @@ -57129,7 +57129,7 @@ func awsRestjson1_deserializeDocumentRecord(v **types.Record, value interface{}) if err != nil { return err } - sv.RecordIndex = i64 + sv.RecordIndex = ptr.Int64(i64) } default: @@ -59004,7 +59004,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err != nil { return err } - sv.FromPort = int32(i64) + sv.FromPort = ptr.Int32(int32(i64)) } case "ToPort": @@ -59017,7 +59017,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err != nil { return err } - sv.ToPort = int32(i64) + sv.ToPort = ptr.Int32(int32(i64)) } default: @@ -59209,7 +59209,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err != nil { return err } - sv.FromPort = int32(i64) + sv.FromPort = ptr.Int32(int32(i64)) } case "ToPort": @@ -59222,7 +59222,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRuleMatchAttributes if err != nil { return err } - sv.ToPort = int32(i64) + sv.ToPort = ptr.Int32(int32(i64)) } default: @@ -59490,7 +59490,7 @@ func awsRestjson1_deserializeDocumentRuleGroupSourceStatelessRulesDetails(v **ty if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "RuleDefinition": @@ -59969,7 +59969,7 @@ func awsRestjson1_deserializeDocumentSensitiveDataDetections(v **types.Sensitive if err != nil { return err } - sv.Count = i64 + sv.Count = ptr.Int64(i64) } case "Occurrences": @@ -60075,7 +60075,7 @@ func awsRestjson1_deserializeDocumentSensitiveDataResult(v **types.SensitiveData if err != nil { return err } - sv.TotalCount = i64 + sv.TotalCount = ptr.Int64(i64) } default: @@ -60162,7 +60162,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac if err != nil { return err } - sv.Normalized = int32(i64) + sv.Normalized = ptr.Int32(int32(i64)) } case "Original": @@ -60182,7 +60182,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac if err != nil { return err } - sv.Product = f64 + sv.Product = ptr.Float64(f64) case string: var f64 float64 @@ -60200,7 +60200,7 @@ func awsRestjson1_deserializeDocumentSeverity(v **types.Severity, value interfac return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Product = f64 + sv.Product = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -60258,7 +60258,7 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va if err != nil { return err } - sv.Normalized = int32(i64) + sv.Normalized = ptr.Int32(int32(i64)) } case "Product": @@ -60269,7 +60269,7 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va if err != nil { return err } - sv.Product = f64 + sv.Product = ptr.Float64(f64) case string: var f64 float64 @@ -60287,7 +60287,7 @@ func awsRestjson1_deserializeDocumentSeverityUpdate(v **types.SeverityUpdate, va return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.Product = f64 + sv.Product = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) @@ -60505,7 +60505,7 @@ func awsRestjson1_deserializeDocumentStandard(v **types.Standard, value interfac if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.EnabledByDefault = jtv + sv.EnabledByDefault = ptr.Bool(jtv) } case "Name": @@ -61826,7 +61826,7 @@ func awsRestjson1_deserializeDocumentThreat(v **types.Threat, value interface{}) if err != nil { return err } - sv.ItemCount = int32(i64) + sv.ItemCount = ptr.Int32(int32(i64)) } case "Name": @@ -62077,7 +62077,7 @@ func awsRestjson1_deserializeDocumentUnprocessedAutomationRule(v **types.Unproce if err != nil { return err } - sv.ErrorCode = int32(i64) + sv.ErrorCode = ptr.Int32(int32(i64)) } case "ErrorMessage": @@ -62668,7 +62668,7 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowDnsResolutionFromRemoteVpc = jtv + sv.AllowDnsResolutionFromRemoteVpc = ptr.Bool(jtv) } case "AllowEgressFromLocalClassicLinkToRemoteVpc": @@ -62677,7 +62677,7 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowEgressFromLocalClassicLinkToRemoteVpc = jtv + sv.AllowEgressFromLocalClassicLinkToRemoteVpc = ptr.Bool(jtv) } case "AllowEgressFromLocalVpcToRemoteClassicLink": @@ -62686,7 +62686,7 @@ func awsRestjson1_deserializeDocumentVpcInfoPeeringOptionsDetails(v **types.VpcI if !ok { return fmt.Errorf("expected Boolean to be of type *bool, got %T instead", value) } - sv.AllowEgressFromLocalVpcToRemoteClassicLink = jtv + sv.AllowEgressFromLocalVpcToRemoteClassicLink = ptr.Bool(jtv) } default: @@ -62738,7 +62738,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu if err != nil { return err } - sv.EpssScore = f64 + sv.EpssScore = ptr.Float64(f64) case string: var f64 float64 @@ -62756,7 +62756,7 @@ func awsRestjson1_deserializeDocumentVulnerability(v **types.Vulnerability, valu return fmt.Errorf("unknown JSON number value: %s", jtv) } - sv.EpssScore = f64 + sv.EpssScore = ptr.Float64(f64) default: return fmt.Errorf("expected Double to be a JSON Number, got %T instead", value) diff --git a/service/securityhub/endpoints.go b/service/securityhub/endpoints.go index 66974115472..76c4e4d8e25 100644 --- a/service/securityhub/endpoints.go +++ b/service/securityhub/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://securityhub-fips.") diff --git a/service/securityhub/serializers.go b/service/securityhub/serializers.go index 303df4c2311..74c42af0950 100644 --- a/service/securityhub/serializers.go +++ b/service/securityhub/serializers.go @@ -859,14 +859,14 @@ func awsRestjson1_serializeOpDocumentBatchUpdateFindingsInput(v *BatchUpdateFind object := value.Object() defer object.Close() - if v.Confidence != 0 { + if v.Confidence != nil { ok := object.Key("Confidence") - ok.Integer(v.Confidence) + ok.Integer(*v.Confidence) } - if v.Criticality != 0 { + if v.Criticality != nil { ok := object.Key("Criticality") - ok.Integer(v.Criticality) + ok.Integer(*v.Criticality) } if v.FindingIdentifiers != nil { @@ -1174,9 +1174,9 @@ func awsRestjson1_serializeOpDocumentCreateAutomationRuleInput(v *CreateAutomati ok.String(*v.Description) } - if v.IsTerminal { + if v.IsTerminal != nil { ok := object.Key("IsTerminal") - ok.Boolean(v.IsTerminal) + ok.Boolean(*v.IsTerminal) } if v.RuleName != nil { @@ -1184,9 +1184,9 @@ func awsRestjson1_serializeOpDocumentCreateAutomationRuleInput(v *CreateAutomati ok.String(*v.RuleName) } - { + if v.RuleOrder != nil { ok := object.Key("RuleOrder") - ok.Integer(v.RuleOrder) + ok.Integer(*v.RuleOrder) } if len(v.RuleStatus) > 0 { @@ -1950,9 +1950,9 @@ func awsRestjson1_serializeOpDocumentDescribeActionTargetsInput(v *DescribeActio } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -2128,8 +2128,8 @@ func awsRestjson1_serializeOpHttpBindingsDescribeProductsInput(v *DescribeProduc return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -2196,8 +2196,8 @@ func awsRestjson1_serializeOpHttpBindingsDescribeStandardsInput(v *DescribeStand return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -2260,8 +2260,8 @@ func awsRestjson1_serializeOpHttpBindingsDescribeStandardsControlsInput(v *Descr return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -2875,9 +2875,9 @@ func awsRestjson1_serializeOpDocumentEnableSecurityHubInput(v *EnableSecurityHub ok.String(string(v.ControlFindingGenerator)) } - if v.EnableDefaultStandards { + if v.EnableDefaultStandards != nil { ok := object.Key("EnableDefaultStandards") - ok.Boolean(v.EnableDefaultStandards) + ok.Boolean(*v.EnableDefaultStandards) } if v.Tags != nil { @@ -3009,9 +3009,9 @@ func awsRestjson1_serializeOpDocumentGetEnabledStandardsInput(v *GetEnabledStand object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3173,9 +3173,9 @@ func awsRestjson1_serializeOpDocumentGetFindingHistoryInput(v *GetFindingHistory } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3265,9 +3265,9 @@ func awsRestjson1_serializeOpDocumentGetFindingsInput(v *GetFindingsInput, value } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3424,9 +3424,9 @@ func awsRestjson1_serializeOpDocumentGetInsightsInput(v *GetInsightsInput, value } } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3748,8 +3748,8 @@ func awsRestjson1_serializeOpHttpBindingsListAutomationRulesInput(v *ListAutomat return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3812,8 +3812,8 @@ func awsRestjson1_serializeOpHttpBindingsListEnabledProductsForImportInput(v *Li return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3876,8 +3876,8 @@ func awsRestjson1_serializeOpHttpBindingsListFindingAggregatorsInput(v *ListFind return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3940,8 +3940,8 @@ func awsRestjson1_serializeOpHttpBindingsListInvitationsInput(v *ListInvitations return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4004,16 +4004,16 @@ func awsRestjson1_serializeOpHttpBindingsListMembersInput(v *ListMembersInput, e return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { encoder.SetQuery("NextToken").String(*v.NextToken) } - if v.OnlyAssociated { - encoder.SetQuery("OnlyAssociated").Boolean(v.OnlyAssociated) + if v.OnlyAssociated != nil { + encoder.SetQuery("OnlyAssociated").Boolean(*v.OnlyAssociated) } return nil @@ -4072,8 +4072,8 @@ func awsRestjson1_serializeOpHttpBindingsListOrganizationAdminAccountsInput(v *L return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4136,8 +4136,8 @@ func awsRestjson1_serializeOpHttpBindingsListSecurityControlDefinitionsInput(v * return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4204,8 +4204,8 @@ func awsRestjson1_serializeOpHttpBindingsListStandardsControlAssociationsInput(v return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4881,9 +4881,9 @@ func awsRestjson1_serializeOpDocumentUpdateOrganizationConfigurationInput(v *Upd object := value.Object() defer object.Close() - { + if v.AutoEnable != nil { ok := object.Key("AutoEnable") - ok.Boolean(v.AutoEnable) + ok.Boolean(*v.AutoEnable) } if len(v.AutoEnableStandards) > 0 { @@ -4961,9 +4961,9 @@ func awsRestjson1_serializeOpDocumentUpdateSecurityHubConfigurationInput(v *Upda object := value.Object() defer object.Close() - if v.AutoEnableControls { + if v.AutoEnableControls != nil { ok := object.Key("AutoEnableControls") - ok.Boolean(v.AutoEnableControls) + ok.Boolean(*v.AutoEnableControls) } if len(v.ControlFindingGenerator) > 0 { @@ -5177,9 +5177,9 @@ func awsRestjson1_serializeDocumentActionLocalPortDetails(v *types.ActionLocalPo object := value.Object() defer object.Close() - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.PortName != nil { @@ -5234,9 +5234,9 @@ func awsRestjson1_serializeDocumentActionRemotePortDetails(v *types.ActionRemote object := value.Object() defer object.Close() - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.PortName != nil { @@ -5329,9 +5329,9 @@ func awsRestjson1_serializeDocumentAssociationSetDetails(v *types.AssociationSet ok.String(*v.GatewayId) } - if v.Main { + if v.Main != nil { ok := object.Key("Main") - ok.Boolean(v.Main) + ok.Boolean(*v.Main) } if v.RouteTableAssociationId != nil { @@ -5416,14 +5416,14 @@ func awsRestjson1_serializeDocumentAutomationRulesFindingFieldsUpdate(v *types.A object := value.Object() defer object.Close() - if v.Confidence != 0 { + if v.Confidence != nil { ok := object.Key("Confidence") - ok.Integer(v.Confidence) + ok.Integer(*v.Confidence) } - if v.Criticality != 0 { + if v.Criticality != nil { ok := object.Key("Criticality") - ok.Integer(v.Criticality) + ok.Integer(*v.Criticality) } if v.Note != nil { @@ -5767,9 +5767,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerDetails(v *types.AwsAmazonMq ok.String(*v.AuthenticationStrategy) } - if v.AutoMinorVersionUpgrade { + if v.AutoMinorVersionUpgrade != nil { ok := object.Key("AutoMinorVersionUpgrade") - ok.Boolean(v.AutoMinorVersionUpgrade) + ok.Boolean(*v.AutoMinorVersionUpgrade) } if v.BrokerArn != nil { @@ -5835,9 +5835,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerDetails(v *types.AwsAmazonMq } } - if v.PubliclyAccessible { + if v.PubliclyAccessible != nil { ok := object.Key("PubliclyAccessible") - ok.Boolean(v.PubliclyAccessible) + ok.Boolean(*v.PubliclyAccessible) } if v.SecurityGroups != nil { @@ -5878,9 +5878,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerEncryptionOptionsDetails(v * ok.String(*v.KmsKeyId) } - if v.UseAwsOwnedKey { + if v.UseAwsOwnedKey != nil { ok := object.Key("UseAwsOwnedKey") - ok.Boolean(v.UseAwsOwnedKey) + ok.Boolean(*v.UseAwsOwnedKey) } return nil @@ -5912,9 +5912,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails(v ok.String(*v.RoleSearchMatching) } - if v.RoleSearchSubtree { + if v.RoleSearchSubtree != nil { ok := object.Key("RoleSearchSubtree") - ok.Boolean(v.RoleSearchSubtree) + ok.Boolean(*v.RoleSearchSubtree) } if v.ServiceAccountUsername != nil { @@ -5937,9 +5937,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerLdapServerMetadataDetails(v ok.String(*v.UserSearchMatching) } - if v.UserSearchSubtree { + if v.UserSearchSubtree != nil { ok := object.Key("UserSearchSubtree") - ok.Boolean(v.UserSearchSubtree) + ok.Boolean(*v.UserSearchSubtree) } return nil @@ -5949,9 +5949,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerLogsDetails(v *types.AwsAmaz object := value.Object() defer object.Close() - if v.Audit { + if v.Audit != nil { ok := object.Key("Audit") - ok.Boolean(v.Audit) + ok.Boolean(*v.Audit) } if v.AuditLogGroup != nil { @@ -5959,9 +5959,9 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerLogsDetails(v *types.AwsAmaz ok.String(*v.AuditLogGroup) } - if v.General { + if v.General != nil { ok := object.Key("General") - ok.Boolean(v.General) + ok.Boolean(*v.General) } if v.GeneralLogGroup != nil { @@ -5983,14 +5983,14 @@ func awsRestjson1_serializeDocumentAwsAmazonMqBrokerLogsPendingDetails(v *types. object := value.Object() defer object.Close() - if v.Audit { + if v.Audit != nil { ok := object.Key("Audit") - ok.Boolean(v.Audit) + ok.Boolean(*v.Audit) } - if v.General { + if v.General != nil { ok := object.Key("General") - ok.Boolean(v.General) + ok.Boolean(*v.General) } return nil @@ -6139,20 +6139,20 @@ func awsRestjson1_serializeDocumentAwsApiGatewayCanarySettings(v *types.AwsApiGa ok.String(*v.DeploymentId) } - if v.PercentTraffic != 0 { + if v.PercentTraffic != nil { ok := object.Key("PercentTraffic") switch { - case math.IsNaN(v.PercentTraffic): + case math.IsNaN(*v.PercentTraffic): ok.String("NaN") - case math.IsInf(v.PercentTraffic, 1): + case math.IsInf(*v.PercentTraffic, 1): ok.String("Infinity") - case math.IsInf(v.PercentTraffic, -1): + case math.IsInf(*v.PercentTraffic, -1): ok.String("-Infinity") default: - ok.Double(v.PercentTraffic) + ok.Double(*v.PercentTraffic) } } @@ -6164,9 +6164,9 @@ func awsRestjson1_serializeDocumentAwsApiGatewayCanarySettings(v *types.AwsApiGa } } - if v.UseStageCache { + if v.UseStageCache != nil { ok := object.Key("UseStageCache") - ok.Boolean(v.UseStageCache) + ok.Boolean(*v.UseStageCache) } return nil @@ -6190,24 +6190,24 @@ func awsRestjson1_serializeDocumentAwsApiGatewayMethodSettings(v *types.AwsApiGa object := value.Object() defer object.Close() - if v.CacheDataEncrypted { + if v.CacheDataEncrypted != nil { ok := object.Key("CacheDataEncrypted") - ok.Boolean(v.CacheDataEncrypted) + ok.Boolean(*v.CacheDataEncrypted) } - if v.CacheTtlInSeconds != 0 { + if v.CacheTtlInSeconds != nil { ok := object.Key("CacheTtlInSeconds") - ok.Integer(v.CacheTtlInSeconds) + ok.Integer(*v.CacheTtlInSeconds) } - if v.CachingEnabled { + if v.CachingEnabled != nil { ok := object.Key("CachingEnabled") - ok.Boolean(v.CachingEnabled) + ok.Boolean(*v.CachingEnabled) } - if v.DataTraceEnabled { + if v.DataTraceEnabled != nil { ok := object.Key("DataTraceEnabled") - ok.Boolean(v.DataTraceEnabled) + ok.Boolean(*v.DataTraceEnabled) } if v.HttpMethod != nil { @@ -6220,14 +6220,14 @@ func awsRestjson1_serializeDocumentAwsApiGatewayMethodSettings(v *types.AwsApiGa ok.String(*v.LoggingLevel) } - if v.MetricsEnabled { + if v.MetricsEnabled != nil { ok := object.Key("MetricsEnabled") - ok.Boolean(v.MetricsEnabled) + ok.Boolean(*v.MetricsEnabled) } - if v.RequireAuthorizationForCacheControl { + if v.RequireAuthorizationForCacheControl != nil { ok := object.Key("RequireAuthorizationForCacheControl") - ok.Boolean(v.RequireAuthorizationForCacheControl) + ok.Boolean(*v.RequireAuthorizationForCacheControl) } if v.ResourcePath != nil { @@ -6235,25 +6235,25 @@ func awsRestjson1_serializeDocumentAwsApiGatewayMethodSettings(v *types.AwsApiGa ok.String(*v.ResourcePath) } - if v.ThrottlingBurstLimit != 0 { + if v.ThrottlingBurstLimit != nil { ok := object.Key("ThrottlingBurstLimit") - ok.Integer(v.ThrottlingBurstLimit) + ok.Integer(*v.ThrottlingBurstLimit) } - if v.ThrottlingRateLimit != 0 { + if v.ThrottlingRateLimit != nil { ok := object.Key("ThrottlingRateLimit") switch { - case math.IsNaN(v.ThrottlingRateLimit): + case math.IsNaN(*v.ThrottlingRateLimit): ok.String("NaN") - case math.IsInf(v.ThrottlingRateLimit, 1): + case math.IsInf(*v.ThrottlingRateLimit, 1): ok.String("Infinity") - case math.IsInf(v.ThrottlingRateLimit, -1): + case math.IsInf(*v.ThrottlingRateLimit, -1): ok.String("-Infinity") default: - ok.Double(v.ThrottlingRateLimit) + ok.Double(*v.ThrottlingRateLimit) } } @@ -6317,9 +6317,9 @@ func awsRestjson1_serializeDocumentAwsApiGatewayRestApiDetails(v *types.AwsApiGa ok.String(*v.Id) } - if v.MinimumCompressionSize != 0 { + if v.MinimumCompressionSize != nil { ok := object.Key("MinimumCompressionSize") - ok.Integer(v.MinimumCompressionSize) + ok.Integer(*v.MinimumCompressionSize) } if v.Name != nil { @@ -6346,9 +6346,9 @@ func awsRestjson1_serializeDocumentAwsApiGatewayStageDetails(v *types.AwsApiGate } } - if v.CacheClusterEnabled { + if v.CacheClusterEnabled != nil { ok := object.Key("CacheClusterEnabled") - ok.Boolean(v.CacheClusterEnabled) + ok.Boolean(*v.CacheClusterEnabled) } if v.CacheClusterSize != nil { @@ -6410,9 +6410,9 @@ func awsRestjson1_serializeDocumentAwsApiGatewayStageDetails(v *types.AwsApiGate ok.String(*v.StageName) } - if v.TracingEnabled { + if v.TracingEnabled != nil { ok := object.Key("TracingEnabled") - ok.Boolean(v.TracingEnabled) + ok.Boolean(*v.TracingEnabled) } if v.Variables != nil { @@ -6493,14 +6493,14 @@ func awsRestjson1_serializeDocumentAwsApiGatewayV2RouteSettings(v *types.AwsApiG object := value.Object() defer object.Close() - if v.DataTraceEnabled { + if v.DataTraceEnabled != nil { ok := object.Key("DataTraceEnabled") - ok.Boolean(v.DataTraceEnabled) + ok.Boolean(*v.DataTraceEnabled) } - if v.DetailedMetricsEnabled { + if v.DetailedMetricsEnabled != nil { ok := object.Key("DetailedMetricsEnabled") - ok.Boolean(v.DetailedMetricsEnabled) + ok.Boolean(*v.DetailedMetricsEnabled) } if v.LoggingLevel != nil { @@ -6508,25 +6508,25 @@ func awsRestjson1_serializeDocumentAwsApiGatewayV2RouteSettings(v *types.AwsApiG ok.String(*v.LoggingLevel) } - if v.ThrottlingBurstLimit != 0 { + if v.ThrottlingBurstLimit != nil { ok := object.Key("ThrottlingBurstLimit") - ok.Integer(v.ThrottlingBurstLimit) + ok.Integer(*v.ThrottlingBurstLimit) } - if v.ThrottlingRateLimit != 0 { + if v.ThrottlingRateLimit != nil { ok := object.Key("ThrottlingRateLimit") switch { - case math.IsNaN(v.ThrottlingRateLimit): + case math.IsNaN(*v.ThrottlingRateLimit): ok.String("NaN") - case math.IsInf(v.ThrottlingRateLimit, 1): + case math.IsInf(*v.ThrottlingRateLimit, 1): ok.String("Infinity") - case math.IsInf(v.ThrottlingRateLimit, -1): + case math.IsInf(*v.ThrottlingRateLimit, -1): ok.String("-Infinity") default: - ok.Double(v.ThrottlingRateLimit) + ok.Double(*v.ThrottlingRateLimit) } } @@ -6545,14 +6545,14 @@ func awsRestjson1_serializeDocumentAwsApiGatewayV2StageDetails(v *types.AwsApiGa } } - if v.ApiGatewayManaged { + if v.ApiGatewayManaged != nil { ok := object.Key("ApiGatewayManaged") - ok.Boolean(v.ApiGatewayManaged) + ok.Boolean(*v.ApiGatewayManaged) } - if v.AutoDeploy { + if v.AutoDeploy != nil { ok := object.Key("AutoDeploy") - ok.Boolean(v.AutoDeploy) + ok.Boolean(*v.AutoDeploy) } if v.ClientCertificateId != nil { @@ -6729,9 +6729,9 @@ func awsRestjson1_serializeDocumentAwsAppSyncGraphQlApiDetails(v *types.AwsAppSy ok.String(*v.WafWebAclArn) } - if v.XrayEnabled { + if v.XrayEnabled != nil { ok := object.Key("XrayEnabled") - ok.Boolean(v.XrayEnabled) + ok.Boolean(*v.XrayEnabled) } return nil @@ -6741,9 +6741,9 @@ func awsRestjson1_serializeDocumentAwsAppSyncGraphQlApiLambdaAuthorizerConfigDet object := value.Object() defer object.Close() - if v.AuthorizerResultTtlInSeconds != 0 { + if v.AuthorizerResultTtlInSeconds != nil { ok := object.Key("AuthorizerResultTtlInSeconds") - ok.Integer(v.AuthorizerResultTtlInSeconds) + ok.Integer(*v.AuthorizerResultTtlInSeconds) } if v.AuthorizerUri != nil { @@ -6768,9 +6768,9 @@ func awsRestjson1_serializeDocumentAwsAppSyncGraphQlApiLogConfigDetails(v *types ok.String(*v.CloudWatchLogsRoleArn) } - if v.ExcludeVerboseContent { + if v.ExcludeVerboseContent != nil { ok := object.Key("ExcludeVerboseContent") - ok.Boolean(v.ExcludeVerboseContent) + ok.Boolean(*v.ExcludeVerboseContent) } if v.FieldLogLevel != nil { @@ -6785,9 +6785,9 @@ func awsRestjson1_serializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDetail object := value.Object() defer object.Close() - if v.AuthTtL != 0 { + if v.AuthTtL != nil { ok := object.Key("AuthTtL") - ok.Long(v.AuthTtL) + ok.Long(*v.AuthTtL) } if v.ClientId != nil { @@ -6795,9 +6795,9 @@ func awsRestjson1_serializeDocumentAwsAppSyncGraphQlApiOpenIdConnectConfigDetail ok.String(*v.ClientId) } - if v.IatTtL != 0 { + if v.IatTtL != nil { ok := object.Key("IatTtL") - ok.Long(v.IatTtL) + ok.Long(*v.IatTtL) } if v.Issuer != nil { @@ -6945,9 +6945,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingAutoScalingGroupDetails(v *type } } - if v.CapacityRebalance { + if v.CapacityRebalance != nil { ok := object.Key("CapacityRebalance") - ok.Boolean(v.CapacityRebalance) + ok.Boolean(*v.CapacityRebalance) } if v.CreatedTime != nil { @@ -6955,9 +6955,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingAutoScalingGroupDetails(v *type ok.String(*v.CreatedTime) } - if v.HealthCheckGracePeriod != 0 { + if v.HealthCheckGracePeriod != nil { ok := object.Key("HealthCheckGracePeriod") - ok.Integer(v.HealthCheckGracePeriod) + ok.Integer(*v.HealthCheckGracePeriod) } if v.HealthCheckType != nil { @@ -7046,14 +7046,14 @@ func awsRestjson1_serializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesP ok.String(*v.OnDemandAllocationStrategy) } - if v.OnDemandBaseCapacity != 0 { + if v.OnDemandBaseCapacity != nil { ok := object.Key("OnDemandBaseCapacity") - ok.Integer(v.OnDemandBaseCapacity) + ok.Integer(*v.OnDemandBaseCapacity) } - if v.OnDemandPercentageAboveBaseCapacity != 0 { + if v.OnDemandPercentageAboveBaseCapacity != nil { ok := object.Key("OnDemandPercentageAboveBaseCapacity") - ok.Integer(v.OnDemandPercentageAboveBaseCapacity) + ok.Integer(*v.OnDemandPercentageAboveBaseCapacity) } if v.SpotAllocationStrategy != nil { @@ -7061,9 +7061,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingAutoScalingGroupMixedInstancesP ok.String(*v.SpotAllocationStrategy) } - if v.SpotInstancePools != 0 { + if v.SpotInstancePools != nil { ok := object.Key("SpotInstancePools") - ok.Integer(v.SpotInstancePools) + ok.Integer(*v.SpotInstancePools) } if v.SpotMaxPrice != nil { @@ -7163,9 +7163,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceM } } - if v.NoDevice { + if v.NoDevice != nil { ok := object.Key("NoDevice") - ok.Boolean(v.NoDevice) + ok.Boolean(*v.NoDevice) } if v.VirtualName != nil { @@ -7180,19 +7180,19 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceM object := value.Object() defer object.Close() - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { ok := object.Key("DeleteOnTermination") - ok.Boolean(v.DeleteOnTermination) + ok.Boolean(*v.DeleteOnTermination) } - if v.Encrypted { + if v.Encrypted != nil { ok := object.Key("Encrypted") - ok.Boolean(v.Encrypted) + ok.Boolean(*v.Encrypted) } - if v.Iops != 0 { + if v.Iops != nil { ok := object.Key("Iops") - ok.Integer(v.Iops) + ok.Integer(*v.Iops) } if v.SnapshotId != nil { @@ -7200,9 +7200,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationBlockDeviceM ok.String(*v.SnapshotId) } - if v.VolumeSize != 0 { + if v.VolumeSize != nil { ok := object.Key("VolumeSize") - ok.Integer(v.VolumeSize) + ok.Integer(*v.VolumeSize) } if v.VolumeType != nil { @@ -7230,9 +7230,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationDetails(v *t object := value.Object() defer object.Close() - if v.AssociatePublicIpAddress { + if v.AssociatePublicIpAddress != nil { ok := object.Key("AssociatePublicIpAddress") - ok.Boolean(v.AssociatePublicIpAddress) + ok.Boolean(*v.AssociatePublicIpAddress) } if v.BlockDeviceMappings != nil { @@ -7259,9 +7259,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationDetails(v *t ok.String(*v.CreatedTime) } - if v.EbsOptimized { + if v.EbsOptimized != nil { ok := object.Key("EbsOptimized") - ok.Boolean(v.EbsOptimized) + ok.Boolean(*v.EbsOptimized) } if v.IamInstanceProfile != nil { @@ -7342,9 +7342,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationInstanceMoni object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -7359,9 +7359,9 @@ func awsRestjson1_serializeDocumentAwsAutoScalingLaunchConfigurationMetadataOpti ok.String(*v.HttpEndpoint) } - if v.HttpPutResponseHopLimit != 0 { + if v.HttpPutResponseHopLimit != nil { ok := object.Key("HttpPutResponseHopLimit") - ok.Integer(v.HttpPutResponseHopLimit) + ok.Integer(*v.HttpPutResponseHopLimit) } if v.HttpTokens != nil { @@ -7463,14 +7463,14 @@ func awsRestjson1_serializeDocumentAwsBackupBackupPlanLifecycleDetails(v *types. object := value.Object() defer object.Close() - if v.DeleteAfterDays != 0 { + if v.DeleteAfterDays != nil { ok := object.Key("DeleteAfterDays") - ok.Long(v.DeleteAfterDays) + ok.Long(*v.DeleteAfterDays) } - if v.MoveToColdStorageAfterDays != 0 { + if v.MoveToColdStorageAfterDays != nil { ok := object.Key("MoveToColdStorageAfterDays") - ok.Long(v.MoveToColdStorageAfterDays) + ok.Long(*v.MoveToColdStorageAfterDays) } return nil @@ -7512,9 +7512,9 @@ func awsRestjson1_serializeDocumentAwsBackupBackupPlanRuleDetails(v *types.AwsBa object := value.Object() defer object.Close() - if v.CompletionWindowMinutes != 0 { + if v.CompletionWindowMinutes != nil { ok := object.Key("CompletionWindowMinutes") - ok.Long(v.CompletionWindowMinutes) + ok.Long(*v.CompletionWindowMinutes) } if v.CopyActions != nil { @@ -7524,9 +7524,9 @@ func awsRestjson1_serializeDocumentAwsBackupBackupPlanRuleDetails(v *types.AwsBa } } - if v.EnableContinuousBackup { + if v.EnableContinuousBackup != nil { ok := object.Key("EnableContinuousBackup") - ok.Boolean(v.EnableContinuousBackup) + ok.Boolean(*v.EnableContinuousBackup) } if v.Lifecycle != nil { @@ -7551,9 +7551,9 @@ func awsRestjson1_serializeDocumentAwsBackupBackupPlanRuleDetails(v *types.AwsBa ok.String(*v.ScheduleExpression) } - if v.StartWindowMinutes != 0 { + if v.StartWindowMinutes != nil { ok := object.Key("StartWindowMinutes") - ok.Long(v.StartWindowMinutes) + ok.Long(*v.StartWindowMinutes) } if v.TargetBackupVault != nil { @@ -7678,9 +7678,9 @@ func awsRestjson1_serializeDocumentAwsBackupRecoveryPointDetails(v *types.AwsBac object := value.Object() defer object.Close() - if v.BackupSizeInBytes != 0 { + if v.BackupSizeInBytes != nil { ok := object.Key("BackupSizeInBytes") - ok.Long(v.BackupSizeInBytes) + ok.Long(*v.BackupSizeInBytes) } if v.BackupVaultArn != nil { @@ -7727,9 +7727,9 @@ func awsRestjson1_serializeDocumentAwsBackupRecoveryPointDetails(v *types.AwsBac ok.String(*v.IamRoleArn) } - if v.IsEncrypted { + if v.IsEncrypted != nil { ok := object.Key("IsEncrypted") - ok.Boolean(v.IsEncrypted) + ok.Boolean(*v.IsEncrypted) } if v.LastRestoreTime != nil { @@ -7786,14 +7786,14 @@ func awsRestjson1_serializeDocumentAwsBackupRecoveryPointLifecycleDetails(v *typ object := value.Object() defer object.Close() - if v.DeleteAfterDays != 0 { + if v.DeleteAfterDays != nil { ok := object.Key("DeleteAfterDays") - ok.Long(v.DeleteAfterDays) + ok.Long(*v.DeleteAfterDays) } - if v.MoveToColdStorageAfterDays != 0 { + if v.MoveToColdStorageAfterDays != nil { ok := object.Key("MoveToColdStorageAfterDays") - ok.Long(v.MoveToColdStorageAfterDays) + ok.Long(*v.MoveToColdStorageAfterDays) } return nil @@ -8128,9 +8128,9 @@ func awsRestjson1_serializeDocumentAwsCloudFormationStackDetails(v *types.AwsClo ok.String(*v.Description) } - if v.DisableRollback { + if v.DisableRollback != nil { ok := object.Key("DisableRollback") - ok.Boolean(v.DisableRollback) + ok.Boolean(*v.DisableRollback) } if v.DriftInformation != nil { @@ -8140,9 +8140,9 @@ func awsRestjson1_serializeDocumentAwsCloudFormationStackDetails(v *types.AwsClo } } - if v.EnableTerminationProtection { + if v.EnableTerminationProtection != nil { ok := object.Key("EnableTerminationProtection") - ok.Boolean(v.EnableTerminationProtection) + ok.Boolean(*v.EnableTerminationProtection) } if v.LastUpdatedTime != nil { @@ -8189,9 +8189,9 @@ func awsRestjson1_serializeDocumentAwsCloudFormationStackDetails(v *types.AwsClo ok.String(*v.StackStatusReason) } - if v.TimeoutInMinutes != 0 { + if v.TimeoutInMinutes != nil { ok := object.Key("TimeoutInMinutes") - ok.Integer(v.TimeoutInMinutes) + ok.Integer(*v.TimeoutInMinutes) } return nil @@ -8383,14 +8383,14 @@ func awsRestjson1_serializeDocumentAwsCloudFrontDistributionLogging(v *types.Aws ok.String(*v.Bucket) } - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } - if v.IncludeCookies { + if v.IncludeCookies != nil { ok := object.Key("IncludeCookies") - ok.Boolean(v.IncludeCookies) + ok.Boolean(*v.IncludeCookies) } if v.Prefix != nil { @@ -8405,19 +8405,19 @@ func awsRestjson1_serializeDocumentAwsCloudFrontDistributionOriginCustomOriginCo object := value.Object() defer object.Close() - if v.HttpPort != 0 { + if v.HttpPort != nil { ok := object.Key("HttpPort") - ok.Integer(v.HttpPort) + ok.Integer(*v.HttpPort) } - if v.HttpsPort != 0 { + if v.HttpsPort != nil { ok := object.Key("HttpsPort") - ok.Integer(v.HttpsPort) + ok.Integer(*v.HttpsPort) } - if v.OriginKeepaliveTimeout != 0 { + if v.OriginKeepaliveTimeout != nil { ok := object.Key("OriginKeepaliveTimeout") - ok.Integer(v.OriginKeepaliveTimeout) + ok.Integer(*v.OriginKeepaliveTimeout) } if v.OriginProtocolPolicy != nil { @@ -8425,9 +8425,9 @@ func awsRestjson1_serializeDocumentAwsCloudFrontDistributionOriginCustomOriginCo ok.String(*v.OriginProtocolPolicy) } - if v.OriginReadTimeout != 0 { + if v.OriginReadTimeout != nil { ok := object.Key("OriginReadTimeout") - ok.Integer(v.OriginReadTimeout) + ok.Integer(*v.OriginReadTimeout) } if v.OriginSslProtocols != nil { @@ -8479,9 +8479,9 @@ func awsRestjson1_serializeDocumentAwsCloudFrontDistributionOriginGroupFailoverS } } - if v.Quantity != 0 { + if v.Quantity != nil { ok := object.Key("Quantity") - ok.Integer(v.Quantity) + ok.Integer(*v.Quantity) } return nil @@ -8611,9 +8611,9 @@ func awsRestjson1_serializeDocumentAwsCloudFrontDistributionOriginSslProtocols(v } } - if v.Quantity != 0 { + if v.Quantity != nil { ok := object.Key("Quantity") - ok.Integer(v.Quantity) + ok.Integer(*v.Quantity) } return nil @@ -8638,9 +8638,9 @@ func awsRestjson1_serializeDocumentAwsCloudFrontDistributionViewerCertificate(v ok.String(*v.CertificateSource) } - if v.CloudFrontDefaultCertificate { + if v.CloudFrontDefaultCertificate != nil { ok := object.Key("CloudFrontDefaultCertificate") - ok.Boolean(v.CloudFrontDefaultCertificate) + ok.Boolean(*v.CloudFrontDefaultCertificate) } if v.IamCertificateId != nil { @@ -8675,9 +8675,9 @@ func awsRestjson1_serializeDocumentAwsCloudTrailTrailDetails(v *types.AwsCloudTr ok.String(*v.CloudWatchLogsRoleArn) } - if v.HasCustomEventSelectors { + if v.HasCustomEventSelectors != nil { ok := object.Key("HasCustomEventSelectors") - ok.Boolean(v.HasCustomEventSelectors) + ok.Boolean(*v.HasCustomEventSelectors) } if v.HomeRegion != nil { @@ -8685,19 +8685,19 @@ func awsRestjson1_serializeDocumentAwsCloudTrailTrailDetails(v *types.AwsCloudTr ok.String(*v.HomeRegion) } - if v.IncludeGlobalServiceEvents { + if v.IncludeGlobalServiceEvents != nil { ok := object.Key("IncludeGlobalServiceEvents") - ok.Boolean(v.IncludeGlobalServiceEvents) + ok.Boolean(*v.IncludeGlobalServiceEvents) } - if v.IsMultiRegionTrail { + if v.IsMultiRegionTrail != nil { ok := object.Key("IsMultiRegionTrail") - ok.Boolean(v.IsMultiRegionTrail) + ok.Boolean(*v.IsMultiRegionTrail) } - if v.IsOrganizationTrail { + if v.IsOrganizationTrail != nil { ok := object.Key("IsOrganizationTrail") - ok.Boolean(v.IsOrganizationTrail) + ok.Boolean(*v.IsOrganizationTrail) } if v.KmsKeyId != nil { @@ -8705,9 +8705,9 @@ func awsRestjson1_serializeDocumentAwsCloudTrailTrailDetails(v *types.AwsCloudTr ok.String(*v.KmsKeyId) } - if v.LogFileValidationEnabled { + if v.LogFileValidationEnabled != nil { ok := object.Key("LogFileValidationEnabled") - ok.Boolean(v.LogFileValidationEnabled) + ok.Boolean(*v.LogFileValidationEnabled) } if v.Name != nil { @@ -8747,9 +8747,9 @@ func awsRestjson1_serializeDocumentAwsCloudWatchAlarmDetails(v *types.AwsCloudWa object := value.Object() defer object.Close() - if v.ActionsEnabled { + if v.ActionsEnabled != nil { ok := object.Key("ActionsEnabled") - ok.Boolean(v.ActionsEnabled) + ok.Boolean(*v.ActionsEnabled) } if v.AlarmActions != nil { @@ -8784,9 +8784,9 @@ func awsRestjson1_serializeDocumentAwsCloudWatchAlarmDetails(v *types.AwsCloudWa ok.String(*v.ComparisonOperator) } - if v.DatapointsToAlarm != 0 { + if v.DatapointsToAlarm != nil { ok := object.Key("DatapointsToAlarm") - ok.Integer(v.DatapointsToAlarm) + ok.Integer(*v.DatapointsToAlarm) } if v.Dimensions != nil { @@ -8801,9 +8801,9 @@ func awsRestjson1_serializeDocumentAwsCloudWatchAlarmDetails(v *types.AwsCloudWa ok.String(*v.EvaluateLowSampleCountPercentile) } - if v.EvaluationPeriods != 0 { + if v.EvaluationPeriods != nil { ok := object.Key("EvaluationPeriods") - ok.Integer(v.EvaluationPeriods) + ok.Integer(*v.EvaluationPeriods) } if v.ExtendedStatistic != nil { @@ -8835,9 +8835,9 @@ func awsRestjson1_serializeDocumentAwsCloudWatchAlarmDetails(v *types.AwsCloudWa } } - if v.Period != 0 { + if v.Period != nil { ok := object.Key("Period") - ok.Integer(v.Period) + ok.Integer(*v.Period) } if v.Statistic != nil { @@ -8845,20 +8845,20 @@ func awsRestjson1_serializeDocumentAwsCloudWatchAlarmDetails(v *types.AwsCloudWa ok.String(*v.Statistic) } - if v.Threshold != 0 { + if v.Threshold != nil { ok := object.Key("Threshold") switch { - case math.IsNaN(v.Threshold): + case math.IsNaN(*v.Threshold): ok.String("NaN") - case math.IsInf(v.Threshold, 1): + case math.IsInf(*v.Threshold, 1): ok.String("Infinity") - case math.IsInf(v.Threshold, -1): + case math.IsInf(*v.Threshold, -1): ok.String("-Infinity") default: - ok.Double(v.Threshold) + ok.Double(*v.Threshold) } } @@ -8920,9 +8920,9 @@ func awsRestjson1_serializeDocumentAwsCodeBuildProjectArtifactsDetails(v *types. ok.String(*v.ArtifactIdentifier) } - if v.EncryptionDisabled { + if v.EncryptionDisabled != nil { ok := object.Key("EncryptionDisabled") - ok.Boolean(v.EncryptionDisabled) + ok.Boolean(*v.EncryptionDisabled) } if v.Location != nil { @@ -8940,9 +8940,9 @@ func awsRestjson1_serializeDocumentAwsCodeBuildProjectArtifactsDetails(v *types. ok.String(*v.NamespaceType) } - if v.OverrideArtifactName { + if v.OverrideArtifactName != nil { ok := object.Key("OverrideArtifactName") - ok.Boolean(v.OverrideArtifactName) + ok.Boolean(*v.OverrideArtifactName) } if v.Packaging != nil { @@ -9061,9 +9061,9 @@ func awsRestjson1_serializeDocumentAwsCodeBuildProjectEnvironment(v *types.AwsCo ok.String(*v.ImagePullCredentialsType) } - if v.PrivilegedMode { + if v.PrivilegedMode != nil { ok := object.Key("PrivilegedMode") - ok.Boolean(v.PrivilegedMode) + ok.Boolean(*v.PrivilegedMode) } if v.RegistryCredential != nil { @@ -9180,9 +9180,9 @@ func awsRestjson1_serializeDocumentAwsCodeBuildProjectLogsConfigS3LogsDetails(v object := value.Object() defer object.Close() - if v.EncryptionDisabled { + if v.EncryptionDisabled != nil { ok := object.Key("EncryptionDisabled") - ok.Boolean(v.EncryptionDisabled) + ok.Boolean(*v.EncryptionDisabled) } if v.Location != nil { @@ -9202,14 +9202,14 @@ func awsRestjson1_serializeDocumentAwsCodeBuildProjectSource(v *types.AwsCodeBui object := value.Object() defer object.Close() - if v.GitCloneDepth != 0 { + if v.GitCloneDepth != nil { ok := object.Key("GitCloneDepth") - ok.Integer(v.GitCloneDepth) + ok.Integer(*v.GitCloneDepth) } - if v.InsecureSsl { + if v.InsecureSsl != nil { ok := object.Key("InsecureSsl") - ok.Boolean(v.InsecureSsl) + ok.Boolean(*v.InsecureSsl) } if v.Location != nil { @@ -9255,9 +9255,9 @@ func awsRestjson1_serializeDocumentAwsCorsConfiguration(v *types.AwsCorsConfigur object := value.Object() defer object.Close() - if v.AllowCredentials { + if v.AllowCredentials != nil { ok := object.Key("AllowCredentials") - ok.Boolean(v.AllowCredentials) + ok.Boolean(*v.AllowCredentials) } if v.AllowHeaders != nil { @@ -9288,9 +9288,9 @@ func awsRestjson1_serializeDocumentAwsCorsConfiguration(v *types.AwsCorsConfigur } } - if v.MaxAge != 0 { + if v.MaxAge != nil { ok := object.Key("MaxAge") - ok.Integer(v.MaxAge) + ok.Integer(*v.MaxAge) } return nil @@ -9345,9 +9345,9 @@ func awsRestjson1_serializeDocumentAwsDmsEndpointDetails(v *types.AwsDmsEndpoint ok.String(*v.KmsKeyId) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.ServerName != nil { @@ -9372,14 +9372,14 @@ func awsRestjson1_serializeDocumentAwsDmsReplicationInstanceDetails(v *types.Aws object := value.Object() defer object.Close() - if v.AllocatedStorage != 0 { + if v.AllocatedStorage != nil { ok := object.Key("AllocatedStorage") - ok.Integer(v.AllocatedStorage) + ok.Integer(*v.AllocatedStorage) } - if v.AutoMinorVersionUpgrade { + if v.AutoMinorVersionUpgrade != nil { ok := object.Key("AutoMinorVersionUpgrade") - ok.Boolean(v.AutoMinorVersionUpgrade) + ok.Boolean(*v.AutoMinorVersionUpgrade) } if v.AvailabilityZone != nil { @@ -9397,9 +9397,9 @@ func awsRestjson1_serializeDocumentAwsDmsReplicationInstanceDetails(v *types.Aws ok.String(*v.KmsKeyId) } - if v.MultiAZ { + if v.MultiAZ != nil { ok := object.Key("MultiAZ") - ok.Boolean(v.MultiAZ) + ok.Boolean(*v.MultiAZ) } if v.PreferredMaintenanceWindow != nil { @@ -9407,9 +9407,9 @@ func awsRestjson1_serializeDocumentAwsDmsReplicationInstanceDetails(v *types.Aws ok.String(*v.PreferredMaintenanceWindow) } - if v.PubliclyAccessible { + if v.PubliclyAccessible != nil { ok := object.Key("PubliclyAccessible") - ok.Boolean(v.PubliclyAccessible) + ok.Boolean(*v.PubliclyAccessible) } if v.ReplicationInstanceClass != nil { @@ -9630,9 +9630,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableDetails(v *types.AwsDynamoDbT ok.String(*v.GlobalTableVersion) } - if v.ItemCount != 0 { + if v.ItemCount != nil { ok := object.Key("ItemCount") - ok.Integer(v.ItemCount) + ok.Integer(*v.ItemCount) } if v.KeySchema != nil { @@ -9704,9 +9704,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableDetails(v *types.AwsDynamoDbT ok.String(*v.TableName) } - if v.TableSizeBytes != 0 { + if v.TableSizeBytes != nil { ok := object.Key("TableSizeBytes") - ok.Long(v.TableSizeBytes) + ok.Long(*v.TableSizeBytes) } if v.TableStatus != nil { @@ -9721,9 +9721,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v *types object := value.Object() defer object.Close() - if v.Backfilling { + if v.Backfilling != nil { ok := object.Key("Backfilling") - ok.Boolean(v.Backfilling) + ok.Boolean(*v.Backfilling) } if v.IndexArn != nil { @@ -9736,9 +9736,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v *types ok.String(*v.IndexName) } - if v.IndexSizeBytes != 0 { + if v.IndexSizeBytes != nil { ok := object.Key("IndexSizeBytes") - ok.Long(v.IndexSizeBytes) + ok.Long(*v.IndexSizeBytes) } if v.IndexStatus != nil { @@ -9746,9 +9746,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableGlobalSecondaryIndex(v *types ok.String(*v.IndexStatus) } - if v.ItemCount != 0 { + if v.ItemCount != nil { ok := object.Key("ItemCount") - ok.Integer(v.ItemCount) + ok.Integer(*v.ItemCount) } if v.KeySchema != nil { @@ -9895,19 +9895,19 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableProvisionedThroughput(v *type ok.String(*v.LastIncreaseDateTime) } - if v.NumberOfDecreasesToday != 0 { + if v.NumberOfDecreasesToday != nil { ok := object.Key("NumberOfDecreasesToday") - ok.Integer(v.NumberOfDecreasesToday) + ok.Integer(*v.NumberOfDecreasesToday) } - if v.ReadCapacityUnits != 0 { + if v.ReadCapacityUnits != nil { ok := object.Key("ReadCapacityUnits") - ok.Integer(v.ReadCapacityUnits) + ok.Integer(*v.ReadCapacityUnits) } - if v.WriteCapacityUnits != 0 { + if v.WriteCapacityUnits != nil { ok := object.Key("WriteCapacityUnits") - ok.Integer(v.WriteCapacityUnits) + ok.Integer(*v.WriteCapacityUnits) } return nil @@ -9917,9 +9917,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableProvisionedThroughputOverride object := value.Object() defer object.Close() - if v.ReadCapacityUnits != 0 { + if v.ReadCapacityUnits != nil { ok := object.Key("ReadCapacityUnits") - ok.Integer(v.ReadCapacityUnits) + ok.Integer(*v.ReadCapacityUnits) } return nil @@ -10020,9 +10020,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableRestoreSummary(v *types.AwsDy ok.String(*v.RestoreDateTime) } - if v.RestoreInProgress { + if v.RestoreInProgress != nil { ok := object.Key("RestoreInProgress") - ok.Boolean(v.RestoreInProgress) + ok.Boolean(*v.RestoreInProgress) } if v.SourceBackupArn != nil { @@ -10069,9 +10069,9 @@ func awsRestjson1_serializeDocumentAwsDynamoDbTableStreamSpecification(v *types. object := value.Object() defer object.Close() - if v.StreamEnabled { + if v.StreamEnabled != nil { ok := object.Key("StreamEnabled") - ok.Boolean(v.StreamEnabled) + ok.Boolean(*v.StreamEnabled) } if v.StreamViewType != nil { @@ -10235,9 +10235,9 @@ func awsRestjson1_serializeDocumentAwsEc2InstanceMetadataOptions(v *types.AwsEc2 ok.String(*v.HttpProtocolIpv6) } - if v.HttpPutResponseHopLimit != 0 { + if v.HttpPutResponseHopLimit != nil { ok := object.Key("HttpPutResponseHopLimit") - ok.Integer(v.HttpPutResponseHopLimit) + ok.Integer(*v.HttpPutResponseHopLimit) } if v.HttpTokens != nil { @@ -10323,19 +10323,19 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingSet object := value.Object() defer object.Close() - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { ok := object.Key("DeleteOnTermination") - ok.Boolean(v.DeleteOnTermination) + ok.Boolean(*v.DeleteOnTermination) } - if v.Encrypted { + if v.Encrypted != nil { ok := object.Key("Encrypted") - ok.Boolean(v.Encrypted) + ok.Boolean(*v.Encrypted) } - if v.Iops != 0 { + if v.Iops != nil { ok := object.Key("Iops") - ok.Integer(v.Iops) + ok.Integer(*v.Iops) } if v.KmsKeyId != nil { @@ -10348,14 +10348,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataBlockDeviceMappingSet ok.String(*v.SnapshotId) } - if v.Throughput != 0 { + if v.Throughput != nil { ok := object.Key("Throughput") - ok.Integer(v.Throughput) + ok.Integer(*v.Throughput) } - if v.VolumeSize != 0 { + if v.VolumeSize != nil { ok := object.Key("VolumeSize") - ok.Integer(v.VolumeSize) + ok.Integer(*v.VolumeSize) } if v.VolumeType != nil { @@ -10419,14 +10419,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataCpuOptionsDetails(v * object := value.Object() defer object.Close() - if v.CoreCount != 0 { + if v.CoreCount != nil { ok := object.Key("CoreCount") - ok.Integer(v.CoreCount) + ok.Integer(*v.CoreCount) } - if v.ThreadsPerCore != 0 { + if v.ThreadsPerCore != nil { ok := object.Key("ThreadsPerCore") - ok.Integer(v.ThreadsPerCore) + ok.Integer(*v.ThreadsPerCore) } return nil @@ -10476,19 +10476,19 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataDetails(v *types.AwsE } } - if v.DisableApiStop { + if v.DisableApiStop != nil { ok := object.Key("DisableApiStop") - ok.Boolean(v.DisableApiStop) + ok.Boolean(*v.DisableApiStop) } - if v.DisableApiTermination { + if v.DisableApiTermination != nil { ok := object.Key("DisableApiTermination") - ok.Boolean(v.DisableApiTermination) + ok.Boolean(*v.DisableApiTermination) } - if v.EbsOptimized { + if v.EbsOptimized != nil { ok := object.Key("EbsOptimized") - ok.Boolean(v.EbsOptimized) + ok.Boolean(*v.EbsOptimized) } if v.ElasticGpuSpecificationSet != nil { @@ -10670,9 +10670,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataElasticInferenceAccel object := value.Object() defer object.Close() - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Integer(v.Count) + ok.Integer(*v.Count) } if v.Type != nil { @@ -10700,9 +10700,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataEnclaveOptionsDetails object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -10712,9 +10712,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataHibernationOptionsDet object := value.Object() defer object.Close() - if v.Configured { + if v.Configured != nil { ok := object.Key("Configured") - ok.Boolean(v.Configured) + ok.Boolean(*v.Configured) } return nil @@ -10760,9 +10760,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceMarketOptions object := value.Object() defer object.Close() - if v.BlockDurationMinutes != 0 { + if v.BlockDurationMinutes != nil { ok := object.Key("BlockDurationMinutes") - ok.Integer(v.BlockDurationMinutes) + ok.Integer(*v.BlockDurationMinutes) } if v.InstanceInterruptionBehavior != nil { @@ -10792,14 +10792,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsA object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") - ok.Integer(v.Max) + ok.Integer(*v.Max) } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") - ok.Integer(v.Min) + ok.Integer(*v.Min) } return nil @@ -10809,14 +10809,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsA object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") - ok.Integer(v.Max) + ok.Integer(*v.Max) } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") - ok.Integer(v.Min) + ok.Integer(*v.Min) } return nil @@ -10826,14 +10826,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsB object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") - ok.Integer(v.Max) + ok.Integer(*v.Max) } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") - ok.Integer(v.Min) + ok.Integer(*v.Min) } return nil @@ -10949,19 +10949,19 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsD } } - if v.OnDemandMaxPricePercentageOverLowestPrice != 0 { + if v.OnDemandMaxPricePercentageOverLowestPrice != nil { ok := object.Key("OnDemandMaxPricePercentageOverLowestPrice") - ok.Integer(v.OnDemandMaxPricePercentageOverLowestPrice) + ok.Integer(*v.OnDemandMaxPricePercentageOverLowestPrice) } - if v.RequireHibernateSupport { + if v.RequireHibernateSupport != nil { ok := object.Key("RequireHibernateSupport") - ok.Boolean(v.RequireHibernateSupport) + ok.Boolean(*v.RequireHibernateSupport) } - if v.SpotMaxPricePercentageOverLowestPrice != 0 { + if v.SpotMaxPricePercentageOverLowestPrice != nil { ok := object.Key("SpotMaxPricePercentageOverLowestPrice") - ok.Integer(v.SpotMaxPricePercentageOverLowestPrice) + ok.Integer(*v.SpotMaxPricePercentageOverLowestPrice) } if v.TotalLocalStorageGB != nil { @@ -10985,38 +10985,38 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsM object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") switch { - case math.IsNaN(v.Max): + case math.IsNaN(*v.Max): ok.String("NaN") - case math.IsInf(v.Max, 1): + case math.IsInf(*v.Max, 1): ok.String("Infinity") - case math.IsInf(v.Max, -1): + case math.IsInf(*v.Max, -1): ok.String("-Infinity") default: - ok.Double(v.Max) + ok.Double(*v.Max) } } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") switch { - case math.IsNaN(v.Min): + case math.IsNaN(*v.Min): ok.String("NaN") - case math.IsInf(v.Min, 1): + case math.IsInf(*v.Min, 1): ok.String("Infinity") - case math.IsInf(v.Min, -1): + case math.IsInf(*v.Min, -1): ok.String("-Infinity") default: - ok.Double(v.Min) + ok.Double(*v.Min) } } @@ -11028,14 +11028,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsM object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") - ok.Integer(v.Max) + ok.Integer(*v.Max) } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") - ok.Integer(v.Min) + ok.Integer(*v.Min) } return nil @@ -11045,14 +11045,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsN object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") - ok.Integer(v.Max) + ok.Integer(*v.Max) } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") - ok.Integer(v.Min) + ok.Integer(*v.Min) } return nil @@ -11062,38 +11062,38 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsT object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") switch { - case math.IsNaN(v.Max): + case math.IsNaN(*v.Max): ok.String("NaN") - case math.IsInf(v.Max, 1): + case math.IsInf(*v.Max, 1): ok.String("Infinity") - case math.IsInf(v.Max, -1): + case math.IsInf(*v.Max, -1): ok.String("-Infinity") default: - ok.Double(v.Max) + ok.Double(*v.Max) } } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") switch { - case math.IsNaN(v.Min): + case math.IsNaN(*v.Min): ok.String("NaN") - case math.IsInf(v.Min, 1): + case math.IsInf(*v.Min, 1): ok.String("Infinity") - case math.IsInf(v.Min, -1): + case math.IsInf(*v.Min, -1): ok.String("-Infinity") default: - ok.Double(v.Min) + ok.Double(*v.Min) } } @@ -11105,14 +11105,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataInstanceRequirementsV object := value.Object() defer object.Close() - if v.Max != 0 { + if v.Max != nil { ok := object.Key("Max") - ok.Integer(v.Max) + ok.Integer(*v.Max) } - if v.Min != 0 { + if v.Min != nil { ok := object.Key("Min") - ok.Integer(v.Min) + ok.Integer(*v.Min) } return nil @@ -11169,9 +11169,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataMetadataOptionsDetail ok.String(*v.HttpProtocolIpv6) } - if v.HttpPutResponseHopLimit != 0 { + if v.HttpPutResponseHopLimit != nil { ok := object.Key("HttpPutResponseHopLimit") - ok.Integer(v.HttpPutResponseHopLimit) + ok.Integer(*v.HttpPutResponseHopLimit) } if v.HttpTokens != nil { @@ -11191,9 +11191,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataMonitoringDetails(v * object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -11203,19 +11203,19 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe object := value.Object() defer object.Close() - if v.AssociateCarrierIpAddress { + if v.AssociateCarrierIpAddress != nil { ok := object.Key("AssociateCarrierIpAddress") - ok.Boolean(v.AssociateCarrierIpAddress) + ok.Boolean(*v.AssociateCarrierIpAddress) } - if v.AssociatePublicIpAddress { + if v.AssociatePublicIpAddress != nil { ok := object.Key("AssociatePublicIpAddress") - ok.Boolean(v.AssociatePublicIpAddress) + ok.Boolean(*v.AssociatePublicIpAddress) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { ok := object.Key("DeleteOnTermination") - ok.Boolean(v.DeleteOnTermination) + ok.Boolean(*v.DeleteOnTermination) } if v.Description != nil { @@ -11223,9 +11223,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe ok.String(*v.Description) } - if v.DeviceIndex != 0 { + if v.DeviceIndex != nil { ok := object.Key("DeviceIndex") - ok.Integer(v.DeviceIndex) + ok.Integer(*v.DeviceIndex) } if v.Groups != nil { @@ -11240,9 +11240,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe ok.String(*v.InterfaceType) } - if v.Ipv4PrefixCount != 0 { + if v.Ipv4PrefixCount != nil { ok := object.Key("Ipv4PrefixCount") - ok.Integer(v.Ipv4PrefixCount) + ok.Integer(*v.Ipv4PrefixCount) } if v.Ipv4Prefixes != nil { @@ -11252,9 +11252,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe } } - if v.Ipv6AddressCount != 0 { + if v.Ipv6AddressCount != nil { ok := object.Key("Ipv6AddressCount") - ok.Integer(v.Ipv6AddressCount) + ok.Integer(*v.Ipv6AddressCount) } if v.Ipv6Addresses != nil { @@ -11264,9 +11264,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe } } - if v.Ipv6PrefixCount != 0 { + if v.Ipv6PrefixCount != nil { ok := object.Key("Ipv6PrefixCount") - ok.Integer(v.Ipv6PrefixCount) + ok.Integer(*v.Ipv6PrefixCount) } if v.Ipv6Prefixes != nil { @@ -11276,9 +11276,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe } } - if v.NetworkCardIndex != 0 { + if v.NetworkCardIndex != nil { ok := object.Key("NetworkCardIndex") - ok.Integer(v.NetworkCardIndex) + ok.Integer(*v.NetworkCardIndex) } if v.NetworkInterfaceId != nil { @@ -11298,9 +11298,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetDe } } - if v.SecondaryPrivateIpAddressCount != 0 { + if v.SecondaryPrivateIpAddressCount != nil { ok := object.Key("SecondaryPrivateIpAddressCount") - ok.Integer(v.SecondaryPrivateIpAddressCount) + ok.Integer(*v.SecondaryPrivateIpAddressCount) } if v.SubnetId != nil { @@ -11403,9 +11403,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataNetworkInterfaceSetPr object := value.Object() defer object.Close() - if v.Primary { + if v.Primary != nil { ok := object.Key("Primary") - ok.Boolean(v.Primary) + ok.Boolean(*v.Primary) } if v.PrivateIpAddress != nil { @@ -11458,9 +11458,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataPlacementDetails(v *t ok.String(*v.HostResourceGroupArn) } - if v.PartitionNumber != 0 { + if v.PartitionNumber != nil { ok := object.Key("PartitionNumber") - ok.Integer(v.PartitionNumber) + ok.Integer(*v.PartitionNumber) } if v.SpreadDomain != nil { @@ -11480,14 +11480,14 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDataPrivateDnsNameOptions object := value.Object() defer object.Close() - if v.EnableResourceNameDnsAAAARecord { + if v.EnableResourceNameDnsAAAARecord != nil { ok := object.Key("EnableResourceNameDnsAAAARecord") - ok.Boolean(v.EnableResourceNameDnsAAAARecord) + ok.Boolean(*v.EnableResourceNameDnsAAAARecord) } - if v.EnableResourceNameDnsARecord { + if v.EnableResourceNameDnsARecord != nil { ok := object.Key("EnableResourceNameDnsARecord") - ok.Boolean(v.EnableResourceNameDnsARecord) + ok.Boolean(*v.EnableResourceNameDnsARecord) } if v.HostnameType != nil { @@ -11502,9 +11502,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDetails(v *types.AwsEc2La object := value.Object() defer object.Close() - if v.DefaultVersionNumber != 0 { + if v.DefaultVersionNumber != nil { ok := object.Key("DefaultVersionNumber") - ok.Long(v.DefaultVersionNumber) + ok.Long(*v.DefaultVersionNumber) } if v.Id != nil { @@ -11512,9 +11512,9 @@ func awsRestjson1_serializeDocumentAwsEc2LaunchTemplateDetails(v *types.AwsEc2La ok.String(*v.Id) } - if v.LatestVersionNumber != 0 { + if v.LatestVersionNumber != nil { ok := object.Key("LatestVersionNumber") - ok.Long(v.LatestVersionNumber) + ok.Long(*v.LatestVersionNumber) } if v.LaunchTemplateData != nil { @@ -11585,9 +11585,9 @@ func awsRestjson1_serializeDocumentAwsEc2NetworkAclDetails(v *types.AwsEc2Networ } } - if v.IsDefault { + if v.IsDefault != nil { ok := object.Key("IsDefault") - ok.Boolean(v.IsDefault) + ok.Boolean(*v.IsDefault) } if v.NetworkAclId != nil { @@ -11617,9 +11617,9 @@ func awsRestjson1_serializeDocumentAwsEc2NetworkAclEntry(v *types.AwsEc2NetworkA ok.String(*v.CidrBlock) } - if v.Egress { + if v.Egress != nil { ok := object.Key("Egress") - ok.Boolean(v.Egress) + ok.Boolean(*v.Egress) } if v.IcmpTypeCode != nil { @@ -11651,9 +11651,9 @@ func awsRestjson1_serializeDocumentAwsEc2NetworkAclEntry(v *types.AwsEc2NetworkA ok.String(*v.RuleAction) } - if v.RuleNumber != 0 { + if v.RuleNumber != nil { ok := object.Key("RuleNumber") - ok.Integer(v.RuleNumber) + ok.Integer(*v.RuleNumber) } return nil @@ -11686,14 +11686,14 @@ func awsRestjson1_serializeDocumentAwsEc2NetworkInterfaceAttachment(v *types.Aws ok.String(*v.AttachTime) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { ok := object.Key("DeleteOnTermination") - ok.Boolean(v.DeleteOnTermination) + ok.Boolean(*v.DeleteOnTermination) } - if v.DeviceIndex != 0 { + if v.DeviceIndex != nil { ok := object.Key("DeviceIndex") - ok.Integer(v.DeviceIndex) + ok.Integer(*v.DeviceIndex) } if v.InstanceId != nil { @@ -11761,9 +11761,9 @@ func awsRestjson1_serializeDocumentAwsEc2NetworkInterfaceDetails(v *types.AwsEc2 } } - if v.SourceDestCheck { + if v.SourceDestCheck != nil { ok := object.Key("SourceDestCheck") - ok.Boolean(v.SourceDestCheck) + ok.Boolean(*v.SourceDestCheck) } return nil @@ -11942,9 +11942,9 @@ func awsRestjson1_serializeDocumentAwsEc2SecurityGroupIpPermission(v *types.AwsE object := value.Object() defer object.Close() - if v.FromPort != 0 { + if v.FromPort != nil { ok := object.Key("FromPort") - ok.Integer(v.FromPort) + ok.Integer(*v.FromPort) } if v.IpProtocol != nil { @@ -11973,9 +11973,9 @@ func awsRestjson1_serializeDocumentAwsEc2SecurityGroupIpPermission(v *types.AwsE } } - if v.ToPort != 0 { + if v.ToPort != nil { ok := object.Key("ToPort") - ok.Integer(v.ToPort) + ok.Integer(*v.ToPort) } if v.UserIdGroupPairs != nil { @@ -12130,9 +12130,9 @@ func awsRestjson1_serializeDocumentAwsEc2SubnetDetails(v *types.AwsEc2SubnetDeta object := value.Object() defer object.Close() - if v.AssignIpv6AddressOnCreation { + if v.AssignIpv6AddressOnCreation != nil { ok := object.Key("AssignIpv6AddressOnCreation") - ok.Boolean(v.AssignIpv6AddressOnCreation) + ok.Boolean(*v.AssignIpv6AddressOnCreation) } if v.AvailabilityZone != nil { @@ -12145,9 +12145,9 @@ func awsRestjson1_serializeDocumentAwsEc2SubnetDetails(v *types.AwsEc2SubnetDeta ok.String(*v.AvailabilityZoneId) } - if v.AvailableIpAddressCount != 0 { + if v.AvailableIpAddressCount != nil { ok := object.Key("AvailableIpAddressCount") - ok.Integer(v.AvailableIpAddressCount) + ok.Integer(*v.AvailableIpAddressCount) } if v.CidrBlock != nil { @@ -12155,9 +12155,9 @@ func awsRestjson1_serializeDocumentAwsEc2SubnetDetails(v *types.AwsEc2SubnetDeta ok.String(*v.CidrBlock) } - if v.DefaultForAz { + if v.DefaultForAz != nil { ok := object.Key("DefaultForAz") - ok.Boolean(v.DefaultForAz) + ok.Boolean(*v.DefaultForAz) } if v.Ipv6CidrBlockAssociationSet != nil { @@ -12167,9 +12167,9 @@ func awsRestjson1_serializeDocumentAwsEc2SubnetDetails(v *types.AwsEc2SubnetDeta } } - if v.MapPublicIpOnLaunch { + if v.MapPublicIpOnLaunch != nil { ok := object.Key("MapPublicIpOnLaunch") - ok.Boolean(v.MapPublicIpOnLaunch) + ok.Boolean(*v.MapPublicIpOnLaunch) } if v.OwnerId != nil { @@ -12204,9 +12204,9 @@ func awsRestjson1_serializeDocumentAwsEc2TransitGatewayDetails(v *types.AwsEc2Tr object := value.Object() defer object.Close() - if v.AmazonSideAsn != 0 { + if v.AmazonSideAsn != nil { ok := object.Key("AmazonSideAsn") - ok.Integer(v.AmazonSideAsn) + ok.Integer(*v.AmazonSideAsn) } if v.AssociationDefaultRouteTableId != nil { @@ -12278,9 +12278,9 @@ func awsRestjson1_serializeDocumentAwsEc2VolumeAttachment(v *types.AwsEc2VolumeA ok.String(*v.AttachTime) } - if v.DeleteOnTermination { + if v.DeleteOnTermination != nil { ok := object.Key("DeleteOnTermination") - ok.Boolean(v.DeleteOnTermination) + ok.Boolean(*v.DeleteOnTermination) } if v.InstanceId != nil { @@ -12330,9 +12330,9 @@ func awsRestjson1_serializeDocumentAwsEc2VolumeDetails(v *types.AwsEc2VolumeDeta ok.String(*v.DeviceName) } - if v.Encrypted { + if v.Encrypted != nil { ok := object.Key("Encrypted") - ok.Boolean(v.Encrypted) + ok.Boolean(*v.Encrypted) } if v.KmsKeyId != nil { @@ -12340,9 +12340,9 @@ func awsRestjson1_serializeDocumentAwsEc2VolumeDetails(v *types.AwsEc2VolumeDeta ok.String(*v.KmsKeyId) } - if v.Size != 0 { + if v.Size != nil { ok := object.Key("Size") - ok.Integer(v.Size) + ok.Integer(*v.Size) } if v.SnapshotId != nil { @@ -12408,9 +12408,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpcEndpointServiceDetails(v *types.AwsE object := value.Object() defer object.Close() - if v.AcceptanceRequired { + if v.AcceptanceRequired != nil { ok := object.Key("AcceptanceRequired") - ok.Boolean(v.AcceptanceRequired) + ok.Boolean(*v.AcceptanceRequired) } if v.AvailabilityZones != nil { @@ -12434,9 +12434,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpcEndpointServiceDetails(v *types.AwsE } } - if v.ManagesVpcEndpoints { + if v.ManagesVpcEndpoints != nil { ok := object.Key("ManagesVpcEndpoints") - ok.Boolean(v.ManagesVpcEndpoints) + ok.Boolean(*v.ManagesVpcEndpoints) } if v.NetworkLoadBalancerArns != nil { @@ -12676,9 +12676,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpnConnectionOptionsDetails(v *types.Aw object := value.Object() defer object.Close() - if v.StaticRoutesOnly { + if v.StaticRoutesOnly != nil { ok := object.Key("StaticRoutesOnly") - ok.Boolean(v.StaticRoutesOnly) + ok.Boolean(*v.StaticRoutesOnly) } if v.TunnelOptions != nil { @@ -12695,9 +12695,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDetail object := value.Object() defer object.Close() - if v.DpdTimeoutSeconds != 0 { + if v.DpdTimeoutSeconds != nil { ok := object.Key("DpdTimeoutSeconds") - ok.Integer(v.DpdTimeoutSeconds) + ok.Integer(*v.DpdTimeoutSeconds) } if v.IkeVersions != nil { @@ -12733,9 +12733,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDetail } } - if v.Phase1LifetimeSeconds != 0 { + if v.Phase1LifetimeSeconds != nil { ok := object.Key("Phase1LifetimeSeconds") - ok.Integer(v.Phase1LifetimeSeconds) + ok.Integer(*v.Phase1LifetimeSeconds) } if v.Phase2DhGroupNumbers != nil { @@ -12759,9 +12759,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDetail } } - if v.Phase2LifetimeSeconds != 0 { + if v.Phase2LifetimeSeconds != nil { ok := object.Key("Phase2LifetimeSeconds") - ok.Integer(v.Phase2LifetimeSeconds) + ok.Integer(*v.Phase2LifetimeSeconds) } if v.PreSharedKey != nil { @@ -12769,19 +12769,19 @@ func awsRestjson1_serializeDocumentAwsEc2VpnConnectionOptionsTunnelOptionsDetail ok.String(*v.PreSharedKey) } - if v.RekeyFuzzPercentage != 0 { + if v.RekeyFuzzPercentage != nil { ok := object.Key("RekeyFuzzPercentage") - ok.Integer(v.RekeyFuzzPercentage) + ok.Integer(*v.RekeyFuzzPercentage) } - if v.RekeyMarginTimeSeconds != 0 { + if v.RekeyMarginTimeSeconds != nil { ok := object.Key("RekeyMarginTimeSeconds") - ok.Integer(v.RekeyMarginTimeSeconds) + ok.Integer(*v.RekeyMarginTimeSeconds) } - if v.ReplayWindowSize != 0 { + if v.ReplayWindowSize != nil { ok := object.Key("ReplayWindowSize") - ok.Integer(v.ReplayWindowSize) + ok.Integer(*v.ReplayWindowSize) } if v.TunnelInsideCidr != nil { @@ -12839,9 +12839,9 @@ func awsRestjson1_serializeDocumentAwsEc2VpnConnectionVgwTelemetryDetails(v *typ object := value.Object() defer object.Close() - if v.AcceptedRouteCount != 0 { + if v.AcceptedRouteCount != nil { ok := object.Key("AcceptedRouteCount") - ok.Integer(v.AcceptedRouteCount) + ok.Integer(*v.AcceptedRouteCount) } if v.CertificateArn != nil { @@ -12969,9 +12969,9 @@ func awsRestjson1_serializeDocumentAwsEcrRepositoryImageScanningConfigurationDet object := value.Object() defer object.Close() - if v.ScanOnPush { + if v.ScanOnPush != nil { ok := object.Key("ScanOnPush") - ok.Boolean(v.ScanOnPush) + ok.Boolean(*v.ScanOnPush) } return nil @@ -13066,9 +13066,9 @@ func awsRestjson1_serializeDocumentAwsEcsClusterConfigurationExecuteCommandConfi object := value.Object() defer object.Close() - if v.CloudWatchEncryptionEnabled { + if v.CloudWatchEncryptionEnabled != nil { ok := object.Key("CloudWatchEncryptionEnabled") - ok.Boolean(v.CloudWatchEncryptionEnabled) + ok.Boolean(*v.CloudWatchEncryptionEnabled) } if v.CloudWatchLogGroupName != nil { @@ -13081,9 +13081,9 @@ func awsRestjson1_serializeDocumentAwsEcsClusterConfigurationExecuteCommandConfi ok.String(*v.S3BucketName) } - if v.S3EncryptionEnabled { + if v.S3EncryptionEnabled != nil { ok := object.Key("S3EncryptionEnabled") - ok.Boolean(v.S3EncryptionEnabled) + ok.Boolean(*v.S3EncryptionEnabled) } if v.S3KeyPrefix != nil { @@ -13098,9 +13098,9 @@ func awsRestjson1_serializeDocumentAwsEcsClusterDefaultCapacityProviderStrategyD object := value.Object() defer object.Close() - if v.Base != 0 { + if v.Base != nil { ok := object.Key("Base") - ok.Integer(v.Base) + ok.Integer(*v.Base) } if v.CapacityProvider != nil { @@ -13108,9 +13108,9 @@ func awsRestjson1_serializeDocumentAwsEcsClusterDefaultCapacityProviderStrategyD ok.String(*v.CapacityProvider) } - if v.Weight != 0 { + if v.Weight != nil { ok := object.Key("Weight") - ok.Integer(v.Weight) + ok.Integer(*v.Weight) } return nil @@ -13133,9 +13133,9 @@ func awsRestjson1_serializeDocumentAwsEcsClusterDetails(v *types.AwsEcsClusterDe object := value.Object() defer object.Close() - if v.ActiveServicesCount != 0 { + if v.ActiveServicesCount != nil { ok := object.Key("ActiveServicesCount") - ok.Integer(v.ActiveServicesCount) + ok.Integer(*v.ActiveServicesCount) } if v.CapacityProviders != nil { @@ -13176,14 +13176,14 @@ func awsRestjson1_serializeDocumentAwsEcsClusterDetails(v *types.AwsEcsClusterDe } } - if v.RegisteredContainerInstancesCount != 0 { + if v.RegisteredContainerInstancesCount != nil { ok := object.Key("RegisteredContainerInstancesCount") - ok.Integer(v.RegisteredContainerInstancesCount) + ok.Integer(*v.RegisteredContainerInstancesCount) } - if v.RunningTasksCount != 0 { + if v.RunningTasksCount != nil { ok := object.Key("RunningTasksCount") - ok.Integer(v.RunningTasksCount) + ok.Integer(*v.RunningTasksCount) } if v.Status != nil { @@ -13215,9 +13215,9 @@ func awsRestjson1_serializeDocumentAwsEcsContainerDetails(v *types.AwsEcsContain ok.String(*v.Name) } - if v.Privileged { + if v.Privileged != nil { ok := object.Key("Privileged") - ok.Boolean(v.Privileged) + ok.Boolean(*v.Privileged) } return nil @@ -13240,9 +13240,9 @@ func awsRestjson1_serializeDocumentAwsEcsServiceCapacityProviderStrategyDetails( object := value.Object() defer object.Close() - if v.Base != 0 { + if v.Base != nil { ok := object.Key("Base") - ok.Integer(v.Base) + ok.Integer(*v.Base) } if v.CapacityProvider != nil { @@ -13250,9 +13250,9 @@ func awsRestjson1_serializeDocumentAwsEcsServiceCapacityProviderStrategyDetails( ok.String(*v.CapacityProvider) } - if v.Weight != 0 { + if v.Weight != nil { ok := object.Key("Weight") - ok.Integer(v.Weight) + ok.Integer(*v.Weight) } return nil @@ -13275,14 +13275,14 @@ func awsRestjson1_serializeDocumentAwsEcsServiceDeploymentConfigurationDeploymen object := value.Object() defer object.Close() - if v.Enable { + if v.Enable != nil { ok := object.Key("Enable") - ok.Boolean(v.Enable) + ok.Boolean(*v.Enable) } - if v.Rollback { + if v.Rollback != nil { ok := object.Key("Rollback") - ok.Boolean(v.Rollback) + ok.Boolean(*v.Rollback) } return nil @@ -13299,14 +13299,14 @@ func awsRestjson1_serializeDocumentAwsEcsServiceDeploymentConfigurationDetails(v } } - if v.MaximumPercent != 0 { + if v.MaximumPercent != nil { ok := object.Key("MaximumPercent") - ok.Integer(v.MaximumPercent) + ok.Integer(*v.MaximumPercent) } - if v.MinimumHealthyPercent != 0 { + if v.MinimumHealthyPercent != nil { ok := object.Key("MinimumHealthyPercent") - ok.Integer(v.MinimumHealthyPercent) + ok.Integer(*v.MinimumHealthyPercent) } return nil @@ -13354,24 +13354,24 @@ func awsRestjson1_serializeDocumentAwsEcsServiceDetails(v *types.AwsEcsServiceDe } } - if v.DesiredCount != 0 { + if v.DesiredCount != nil { ok := object.Key("DesiredCount") - ok.Integer(v.DesiredCount) + ok.Integer(*v.DesiredCount) } - if v.EnableEcsManagedTags { + if v.EnableEcsManagedTags != nil { ok := object.Key("EnableEcsManagedTags") - ok.Boolean(v.EnableEcsManagedTags) + ok.Boolean(*v.EnableEcsManagedTags) } - if v.EnableExecuteCommand { + if v.EnableExecuteCommand != nil { ok := object.Key("EnableExecuteCommand") - ok.Boolean(v.EnableExecuteCommand) + ok.Boolean(*v.EnableExecuteCommand) } - if v.HealthCheckGracePeriodSeconds != 0 { + if v.HealthCheckGracePeriodSeconds != nil { ok := object.Key("HealthCheckGracePeriodSeconds") - ok.Integer(v.HealthCheckGracePeriodSeconds) + ok.Integer(*v.HealthCheckGracePeriodSeconds) } if v.LaunchType != nil { @@ -13466,9 +13466,9 @@ func awsRestjson1_serializeDocumentAwsEcsServiceLoadBalancersDetails(v *types.Aw ok.String(*v.ContainerName) } - if v.ContainerPort != 0 { + if v.ContainerPort != nil { ok := object.Key("ContainerPort") - ok.Integer(v.ContainerPort) + ok.Integer(*v.ContainerPort) } if v.LoadBalancerName != nil { @@ -13606,14 +13606,14 @@ func awsRestjson1_serializeDocumentAwsEcsServiceServiceRegistriesDetails(v *type ok.String(*v.ContainerName) } - if v.ContainerPort != 0 { + if v.ContainerPort != nil { ok := object.Key("ContainerPort") - ok.Integer(v.ContainerPort) + ok.Integer(*v.ContainerPort) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.RegistryArn != nil { @@ -13678,9 +13678,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai } } - if v.Cpu != 0 { + if v.Cpu != nil { ok := object.Key("Cpu") - ok.Integer(v.Cpu) + ok.Integer(*v.Cpu) } if v.DependsOn != nil { @@ -13690,9 +13690,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai } } - if v.DisableNetworking { + if v.DisableNetworking != nil { ok := object.Key("DisableNetworking") - ok.Boolean(v.DisableNetworking) + ok.Boolean(*v.DisableNetworking) } if v.DnsSearchDomains != nil { @@ -13744,9 +13744,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai } } - if v.Essential { + if v.Essential != nil { ok := object.Key("Essential") - ok.Boolean(v.Essential) + ok.Boolean(*v.Essential) } if v.ExtraHosts != nil { @@ -13780,9 +13780,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai ok.String(*v.Image) } - if v.Interactive { + if v.Interactive != nil { ok := object.Key("Interactive") - ok.Boolean(v.Interactive) + ok.Boolean(*v.Interactive) } if v.Links != nil { @@ -13806,14 +13806,14 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai } } - if v.Memory != 0 { + if v.Memory != nil { ok := object.Key("Memory") - ok.Integer(v.Memory) + ok.Integer(*v.Memory) } - if v.MemoryReservation != 0 { + if v.MemoryReservation != nil { ok := object.Key("MemoryReservation") - ok.Integer(v.MemoryReservation) + ok.Integer(*v.MemoryReservation) } if v.MountPoints != nil { @@ -13835,19 +13835,19 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai } } - if v.Privileged { + if v.Privileged != nil { ok := object.Key("Privileged") - ok.Boolean(v.Privileged) + ok.Boolean(*v.Privileged) } - if v.PseudoTerminal { + if v.PseudoTerminal != nil { ok := object.Key("PseudoTerminal") - ok.Boolean(v.PseudoTerminal) + ok.Boolean(*v.PseudoTerminal) } - if v.ReadonlyRootFilesystem { + if v.ReadonlyRootFilesystem != nil { ok := object.Key("ReadonlyRootFilesystem") - ok.Boolean(v.ReadonlyRootFilesystem) + ok.Boolean(*v.ReadonlyRootFilesystem) } if v.RepositoryCredentials != nil { @@ -13871,14 +13871,14 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsDetai } } - if v.StartTimeout != 0 { + if v.StartTimeout != nil { ok := object.Key("StartTimeout") - ok.Integer(v.StartTimeout) + ok.Integer(*v.StartTimeout) } - if v.StopTimeout != 0 { + if v.StopTimeout != nil { ok := object.Key("StopTimeout") - ok.Integer(v.StopTimeout) + ok.Integer(*v.StopTimeout) } if v.SystemControls != nil { @@ -14035,24 +14035,24 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsHealt } } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } - if v.Retries != 0 { + if v.Retries != nil { ok := object.Key("Retries") - ok.Integer(v.Retries) + ok.Integer(*v.Retries) } - if v.StartPeriod != 0 { + if v.StartPeriod != nil { ok := object.Key("StartPeriod") - ok.Integer(v.StartPeriod) + ok.Integer(*v.StartPeriod) } - if v.Timeout != 0 { + if v.Timeout != nil { ok := object.Key("Timeout") - ok.Integer(v.Timeout) + ok.Integer(*v.Timeout) } return nil @@ -14097,24 +14097,24 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinux } } - if v.InitProcessEnabled { + if v.InitProcessEnabled != nil { ok := object.Key("InitProcessEnabled") - ok.Boolean(v.InitProcessEnabled) + ok.Boolean(*v.InitProcessEnabled) } - if v.MaxSwap != 0 { + if v.MaxSwap != nil { ok := object.Key("MaxSwap") - ok.Integer(v.MaxSwap) + ok.Integer(*v.MaxSwap) } - if v.SharedMemorySize != 0 { + if v.SharedMemorySize != nil { ok := object.Key("SharedMemorySize") - ok.Integer(v.SharedMemorySize) + ok.Integer(*v.SharedMemorySize) } - if v.Swappiness != 0 { + if v.Swappiness != nil { ok := object.Key("Swappiness") - ok.Integer(v.Swappiness) + ok.Integer(*v.Swappiness) } if v.Tmpfs != nil { @@ -14180,9 +14180,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsLinux } } - if v.Size != 0 { + if v.Size != nil { ok := object.Key("Size") - ok.Integer(v.Size) + ok.Integer(*v.Size) } return nil @@ -14279,9 +14279,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsMount ok.String(*v.ContainerPath) } - if v.ReadOnly { + if v.ReadOnly != nil { ok := object.Key("ReadOnly") - ok.Boolean(v.ReadOnly) + ok.Boolean(*v.ReadOnly) } if v.SourceVolume != nil { @@ -14309,14 +14309,14 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsPortM object := value.Object() defer object.Close() - if v.ContainerPort != 0 { + if v.ContainerPort != nil { ok := object.Key("ContainerPort") - ok.Integer(v.ContainerPort) + ok.Integer(*v.ContainerPort) } - if v.HostPort != 0 { + if v.HostPort != nil { ok := object.Key("HostPort") - ok.Integer(v.HostPort) + ok.Integer(*v.HostPort) } if v.Protocol != nil { @@ -14446,9 +14446,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUlimi object := value.Object() defer object.Close() - if v.HardLimit != 0 { + if v.HardLimit != nil { ok := object.Key("HardLimit") - ok.Integer(v.HardLimit) + ok.Integer(*v.HardLimit) } if v.Name != nil { @@ -14456,9 +14456,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsUlimi ok.String(*v.Name) } - if v.SoftLimit != 0 { + if v.SoftLimit != nil { ok := object.Key("SoftLimit") - ok.Integer(v.SoftLimit) + ok.Integer(*v.SoftLimit) } return nil @@ -14481,9 +14481,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionContainerDefinitionsVolum object := value.Object() defer object.Close() - if v.ReadOnly { + if v.ReadOnly != nil { ok := object.Key("ReadOnly") - ok.Boolean(v.ReadOnly) + ok.Boolean(*v.ReadOnly) } if v.SourceContainer != nil { @@ -14752,9 +14752,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionVolumesDockerVolumeConfig object := value.Object() defer object.Close() - if v.Autoprovision { + if v.Autoprovision != nil { ok := object.Key("Autoprovision") - ok.Boolean(v.Autoprovision) + ok.Boolean(*v.Autoprovision) } if v.Driver != nil { @@ -14827,9 +14827,9 @@ func awsRestjson1_serializeDocumentAwsEcsTaskDefinitionVolumesEfsVolumeConfigura ok.String(*v.TransitEncryption) } - if v.TransitEncryptionPort != 0 { + if v.TransitEncryptionPort != nil { ok := object.Key("TransitEncryptionPort") - ok.Integer(v.TransitEncryptionPort) + ok.Integer(*v.TransitEncryptionPort) } return nil @@ -15126,9 +15126,9 @@ func awsRestjson1_serializeDocumentAwsEksClusterLoggingClusterLoggingDetails(v * object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } if v.Types != nil { @@ -15172,9 +15172,9 @@ func awsRestjson1_serializeDocumentAwsEksClusterResourcesVpcConfigDetails(v *typ object := value.Object() defer object.Close() - if v.EndpointPublicAccess { + if v.EndpointPublicAccess != nil { ok := object.Key("EndpointPublicAccess") - ok.Boolean(v.EndpointPublicAccess) + ok.Boolean(*v.EndpointPublicAccess) } if v.SecurityGroupIds != nil { @@ -15471,9 +15471,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainDomainEndpointOptions(v object := value.Object() defer object.Close() - if v.EnforceHTTPS { + if v.EnforceHTTPS != nil { ok := object.Key("EnforceHTTPS") - ok.Boolean(v.EnforceHTTPS) + ok.Boolean(*v.EnforceHTTPS) } if v.TLSSecurityPolicy != nil { @@ -15488,14 +15488,14 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainElasticsearchClusterCon object := value.Object() defer object.Close() - if v.DedicatedMasterCount != 0 { + if v.DedicatedMasterCount != nil { ok := object.Key("DedicatedMasterCount") - ok.Integer(v.DedicatedMasterCount) + ok.Integer(*v.DedicatedMasterCount) } - if v.DedicatedMasterEnabled { + if v.DedicatedMasterEnabled != nil { ok := object.Key("DedicatedMasterEnabled") - ok.Boolean(v.DedicatedMasterEnabled) + ok.Boolean(*v.DedicatedMasterEnabled) } if v.DedicatedMasterType != nil { @@ -15503,9 +15503,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainElasticsearchClusterCon ok.String(*v.DedicatedMasterType) } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if v.InstanceType != nil { @@ -15520,9 +15520,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainElasticsearchClusterCon } } - if v.ZoneAwarenessEnabled { + if v.ZoneAwarenessEnabled != nil { ok := object.Key("ZoneAwarenessEnabled") - ok.Boolean(v.ZoneAwarenessEnabled) + ok.Boolean(*v.ZoneAwarenessEnabled) } return nil @@ -15532,9 +15532,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainElasticsearchClusterCon object := value.Object() defer object.Close() - if v.AvailabilityZoneCount != 0 { + if v.AvailabilityZoneCount != nil { ok := object.Key("AvailabilityZoneCount") - ok.Integer(v.AvailabilityZoneCount) + ok.Integer(*v.AvailabilityZoneCount) } return nil @@ -15544,9 +15544,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainEncryptionAtRestOptions object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } if v.KmsKeyId != nil { @@ -15594,9 +15594,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainLogPublishingOptionsLog ok.String(*v.CloudWatchLogsLogGroupArn) } - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -15606,9 +15606,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainNodeToNodeEncryptionOpt object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -15623,9 +15623,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainServiceSoftwareOptions( ok.String(*v.AutomatedUpdateDate) } - if v.Cancellable { + if v.Cancellable != nil { ok := object.Key("Cancellable") - ok.Boolean(v.Cancellable) + ok.Boolean(*v.Cancellable) } if v.CurrentVersion != nil { @@ -15643,9 +15643,9 @@ func awsRestjson1_serializeDocumentAwsElasticsearchDomainServiceSoftwareOptions( ok.String(*v.NewVersion) } - if v.UpdateAvailable { + if v.UpdateAvailable != nil { ok := object.Key("UpdateAvailable") - ok.Boolean(v.UpdateAvailable) + ok.Boolean(*v.UpdateAvailable) } if v.UpdateStatus != nil { @@ -15736,9 +15736,9 @@ func awsRestjson1_serializeDocumentAwsElbLbCookieStickinessPolicy(v *types.AwsEl object := value.Object() defer object.Close() - if v.CookieExpirationPeriod != 0 { + if v.CookieExpirationPeriod != nil { ok := object.Key("CookieExpirationPeriod") - ok.Long(v.CookieExpirationPeriod) + ok.Long(*v.CookieExpirationPeriod) } if v.PolicyName != nil { @@ -15753,14 +15753,14 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerAccessLog(v *types.AwsElbLo object := value.Object() defer object.Close() - if v.EmitInterval != 0 { + if v.EmitInterval != nil { ok := object.Key("EmitInterval") - ok.Integer(v.EmitInterval) + ok.Integer(*v.EmitInterval) } - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } if v.S3BucketName != nil { @@ -15852,9 +15852,9 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerBackendServerDescription(v object := value.Object() defer object.Close() - if v.InstancePort != 0 { + if v.InstancePort != nil { ok := object.Key("InstancePort") - ok.Integer(v.InstancePort) + ok.Integer(*v.InstancePort) } if v.PolicyNames != nil { @@ -15884,14 +15884,14 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerConnectionDraining(v *types object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } - if v.Timeout != 0 { + if v.Timeout != nil { ok := object.Key("Timeout") - ok.Integer(v.Timeout) + ok.Integer(*v.Timeout) } return nil @@ -15901,9 +15901,9 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerConnectionSettings(v *types object := value.Object() defer object.Close() - if v.IdleTimeout != 0 { + if v.IdleTimeout != nil { ok := object.Key("IdleTimeout") - ok.Integer(v.IdleTimeout) + ok.Integer(*v.IdleTimeout) } return nil @@ -15913,9 +15913,9 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerCrossZoneLoadBalancing(v *t object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -16037,14 +16037,14 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerHealthCheck(v *types.AwsElb object := value.Object() defer object.Close() - if v.HealthyThreshold != 0 { + if v.HealthyThreshold != nil { ok := object.Key("HealthyThreshold") - ok.Integer(v.HealthyThreshold) + ok.Integer(*v.HealthyThreshold) } - if v.Interval != 0 { + if v.Interval != nil { ok := object.Key("Interval") - ok.Integer(v.Interval) + ok.Integer(*v.Interval) } if v.Target != nil { @@ -16052,14 +16052,14 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerHealthCheck(v *types.AwsElb ok.String(*v.Target) } - if v.Timeout != 0 { + if v.Timeout != nil { ok := object.Key("Timeout") - ok.Integer(v.Timeout) + ok.Integer(*v.Timeout) } - if v.UnhealthyThreshold != 0 { + if v.UnhealthyThreshold != nil { ok := object.Key("UnhealthyThreshold") - ok.Integer(v.UnhealthyThreshold) + ok.Integer(*v.UnhealthyThreshold) } return nil @@ -16094,9 +16094,9 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerListener(v *types.AwsElbLoa object := value.Object() defer object.Close() - if v.InstancePort != 0 { + if v.InstancePort != nil { ok := object.Key("InstancePort") - ok.Integer(v.InstancePort) + ok.Integer(*v.InstancePort) } if v.InstanceProtocol != nil { @@ -16104,9 +16104,9 @@ func awsRestjson1_serializeDocumentAwsElbLoadBalancerListener(v *types.AwsElbLoa ok.String(*v.InstanceProtocol) } - if v.LoadBalancerPort != 0 { + if v.LoadBalancerPort != nil { ok := object.Key("LoadBalancerPort") - ok.Integer(v.LoadBalancerPort) + ok.Integer(*v.LoadBalancerPort) } if v.Protocol != nil { @@ -16832,9 +16832,9 @@ func awsRestjson1_serializeDocumentAwsIamAccessKeySessionContextAttributes(v *ty ok.String(*v.CreationDate) } - if v.MfaAuthenticated { + if v.MfaAuthenticated != nil { ok := object.Key("MfaAuthenticated") - ok.Boolean(v.MfaAuthenticated) + ok.Boolean(*v.MfaAuthenticated) } return nil @@ -17091,9 +17091,9 @@ func awsRestjson1_serializeDocumentAwsIamPolicyDetails(v *types.AwsIamPolicyDeta object := value.Object() defer object.Close() - if v.AttachmentCount != 0 { + if v.AttachmentCount != nil { ok := object.Key("AttachmentCount") - ok.Integer(v.AttachmentCount) + ok.Integer(*v.AttachmentCount) } if v.CreateDate != nil { @@ -17111,9 +17111,9 @@ func awsRestjson1_serializeDocumentAwsIamPolicyDetails(v *types.AwsIamPolicyDeta ok.String(*v.Description) } - if v.IsAttachable { + if v.IsAttachable != nil { ok := object.Key("IsAttachable") - ok.Boolean(v.IsAttachable) + ok.Boolean(*v.IsAttachable) } if v.Path != nil { @@ -17121,9 +17121,9 @@ func awsRestjson1_serializeDocumentAwsIamPolicyDetails(v *types.AwsIamPolicyDeta ok.String(*v.Path) } - if v.PermissionsBoundaryUsageCount != 0 { + if v.PermissionsBoundaryUsageCount != nil { ok := object.Key("PermissionsBoundaryUsageCount") - ok.Integer(v.PermissionsBoundaryUsageCount) + ok.Integer(*v.PermissionsBoundaryUsageCount) } if v.PolicyId != nil { @@ -17160,9 +17160,9 @@ func awsRestjson1_serializeDocumentAwsIamPolicyVersion(v *types.AwsIamPolicyVers ok.String(*v.CreateDate) } - if v.IsDefaultVersion { + if v.IsDefaultVersion != nil { ok := object.Key("IsDefaultVersion") - ok.Boolean(v.IsDefaultVersion) + ok.Boolean(*v.IsDefaultVersion) } if v.VersionId != nil { @@ -17214,9 +17214,9 @@ func awsRestjson1_serializeDocumentAwsIamRoleDetails(v *types.AwsIamRoleDetails, } } - if v.MaxSessionDuration != 0 { + if v.MaxSessionDuration != nil { ok := object.Key("MaxSessionDuration") - ok.Integer(v.MaxSessionDuration) + ok.Integer(*v.MaxSessionDuration) } if v.Path != nil { @@ -17370,14 +17370,14 @@ func awsRestjson1_serializeDocumentAwsKinesisStreamDetails(v *types.AwsKinesisSt ok.String(*v.Name) } - if v.RetentionPeriodHours != 0 { + if v.RetentionPeriodHours != nil { ok := object.Key("RetentionPeriodHours") - ok.Integer(v.RetentionPeriodHours) + ok.Integer(*v.RetentionPeriodHours) } - if v.ShardCount != 0 { + if v.ShardCount != nil { ok := object.Key("ShardCount") - ok.Integer(v.ShardCount) + ok.Integer(*v.ShardCount) } if v.StreamEncryption != nil { @@ -17416,20 +17416,20 @@ func awsRestjson1_serializeDocumentAwsKmsKeyDetails(v *types.AwsKmsKeyDetails, v ok.String(*v.AWSAccountId) } - if v.CreationDate != 0 { + if v.CreationDate != nil { ok := object.Key("CreationDate") switch { - case math.IsNaN(v.CreationDate): + case math.IsNaN(*v.CreationDate): ok.String("NaN") - case math.IsInf(v.CreationDate, 1): + case math.IsInf(*v.CreationDate, 1): ok.String("Infinity") - case math.IsInf(v.CreationDate, -1): + case math.IsInf(*v.CreationDate, -1): ok.String("-Infinity") default: - ok.Double(v.CreationDate) + ok.Double(*v.CreationDate) } } @@ -17449,9 +17449,9 @@ func awsRestjson1_serializeDocumentAwsKmsKeyDetails(v *types.AwsKmsKeyDetails, v ok.String(*v.KeyManager) } - if v.KeyRotationStatus { + if v.KeyRotationStatus != nil { ok := object.Key("KeyRotationStatus") - ok.Boolean(v.KeyRotationStatus) + ok.Boolean(*v.KeyRotationStatus) } if v.KeyState != nil { @@ -17575,9 +17575,9 @@ func awsRestjson1_serializeDocumentAwsLambdaFunctionDetails(v *types.AwsLambdaFu ok.String(*v.MasterArn) } - if v.MemorySize != 0 { + if v.MemorySize != nil { ok := object.Key("MemorySize") - ok.Integer(v.MemorySize) + ok.Integer(*v.MemorySize) } if v.PackageType != nil { @@ -17600,9 +17600,9 @@ func awsRestjson1_serializeDocumentAwsLambdaFunctionDetails(v *types.AwsLambdaFu ok.String(*v.Runtime) } - if v.Timeout != 0 { + if v.Timeout != nil { ok := object.Key("Timeout") - ok.Integer(v.Timeout) + ok.Integer(*v.Timeout) } if v.TracingConfig != nil { @@ -17674,9 +17674,9 @@ func awsRestjson1_serializeDocumentAwsLambdaFunctionLayer(v *types.AwsLambdaFunc ok.String(*v.Arn) } - if v.CodeSize != 0 { + if v.CodeSize != nil { ok := object.Key("CodeSize") - ok.Integer(v.CodeSize) + ok.Integer(*v.CodeSize) } return nil @@ -17749,9 +17749,9 @@ func awsRestjson1_serializeDocumentAwsLambdaLayerVersionDetails(v *types.AwsLamb ok.String(*v.CreatedDate) } - if v.Version != 0 { + if v.Version != nil { ok := object.Key("Version") - ok.Long(v.Version) + ok.Long(*v.Version) } return nil @@ -17840,9 +17840,9 @@ func awsRestjson1_serializeDocumentAwsMskClusterClusterInfoClientAuthenticationS object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -17852,9 +17852,9 @@ func awsRestjson1_serializeDocumentAwsMskClusterClusterInfoClientAuthenticationS object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -17871,9 +17871,9 @@ func awsRestjson1_serializeDocumentAwsMskClusterClusterInfoClientAuthenticationT } } - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -17883,9 +17883,9 @@ func awsRestjson1_serializeDocumentAwsMskClusterClusterInfoClientAuthenticationU object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -17919,9 +17919,9 @@ func awsRestjson1_serializeDocumentAwsMskClusterClusterInfoDetails(v *types.AwsM } } - if v.NumberOfBrokerNodes != 0 { + if v.NumberOfBrokerNodes != nil { ok := object.Key("NumberOfBrokerNodes") - ok.Integer(v.NumberOfBrokerNodes) + ok.Integer(*v.NumberOfBrokerNodes) } return nil @@ -17969,9 +17969,9 @@ func awsRestjson1_serializeDocumentAwsMskClusterClusterInfoEncryptionInfoEncrypt ok.String(*v.ClientBroker) } - if v.InCluster { + if v.InCluster != nil { ok := object.Key("InCluster") - ok.Boolean(v.InCluster) + ok.Boolean(*v.InCluster) } return nil @@ -17995,9 +17995,9 @@ func awsRestjson1_serializeDocumentAwsNetworkFirewallFirewallDetails(v *types.Aw object := value.Object() defer object.Close() - if v.DeleteProtection { + if v.DeleteProtection != nil { ok := object.Key("DeleteProtection") - ok.Boolean(v.DeleteProtection) + ok.Boolean(*v.DeleteProtection) } if v.Description != nil { @@ -18025,14 +18025,14 @@ func awsRestjson1_serializeDocumentAwsNetworkFirewallFirewallDetails(v *types.Aw ok.String(*v.FirewallPolicyArn) } - if v.FirewallPolicyChangeProtection { + if v.FirewallPolicyChangeProtection != nil { ok := object.Key("FirewallPolicyChangeProtection") - ok.Boolean(v.FirewallPolicyChangeProtection) + ok.Boolean(*v.FirewallPolicyChangeProtection) } - if v.SubnetChangeProtection { + if v.SubnetChangeProtection != nil { ok := object.Key("SubnetChangeProtection") - ok.Boolean(v.SubnetChangeProtection) + ok.Boolean(*v.SubnetChangeProtection) } if v.SubnetMappings != nil { @@ -18113,9 +18113,9 @@ func awsRestjson1_serializeDocumentAwsNetworkFirewallRuleGroupDetails(v *types.A object := value.Object() defer object.Close() - if v.Capacity != 0 { + if v.Capacity != nil { ok := object.Key("Capacity") - ok.Integer(v.Capacity) + ok.Integer(*v.Capacity) } if v.Description != nil { @@ -18157,14 +18157,14 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainAdvancedSecurityOpt object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } - if v.InternalUserDatabaseEnabled { + if v.InternalUserDatabaseEnabled != nil { ok := object.Key("InternalUserDatabaseEnabled") - ok.Boolean(v.InternalUserDatabaseEnabled) + ok.Boolean(*v.InternalUserDatabaseEnabled) } if v.MasterUserOptions != nil { @@ -18181,14 +18181,14 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainClusterConfigDetail object := value.Object() defer object.Close() - if v.DedicatedMasterCount != 0 { + if v.DedicatedMasterCount != nil { ok := object.Key("DedicatedMasterCount") - ok.Integer(v.DedicatedMasterCount) + ok.Integer(*v.DedicatedMasterCount) } - if v.DedicatedMasterEnabled { + if v.DedicatedMasterEnabled != nil { ok := object.Key("DedicatedMasterEnabled") - ok.Boolean(v.DedicatedMasterEnabled) + ok.Boolean(*v.DedicatedMasterEnabled) } if v.DedicatedMasterType != nil { @@ -18196,9 +18196,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainClusterConfigDetail ok.String(*v.DedicatedMasterType) } - if v.InstanceCount != 0 { + if v.InstanceCount != nil { ok := object.Key("InstanceCount") - ok.Integer(v.InstanceCount) + ok.Integer(*v.InstanceCount) } if v.InstanceType != nil { @@ -18206,14 +18206,14 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainClusterConfigDetail ok.String(*v.InstanceType) } - if v.WarmCount != 0 { + if v.WarmCount != nil { ok := object.Key("WarmCount") - ok.Integer(v.WarmCount) + ok.Integer(*v.WarmCount) } - if v.WarmEnabled { + if v.WarmEnabled != nil { ok := object.Key("WarmEnabled") - ok.Boolean(v.WarmEnabled) + ok.Boolean(*v.WarmEnabled) } if v.WarmType != nil { @@ -18228,9 +18228,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainClusterConfigDetail } } - if v.ZoneAwarenessEnabled { + if v.ZoneAwarenessEnabled != nil { ok := object.Key("ZoneAwarenessEnabled") - ok.Boolean(v.ZoneAwarenessEnabled) + ok.Boolean(*v.ZoneAwarenessEnabled) } return nil @@ -18240,9 +18240,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainClusterConfigZoneAw object := value.Object() defer object.Close() - if v.AvailabilityZoneCount != 0 { + if v.AvailabilityZoneCount != nil { ok := object.Key("AvailabilityZoneCount") - ok.Integer(v.AvailabilityZoneCount) + ok.Integer(*v.AvailabilityZoneCount) } return nil @@ -18362,14 +18362,14 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainDomainEndpointOptio ok.String(*v.CustomEndpointCertificateArn) } - if v.CustomEndpointEnabled { + if v.CustomEndpointEnabled != nil { ok := object.Key("CustomEndpointEnabled") - ok.Boolean(v.CustomEndpointEnabled) + ok.Boolean(*v.CustomEndpointEnabled) } - if v.EnforceHTTPS { + if v.EnforceHTTPS != nil { ok := object.Key("EnforceHTTPS") - ok.Boolean(v.EnforceHTTPS) + ok.Boolean(*v.EnforceHTTPS) } if v.TLSSecurityPolicy != nil { @@ -18384,9 +18384,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainEncryptionAtRestOpt object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } if v.KmsKeyId != nil { @@ -18406,9 +18406,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainLogPublishingOption ok.String(*v.CloudWatchLogsLogGroupArn) } - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -18468,9 +18468,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainNodeToNodeEncryptio object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -18485,9 +18485,9 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOpti ok.String(*v.AutomatedUpdateDate) } - if v.Cancellable { + if v.Cancellable != nil { ok := object.Key("Cancellable") - ok.Boolean(v.Cancellable) + ok.Boolean(*v.Cancellable) } if v.CurrentVersion != nil { @@ -18505,14 +18505,14 @@ func awsRestjson1_serializeDocumentAwsOpenSearchServiceDomainServiceSoftwareOpti ok.String(*v.NewVersion) } - if v.OptionalDeployment { + if v.OptionalDeployment != nil { ok := object.Key("OptionalDeployment") - ok.Boolean(v.OptionalDeployment) + ok.Boolean(*v.OptionalDeployment) } - if v.UpdateAvailable { + if v.UpdateAvailable != nil { ok := object.Key("UpdateAvailable") - ok.Boolean(v.UpdateAvailable) + ok.Boolean(*v.UpdateAvailable) } if v.UpdateStatus != nil { @@ -18583,9 +18583,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust ok.String(*v.ActivityStreamStatus) } - if v.AllocatedStorage != 0 { + if v.AllocatedStorage != nil { ok := object.Key("AllocatedStorage") - ok.Integer(v.AllocatedStorage) + ok.Integer(*v.AllocatedStorage) } if v.AssociatedRoles != nil { @@ -18595,9 +18595,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust } } - if v.AutoMinorVersionUpgrade { + if v.AutoMinorVersionUpgrade != nil { ok := object.Key("AutoMinorVersionUpgrade") - ok.Boolean(v.AutoMinorVersionUpgrade) + ok.Boolean(*v.AutoMinorVersionUpgrade) } if v.AvailabilityZones != nil { @@ -18607,9 +18607,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust } } - if v.BackupRetentionPeriod != 0 { + if v.BackupRetentionPeriod != nil { ok := object.Key("BackupRetentionPeriod") - ok.Integer(v.BackupRetentionPeriod) + ok.Integer(*v.BackupRetentionPeriod) } if v.ClusterCreateTime != nil { @@ -18617,14 +18617,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust ok.String(*v.ClusterCreateTime) } - if v.CopyTagsToSnapshot { + if v.CopyTagsToSnapshot != nil { ok := object.Key("CopyTagsToSnapshot") - ok.Boolean(v.CopyTagsToSnapshot) + ok.Boolean(*v.CopyTagsToSnapshot) } - if v.CrossAccountClone { + if v.CrossAccountClone != nil { ok := object.Key("CrossAccountClone") - ok.Boolean(v.CrossAccountClone) + ok.Boolean(*v.CrossAccountClone) } if v.CustomEndpoints != nil { @@ -18673,9 +18673,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust ok.String(*v.DbSubnetGroup) } - if v.DeletionProtection { + if v.DeletionProtection != nil { ok := object.Key("DeletionProtection") - ok.Boolean(v.DeletionProtection) + ok.Boolean(*v.DeletionProtection) } if v.DomainMemberships != nil { @@ -18717,14 +18717,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust ok.String(*v.HostedZoneId) } - if v.HttpEndpointEnabled { + if v.HttpEndpointEnabled != nil { ok := object.Key("HttpEndpointEnabled") - ok.Boolean(v.HttpEndpointEnabled) + ok.Boolean(*v.HttpEndpointEnabled) } - if v.IamDatabaseAuthenticationEnabled { + if v.IamDatabaseAuthenticationEnabled != nil { ok := object.Key("IamDatabaseAuthenticationEnabled") - ok.Boolean(v.IamDatabaseAuthenticationEnabled) + ok.Boolean(*v.IamDatabaseAuthenticationEnabled) } if v.KmsKeyId != nil { @@ -18737,14 +18737,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust ok.String(*v.MasterUsername) } - if v.MultiAz { + if v.MultiAz != nil { ok := object.Key("MultiAz") - ok.Boolean(v.MultiAz) + ok.Boolean(*v.MultiAz) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.PreferredBackupWindow != nil { @@ -18774,9 +18774,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterDetails(v *types.AwsRdsDbClust ok.String(*v.Status) } - if v.StorageEncrypted { + if v.StorageEncrypted != nil { ok := object.Key("StorageEncrypted") - ok.Boolean(v.StorageEncrypted) + ok.Boolean(*v.StorageEncrypted) } if v.VpcSecurityGroups != nil { @@ -18803,14 +18803,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterMember(v *types.AwsRdsDbCluste ok.String(*v.DbInstanceIdentifier) } - if v.IsClusterWriter { + if v.IsClusterWriter != nil { ok := object.Key("IsClusterWriter") - ok.Boolean(v.IsClusterWriter) + ok.Boolean(*v.IsClusterWriter) } - if v.PromotionTier != 0 { + if v.PromotionTier != nil { ok := object.Key("PromotionTier") - ok.Integer(v.PromotionTier) + ok.Integer(*v.PromotionTier) } return nil @@ -18895,9 +18895,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterSnapshotDetails(v *types.AwsRd object := value.Object() defer object.Close() - if v.AllocatedStorage != 0 { + if v.AllocatedStorage != nil { ok := object.Key("AllocatedStorage") - ok.Integer(v.AllocatedStorage) + ok.Integer(*v.AllocatedStorage) } if v.AvailabilityZones != nil { @@ -18939,9 +18939,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterSnapshotDetails(v *types.AwsRd ok.String(*v.EngineVersion) } - if v.IamDatabaseAuthenticationEnabled { + if v.IamDatabaseAuthenticationEnabled != nil { ok := object.Key("IamDatabaseAuthenticationEnabled") - ok.Boolean(v.IamDatabaseAuthenticationEnabled) + ok.Boolean(*v.IamDatabaseAuthenticationEnabled) } if v.KmsKeyId != nil { @@ -18959,14 +18959,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterSnapshotDetails(v *types.AwsRd ok.String(*v.MasterUsername) } - if v.PercentProgress != 0 { + if v.PercentProgress != nil { ok := object.Key("PercentProgress") - ok.Integer(v.PercentProgress) + ok.Integer(*v.PercentProgress) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.SnapshotCreateTime != nil { @@ -18984,9 +18984,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbClusterSnapshotDetails(v *types.AwsRd ok.String(*v.Status) } - if v.StorageEncrypted { + if v.StorageEncrypted != nil { ok := object.Key("StorageEncrypted") - ok.Boolean(v.StorageEncrypted) + ok.Boolean(*v.StorageEncrypted) } if v.VpcId != nil { @@ -19076,9 +19076,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst object := value.Object() defer object.Close() - if v.AllocatedStorage != 0 { + if v.AllocatedStorage != nil { ok := object.Key("AllocatedStorage") - ok.Integer(v.AllocatedStorage) + ok.Integer(*v.AllocatedStorage) } if v.AssociatedRoles != nil { @@ -19088,9 +19088,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst } } - if v.AutoMinorVersionUpgrade { + if v.AutoMinorVersionUpgrade != nil { ok := object.Key("AutoMinorVersionUpgrade") - ok.Boolean(v.AutoMinorVersionUpgrade) + ok.Boolean(*v.AutoMinorVersionUpgrade) } if v.AvailabilityZone != nil { @@ -19098,9 +19098,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.AvailabilityZone) } - if v.BackupRetentionPeriod != 0 { + if v.BackupRetentionPeriod != nil { ok := object.Key("BackupRetentionPeriod") - ok.Integer(v.BackupRetentionPeriod) + ok.Integer(*v.BackupRetentionPeriod) } if v.CACertificateIdentifier != nil { @@ -19113,9 +19113,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.CharacterSetName) } - if v.CopyTagsToSnapshot { + if v.CopyTagsToSnapshot != nil { ok := object.Key("CopyTagsToSnapshot") - ok.Boolean(v.CopyTagsToSnapshot) + ok.Boolean(*v.CopyTagsToSnapshot) } if v.DBClusterIdentifier != nil { @@ -19133,9 +19133,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.DBInstanceIdentifier) } - if v.DbInstancePort != 0 { + if v.DbInstancePort != nil { ok := object.Key("DbInstancePort") - ok.Integer(v.DbInstancePort) + ok.Integer(*v.DbInstancePort) } if v.DbInstanceStatus != nil { @@ -19174,9 +19174,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst } } - if v.DeletionProtection { + if v.DeletionProtection != nil { ok := object.Key("DeletionProtection") - ok.Boolean(v.DeletionProtection) + ok.Boolean(*v.DeletionProtection) } if v.DomainMemberships != nil { @@ -19215,9 +19215,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.EnhancedMonitoringResourceArn) } - if v.IAMDatabaseAuthenticationEnabled { + if v.IAMDatabaseAuthenticationEnabled != nil { ok := object.Key("IAMDatabaseAuthenticationEnabled") - ok.Boolean(v.IAMDatabaseAuthenticationEnabled) + ok.Boolean(*v.IAMDatabaseAuthenticationEnabled) } if v.InstanceCreateTime != nil { @@ -19225,9 +19225,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.InstanceCreateTime) } - if v.Iops != 0 { + if v.Iops != nil { ok := object.Key("Iops") - ok.Integer(v.Iops) + ok.Integer(*v.Iops) } if v.KmsKeyId != nil { @@ -19257,14 +19257,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.MasterUsername) } - if v.MaxAllocatedStorage != 0 { + if v.MaxAllocatedStorage != nil { ok := object.Key("MaxAllocatedStorage") - ok.Integer(v.MaxAllocatedStorage) + ok.Integer(*v.MaxAllocatedStorage) } - if v.MonitoringInterval != 0 { + if v.MonitoringInterval != nil { ok := object.Key("MonitoringInterval") - ok.Integer(v.MonitoringInterval) + ok.Integer(*v.MonitoringInterval) } if v.MonitoringRoleArn != nil { @@ -19272,9 +19272,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.MonitoringRoleArn) } - if v.MultiAz { + if v.MultiAz != nil { ok := object.Key("MultiAz") - ok.Boolean(v.MultiAz) + ok.Boolean(*v.MultiAz) } if v.OptionGroupMemberships != nil { @@ -19291,9 +19291,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst } } - if v.PerformanceInsightsEnabled { + if v.PerformanceInsightsEnabled != nil { ok := object.Key("PerformanceInsightsEnabled") - ok.Boolean(v.PerformanceInsightsEnabled) + ok.Boolean(*v.PerformanceInsightsEnabled) } if v.PerformanceInsightsKmsKeyId != nil { @@ -19301,9 +19301,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst ok.String(*v.PerformanceInsightsKmsKeyId) } - if v.PerformanceInsightsRetentionPeriod != 0 { + if v.PerformanceInsightsRetentionPeriod != nil { ok := object.Key("PerformanceInsightsRetentionPeriod") - ok.Integer(v.PerformanceInsightsRetentionPeriod) + ok.Integer(*v.PerformanceInsightsRetentionPeriod) } if v.PreferredBackupWindow != nil { @@ -19323,14 +19323,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst } } - if v.PromotionTier != 0 { + if v.PromotionTier != nil { ok := object.Key("PromotionTier") - ok.Integer(v.PromotionTier) + ok.Integer(*v.PromotionTier) } - if v.PubliclyAccessible { + if v.PubliclyAccessible != nil { ok := object.Key("PubliclyAccessible") - ok.Boolean(v.PubliclyAccessible) + ok.Boolean(*v.PubliclyAccessible) } if v.ReadReplicaDBClusterIdentifiers != nil { @@ -19364,9 +19364,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceDetails(v *types.AwsRdsDbInst } } - if v.StorageEncrypted { + if v.StorageEncrypted != nil { ok := object.Key("StorageEncrypted") - ok.Boolean(v.StorageEncrypted) + ok.Boolean(*v.StorageEncrypted) } if v.StorageType != nil { @@ -19408,9 +19408,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbInstanceEndpoint(v *types.AwsRdsDbIns ok.String(*v.HostedZoneId) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -19510,14 +19510,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbPendingModifiedValues(v *types.AwsRds object := value.Object() defer object.Close() - if v.AllocatedStorage != 0 { + if v.AllocatedStorage != nil { ok := object.Key("AllocatedStorage") - ok.Integer(v.AllocatedStorage) + ok.Integer(*v.AllocatedStorage) } - if v.BackupRetentionPeriod != 0 { + if v.BackupRetentionPeriod != nil { ok := object.Key("BackupRetentionPeriod") - ok.Integer(v.BackupRetentionPeriod) + ok.Integer(*v.BackupRetentionPeriod) } if v.CaCertificateIdentifier != nil { @@ -19545,9 +19545,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbPendingModifiedValues(v *types.AwsRds ok.String(*v.EngineVersion) } - if v.Iops != 0 { + if v.Iops != nil { ok := object.Key("Iops") - ok.Integer(v.Iops) + ok.Integer(*v.Iops) } if v.LicenseModel != nil { @@ -19560,9 +19560,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbPendingModifiedValues(v *types.AwsRds ok.String(*v.MasterUserPassword) } - if v.MultiAZ { + if v.MultiAZ != nil { ok := object.Key("MultiAZ") - ok.Boolean(v.MultiAZ) + ok.Boolean(*v.MultiAZ) } if v.PendingCloudWatchLogsExports != nil { @@ -19572,9 +19572,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbPendingModifiedValues(v *types.AwsRds } } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.ProcessorFeatures != nil { @@ -19742,9 +19742,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbSnapshotDetails(v *types.AwsRdsDbSnap object := value.Object() defer object.Close() - if v.AllocatedStorage != 0 { + if v.AllocatedStorage != nil { ok := object.Key("AllocatedStorage") - ok.Integer(v.AllocatedStorage) + ok.Integer(*v.AllocatedStorage) } if v.AvailabilityZone != nil { @@ -19767,9 +19767,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbSnapshotDetails(v *types.AwsRdsDbSnap ok.String(*v.DbSnapshotIdentifier) } - if v.Encrypted { + if v.Encrypted != nil { ok := object.Key("Encrypted") - ok.Boolean(v.Encrypted) + ok.Boolean(*v.Encrypted) } if v.Engine != nil { @@ -19782,9 +19782,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbSnapshotDetails(v *types.AwsRdsDbSnap ok.String(*v.EngineVersion) } - if v.IamDatabaseAuthenticationEnabled { + if v.IamDatabaseAuthenticationEnabled != nil { ok := object.Key("IamDatabaseAuthenticationEnabled") - ok.Boolean(v.IamDatabaseAuthenticationEnabled) + ok.Boolean(*v.IamDatabaseAuthenticationEnabled) } if v.InstanceCreateTime != nil { @@ -19792,9 +19792,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbSnapshotDetails(v *types.AwsRdsDbSnap ok.String(*v.InstanceCreateTime) } - if v.Iops != 0 { + if v.Iops != nil { ok := object.Key("Iops") - ok.Integer(v.Iops) + ok.Integer(*v.Iops) } if v.KmsKeyId != nil { @@ -19817,14 +19817,14 @@ func awsRestjson1_serializeDocumentAwsRdsDbSnapshotDetails(v *types.AwsRdsDbSnap ok.String(*v.OptionGroupName) } - if v.PercentProgress != 0 { + if v.PercentProgress != nil { ok := object.Key("PercentProgress") - ok.Integer(v.PercentProgress) + ok.Integer(*v.PercentProgress) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } if v.ProcessorFeatures != nil { @@ -19891,9 +19891,9 @@ func awsRestjson1_serializeDocumentAwsRdsDbStatusInfo(v *types.AwsRdsDbStatusInf ok.String(*v.Message) } - if v.Normal { + if v.Normal != nil { ok := object.Key("Normal") - ok.Boolean(v.Normal) + ok.Boolean(*v.Normal) } if v.Status != nil { @@ -20024,9 +20024,9 @@ func awsRestjson1_serializeDocumentAwsRdsEventSubscriptionDetails(v *types.AwsRd ok.String(*v.CustSubscriptionId) } - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } if v.EventCategoriesList != nil { @@ -20238,14 +20238,14 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterClusterSnapshotCopyStatus(v ok.String(*v.DestinationRegion) } - if v.ManualSnapshotRetentionPeriod != 0 { + if v.ManualSnapshotRetentionPeriod != nil { ok := object.Key("ManualSnapshotRetentionPeriod") - ok.Integer(v.ManualSnapshotRetentionPeriod) + ok.Integer(*v.ManualSnapshotRetentionPeriod) } - if v.RetentionPeriod != 0 { + if v.RetentionPeriod != nil { ok := object.Key("RetentionPeriod") - ok.Integer(v.RetentionPeriod) + ok.Integer(*v.RetentionPeriod) } if v.SnapshotCopyGrantName != nil { @@ -20295,14 +20295,14 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterDetails(v *types.AwsRedshif object := value.Object() defer object.Close() - if v.AllowVersionUpgrade { + if v.AllowVersionUpgrade != nil { ok := object.Key("AllowVersionUpgrade") - ok.Boolean(v.AllowVersionUpgrade) + ok.Boolean(*v.AllowVersionUpgrade) } - if v.AutomatedSnapshotRetentionPeriod != 0 { + if v.AutomatedSnapshotRetentionPeriod != nil { ok := object.Key("AutomatedSnapshotRetentionPeriod") - ok.Integer(v.AutomatedSnapshotRetentionPeriod) + ok.Integer(*v.AutomatedSnapshotRetentionPeriod) } if v.AvailabilityZone != nil { @@ -20402,9 +20402,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterDetails(v *types.AwsRedshif ok.String(*v.ElasticResizeNumberOfNodeOptions) } - if v.Encrypted { + if v.Encrypted != nil { ok := object.Key("Encrypted") - ok.Boolean(v.Encrypted) + ok.Boolean(*v.Encrypted) } if v.Endpoint != nil { @@ -20414,9 +20414,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterDetails(v *types.AwsRedshif } } - if v.EnhancedVpcRouting { + if v.EnhancedVpcRouting != nil { ok := object.Key("EnhancedVpcRouting") - ok.Boolean(v.EnhancedVpcRouting) + ok.Boolean(*v.EnhancedVpcRouting) } if v.ExpectedNextSnapshotScheduleTime != nil { @@ -20460,9 +20460,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterDetails(v *types.AwsRedshif ok.String(*v.MaintenanceTrackName) } - if v.ManualSnapshotRetentionPeriod != 0 { + if v.ManualSnapshotRetentionPeriod != nil { ok := object.Key("ManualSnapshotRetentionPeriod") - ok.Integer(v.ManualSnapshotRetentionPeriod) + ok.Integer(*v.ManualSnapshotRetentionPeriod) } if v.MasterUsername != nil { @@ -20480,9 +20480,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterDetails(v *types.AwsRedshif ok.String(*v.NodeType) } - if v.NumberOfNodes != 0 { + if v.NumberOfNodes != nil { ok := object.Key("NumberOfNodes") - ok.Integer(v.NumberOfNodes) + ok.Integer(*v.NumberOfNodes) } if v.PendingActions != nil { @@ -20504,9 +20504,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterDetails(v *types.AwsRedshif ok.String(*v.PreferredMaintenanceWindow) } - if v.PubliclyAccessible { + if v.PubliclyAccessible != nil { ok := object.Key("PubliclyAccessible") - ok.Boolean(v.PubliclyAccessible) + ok.Boolean(*v.PubliclyAccessible) } if v.ResizeInfo != nil { @@ -20574,9 +20574,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterEndpoint(v *types.AwsRedshi ok.String(*v.Address) } - if v.Port != 0 { + if v.Port != nil { ok := object.Key("Port") - ok.Integer(v.Port) + ok.Integer(*v.Port) } return nil @@ -20658,9 +20658,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterLoggingStatus(v *types.AwsR ok.String(*v.LastSuccessfulDeliveryTime) } - if v.LoggingEnabled { + if v.LoggingEnabled != nil { ok := object.Key("LoggingEnabled") - ok.Boolean(v.LoggingEnabled) + ok.Boolean(*v.LoggingEnabled) } if v.S3KeyPrefix != nil { @@ -20675,9 +20675,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterPendingModifiedValues(v *ty object := value.Object() defer object.Close() - if v.AutomatedSnapshotRetentionPeriod != 0 { + if v.AutomatedSnapshotRetentionPeriod != nil { ok := object.Key("AutomatedSnapshotRetentionPeriod") - ok.Integer(v.AutomatedSnapshotRetentionPeriod) + ok.Integer(*v.AutomatedSnapshotRetentionPeriod) } if v.ClusterIdentifier != nil { @@ -20700,9 +20700,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterPendingModifiedValues(v *ty ok.String(*v.EncryptionType) } - if v.EnhancedVpcRouting { + if v.EnhancedVpcRouting != nil { ok := object.Key("EnhancedVpcRouting") - ok.Boolean(v.EnhancedVpcRouting) + ok.Boolean(*v.EnhancedVpcRouting) } if v.MaintenanceTrackName != nil { @@ -20720,14 +20720,14 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterPendingModifiedValues(v *ty ok.String(*v.NodeType) } - if v.NumberOfNodes != 0 { + if v.NumberOfNodes != nil { ok := object.Key("NumberOfNodes") - ok.Integer(v.NumberOfNodes) + ok.Integer(*v.NumberOfNodes) } - if v.PubliclyAccessible { + if v.PubliclyAccessible != nil { ok := object.Key("PubliclyAccessible") - ok.Boolean(v.PubliclyAccessible) + ok.Boolean(*v.PubliclyAccessible) } return nil @@ -20737,9 +20737,9 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterResizeInfo(v *types.AwsReds object := value.Object() defer object.Close() - if v.AllowCancelResize { + if v.AllowCancelResize != nil { ok := object.Key("AllowCancelResize") - ok.Boolean(v.AllowCancelResize) + ok.Boolean(*v.AllowCancelResize) } if v.ResizeType != nil { @@ -20754,42 +20754,42 @@ func awsRestjson1_serializeDocumentAwsRedshiftClusterRestoreStatus(v *types.AwsR object := value.Object() defer object.Close() - if v.CurrentRestoreRateInMegaBytesPerSecond != 0 { + if v.CurrentRestoreRateInMegaBytesPerSecond != nil { ok := object.Key("CurrentRestoreRateInMegaBytesPerSecond") switch { - case math.IsNaN(v.CurrentRestoreRateInMegaBytesPerSecond): + case math.IsNaN(*v.CurrentRestoreRateInMegaBytesPerSecond): ok.String("NaN") - case math.IsInf(v.CurrentRestoreRateInMegaBytesPerSecond, 1): + case math.IsInf(*v.CurrentRestoreRateInMegaBytesPerSecond, 1): ok.String("Infinity") - case math.IsInf(v.CurrentRestoreRateInMegaBytesPerSecond, -1): + case math.IsInf(*v.CurrentRestoreRateInMegaBytesPerSecond, -1): ok.String("-Infinity") default: - ok.Double(v.CurrentRestoreRateInMegaBytesPerSecond) + ok.Double(*v.CurrentRestoreRateInMegaBytesPerSecond) } } - if v.ElapsedTimeInSeconds != 0 { + if v.ElapsedTimeInSeconds != nil { ok := object.Key("ElapsedTimeInSeconds") - ok.Long(v.ElapsedTimeInSeconds) + ok.Long(*v.ElapsedTimeInSeconds) } - if v.EstimatedTimeToCompletionInSeconds != 0 { + if v.EstimatedTimeToCompletionInSeconds != nil { ok := object.Key("EstimatedTimeToCompletionInSeconds") - ok.Long(v.EstimatedTimeToCompletionInSeconds) + ok.Long(*v.EstimatedTimeToCompletionInSeconds) } - if v.ProgressInMegaBytes != 0 { + if v.ProgressInMegaBytes != nil { ok := object.Key("ProgressInMegaBytes") - ok.Long(v.ProgressInMegaBytes) + ok.Long(*v.ProgressInMegaBytes) } - if v.SnapshotSizeInMegaBytes != 0 { + if v.SnapshotSizeInMegaBytes != nil { ok := object.Key("SnapshotSizeInMegaBytes") - ok.Long(v.SnapshotSizeInMegaBytes) + ok.Long(*v.SnapshotSizeInMegaBytes) } if v.Status != nil { @@ -20960,24 +20960,24 @@ func awsRestjson1_serializeDocumentAwsS3AccountPublicAccessBlockDetails(v *types object := value.Object() defer object.Close() - if v.BlockPublicAcls { + if v.BlockPublicAcls != nil { ok := object.Key("BlockPublicAcls") - ok.Boolean(v.BlockPublicAcls) + ok.Boolean(*v.BlockPublicAcls) } - if v.BlockPublicPolicy { + if v.BlockPublicPolicy != nil { ok := object.Key("BlockPublicPolicy") - ok.Boolean(v.BlockPublicPolicy) + ok.Boolean(*v.BlockPublicPolicy) } - if v.IgnorePublicAcls { + if v.IgnorePublicAcls != nil { ok := object.Key("IgnorePublicAcls") - ok.Boolean(v.IgnorePublicAcls) + ok.Boolean(*v.IgnorePublicAcls) } - if v.RestrictPublicBuckets { + if v.RestrictPublicBuckets != nil { ok := object.Key("RestrictPublicBuckets") - ok.Boolean(v.RestrictPublicBuckets) + ok.Boolean(*v.RestrictPublicBuckets) } return nil @@ -21001,9 +21001,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesA object := value.Object() defer object.Close() - if v.DaysAfterInitiation != 0 { + if v.DaysAfterInitiation != nil { ok := object.Key("DaysAfterInitiation") - ok.Integer(v.DaysAfterInitiation) + ok.Integer(*v.DaysAfterInitiation) } return nil @@ -21025,14 +21025,14 @@ func awsRestjson1_serializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesD ok.String(*v.ExpirationDate) } - if v.ExpirationInDays != 0 { + if v.ExpirationInDays != nil { ok := object.Key("ExpirationInDays") - ok.Integer(v.ExpirationInDays) + ok.Integer(*v.ExpirationInDays) } - if v.ExpiredObjectDeleteMarker { + if v.ExpiredObjectDeleteMarker != nil { ok := object.Key("ExpiredObjectDeleteMarker") - ok.Boolean(v.ExpiredObjectDeleteMarker) + ok.Boolean(*v.ExpiredObjectDeleteMarker) } if v.Filter != nil { @@ -21047,9 +21047,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesD ok.String(*v.ID) } - if v.NoncurrentVersionExpirationInDays != 0 { + if v.NoncurrentVersionExpirationInDays != nil { ok := object.Key("NoncurrentVersionExpirationInDays") - ok.Integer(v.NoncurrentVersionExpirationInDays) + ok.Integer(*v.NoncurrentVersionExpirationInDays) } if v.NoncurrentVersionTransitions != nil { @@ -21212,9 +21212,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesN object := value.Object() defer object.Close() - if v.Days != 0 { + if v.Days != nil { ok := object.Key("Days") - ok.Integer(v.Days) + ok.Integer(*v.Days) } if v.StorageClass != nil { @@ -21247,9 +21247,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketBucketLifecycleConfigurationRulesT ok.String(*v.Date) } - if v.Days != 0 { + if v.Days != nil { ok := object.Key("Days") - ok.Integer(v.Days) + ok.Integer(*v.Days) } if v.StorageClass != nil { @@ -21277,9 +21277,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketBucketVersioningConfiguration(v *t object := value.Object() defer object.Close() - if v.IsMfaDeleteEnabled { + if v.IsMfaDeleteEnabled != nil { ok := object.Key("IsMfaDeleteEnabled") - ok.Boolean(v.IsMfaDeleteEnabled) + ok.Boolean(*v.IsMfaDeleteEnabled) } if v.Status != nil { @@ -21545,9 +21545,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketObjectLockConfigurationRuleDefault object := value.Object() defer object.Close() - if v.Days != 0 { + if v.Days != nil { ok := object.Key("Days") - ok.Integer(v.Days) + ok.Integer(*v.Days) } if v.Mode != nil { @@ -21555,9 +21555,9 @@ func awsRestjson1_serializeDocumentAwsS3BucketObjectLockConfigurationRuleDefault ok.String(*v.Mode) } - if v.Years != 0 { + if v.Years != nil { ok := object.Key("Years") - ok.Integer(v.Years) + ok.Integer(*v.Years) } return nil @@ -21910,9 +21910,9 @@ func awsRestjson1_serializeDocumentAwsSageMakerNotebookInstanceDetails(v *types. ok.String(*v.Url) } - if v.VolumeSizeInGB != 0 { + if v.VolumeSizeInGB != nil { ok := object.Key("VolumeSizeInGB") - ok.Integer(v.VolumeSizeInGB) + ok.Integer(*v.VolumeSizeInGB) } return nil @@ -21934,9 +21934,9 @@ func awsRestjson1_serializeDocumentAwsSecretsManagerSecretDetails(v *types.AwsSe object := value.Object() defer object.Close() - if v.Deleted { + if v.Deleted != nil { ok := object.Key("Deleted") - ok.Boolean(v.Deleted) + ok.Boolean(*v.Deleted) } if v.Description != nil { @@ -21954,9 +21954,9 @@ func awsRestjson1_serializeDocumentAwsSecretsManagerSecretDetails(v *types.AwsSe ok.String(*v.Name) } - if v.RotationEnabled { + if v.RotationEnabled != nil { ok := object.Key("RotationEnabled") - ok.Boolean(v.RotationEnabled) + ok.Boolean(*v.RotationEnabled) } if v.RotationLambdaArn != nil { @@ -21964,9 +21964,9 @@ func awsRestjson1_serializeDocumentAwsSecretsManagerSecretDetails(v *types.AwsSe ok.String(*v.RotationLambdaArn) } - if v.RotationOccurredWithinFrequency { + if v.RotationOccurredWithinFrequency != nil { ok := object.Key("RotationOccurredWithinFrequency") - ok.Boolean(v.RotationOccurredWithinFrequency) + ok.Boolean(*v.RotationOccurredWithinFrequency) } if v.RotationRules != nil { @@ -21983,9 +21983,9 @@ func awsRestjson1_serializeDocumentAwsSecretsManagerSecretRotationRules(v *types object := value.Object() defer object.Close() - if v.AutomaticallyAfterDays != 0 { + if v.AutomaticallyAfterDays != nil { ok := object.Key("AutomaticallyAfterDays") - ok.Integer(v.AutomaticallyAfterDays) + ok.Integer(*v.AutomaticallyAfterDays) } return nil @@ -22019,9 +22019,9 @@ func awsRestjson1_serializeDocumentAwsSecurityFinding(v *types.AwsSecurityFindin } } - if v.Confidence != 0 { + if v.Confidence != nil { ok := object.Key("Confidence") - ok.Integer(v.Confidence) + ok.Integer(*v.Confidence) } if v.CreatedAt != nil { @@ -22029,9 +22029,9 @@ func awsRestjson1_serializeDocumentAwsSecurityFinding(v *types.AwsSecurityFindin ok.String(*v.CreatedAt) } - if v.Criticality != 0 { + if v.Criticality != nil { ok := object.Key("Criticality") - ok.Integer(v.Criticality) + ok.Integer(*v.Criticality) } if v.Description != nil { @@ -22163,9 +22163,9 @@ func awsRestjson1_serializeDocumentAwsSecurityFinding(v *types.AwsSecurityFindin } } - if v.Sample { + if v.Sample != nil { ok := object.Key("Sample") - ok.Boolean(v.Sample) + ok.Boolean(*v.Sample) } if v.SchemaVersion != nil { @@ -23069,9 +23069,9 @@ func awsRestjson1_serializeDocumentAwsSqsQueueDetails(v *types.AwsSqsQueueDetail ok.String(*v.DeadLetterTargetArn) } - if v.KmsDataKeyReusePeriodSeconds != 0 { + if v.KmsDataKeyReusePeriodSeconds != nil { ok := object.Key("KmsDataKeyReusePeriodSeconds") - ok.Integer(v.KmsDataKeyReusePeriodSeconds) + ok.Integer(*v.KmsDataKeyReusePeriodSeconds) } if v.KmsMasterKeyId != nil { @@ -23096,34 +23096,34 @@ func awsRestjson1_serializeDocumentAwsSsmComplianceSummary(v *types.AwsSsmCompli ok.String(*v.ComplianceType) } - if v.CompliantCriticalCount != 0 { + if v.CompliantCriticalCount != nil { ok := object.Key("CompliantCriticalCount") - ok.Integer(v.CompliantCriticalCount) + ok.Integer(*v.CompliantCriticalCount) } - if v.CompliantHighCount != 0 { + if v.CompliantHighCount != nil { ok := object.Key("CompliantHighCount") - ok.Integer(v.CompliantHighCount) + ok.Integer(*v.CompliantHighCount) } - if v.CompliantInformationalCount != 0 { + if v.CompliantInformationalCount != nil { ok := object.Key("CompliantInformationalCount") - ok.Integer(v.CompliantInformationalCount) + ok.Integer(*v.CompliantInformationalCount) } - if v.CompliantLowCount != 0 { + if v.CompliantLowCount != nil { ok := object.Key("CompliantLowCount") - ok.Integer(v.CompliantLowCount) + ok.Integer(*v.CompliantLowCount) } - if v.CompliantMediumCount != 0 { + if v.CompliantMediumCount != nil { ok := object.Key("CompliantMediumCount") - ok.Integer(v.CompliantMediumCount) + ok.Integer(*v.CompliantMediumCount) } - if v.CompliantUnspecifiedCount != 0 { + if v.CompliantUnspecifiedCount != nil { ok := object.Key("CompliantUnspecifiedCount") - ok.Integer(v.CompliantUnspecifiedCount) + ok.Integer(*v.CompliantUnspecifiedCount) } if v.ExecutionType != nil { @@ -23131,34 +23131,34 @@ func awsRestjson1_serializeDocumentAwsSsmComplianceSummary(v *types.AwsSsmCompli ok.String(*v.ExecutionType) } - if v.NonCompliantCriticalCount != 0 { + if v.NonCompliantCriticalCount != nil { ok := object.Key("NonCompliantCriticalCount") - ok.Integer(v.NonCompliantCriticalCount) + ok.Integer(*v.NonCompliantCriticalCount) } - if v.NonCompliantHighCount != 0 { + if v.NonCompliantHighCount != nil { ok := object.Key("NonCompliantHighCount") - ok.Integer(v.NonCompliantHighCount) + ok.Integer(*v.NonCompliantHighCount) } - if v.NonCompliantInformationalCount != 0 { + if v.NonCompliantInformationalCount != nil { ok := object.Key("NonCompliantInformationalCount") - ok.Integer(v.NonCompliantInformationalCount) + ok.Integer(*v.NonCompliantInformationalCount) } - if v.NonCompliantLowCount != 0 { + if v.NonCompliantLowCount != nil { ok := object.Key("NonCompliantLowCount") - ok.Integer(v.NonCompliantLowCount) + ok.Integer(*v.NonCompliantLowCount) } - if v.NonCompliantMediumCount != 0 { + if v.NonCompliantMediumCount != nil { ok := object.Key("NonCompliantMediumCount") - ok.Integer(v.NonCompliantMediumCount) + ok.Integer(*v.NonCompliantMediumCount) } - if v.NonCompliantUnspecifiedCount != 0 { + if v.NonCompliantUnspecifiedCount != nil { ok := object.Key("NonCompliantUnspecifiedCount") - ok.Integer(v.NonCompliantUnspecifiedCount) + ok.Integer(*v.NonCompliantUnspecifiedCount) } if v.OverallSeverity != nil { @@ -23313,9 +23313,9 @@ func awsRestjson1_serializeDocumentAwsStepFunctionStateMachineLoggingConfigurati } } - if v.IncludeExecutionData { + if v.IncludeExecutionData != nil { ok := object.Key("IncludeExecutionData") - ok.Boolean(v.IncludeExecutionData) + ok.Boolean(*v.IncludeExecutionData) } if v.Level != nil { @@ -23330,9 +23330,9 @@ func awsRestjson1_serializeDocumentAwsStepFunctionStateMachineTracingConfigurati object := value.Object() defer object.Close() - if v.Enabled { + if v.Enabled != nil { ok := object.Key("Enabled") - ok.Boolean(v.Enabled) + ok.Boolean(*v.Enabled) } return nil @@ -23364,9 +23364,9 @@ func awsRestjson1_serializeDocumentAwsWafRateBasedRuleDetails(v *types.AwsWafRat ok.String(*v.RateKey) } - if v.RateLimit != 0 { + if v.RateLimit != nil { ok := object.Key("RateLimit") - ok.Long(v.RateLimit) + ok.Long(*v.RateLimit) } if v.RuleId != nil { @@ -23386,9 +23386,9 @@ func awsRestjson1_serializeDocumentAwsWafRateBasedRuleMatchPredicate(v *types.Aw ok.String(*v.DataId) } - if v.Negated { + if v.Negated != nil { ok := object.Key("Negated") - ok.Boolean(v.Negated) + ok.Boolean(*v.Negated) } if v.Type != nil { @@ -23438,9 +23438,9 @@ func awsRestjson1_serializeDocumentAwsWafRegionalRateBasedRuleDetails(v *types.A ok.String(*v.RateKey) } - if v.RateLimit != 0 { + if v.RateLimit != nil { ok := object.Key("RateLimit") - ok.Long(v.RateLimit) + ok.Long(*v.RateLimit) } if v.RuleId != nil { @@ -23460,9 +23460,9 @@ func awsRestjson1_serializeDocumentAwsWafRegionalRateBasedRuleMatchPredicate(v * ok.String(*v.DataId) } - if v.Negated { + if v.Negated != nil { ok := object.Key("Negated") - ok.Boolean(v.Negated) + ok.Boolean(*v.Negated) } if v.Type != nil { @@ -23567,9 +23567,9 @@ func awsRestjson1_serializeDocumentAwsWafRegionalRuleGroupRulesDetails(v *types. } } - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.RuleId != nil { @@ -23620,9 +23620,9 @@ func awsRestjson1_serializeDocumentAwsWafRegionalRulePredicateListDetails(v *typ ok.String(*v.DataId) } - if v.Negated { + if v.Negated != nil { ok := object.Key("Negated") - ok.Boolean(v.Negated) + ok.Boolean(*v.Negated) } if v.Type != nil { @@ -23710,9 +23710,9 @@ func awsRestjson1_serializeDocumentAwsWafRegionalWebAclRulesListDetails(v *types } } - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.RuleId != nil { @@ -23821,9 +23821,9 @@ func awsRestjson1_serializeDocumentAwsWafRuleGroupRulesDetails(v *types.AwsWafRu } } - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.RuleId != nil { @@ -23874,9 +23874,9 @@ func awsRestjson1_serializeDocumentAwsWafRulePredicateListDetails(v *types.AwsWa ok.String(*v.DataId) } - if v.Negated { + if v.Negated != nil { ok := object.Key("Negated") - ok.Boolean(v.Negated) + ok.Boolean(*v.Negated) } if v.Type != nil { @@ -23955,9 +23955,9 @@ func awsRestjson1_serializeDocumentAwsWafv2CustomResponseDetails(v *types.AwsWaf ok.String(*v.CustomResponseBodyKey) } - if v.ResponseCode != 0 { + if v.ResponseCode != nil { ok := object.Key("ResponseCode") - ok.Integer(v.ResponseCode) + ok.Integer(*v.ResponseCode) } if v.ResponseHeaders != nil { @@ -23992,9 +23992,9 @@ func awsRestjson1_serializeDocumentAwsWafv2RuleGroupDetails(v *types.AwsWafv2Rul ok.String(*v.Arn) } - if v.Capacity != 0 { + if v.Capacity != nil { ok := object.Key("Capacity") - ok.Long(v.Capacity) + ok.Long(*v.Capacity) } if v.Description != nil { @@ -24118,9 +24118,9 @@ func awsRestjson1_serializeDocumentAwsWafv2RulesDetails(v *types.AwsWafv2RulesDe ok.String(*v.OverrideAction) } - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.VisibilityConfig != nil { @@ -24150,9 +24150,9 @@ func awsRestjson1_serializeDocumentAwsWafv2VisibilityConfigDetails(v *types.AwsW object := value.Object() defer object.Close() - if v.CloudWatchMetricsEnabled { + if v.CloudWatchMetricsEnabled != nil { ok := object.Key("CloudWatchMetricsEnabled") - ok.Boolean(v.CloudWatchMetricsEnabled) + ok.Boolean(*v.CloudWatchMetricsEnabled) } if v.MetricName != nil { @@ -24160,9 +24160,9 @@ func awsRestjson1_serializeDocumentAwsWafv2VisibilityConfigDetails(v *types.AwsW ok.String(*v.MetricName) } - if v.SampledRequestsEnabled { + if v.SampledRequestsEnabled != nil { ok := object.Key("SampledRequestsEnabled") - ok.Boolean(v.SampledRequestsEnabled) + ok.Boolean(*v.SampledRequestsEnabled) } return nil @@ -24207,9 +24207,9 @@ func awsRestjson1_serializeDocumentAwsWafv2WebAclCaptchaConfigImmunityTimeProper object := value.Object() defer object.Close() - if v.ImmunityTime != 0 { + if v.ImmunityTime != nil { ok := object.Key("ImmunityTime") - ok.Long(v.ImmunityTime) + ok.Long(*v.ImmunityTime) } return nil @@ -24224,9 +24224,9 @@ func awsRestjson1_serializeDocumentAwsWafv2WebAclDetails(v *types.AwsWafv2WebAcl ok.String(*v.Arn) } - if v.Capacity != 0 { + if v.Capacity != nil { ok := object.Key("Capacity") - ok.Long(v.Capacity) + ok.Long(*v.Capacity) } if v.CaptchaConfig != nil { @@ -24253,9 +24253,9 @@ func awsRestjson1_serializeDocumentAwsWafv2WebAclDetails(v *types.AwsWafv2WebAcl ok.String(*v.Id) } - if v.ManagedbyFirewallManager { + if v.ManagedbyFirewallManager != nil { ok := object.Key("ManagedbyFirewallManager") - ok.Boolean(v.ManagedbyFirewallManager) + ok.Boolean(*v.ManagedbyFirewallManager) } if v.Name != nil { @@ -24334,9 +24334,9 @@ func awsRestjson1_serializeDocumentAwsWafWebAclRule(v *types.AwsWafWebAclRule, v } } - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.RuleId != nil { @@ -24404,9 +24404,9 @@ func awsRestjson1_serializeDocumentBooleanFilter(v *types.BooleanFilter, value s object := value.Object() defer object.Close() - if v.Value { + if v.Value != nil { ok := object.Key("Value") - ok.Boolean(v.Value) + ok.Boolean(*v.Value) } return nil @@ -24434,9 +24434,9 @@ func awsRestjson1_serializeDocumentCell(v *types.Cell, value smithyjson.Value) e ok.String(*v.CellReference) } - if v.Column != 0 { + if v.Column != nil { ok := object.Key("Column") - ok.Long(v.Column) + ok.Long(*v.Column) } if v.ColumnName != nil { @@ -24444,9 +24444,9 @@ func awsRestjson1_serializeDocumentCell(v *types.Cell, value smithyjson.Value) e ok.String(*v.ColumnName) } - if v.Row != 0 { + if v.Row != nil { ok := object.Key("Row") - ok.Long(v.Row) + ok.Long(*v.Row) } return nil @@ -24516,9 +24516,9 @@ func awsRestjson1_serializeDocumentClassificationResult(v *types.ClassificationR object := value.Object() defer object.Close() - if v.AdditionalOccurrences { + if v.AdditionalOccurrences != nil { ok := object.Key("AdditionalOccurrences") - ok.Boolean(v.AdditionalOccurrences) + ok.Boolean(*v.AdditionalOccurrences) } if v.CustomDataIdentifiers != nil { @@ -24540,9 +24540,9 @@ func awsRestjson1_serializeDocumentClassificationResult(v *types.ClassificationR } } - if v.SizeClassified != 0 { + if v.SizeClassified != nil { ok := object.Key("SizeClassified") - ok.Long(v.SizeClassified) + ok.Long(*v.SizeClassified) } if v.Status != nil { @@ -24598,9 +24598,9 @@ func awsRestjson1_serializeDocumentCodeVulnerabilitiesFilePath(v *types.CodeVuln object := value.Object() defer object.Close() - if v.EndLine != 0 { + if v.EndLine != nil { ok := object.Key("EndLine") - ok.Integer(v.EndLine) + ok.Integer(*v.EndLine) } if v.FileName != nil { @@ -24613,9 +24613,9 @@ func awsRestjson1_serializeDocumentCodeVulnerabilitiesFilePath(v *types.CodeVuln ok.String(*v.FilePath) } - if v.StartLine != 0 { + if v.StartLine != nil { ok := object.Key("StartLine") - ok.Integer(v.StartLine) + ok.Integer(*v.StartLine) } return nil @@ -24688,9 +24688,9 @@ func awsRestjson1_serializeDocumentContainerDetails(v *types.ContainerDetails, v ok.String(*v.Name) } - if v.Privileged { + if v.Privileged != nil { ok := object.Key("Privileged") - ok.Boolean(v.Privileged) + ok.Boolean(*v.Privileged) } if v.VolumeMounts != nil { @@ -24729,9 +24729,9 @@ func awsRestjson1_serializeDocumentCustomDataIdentifiersDetections(v *types.Cust ok.String(*v.Arn) } - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Long(v.Count) + ok.Long(*v.Count) } if v.Name != nil { @@ -24773,9 +24773,9 @@ func awsRestjson1_serializeDocumentCustomDataIdentifiersResult(v *types.CustomDa } } - if v.TotalCount != 0 { + if v.TotalCount != nil { ok := object.Key("TotalCount") - ok.Long(v.TotalCount) + ok.Long(*v.TotalCount) } return nil @@ -24792,20 +24792,20 @@ func awsRestjson1_serializeDocumentCvss(v *types.Cvss, value smithyjson.Value) e } } - if v.BaseScore != 0 { + if v.BaseScore != nil { ok := object.Key("BaseScore") switch { - case math.IsNaN(v.BaseScore): + case math.IsNaN(*v.BaseScore): ok.String("NaN") - case math.IsInf(v.BaseScore, 1): + case math.IsInf(*v.BaseScore, 1): ok.String("Infinity") - case math.IsInf(v.BaseScore, -1): + case math.IsInf(*v.BaseScore, -1): ok.String("-Infinity") default: - ok.Double(v.BaseScore) + ok.Double(*v.BaseScore) } } @@ -24906,9 +24906,9 @@ func awsRestjson1_serializeDocumentDateRange(v *types.DateRange, value smithyjso ok.String(string(v.Unit)) } - if v.Value != 0 { + if v.Value != nil { ok := object.Key("Value") - ok.Integer(v.Value) + ok.Integer(*v.Value) } return nil @@ -24918,9 +24918,9 @@ func awsRestjson1_serializeDocumentDnsRequestAction(v *types.DnsRequestAction, v object := value.Object() defer object.Close() - if v.Blocked { + if v.Blocked != nil { ok := object.Key("Blocked") - ok.Boolean(v.Blocked) + ok.Boolean(*v.Blocked) } if v.Domain != nil { @@ -24991,14 +24991,14 @@ func awsRestjson1_serializeDocumentFindingProviderFields(v *types.FindingProvide object := value.Object() defer object.Close() - if v.Confidence != 0 { + if v.Confidence != nil { ok := object.Key("Confidence") - ok.Integer(v.Confidence) + ok.Integer(*v.Confidence) } - if v.Criticality != 0 { + if v.Criticality != nil { ok := object.Key("Criticality") - ok.Integer(v.Criticality) + ok.Integer(*v.Criticality) } if v.RelatedFindings != nil { @@ -25145,9 +25145,9 @@ func awsRestjson1_serializeDocumentFirewallPolicyStatelessRuleGroupReferencesDet object := value.Object() defer object.Close() - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.ResourceArn != nil { @@ -25199,38 +25199,38 @@ func awsRestjson1_serializeDocumentGeoLocation(v *types.GeoLocation, value smith object := value.Object() defer object.Close() - if v.Lat != 0 { + if v.Lat != nil { ok := object.Key("Lat") switch { - case math.IsNaN(v.Lat): + case math.IsNaN(*v.Lat): ok.String("NaN") - case math.IsInf(v.Lat, 1): + case math.IsInf(*v.Lat, 1): ok.String("Infinity") - case math.IsInf(v.Lat, -1): + case math.IsInf(*v.Lat, -1): ok.String("-Infinity") default: - ok.Double(v.Lat) + ok.Double(*v.Lat) } } - if v.Lon != 0 { + if v.Lon != nil { ok := object.Key("Lon") switch { - case math.IsNaN(v.Lon): + case math.IsNaN(*v.Lon): ok.String("NaN") - case math.IsInf(v.Lon, 1): + case math.IsInf(*v.Lon, 1): ok.String("Infinity") - case math.IsInf(v.Lon, -1): + case math.IsInf(*v.Lon, -1): ok.String("-Infinity") default: - ok.Double(v.Lon) + ok.Double(*v.Lon) } } @@ -25242,14 +25242,14 @@ func awsRestjson1_serializeDocumentIcmpTypeCode(v *types.IcmpTypeCode, value smi object := value.Object() defer object.Close() - if v.Code != 0 { + if v.Code != nil { ok := object.Key("Code") - ok.Integer(v.Code) + ok.Integer(*v.Code) } - if v.Type != 0 { + if v.Type != nil { ok := object.Key("Type") - ok.Integer(v.Type) + ok.Integer(*v.Type) } return nil @@ -25295,9 +25295,9 @@ func awsRestjson1_serializeDocumentIpOrganizationDetails(v *types.IpOrganization object := value.Object() defer object.Close() - if v.Asn != 0 { + if v.Asn != nil { ok := object.Key("Asn") - ok.Integer(v.Asn) + ok.Integer(*v.Asn) } if v.AsnOrg != nil { @@ -25489,9 +25489,9 @@ func awsRestjson1_serializeDocumentNetwork(v *types.Network, value smithyjson.Va ok.String(*v.DestinationIpV6) } - if v.DestinationPort != 0 { + if v.DestinationPort != nil { ok := object.Key("DestinationPort") - ok.Integer(v.DestinationPort) + ok.Integer(*v.DestinationPort) } if len(v.Direction) > 0 { @@ -25531,9 +25531,9 @@ func awsRestjson1_serializeDocumentNetwork(v *types.Network, value smithyjson.Va ok.String(*v.SourceMac) } - if v.SourcePort != 0 { + if v.SourcePort != nil { ok := object.Key("SourcePort") - ok.Integer(v.SourcePort) + ok.Integer(*v.SourcePort) } return nil @@ -25543,9 +25543,9 @@ func awsRestjson1_serializeDocumentNetworkConnectionAction(v *types.NetworkConne object := value.Object() defer object.Close() - if v.Blocked { + if v.Blocked != nil { ok := object.Key("Blocked") - ok.Boolean(v.Blocked) + ok.Boolean(*v.Blocked) } if v.ConnectionDirection != nil { @@ -25727,56 +25727,56 @@ func awsRestjson1_serializeDocumentNumberFilter(v *types.NumberFilter, value smi object := value.Object() defer object.Close() - if v.Eq != 0 { + if v.Eq != nil { ok := object.Key("Eq") switch { - case math.IsNaN(v.Eq): + case math.IsNaN(*v.Eq): ok.String("NaN") - case math.IsInf(v.Eq, 1): + case math.IsInf(*v.Eq, 1): ok.String("Infinity") - case math.IsInf(v.Eq, -1): + case math.IsInf(*v.Eq, -1): ok.String("-Infinity") default: - ok.Double(v.Eq) + ok.Double(*v.Eq) } } - if v.Gte != 0 { + if v.Gte != nil { ok := object.Key("Gte") switch { - case math.IsNaN(v.Gte): + case math.IsNaN(*v.Gte): ok.String("NaN") - case math.IsInf(v.Gte, 1): + case math.IsInf(*v.Gte, 1): ok.String("Infinity") - case math.IsInf(v.Gte, -1): + case math.IsInf(*v.Gte, -1): ok.String("-Infinity") default: - ok.Double(v.Gte) + ok.Double(*v.Gte) } } - if v.Lte != 0 { + if v.Lte != nil { ok := object.Key("Lte") switch { - case math.IsNaN(v.Lte): + case math.IsNaN(*v.Lte): ok.String("NaN") - case math.IsInf(v.Lte, 1): + case math.IsInf(*v.Lte, 1): ok.String("Infinity") - case math.IsInf(v.Lte, -1): + case math.IsInf(*v.Lte, -1): ok.String("-Infinity") default: - ok.Double(v.Lte) + ok.Double(*v.Lte) } } @@ -25857,9 +25857,9 @@ func awsRestjson1_serializeDocumentPage(v *types.Page, value smithyjson.Value) e } } - if v.PageNumber != 0 { + if v.PageNumber != nil { ok := object.Key("PageNumber") - ok.Long(v.PageNumber) + ok.Long(*v.PageNumber) } return nil @@ -25882,9 +25882,9 @@ func awsRestjson1_serializeDocumentPatchSummary(v *types.PatchSummary, value smi object := value.Object() defer object.Close() - if v.FailedCount != 0 { + if v.FailedCount != nil { ok := object.Key("FailedCount") - ok.Integer(v.FailedCount) + ok.Integer(*v.FailedCount) } if v.Id != nil { @@ -25892,29 +25892,29 @@ func awsRestjson1_serializeDocumentPatchSummary(v *types.PatchSummary, value smi ok.String(*v.Id) } - if v.InstalledCount != 0 { + if v.InstalledCount != nil { ok := object.Key("InstalledCount") - ok.Integer(v.InstalledCount) + ok.Integer(*v.InstalledCount) } - if v.InstalledOtherCount != 0 { + if v.InstalledOtherCount != nil { ok := object.Key("InstalledOtherCount") - ok.Integer(v.InstalledOtherCount) + ok.Integer(*v.InstalledOtherCount) } - if v.InstalledPendingReboot != 0 { + if v.InstalledPendingReboot != nil { ok := object.Key("InstalledPendingReboot") - ok.Integer(v.InstalledPendingReboot) + ok.Integer(*v.InstalledPendingReboot) } - if v.InstalledRejectedCount != 0 { + if v.InstalledRejectedCount != nil { ok := object.Key("InstalledRejectedCount") - ok.Integer(v.InstalledRejectedCount) + ok.Integer(*v.InstalledRejectedCount) } - if v.MissingCount != 0 { + if v.MissingCount != nil { ok := object.Key("MissingCount") - ok.Integer(v.MissingCount) + ok.Integer(*v.MissingCount) } if v.Operation != nil { @@ -25944,9 +25944,9 @@ func awsRestjson1_serializeDocumentPortProbeAction(v *types.PortProbeAction, val object := value.Object() defer object.Close() - if v.Blocked { + if v.Blocked != nil { ok := object.Key("Blocked") - ok.Boolean(v.Blocked) + ok.Boolean(*v.Blocked) } if v.PortProbeDetails != nil { @@ -26004,14 +26004,14 @@ func awsRestjson1_serializeDocumentPortRange(v *types.PortRange, value smithyjso object := value.Object() defer object.Close() - if v.Begin != 0 { + if v.Begin != nil { ok := object.Key("Begin") - ok.Integer(v.Begin) + ok.Integer(*v.Begin) } - if v.End != 0 { + if v.End != nil { ok := object.Key("End") - ok.Integer(v.End) + ok.Integer(*v.End) } return nil @@ -26021,14 +26021,14 @@ func awsRestjson1_serializeDocumentPortRangeFromTo(v *types.PortRangeFromTo, val object := value.Object() defer object.Close() - if v.From != 0 { + if v.From != nil { ok := object.Key("From") - ok.Integer(v.From) + ok.Integer(*v.From) } - if v.To != 0 { + if v.To != nil { ok := object.Key("To") - ok.Integer(v.To) + ok.Integer(*v.To) } return nil @@ -26061,9 +26061,9 @@ func awsRestjson1_serializeDocumentProcessDetails(v *types.ProcessDetails, value ok.String(*v.Name) } - if v.ParentPid != 0 { + if v.ParentPid != nil { ok := object.Key("ParentPid") - ok.Integer(v.ParentPid) + ok.Integer(*v.ParentPid) } if v.Path != nil { @@ -26071,9 +26071,9 @@ func awsRestjson1_serializeDocumentProcessDetails(v *types.ProcessDetails, value ok.String(*v.Path) } - if v.Pid != 0 { + if v.Pid != nil { ok := object.Key("Pid") - ok.Integer(v.Pid) + ok.Integer(*v.Pid) } if v.TerminatedAt != nil { @@ -26113,19 +26113,19 @@ func awsRestjson1_serializeDocumentRange(v *types.Range, value smithyjson.Value) object := value.Object() defer object.Close() - if v.End != 0 { + if v.End != nil { ok := object.Key("End") - ok.Long(v.End) + ok.Long(*v.End) } - if v.Start != 0 { + if v.Start != nil { ok := object.Key("Start") - ok.Long(v.Start) + ok.Long(*v.Start) } - if v.StartColumn != 0 { + if v.StartColumn != nil { ok := object.Key("StartColumn") - ok.Long(v.StartColumn) + ok.Long(*v.StartColumn) } return nil @@ -26170,9 +26170,9 @@ func awsRestjson1_serializeDocumentRecord(v *types.Record, value smithyjson.Valu ok.String(*v.JsonPath) } - if v.RecordIndex != 0 { + if v.RecordIndex != nil { ok := object.Key("RecordIndex") - ok.Long(v.RecordIndex) + ok.Long(*v.RecordIndex) } return nil @@ -27403,14 +27403,14 @@ func awsRestjson1_serializeDocumentRuleGroupSourceStatelessRuleMatchAttributesDe object := value.Object() defer object.Close() - if v.FromPort != 0 { + if v.FromPort != nil { ok := object.Key("FromPort") - ok.Integer(v.FromPort) + ok.Integer(*v.FromPort) } - if v.ToPort != 0 { + if v.ToPort != nil { ok := object.Key("ToPort") - ok.Integer(v.ToPort) + ok.Integer(*v.ToPort) } return nil @@ -27469,14 +27469,14 @@ func awsRestjson1_serializeDocumentRuleGroupSourceStatelessRuleMatchAttributesSo object := value.Object() defer object.Close() - if v.FromPort != 0 { + if v.FromPort != nil { ok := object.Key("FromPort") - ok.Integer(v.FromPort) + ok.Integer(*v.FromPort) } - if v.ToPort != 0 { + if v.ToPort != nil { ok := object.Key("ToPort") - ok.Integer(v.ToPort) + ok.Integer(*v.ToPort) } return nil @@ -27579,9 +27579,9 @@ func awsRestjson1_serializeDocumentRuleGroupSourceStatelessRulesDetails(v *types object := value.Object() defer object.Close() - if v.Priority != 0 { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } if v.RuleDefinition != nil { @@ -27671,9 +27671,9 @@ func awsRestjson1_serializeDocumentSensitiveDataDetections(v *types.SensitiveDat object := value.Object() defer object.Close() - if v.Count != 0 { + if v.Count != nil { ok := object.Key("Count") - ok.Long(v.Count) + ok.Long(*v.Count) } if v.Occurrences != nil { @@ -27720,9 +27720,9 @@ func awsRestjson1_serializeDocumentSensitiveDataResult(v *types.SensitiveDataRes } } - if v.TotalCount != 0 { + if v.TotalCount != nil { ok := object.Key("TotalCount") - ok.Long(v.TotalCount) + ok.Long(*v.TotalCount) } return nil @@ -27750,9 +27750,9 @@ func awsRestjson1_serializeDocumentSeverity(v *types.Severity, value smithyjson. ok.String(string(v.Label)) } - if v.Normalized != 0 { + if v.Normalized != nil { ok := object.Key("Normalized") - ok.Integer(v.Normalized) + ok.Integer(*v.Normalized) } if v.Original != nil { @@ -27760,20 +27760,20 @@ func awsRestjson1_serializeDocumentSeverity(v *types.Severity, value smithyjson. ok.String(*v.Original) } - if v.Product != 0 { + if v.Product != nil { ok := object.Key("Product") switch { - case math.IsNaN(v.Product): + case math.IsNaN(*v.Product): ok.String("NaN") - case math.IsInf(v.Product, 1): + case math.IsInf(*v.Product, 1): ok.String("Infinity") - case math.IsInf(v.Product, -1): + case math.IsInf(*v.Product, -1): ok.String("-Infinity") default: - ok.Double(v.Product) + ok.Double(*v.Product) } } @@ -27790,25 +27790,25 @@ func awsRestjson1_serializeDocumentSeverityUpdate(v *types.SeverityUpdate, value ok.String(string(v.Label)) } - if v.Normalized != 0 { + if v.Normalized != nil { ok := object.Key("Normalized") - ok.Integer(v.Normalized) + ok.Integer(*v.Normalized) } - if v.Product != 0 { + if v.Product != nil { ok := object.Key("Product") switch { - case math.IsNaN(v.Product): + case math.IsNaN(*v.Product): ok.String("NaN") - case math.IsInf(v.Product, 1): + case math.IsInf(*v.Product, 1): ok.String("Infinity") - case math.IsInf(v.Product, -1): + case math.IsInf(*v.Product, -1): ok.String("-Infinity") default: - ok.Double(v.Product) + ok.Double(*v.Product) } } @@ -28191,9 +28191,9 @@ func awsRestjson1_serializeDocumentThreat(v *types.Threat, value smithyjson.Valu } } - if v.ItemCount != 0 { + if v.ItemCount != nil { ok := object.Key("ItemCount") - ok.Integer(v.ItemCount) + ok.Integer(*v.ItemCount) } if v.Name != nil { @@ -28306,9 +28306,9 @@ func awsRestjson1_serializeDocumentUpdateAutomationRulesRequestItem(v *types.Upd ok.String(*v.Description) } - if v.IsTerminal { + if v.IsTerminal != nil { ok := object.Key("IsTerminal") - ok.Boolean(v.IsTerminal) + ok.Boolean(*v.IsTerminal) } if v.RuleArn != nil { @@ -28321,9 +28321,9 @@ func awsRestjson1_serializeDocumentUpdateAutomationRulesRequestItem(v *types.Upd ok.String(*v.RuleName) } - if v.RuleOrder != 0 { + if v.RuleOrder != nil { ok := object.Key("RuleOrder") - ok.Integer(v.RuleOrder) + ok.Integer(*v.RuleOrder) } if len(v.RuleStatus) > 0 { @@ -28431,19 +28431,19 @@ func awsRestjson1_serializeDocumentVpcInfoPeeringOptionsDetails(v *types.VpcInfo object := value.Object() defer object.Close() - if v.AllowDnsResolutionFromRemoteVpc { + if v.AllowDnsResolutionFromRemoteVpc != nil { ok := object.Key("AllowDnsResolutionFromRemoteVpc") - ok.Boolean(v.AllowDnsResolutionFromRemoteVpc) + ok.Boolean(*v.AllowDnsResolutionFromRemoteVpc) } - if v.AllowEgressFromLocalClassicLinkToRemoteVpc { + if v.AllowEgressFromLocalClassicLinkToRemoteVpc != nil { ok := object.Key("AllowEgressFromLocalClassicLinkToRemoteVpc") - ok.Boolean(v.AllowEgressFromLocalClassicLinkToRemoteVpc) + ok.Boolean(*v.AllowEgressFromLocalClassicLinkToRemoteVpc) } - if v.AllowEgressFromLocalVpcToRemoteClassicLink { + if v.AllowEgressFromLocalVpcToRemoteClassicLink != nil { ok := object.Key("AllowEgressFromLocalVpcToRemoteClassicLink") - ok.Boolean(v.AllowEgressFromLocalVpcToRemoteClassicLink) + ok.Boolean(*v.AllowEgressFromLocalVpcToRemoteClassicLink) } return nil @@ -28467,20 +28467,20 @@ func awsRestjson1_serializeDocumentVulnerability(v *types.Vulnerability, value s } } - if v.EpssScore != 0 { + if v.EpssScore != nil { ok := object.Key("EpssScore") switch { - case math.IsNaN(v.EpssScore): + case math.IsNaN(*v.EpssScore): ok.String("NaN") - case math.IsInf(v.EpssScore, 1): + case math.IsInf(*v.EpssScore, 1): ok.String("Infinity") - case math.IsInf(v.EpssScore, -1): + case math.IsInf(*v.EpssScore, -1): ok.String("-Infinity") default: - ok.Double(v.EpssScore) + ok.Double(*v.EpssScore) } } diff --git a/service/securityhub/types/types.go b/service/securityhub/types/types.go index 013b10fd3d0..949a8f2449d 100644 --- a/service/securityhub/types/types.go +++ b/service/securityhub/types/types.go @@ -69,7 +69,7 @@ type ActionLocalIpDetails struct { type ActionLocalPortDetails struct { // The number of the port. - Port int32 + Port *int32 // The port name of the local connection. PortName *string @@ -106,7 +106,7 @@ type ActionRemoteIpDetails struct { type ActionRemotePortDetails struct { // The number of the port. - Port int32 + Port *int32 // The port name of the remote connection. PortName *string @@ -185,7 +185,7 @@ type AssociationSetDetails struct { GatewayId *string // Indicates whether this is the main route table. - Main bool + Main *bool // The ID of the association. RouteTableAssociationId *string @@ -259,7 +259,7 @@ type AutomationRulesConfig struct { // terminal, Security Hub applies the rule action to a finding that matches the // rule criteria and doesn't evaluate other rules for the finding. By default, a // rule isn't terminal. - IsTerminal bool + IsTerminal *bool // The Amazon Resource Name (ARN) of a rule. RuleArn *string @@ -270,7 +270,7 @@ type AutomationRulesConfig struct { // An integer ranging from 1 to 1000 that represents the order in which the rule // action is applied to findings. Security Hub applies rules with lower values for // this parameter first. - RuleOrder int32 + RuleOrder *int32 // Whether the rule is active after it is created. If this parameter is equal to // ENABLED , Security Hub starts applying the rule to findings and finding updates @@ -290,10 +290,10 @@ type AutomationRulesConfig struct { type AutomationRulesFindingFieldsUpdate struct { // The rule action updates the Confidence field of a finding. - Confidence int32 + Confidence *int32 // The rule action updates the Criticality field of a finding. - Criticality int32 + Criticality *int32 // The updated note. Note *NoteUpdate @@ -528,7 +528,7 @@ type AutomationRulesMetadata struct { // terminal, Security Hub applies the rule action to a finding that matches the // rule criteria and doesn't evaluate other rules for the finding. By default, a // rule isn't terminal. - IsTerminal bool + IsTerminal *bool // The Amazon Resource Name (ARN) for the rule. RuleArn *string @@ -539,7 +539,7 @@ type AutomationRulesMetadata struct { // An integer ranging from 1 to 1000 that represents the order in which the rule // action is applied to findings. Security Hub applies rules with lower values for // this parameter first. - RuleOrder int32 + RuleOrder *int32 // Whether the rule is active after it is created. If this parameter is equal to // ENABLED , Security Hub starts applying the rule to findings and finding updates @@ -579,7 +579,7 @@ type AwsAmazonMqBrokerDetails struct { // Whether automatically upgrade new minor versions for brokers, as new versions // are released and supported by Amazon MQ. Automatic upgrades occur during the // scheduled maintenance window of the broker or after a manual broker reboot. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // The Amazon Resource Name (ARN) of the broker. BrokerArn *string @@ -619,7 +619,7 @@ type AwsAmazonMqBrokerDetails struct { // Permits connections from applications outside of the VPC that hosts the // broker's subnets. - PubliclyAccessible bool + PubliclyAccessible *bool // The list of rules (one minimum, 125 maximum) that authorize connections to // brokers. @@ -648,7 +648,7 @@ type AwsAmazonMqBrokerEncryptionOptionsDetails struct { // Specifies that an KMS key should be used for at-rest encryption. Set to true by // default if no value is provided (for example, for RabbitMQ brokers). - UseAwsOwnedKey bool + UseAwsOwnedKey *bool noSmithyDocumentSerde } @@ -674,7 +674,7 @@ type AwsAmazonMqBrokerLdapServerMetadataDetails struct { // The directory search scope for the role. If set to true , the scope is to search // the entire subtree. - RoleSearchSubtree bool + RoleSearchSubtree *bool // A username for the service account, which is an account in your LDAP server // that has access to initiate a connection. @@ -693,7 +693,7 @@ type AwsAmazonMqBrokerLdapServerMetadataDetails struct { // The directory search scope for the user. If set to true, the scope is to search // the entire subtree. - UserSearchSubtree bool + UserSearchSubtree *bool noSmithyDocumentSerde } @@ -703,13 +703,13 @@ type AwsAmazonMqBrokerLogsDetails struct { // Activates audit logging. Every user management action made using JMX or the // ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers. - Audit bool + Audit *bool // The location of the CloudWatch Logs log group where audit logs are sent. AuditLogGroup *string // Activates general logging. - General bool + General *bool // The location of the CloudWatch Logs log group where general logs are sent. GeneralLogGroup *string @@ -726,10 +726,10 @@ type AwsAmazonMqBrokerLogsPendingDetails struct { // Activates audit logging. Every user management action made using JMX or the // ActiveMQ Web Console is logged. Doesn't apply to RabbitMQ brokers. - Audit bool + Audit *bool // Activates general logging. - General bool + General *bool noSmithyDocumentSerde } @@ -836,7 +836,7 @@ type AwsApiGatewayCanarySettings struct { DeploymentId *string // The percentage of traffic that is diverted to a canary deployment. - PercentTraffic float64 + PercentTraffic *float64 // Stage variables that are overridden in the canary release deployment. The // variables include new stage variables that are introduced in the canary. Each @@ -845,7 +845,7 @@ type AwsApiGatewayCanarySettings struct { StageVariableOverrides map[string]string // Indicates whether the canary deployment uses the stage cache. - UseStageCache bool + UseStageCache *bool noSmithyDocumentSerde } @@ -865,19 +865,19 @@ type AwsApiGatewayEndpointConfiguration struct { type AwsApiGatewayMethodSettings struct { // Indicates whether the cached responses are encrypted. - CacheDataEncrypted bool + CacheDataEncrypted *bool // Specifies the time to live (TTL), in seconds, for cached responses. The higher // the TTL, the longer the response is cached. - CacheTtlInSeconds int32 + CacheTtlInSeconds *int32 // Indicates whether responses are cached and returned for requests. For responses // to be cached, a cache cluster must be enabled on the stage. - CachingEnabled bool + CachingEnabled *bool // Indicates whether data trace logging is enabled for the method. Data trace // logging affects the log entries that are pushed to CloudWatch Logs. - DataTraceEnabled bool + DataTraceEnabled *bool // The HTTP method. You can use an asterisk (*) as a wildcard to apply method // settings to multiple methods. @@ -891,10 +891,10 @@ type AwsApiGatewayMethodSettings struct { LoggingLevel *string // Indicates whether CloudWatch metrics are enabled for the method. - MetricsEnabled bool + MetricsEnabled *bool // Indicates whether authorization is required for a cache invalidation request. - RequireAuthorizationForCacheControl bool + RequireAuthorizationForCacheControl *bool // The resource path for this method. Forward slashes (/) are encoded as ~1 . The // initial slash must include a forward slash. For example, the path value @@ -904,10 +904,10 @@ type AwsApiGatewayMethodSettings struct { ResourcePath *string // The throttling burst limit for the method. - ThrottlingBurstLimit int32 + ThrottlingBurstLimit *int32 // The throttling rate limit for the method. - ThrottlingRateLimit float64 + ThrottlingRateLimit *float64 // Indicates how to handle unauthorized requests for cache invalidation. Valid // values: FAIL_WITH_403 | SUCCEED_WITH_RESPONSE_HEADER | @@ -946,7 +946,7 @@ type AwsApiGatewayRestApiDetails struct { // The minimum size in bytes of a payload before compression is enabled. If null , // then compression is disabled. If 0, then all payloads are compressed. - MinimumCompressionSize int32 + MinimumCompressionSize *int32 // The name of the REST API. Name *string @@ -964,7 +964,7 @@ type AwsApiGatewayStageDetails struct { AccessLogSettings *AwsApiGatewayAccessLogSettings // Indicates whether a cache cluster is enabled for the stage. - CacheClusterEnabled bool + CacheClusterEnabled *bool // If a cache cluster is enabled, the size of the cache cluster. CacheClusterSize *string @@ -1006,7 +1006,7 @@ type AwsApiGatewayStageDetails struct { StageName *string // Indicates whether active tracing with X-Ray is enabled for the stage. - TracingEnabled bool + TracingEnabled *bool // A map that defines the stage variables for the stage. Variable names can have // alphanumeric and underscore characters. Variable values can contain the @@ -1072,10 +1072,10 @@ type AwsApiGatewayV2RouteSettings struct { // Indicates whether data trace logging is enabled. Data trace logging affects the // log entries that are pushed to CloudWatch Logs. Supported only for WebSocket // APIs. - DataTraceEnabled bool + DataTraceEnabled *bool // Indicates whether detailed metrics are enabled. - DetailedMetricsEnabled bool + DetailedMetricsEnabled *bool // The logging level. The logging level affects the log entries that are pushed to // CloudWatch Logs. Supported only for WebSocket APIs. If the logging level is @@ -1085,10 +1085,10 @@ type AwsApiGatewayV2RouteSettings struct { LoggingLevel *string // The throttling burst limit. - ThrottlingBurstLimit int32 + ThrottlingBurstLimit *int32 // The throttling rate limit. - ThrottlingRateLimit float64 + ThrottlingRateLimit *float64 noSmithyDocumentSerde } @@ -1100,10 +1100,10 @@ type AwsApiGatewayV2StageDetails struct { AccessLogSettings *AwsApiGatewayAccessLogSettings // Indicates whether the stage is managed by API Gateway. - ApiGatewayManaged bool + ApiGatewayManaged *bool // Indicates whether updates to an API automatically trigger a new deployment. - AutoDeploy bool + AutoDeploy *bool // The identifier of a client certificate for a stage. Supported only for // WebSocket API calls. @@ -1213,7 +1213,7 @@ type AwsAppSyncGraphQlApiDetails struct { WafWebAclArn *string // Indicates whether to use X-Ray tracing for the GraphQL API. - XrayEnabled bool + XrayEnabled *bool noSmithyDocumentSerde } @@ -1224,7 +1224,7 @@ type AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails struct { // The number of seconds a response should be cached for. The default is 5 minutes // (300 seconds). - AuthorizerResultTtlInSeconds int32 + AuthorizerResultTtlInSeconds *int32 // The Amazon Resource Name (ARN) of the Lambda function to be called for // authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an @@ -1248,7 +1248,7 @@ type AwsAppSyncGraphQlApiLogConfigDetails struct { // Set to TRUE to exclude sections that contain information such as headers, // context, and evaluated mapping templates, regardless of logging level. - ExcludeVerboseContent bool + ExcludeVerboseContent *bool // The field logging level. FieldLogLevel *string @@ -1261,7 +1261,7 @@ type AwsAppSyncGraphQlApiLogConfigDetails struct { type AwsAppSyncGraphQlApiOpenIdConnectConfigDetails struct { // The number of milliseconds that a token is valid after being authenticated. - AuthTtL int64 + AuthTtL *int64 // The client identifier of the relying party at the OpenID identity provider. // This identifier is typically obtained when the relying party is registered with @@ -1270,7 +1270,7 @@ type AwsAppSyncGraphQlApiOpenIdConnectConfigDetails struct { ClientId *string // The number of milliseconds that a token is valid after it's issued to a user. - IatTtL int64 + IatTtL *int64 // The issuer for the OIDC configuration. The issuer returned by discovery must // exactly match the value of iss in the ID token. @@ -1385,7 +1385,7 @@ type AwsAutoScalingAutoScalingGroupDetails struct { AvailabilityZones []AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails // Indicates whether capacity rebalancing is enabled. - CapacityRebalance bool + CapacityRebalance *bool // Indicates when the auto scaling group was created. Uses the date-time format // specified in RFC 3339 section 5.6, Internet Date/Time Format (https://tools.ietf.org/html/rfc3339#section-5.6) @@ -1395,7 +1395,7 @@ type AwsAutoScalingAutoScalingGroupDetails struct { // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it // checks the health status of an EC2 instance that has come into service. - HealthCheckGracePeriod int32 + HealthCheckGracePeriod *int32 // The service to use for the health checks. Valid values are EC2 or ELB . HealthCheckType *string @@ -1458,11 +1458,11 @@ type AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDeta // The minimum amount of the Auto Scaling group's capacity that must be fulfilled // by On-Demand Instances. - OnDemandBaseCapacity int32 + OnDemandBaseCapacity *int32 // The percentage of On-Demand Instances and Spot Instances for additional // capacity beyond OnDemandBaseCapacity . - OnDemandPercentageAboveBaseCapacity int32 + OnDemandPercentageAboveBaseCapacity *int32 // How to allocate instances across Spot Instance pools. Valid values are as // follows: @@ -1472,7 +1472,7 @@ type AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDeta SpotAllocationStrategy *string // The number of Spot Instance pools across which to allocate your Spot Instances. - SpotInstancePools int32 + SpotInstancePools *int32 // The maximum price per unit hour that you are willing to pay for a Spot Instance. SpotMaxPrice *string @@ -1538,7 +1538,7 @@ type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails struct { // Whether to suppress the device that is included in the block device mapping of // the Amazon Machine Image (AMI). If NoDevice is true , then you cannot specify // Ebs .> - NoDevice bool + NoDevice *bool // The name of the virtual device (for example, ephemeral0 ). You can provide // either VirtualName or Ebs , but not both. @@ -1552,15 +1552,15 @@ type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails struct { type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails struct { // Whether to delete the volume when the instance is terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // Whether to encrypt the volume. - Encrypted bool + Encrypted *bool // The number of input/output (I/O) operations per second (IOPS) to provision for // the volume. Only supported for gp3 or io1 volumes. Required for io1 volumes. // Not used with standard , gp2 , st1 , or sc1 volumes. - Iops int32 + Iops *int32 // The snapshot ID of the volume to use. You must specify either VolumeSize or // SnapshotId . @@ -1575,7 +1575,7 @@ type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails struct { // You must specify either SnapshotId or VolumeSize . If you specify both // SnapshotId and VolumeSize , the volume size must be equal or greater than the // size of the snapshot. - VolumeSize int32 + VolumeSize *int32 // The volume type. Valid values are as follows: // - gp2 @@ -1594,7 +1594,7 @@ type AwsAutoScalingLaunchConfigurationDetails struct { // For Auto Scaling groups that run in a VPC, specifies whether to assign a public // IP address to the group's instances. - AssociatePublicIpAddress bool + AssociatePublicIpAddress *bool // Specifies the block devices for the instance. BlockDeviceMappings []AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails @@ -1614,7 +1614,7 @@ type AwsAutoScalingLaunchConfigurationDetails struct { CreatedTime *string // Whether the launch configuration is optimized for Amazon EBS I/O. - EbsOptimized bool + EbsOptimized *bool // The name or the ARN of the instance profile associated with the IAM role for // the instance. The instance profile contains the IAM role. @@ -1668,7 +1668,7 @@ type AwsAutoScalingLaunchConfigurationInstanceMonitoringDetails struct { // If set to true , then instances in the group launch with detailed monitoring. If // set to false , then instances in the group launch with basic monitoring. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -1682,7 +1682,7 @@ type AwsAutoScalingLaunchConfigurationMetadataOptions struct { // The HTTP PUT response hop limit for instance metadata requests. The larger the // number, the further instance metadata requests can travel. - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // Indicates whether token usage is required or optional for metadata requests. By // default, token usage is optional . @@ -1754,11 +1754,11 @@ type AwsBackupBackupPlanLifecycleDetails struct { // Specifies the number of days after creation that a recovery point is deleted. // Must be greater than 90 days plus MoveToColdStorageAfterDays . - DeleteAfterDays int64 + DeleteAfterDays *int64 // Specifies the number of days after creation that a recovery point is moved to // cold storage. - MoveToColdStorageAfterDays int64 + MoveToColdStorageAfterDays *int64 noSmithyDocumentSerde } @@ -1788,7 +1788,7 @@ type AwsBackupBackupPlanRuleDetails struct { // A value in minutes after a backup job is successfully started before it must be // completed, or it is canceled by Backup. - CompletionWindowMinutes int64 + CompletionWindowMinutes *int64 // An array of CopyAction objects, each of which contains details of the copy // operation. @@ -1796,7 +1796,7 @@ type AwsBackupBackupPlanRuleDetails struct { // Specifies whether Backup creates continuous backups capable of point-in-time // restore (PITR). - EnableContinuousBackup bool + EnableContinuousBackup *bool // Defines when a protected resource is transitioned to cold storage and when it // expires. Backup transitions and expires backups automatically according to the @@ -1819,7 +1819,7 @@ type AwsBackupBackupPlanRuleDetails struct { // A value in minutes after a backup is scheduled before a job will be canceled if // it doesn't start successfully. - StartWindowMinutes int64 + StartWindowMinutes *int64 // The name of a logical container where backups are stored. Backup vaults are // identified by names that are unique to the Amazon Web Services account used to @@ -1919,7 +1919,7 @@ type AwsBackupRecoveryPointCreatedByDetails struct { type AwsBackupRecoveryPointDetails struct { // The size, in bytes, of a backup. - BackupSizeInBytes int64 + BackupSizeInBytes *int64 // An Amazon Resource Name (ARN) that uniquely identifies a backup vault. BackupVaultArn *string @@ -1958,7 +1958,7 @@ type AwsBackupRecoveryPointDetails struct { // A Boolean value that is returned as TRUE if the specified recovery point is // encrypted, or FALSE if the recovery point is not encrypted. - IsEncrypted bool + IsEncrypted *bool // The date and time that a recovery point was last restored, in Unix format and // UTC. The value of LastRestoreTime is accurate to milliseconds. For example, the @@ -2012,11 +2012,11 @@ type AwsBackupRecoveryPointLifecycleDetails struct { // Specifies the number of days after creation that a recovery point is deleted. // Must be greater than 90 days plus MoveToColdStorageAfterDays . - DeleteAfterDays int64 + DeleteAfterDays *int64 // Specifies the number of days after creation that a recovery point is moved to // cold storage. - MoveToColdStorageAfterDays int64 + MoveToColdStorageAfterDays *int64 noSmithyDocumentSerde } @@ -2261,7 +2261,7 @@ type AwsCloudFormationStackDetails struct { Description *string // Boolean to enable or disable rollback on stack creation failures. - DisableRollback bool + DisableRollback *bool // Information about whether a stack's actual configuration differs, or has // drifted, from its expected configuration, as defined in the stack template and @@ -2269,7 +2269,7 @@ type AwsCloudFormationStackDetails struct { DriftInformation *AwsCloudFormationStackDriftInformationDetails // Whether termination protection is enabled for the stack. - EnableTerminationProtection bool + EnableTerminationProtection *bool // The time the nested stack was last updated. This field will only be returned if // the stack has been updated at least once. @@ -2299,7 +2299,7 @@ type AwsCloudFormationStackDetails struct { // The length of time, in minutes, that CloudFormation waits for the nested stack // to reach the CREATE_COMPLETE state. - TimeoutInMinutes int32 + TimeoutInMinutes *int32 noSmithyDocumentSerde } @@ -2431,10 +2431,10 @@ type AwsCloudFrontDistributionLogging struct { Bucket *string // With this field, you can enable or disable the selected distribution. - Enabled bool + Enabled *bool // Specifies whether you want CloudFront to include cookies in access logs. - IncludeCookies bool + IncludeCookies *bool // An optional string that you want CloudFront to use as a prefix to the access // log filenames for this distribution. @@ -2450,21 +2450,21 @@ type AwsCloudFrontDistributionLogging struct { type AwsCloudFrontDistributionOriginCustomOriginConfig struct { // The HTTP port that CloudFront uses to connect to the origin. - HttpPort int32 + HttpPort *int32 // The HTTPS port that CloudFront uses to connect to the origin. - HttpsPort int32 + HttpsPort *int32 // Specifies how long, in seconds, CloudFront persists its connection to the // origin. - OriginKeepaliveTimeout int32 + OriginKeepaliveTimeout *int32 // Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the // origin. OriginProtocolPolicy *string // Specifies how long, in seconds, CloudFront waits for a response from the origin. - OriginReadTimeout int32 + OriginReadTimeout *int32 // Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to // your origin over HTTPS. @@ -2498,7 +2498,7 @@ type AwsCloudFrontDistributionOriginGroupFailoverStatusCodes struct { Items []int32 // The number of status codes that can cause a failover. - Quantity int32 + Quantity *int32 noSmithyDocumentSerde } @@ -2571,7 +2571,7 @@ type AwsCloudFrontDistributionOriginSslProtocols struct { // The number of SSL/TLS protocols that you want to allow CloudFront to use when // establishing an HTTPS connection with this origin. - Quantity int32 + Quantity *int32 noSmithyDocumentSerde } @@ -2595,7 +2595,7 @@ type AwsCloudFrontDistributionViewerCertificate struct { // Whether the distribution uses the CloudFront domain name. If set to false , then // you provide either AcmCertificateArn or IamCertificateId . - CloudFrontDefaultCertificate bool + CloudFrontDefaultCertificate *bool // The identifier of the IAM certificate. Used if the certificate is stored in // IAM. If you provide IamCertificateId , then you also must provide @@ -2624,28 +2624,28 @@ type AwsCloudTrailTrailDetails struct { CloudWatchLogsRoleArn *string // Indicates whether the trail has custom event selectors. - HasCustomEventSelectors bool + HasCustomEventSelectors *bool // The Region where the trail was created. HomeRegion *string // Indicates whether the trail publishes events from global services such as IAM // to the log files. - IncludeGlobalServiceEvents bool + IncludeGlobalServiceEvents *bool // Indicates whether the trail applies only to the current Region or to all // Regions. - IsMultiRegionTrail bool + IsMultiRegionTrail *bool // Whether the trail is created for all accounts in an organization in // Organizations, or only for the current Amazon Web Services account. - IsOrganizationTrail bool + IsOrganizationTrail *bool // The KMS key ID to use to encrypt the logs. KmsKeyId *string // Indicates whether CloudTrail log file validation is enabled. - LogFileValidationEnabled bool + LogFileValidationEnabled *bool // The name of the trail. Name *string @@ -2675,7 +2675,7 @@ type AwsCloudWatchAlarmDetails struct { // Indicates whether actions should be executed during any changes to the alarm // state. - ActionsEnabled bool + ActionsEnabled *bool // The list of actions, specified as Amazon Resource Names (ARNs) to execute when // this alarm transitions into an ALARM state from any other state. @@ -2699,7 +2699,7 @@ type AwsCloudWatchAlarmDetails struct { ComparisonOperator *string // The number of datapoints that must be breaching to trigger the alarm. - DatapointsToAlarm int32 + DatapointsToAlarm *int32 // The dimensions for the metric associated with the alarm. Dimensions []AwsCloudWatchAlarmDimensionsDetails @@ -2711,7 +2711,7 @@ type AwsCloudWatchAlarmDetails struct { EvaluateLowSampleCountPercentile *string // The number of periods over which data is compared to the specified threshold. - EvaluationPeriods int32 + EvaluationPeriods *int32 // The percentile statistic for the metric associated with the alarm. ExtendedStatistic *string @@ -2736,7 +2736,7 @@ type AwsCloudWatchAlarmDetails struct { // The period, in seconds, over which the statistic is applied. This is required // for an alarm based on a metric. - Period int32 + Period *int32 // The statistic for the metric associated with the alarm, other than percentile. // For percentile statistics, use ExtendedStatistic . For an alarm based on a @@ -2746,7 +2746,7 @@ type AwsCloudWatchAlarmDetails struct { Statistic *string // The value to compare with the specified statistic. - Threshold float64 + Threshold *float64 // n an alarm based on an anomaly detection model, this is the ID of the // ANOMALY_DETECTION_BAND function used as the threshold for the alarm. @@ -2781,7 +2781,7 @@ type AwsCodeBuildProjectArtifactsDetails struct { // Indicates whether to disable encryption on the artifact. Only valid when Type // is S3 . - EncryptionDisabled bool + EncryptionDisabled *bool // Only used when Type is S3 . The name of the S3 bucket where the artifact is // located. @@ -2796,7 +2796,7 @@ type AwsCodeBuildProjectArtifactsDetails struct { NamespaceType *string // Whether the name specified in the buildspec file overrides the artifact name. - OverrideArtifactName bool + OverrideArtifactName *bool // Only used when Type is S3 . The type of output artifact to create. Packaging *string @@ -2871,7 +2871,7 @@ type AwsCodeBuildProjectEnvironment struct { // Whether to allow the Docker daemon to run inside a Docker container. Set to true // if the build project is used to build Docker images. - PrivilegedMode bool + PrivilegedMode *bool // The credentials for access to a private registry. RegistryCredential *AwsCodeBuildProjectEnvironmentRegistryCredential @@ -2958,7 +2958,7 @@ type AwsCodeBuildProjectLogsConfigDetails struct { type AwsCodeBuildProjectLogsConfigS3LogsDetails struct { // Whether to disable encryption of the S3 build log output. - EncryptionDisabled bool + EncryptionDisabled *bool // The ARN of the S3 bucket and the path prefix for S3 logs. Location *string @@ -2973,10 +2973,10 @@ type AwsCodeBuildProjectLogsConfigS3LogsDetails struct { type AwsCodeBuildProjectSource struct { // Information about the Git clone depth for the build project. - GitCloneDepth int32 + GitCloneDepth *int32 // Whether to ignore SSL warnings while connecting to the project source code. - InsecureSsl bool + InsecureSsl *bool // Information about the location of the source code to be built. Valid values // include: @@ -3033,7 +3033,7 @@ type AwsCodeBuildProjectVpcConfig struct { type AwsCorsConfiguration struct { // Indicates whether the CORS request includes credentials. - AllowCredentials bool + AllowCredentials *bool // The allowed headers for CORS requests. AllowHeaders []string @@ -3048,7 +3048,7 @@ type AwsCorsConfiguration struct { ExposeHeaders []string // The number of seconds for which the browser caches preflight request results. - MaxAge int32 + MaxAge *int32 noSmithyDocumentSerde } @@ -3091,7 +3091,7 @@ type AwsDmsEndpointDetails struct { KmsKeyId *string // The port used to access the endpoint. - Port int32 + Port *int32 // The name of the server where the endpoint database resides. ServerName *string @@ -3113,11 +3113,11 @@ type AwsDmsReplicationInstanceDetails struct { // The amount of storage (in gigabytes) that is allocated for the replication // instance. - AllocatedStorage int32 + AllocatedStorage *int32 // Indicates whether minor engine upgrades are applied automatically to the // replication instance during the maintenance window. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // The Availability Zone that the replication instance is created in. The default // value is a random, system-chosen Availability Zone in the endpoint's Amazon Web @@ -3139,7 +3139,7 @@ type AwsDmsReplicationInstanceDetails struct { // Specifies whether the replication instance is deployed across multiple // Availability Zones (AZs). You can't set the AvailabilityZone parameter if the // MultiAZ parameter is set to true . - MultiAZ bool + MultiAZ *bool // The maintenance window times for the replication instance. Upgrades to the // replication instance are performed during this time. @@ -3148,7 +3148,7 @@ type AwsDmsReplicationInstanceDetails struct { // Specifies the accessibility options for the replication instance. A value of // true represents an instance with a public IP address. A value of false // represents an instance with a private IP address. The default value is true . - PubliclyAccessible bool + PubliclyAccessible *bool // The compute and memory capacity of the replication instance as defined for the // specified replication instance class. @@ -3291,7 +3291,7 @@ type AwsDynamoDbTableDetails struct { GlobalTableVersion *string // The number of items in the table. - ItemCount int32 + ItemCount *int32 // The primary key structure for the table. KeySchema []AwsDynamoDbTableKeySchema @@ -3327,7 +3327,7 @@ type AwsDynamoDbTableDetails struct { TableName *string // The total size of the table in bytes. - TableSizeBytes int64 + TableSizeBytes *int64 // The current status of the table. Valid values are as follows: // - ACTIVE @@ -3346,7 +3346,7 @@ type AwsDynamoDbTableDetails struct { type AwsDynamoDbTableGlobalSecondaryIndex struct { // Whether the index is currently backfilling. - Backfilling bool + Backfilling *bool // The ARN of the index. IndexArn *string @@ -3355,7 +3355,7 @@ type AwsDynamoDbTableGlobalSecondaryIndex struct { IndexName *string // The total size in bytes of the index. - IndexSizeBytes int64 + IndexSizeBytes *int64 // The current status of the index. // - ACTIVE @@ -3365,7 +3365,7 @@ type AwsDynamoDbTableGlobalSecondaryIndex struct { IndexStatus *string // The number of items in the index. - ItemCount int32 + ItemCount *int32 // The key schema for the index. KeySchema []AwsDynamoDbTableKeySchema @@ -3449,15 +3449,15 @@ type AwsDynamoDbTableProvisionedThroughput struct { // The number of times during the current UTC calendar day that the provisioned // throughput was decreased. - NumberOfDecreasesToday int32 + NumberOfDecreasesToday *int32 // The maximum number of strongly consistent reads consumed per second before // DynamoDB returns a ThrottlingException . - ReadCapacityUnits int32 + ReadCapacityUnits *int32 // The maximum number of writes consumed per second before DynamoDB returns a // ThrottlingException . - WriteCapacityUnits int32 + WriteCapacityUnits *int32 noSmithyDocumentSerde } @@ -3466,7 +3466,7 @@ type AwsDynamoDbTableProvisionedThroughput struct { type AwsDynamoDbTableProvisionedThroughputOverride struct { // The read capacity units for the replica. - ReadCapacityUnits int32 + ReadCapacityUnits *int32 noSmithyDocumentSerde } @@ -3523,7 +3523,7 @@ type AwsDynamoDbTableRestoreSummary struct { RestoreDateTime *string // Whether a restore is currently in progress. - RestoreInProgress bool + RestoreInProgress *bool // The ARN of the source backup from which the table was restored. SourceBackupArn *string @@ -3560,7 +3560,7 @@ type AwsDynamoDbTableSseDescription struct { type AwsDynamoDbTableStreamSpecification struct { // Indicates whether DynamoDB Streams is enabled on the table. - StreamEnabled bool + StreamEnabled *bool // Determines the information that is written to the table. StreamViewType *string @@ -3670,7 +3670,7 @@ type AwsEc2InstanceMetadataOptions struct { // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. HttpTokens *string @@ -3730,15 +3730,15 @@ type AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails struct { type AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails struct { // Indicates whether the EBS volume is deleted on instance termination. - DeleteOnTermination bool + DeleteOnTermination *bool // Indicates whether the EBS volume is encrypted. Encrypted volumes can only be // attached to instances that support Amazon EBS encryption. If you're creating a // volume from a snapshot, you can't specify an encryption value. - Encrypted bool + Encrypted *bool // The number of I/O operations per second (IOPS). - Iops int32 + Iops *int32 // The Amazon Resource Name (ARN) of the symmetric Key Management Service (KMS) // customer managed key used for encryption. @@ -3748,11 +3748,11 @@ type AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails struct { SnapshotId *string // The throughput to provision for a gp3 volume, with a maximum of 1,000 MiB/s. - Throughput int32 + Throughput *int32 // The size of the volume, in GiBs. You must specify either a snapshot ID or a // volume size. - VolumeSize int32 + VolumeSize *int32 // The volume type. VolumeType *string @@ -3796,11 +3796,11 @@ type AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails struct { type AwsEc2LaunchTemplateDataCpuOptionsDetails struct { // The number of CPU cores for the instance. - CoreCount int32 + CoreCount *int32 // The number of threads per CPU core. A value of 1 disables multithreading for // the instance, The default value is 2 . - ThreadsPerCore int32 + ThreadsPerCore *int32 noSmithyDocumentSerde } @@ -3837,14 +3837,14 @@ type AwsEc2LaunchTemplateDataDetails struct { // Indicates whether to enable the instance for stop protection. For more // information, see Enable stop protection (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) // in the Amazon EC2 User Guide. - DisableApiStop bool + DisableApiStop *bool // If you set this parameter to true , you can't terminate the instance using the // Amazon EC2 console, CLI, or API. If set to true , you can. - DisableApiTermination bool + DisableApiTermination *bool // Indicates whether the instance is optimized for Amazon EBS I/O. - EbsOptimized bool + EbsOptimized *bool // Provides details about Elastic Graphics accelerators to associate with the // instance. @@ -3943,7 +3943,7 @@ type AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails struct { type AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails struct { // The number of Elastic Inference accelerators to attach to the instance. - Count int32 + Count *int32 // The type of Elastic Inference accelerator. Type *string @@ -3957,7 +3957,7 @@ type AwsEc2LaunchTemplateDataEnclaveOptionsDetails struct { // If this parameter is set to true , the instance is enabled for Amazon Web // Services Nitro Enclaves. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -3966,7 +3966,7 @@ type AwsEc2LaunchTemplateDataEnclaveOptionsDetails struct { type AwsEc2LaunchTemplateDataHibernationOptionsDetails struct { // If you set this parameter to true , the instance is enabled for hibernation. - Configured bool + Configured *bool noSmithyDocumentSerde } @@ -4001,7 +4001,7 @@ type AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails struct { type AwsEc2LaunchTemplateDataInstanceMarketOptionsSpotOptionsDetails struct { // Deprecated. - BlockDurationMinutes int32 + BlockDurationMinutes *int32 // The behavior when a Spot Instance is interrupted. InstanceInterruptionBehavior *string @@ -4025,11 +4025,11 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorCountDetails struct // The maximum number of accelerators. If this parameter isn't specified, there's // no maximum limit. To exclude accelerator-enabled instance types, set Max to 0 . - Max int32 + Max *int32 // The minimum number of accelerators. If this parameter isn't specified, there's // no minimum limit. - Min int32 + Min *int32 noSmithyDocumentSerde } @@ -4040,11 +4040,11 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsAcceleratorTotalMemoryMiBDetail // The maximum amount of memory, in MiB. If this parameter isn't specified, // there's no maximum limit. - Max int32 + Max *int32 // The minimum amount of memory, in MiB. If 0 is specified, there's no maximum // limit. - Min int32 + Min *int32 noSmithyDocumentSerde } @@ -4056,11 +4056,11 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsBaselineEbsBandwidthMbpsDetails // The maximum baseline bandwidth, in Mbps. If this parameter is omitted, there's // no maximum limit. - Max int32 + Max *int32 // The minimum baseline bandwidth, in Mbps. If this parameter is omitted, there's // no minimum limit. - Min int32 + Min *int32 noSmithyDocumentSerde } @@ -4132,11 +4132,11 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsDetails struct { // excludes instance types priced above your threshold. The parameter accepts an // integer, which Amazon EC2 interprets as a percentage. A high value, such as // 999999 , turns off price protection. - OnDemandMaxPricePercentageOverLowestPrice int32 + OnDemandMaxPricePercentageOverLowestPrice *int32 // Indicates whether instance types must support hibernation for On-Demand // Instances. - RequireHibernateSupport bool + RequireHibernateSupport *bool // The price protection threshold for Spot Instances. This is the maximum you'll // pay for a Spot Instance, expressed as a percentage above the least expensive @@ -4145,7 +4145,7 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsDetails struct { // types priced above your threshold. The parameter accepts an integer, which // Amazon EC2 interprets as a percentage. A high value, such as 999999 , turns off // price protection. - SpotMaxPricePercentageOverLowestPrice int32 + SpotMaxPricePercentageOverLowestPrice *int32 // The minimum and maximum amount of total local storage, in GB. TotalLocalStorageGB *AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails @@ -4161,11 +4161,11 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails struct // The maximum amount of memory per vCPU, in GiB. If this parameter is omitted, // there's no maximum limit. - Max float64 + Max *float64 // The minimum amount of memory per vCPU, in GiB. If this parameter is omitted, // there's no maximum limit. - Min float64 + Min *float64 noSmithyDocumentSerde } @@ -4174,10 +4174,10 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsMemoryGiBPerVCpuDetails struct type AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails struct { // The maximum amount of memory, in MiB. - Max int32 + Max *int32 // The minimum amount of memory, in MiB. - Min int32 + Min *int32 noSmithyDocumentSerde } @@ -4187,10 +4187,10 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails struct { type AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails struct { // The maximum number of network interfaces. - Max int32 + Max *int32 // The minimum number of network interfaces. - Min int32 + Min *int32 noSmithyDocumentSerde } @@ -4200,10 +4200,10 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsNetworkInterfaceCountDetails st type AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails struct { // The maximum amount of total local storage, in GB. - Max float64 + Max *float64 // The minimum amount of total local storage, in GB. - Min float64 + Min *float64 noSmithyDocumentSerde } @@ -4212,10 +4212,10 @@ type AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails stru type AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails struct { // The maximum number of vCPUs. - Max int32 + Max *int32 // The minimum number of vCPUs. - Min int32 + Min *int32 noSmithyDocumentSerde } @@ -4251,7 +4251,7 @@ type AwsEc2LaunchTemplateDataMetadataOptionsDetails struct { // The desired HTTP PUT response hop limit for instance metadata requests. The // larger the number, the further instance metadata requests can travel. - HttpPutResponseHopLimit int32 + HttpPutResponseHopLimit *int32 // The state of token usage for your instance metadata requests. HttpTokens *string @@ -4273,7 +4273,7 @@ type AwsEc2LaunchTemplateDataMonitoringDetails struct { // is enabled. For more information about detailed monitoring, see Enable or turn // off detailed monitoring for your instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch-new.html) // in the Amazon EC2 User Guide. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -4288,20 +4288,20 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { // and want to associate a Carrier IP address with the network interface. For more // information, see Carrier IP address (https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip) // in the Wavelength Developer Guide. - AssociateCarrierIpAddress bool + AssociateCarrierIpAddress *bool // Associates a public IPv4 address with eth0 for a new network interface. - AssociatePublicIpAddress bool + AssociatePublicIpAddress *bool // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // A description for the network interface. Description *string // The device index for the network interface attachment. - DeviceIndex int32 + DeviceIndex *int32 // The IDs of one or more security groups. Groups []string @@ -4311,7 +4311,7 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { // The number of IPv4 prefixes to be automatically assigned to the network // interface. You cannot use this option if you use the Ipv4Prefixes option. - Ipv4PrefixCount int32 + Ipv4PrefixCount *int32 // One or more IPv4 prefixes to be assigned to the network interface. You cannot // use this option if you use the Ipv4PrefixCount option. @@ -4320,7 +4320,7 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { // The number of IPv6 addresses to assign to a network interface. Amazon EC2 // automatically selects the IPv6 addresses from the subnet range. You can't use // this option if you use Ipv6Addresses . - Ipv6AddressCount int32 + Ipv6AddressCount *int32 // One or more specific IPv6 addresses from the IPv6 CIDR block range of your // subnet. You can't use this option if you use Ipv6AddressCount . @@ -4328,7 +4328,7 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { // The number of IPv6 prefixes to be automatically assigned to the network // interface. You cannot use this option if you use the Ipv6Prefix option. - Ipv6PrefixCount int32 + Ipv6PrefixCount *int32 // One or more IPv6 prefixes to be assigned to the network interface. You cannot // use this option if you use the Ipv6PrefixCount option. @@ -4337,7 +4337,7 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { // The index of the network card. Some instance types support multiple network // cards. The primary network interface must be assigned to network card index 0 . // The default is network card index 0 . - NetworkCardIndex int32 + NetworkCardIndex *int32 // The ID of the network interface. NetworkInterfaceId *string @@ -4349,7 +4349,7 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails struct { PrivateIpAddresses []AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails // The number of secondary private IPv4 addresses to assign to a network interface. - SecondaryPrivateIpAddressCount int32 + SecondaryPrivateIpAddressCount *int32 // The ID of the subnet for the network interface. SubnetId *string @@ -4393,7 +4393,7 @@ type AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails struct // Indicates whether the private IPv4 address is the primary private IPv4 address. // Only one IPv4 address can be designated as primary. - Primary bool + Primary *bool // The private IPv4 address. PrivateIpAddress *string @@ -4421,7 +4421,7 @@ type AwsEc2LaunchTemplateDataPlacementDetails struct { HostResourceGroupArn *string // The number of the partition the instance should launch in. - PartitionNumber int32 + PartitionNumber *int32 // Reserved for future use. SpreadDomain *string @@ -4438,11 +4438,11 @@ type AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails struct { // Indicates whether to respond to DNS queries for instance hostnames with DNS // AAAA records. - EnableResourceNameDnsAAAARecord bool + EnableResourceNameDnsAAAARecord *bool // Indicates whether to respond to DNS queries for instance hostnames with DNS A // records. - EnableResourceNameDnsARecord bool + EnableResourceNameDnsARecord *bool // The type of hostname for EC2 instances. HostnameType *string @@ -4455,13 +4455,13 @@ type AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails struct { type AwsEc2LaunchTemplateDetails struct { // The default version of the launch template. - DefaultVersionNumber int64 + DefaultVersionNumber *int64 // An ID for the launch template. Id *string // The latest version of the launch template. - LatestVersionNumber int64 + LatestVersionNumber *int64 // The information to include in the launch template. LaunchTemplateData *AwsEc2LaunchTemplateDataDetails @@ -4497,7 +4497,7 @@ type AwsEc2NetworkAclDetails struct { Entries []AwsEc2NetworkAclEntry // Whether this is the default network ACL for the VPC. - IsDefault bool + IsDefault *bool // The identifier of the network ACL. NetworkAclId *string @@ -4520,7 +4520,7 @@ type AwsEc2NetworkAclEntry struct { // Whether the rule is an egress rule. An egress rule is a rule that applies to // traffic that leaves the subnet. - Egress bool + Egress *bool // The Internet Control Message Protocol (ICMP) type and code for which to deny or // allow access. @@ -4540,7 +4540,7 @@ type AwsEc2NetworkAclEntry struct { RuleAction *string // The rule number. The rules are processed in order by their number. - RuleNumber int32 + RuleNumber *int32 noSmithyDocumentSerde } @@ -4559,10 +4559,10 @@ type AwsEc2NetworkInterfaceAttachment struct { // Indicates whether the network interface is deleted when the instance is // terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // The device index of the network interface attachment on the instance. - DeviceIndex int32 + DeviceIndex *int32 // The ID of the instance. InstanceId *string @@ -4601,7 +4601,7 @@ type AwsEc2NetworkInterfaceDetails struct { SecurityGroups []AwsEc2NetworkInterfaceSecurityGroup // Indicates whether traffic to or from the instance is validated. - SourceDestCheck bool + SourceDestCheck *bool noSmithyDocumentSerde } @@ -4695,7 +4695,7 @@ type AwsEc2SecurityGroupIpPermission struct { // The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 // type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all // ICMP/ICMPv6 types, you must specify all codes. - FromPort int32 + FromPort *int32 // The IP protocol name ( tcp , udp , icmp , icmpv6 ) or number. [VPC only] Use -1 // to specify all protocols. When authorizing security group rules, specifying -1 @@ -4719,7 +4719,7 @@ type AwsEc2SecurityGroupIpPermission struct { // The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 // code. A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all // ICMP/ICMPv6 types, you must specify all codes. - ToPort int32 + ToPort *int32 // The security group and Amazon Web Services account ID pairs. UserIdGroupPairs []AwsEc2SecurityGroupUserIdGroupPair @@ -4791,7 +4791,7 @@ type AwsEc2SubnetDetails struct { // Whether to assign an IPV6 address to a network interface that is created in // this subnet. - AssignIpv6AddressOnCreation bool + AssignIpv6AddressOnCreation *bool // The Availability Zone for the subnet. AvailabilityZone *string @@ -4801,19 +4801,19 @@ type AwsEc2SubnetDetails struct { // The number of available IPV4 addresses in the subnet. Does not include // addresses for stopped instances. - AvailableIpAddressCount int32 + AvailableIpAddressCount *int32 // The IPV4 CIDR block that is assigned to the subnet. CidrBlock *string // Whether this subnet is the default subnet for the Availability Zone. - DefaultForAz bool + DefaultForAz *bool // The IPV6 CIDR blocks that are associated with the subnet. Ipv6CidrBlockAssociationSet []Ipv6CidrBlockAssociation // Whether instances in this subnet receive a public IP address. - MapPublicIpOnLaunch bool + MapPublicIpOnLaunch *bool // The identifier of the Amazon Web Services account that owns the subnet. OwnerId *string @@ -4838,7 +4838,7 @@ type AwsEc2SubnetDetails struct { type AwsEc2TransitGatewayDetails struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. - AmazonSideAsn int32 + AmazonSideAsn *int32 // The ID of the default association route table. AssociationDefaultRouteTableId *string @@ -4885,7 +4885,7 @@ type AwsEc2VolumeAttachment struct { AttachTime *string // Whether the EBS volume is deleted when the EC2 instance is terminated. - DeleteOnTermination bool + DeleteOnTermination *bool // The identifier of the EC2 instance. InstanceId *string @@ -4917,14 +4917,14 @@ type AwsEc2VolumeDetails struct { DeviceName *string // Specifies whether the volume is encrypted. - Encrypted bool + Encrypted *bool // The ARN of the KMS key that was used to protect the volume encryption key for // the volume. KmsKeyId *string // The size of the volume, in GiBs. - Size int32 + Size *int32 // The snapshot from which the volume was created. SnapshotId *string @@ -4975,7 +4975,7 @@ type AwsEc2VpcEndpointServiceDetails struct { // Whether requests from other Amazon Web Services accounts to create an endpoint // to the service must first be accepted. - AcceptanceRequired bool + AcceptanceRequired *bool // The Availability Zones where the service is available. AvailabilityZones []string @@ -4987,7 +4987,7 @@ type AwsEc2VpcEndpointServiceDetails struct { GatewayLoadBalancerArns []string // Whether the service manages its VPC endpoints. - ManagesVpcEndpoints bool + ManagesVpcEndpoints *bool // The ARNs of the Network Load Balancers for the service. NetworkLoadBalancerArns []string @@ -5139,7 +5139,7 @@ type AwsEc2VpnConnectionDetails struct { type AwsEc2VpnConnectionOptionsDetails struct { // Whether the VPN connection uses static routes only. - StaticRoutesOnly bool + StaticRoutesOnly *bool // The VPN tunnel options. TunnelOptions []AwsEc2VpnConnectionOptionsTunnelOptionsDetails @@ -5151,7 +5151,7 @@ type AwsEc2VpnConnectionOptionsDetails struct { type AwsEc2VpnConnectionOptionsTunnelOptionsDetails struct { // The number of seconds after which a Dead Peer Detection (DPD) timeout occurs. - DpdTimeoutSeconds int32 + DpdTimeoutSeconds *int32 // The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel. IkeVersions []string @@ -5172,7 +5172,7 @@ type AwsEc2VpnConnectionOptionsTunnelOptionsDetails struct { Phase1IntegrityAlgorithms []string // The lifetime for phase 1 of the IKE negotiation, in seconds. - Phase1LifetimeSeconds int32 + Phase1LifetimeSeconds *int32 // The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE // negotiations. @@ -5187,7 +5187,7 @@ type AwsEc2VpnConnectionOptionsTunnelOptionsDetails struct { Phase2IntegrityAlgorithms []string // The lifetime for phase 2 of the IKE negotiation, in seconds. - Phase2LifetimeSeconds int32 + Phase2LifetimeSeconds *int32 // The preshared key to establish initial authentication between the virtual // private gateway and the customer gateway. @@ -5195,14 +5195,14 @@ type AwsEc2VpnConnectionOptionsTunnelOptionsDetails struct { // The percentage of the rekey window, which is determined by // RekeyMarginTimeSeconds during which the rekey time is randomly selected. - RekeyFuzzPercentage int32 + RekeyFuzzPercentage *int32 // The margin time, in seconds, before the phase 2 lifetime expires, during which // the Amazon Web Services side of the VPN connection performs an IKE rekey. - RekeyMarginTimeSeconds int32 + RekeyMarginTimeSeconds *int32 // The number of packets in an IKE replay window. - ReplayWindowSize int32 + ReplayWindowSize *int32 // The range of inside IPv4 addresses for the tunnel. TunnelInsideCidr *string @@ -5226,7 +5226,7 @@ type AwsEc2VpnConnectionRoutesDetails struct { type AwsEc2VpnConnectionVgwTelemetryDetails struct { // The number of accepted routes. - AcceptedRouteCount int32 + AcceptedRouteCount *int32 // The ARN of the VPN tunnel endpoint certificate. CertificateArn *string @@ -5310,7 +5310,7 @@ type AwsEcrRepositoryDetails struct { type AwsEcrRepositoryImageScanningConfigurationDetails struct { // Whether to scan images after they are pushed to a repository. - ScanOnPush bool + ScanOnPush *bool noSmithyDocumentSerde } @@ -5370,7 +5370,7 @@ type AwsEcsClusterConfigurationExecuteCommandConfigurationDetails struct { type AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails struct { // Whether to enable encryption on the CloudWatch logs. - CloudWatchEncryptionEnabled bool + CloudWatchEncryptionEnabled *bool // The name of the CloudWatch log group to send the logs to. CloudWatchLogGroupName *string @@ -5379,7 +5379,7 @@ type AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetail S3BucketName *string // Whether to encrypt the logs that are sent to the S3 bucket. - S3EncryptionEnabled bool + S3EncryptionEnabled *bool // Identifies the folder in the S3 bucket to send the logs to. S3KeyPrefix *string @@ -5393,14 +5393,14 @@ type AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetail type AwsEcsClusterDefaultCapacityProviderStrategyDetails struct { // The minimum number of tasks to run on the specified capacity provider. - Base int32 + Base *int32 // The name of the capacity provider. CapacityProvider *string // The relative percentage of the total number of tasks launched that should use // the capacity provider. - Weight int32 + Weight *int32 noSmithyDocumentSerde } @@ -5411,7 +5411,7 @@ type AwsEcsClusterDetails struct { // The number of services that are running on the cluster in an ACTIVE state. You // can view these services with the Amazon ECS ListServices (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html) // API operation. - ActiveServicesCount int32 + ActiveServicesCount *int32 // The short name of one or more capacity providers to associate with the cluster. CapacityProviders []string @@ -5436,10 +5436,10 @@ type AwsEcsClusterDetails struct { // The number of container instances registered into the cluster. This includes // container instances in both ACTIVE and DRAINING status. - RegisteredContainerInstancesCount int32 + RegisteredContainerInstancesCount *int32 // The number of tasks in the cluster that are in the RUNNING state. - RunningTasksCount int32 + RunningTasksCount *int32 // The status of the cluster. Status *string @@ -5461,7 +5461,7 @@ type AwsEcsContainerDetails struct { // When this parameter is true, the container is given elevated privileges on the // host container instance (similar to the root user). - Privileged bool + Privileged *bool noSmithyDocumentSerde } @@ -5471,7 +5471,7 @@ type AwsEcsServiceCapacityProviderStrategyDetails struct { // The minimum number of tasks to run on the capacity provider. Only one strategy // item can specify a value for Base . The value must be between 0 and 100000. - Base int32 + Base *int32 // The short name of the capacity provider. CapacityProvider *string @@ -5480,7 +5480,7 @@ type AwsEcsServiceCapacityProviderStrategyDetails struct { // capacity provider. If no weight is specified, the default value is 0. At least // one capacity provider must have a weight greater than 0. The value can be // between 0 and 1000. - Weight int32 + Weight *int32 noSmithyDocumentSerde } @@ -5490,12 +5490,12 @@ type AwsEcsServiceCapacityProviderStrategyDetails struct { type AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails struct { // Whether to enable the deployment circuit breaker logic for the service. - Enable bool + Enable *bool // Whether to roll back the service if a service deployment fails. If rollback is // enabled, when a service deployment fails, the service is rolled back to the last // deployment that completed successfully. - Rollback bool + Rollback *bool noSmithyDocumentSerde } @@ -5516,7 +5516,7 @@ type AwsEcsServiceDeploymentConfigurationDetails struct { // EC2 launch type, the maximum number of tasks in the service that remain in the // RUNNING state while the container instances are in the DRAINING state. For the // Fargate launch type, the maximum percent value is not used. - MaximumPercent int32 + MaximumPercent *int32 // For a service that uses the rolling update ( ECS ) deployment type, the minimum // number of tasks in a service that must remain in the RUNNING state during a @@ -5527,7 +5527,7 @@ type AwsEcsServiceDeploymentConfigurationDetails struct { // the EC2 launch type, the minimum number of the tasks in the service that remain // in the RUNNING state while the container instances are in the DRAINING state. // For the Fargate launch type, the minimum healthy percent value is not used. - MinimumHealthyPercent int32 + MinimumHealthyPercent *int32 noSmithyDocumentSerde } @@ -5565,17 +5565,17 @@ type AwsEcsServiceDetails struct { DeploymentController *AwsEcsServiceDeploymentControllerDetails // The number of instantiations of the task definition to run on the service. - DesiredCount int32 + DesiredCount *int32 // Whether to enable Amazon ECS managed tags for the tasks in the service. - EnableEcsManagedTags bool + EnableEcsManagedTags *bool // Whether the execute command functionality is enabled for the service. - EnableExecuteCommand bool + EnableExecuteCommand *bool // After a task starts, the amount of time in seconds that the Amazon ECS service // scheduler ignores unhealthy Elastic Load Balancing target health checks. - HealthCheckGracePeriodSeconds int32 + HealthCheckGracePeriodSeconds *int32 // The launch type that the service uses. Valid values: EC2 | FARGATE | EXTERNAL LaunchType *string @@ -5648,7 +5648,7 @@ type AwsEcsServiceLoadBalancersDetails struct { // correspond to a containerPort in the task definition the tasks in the service // are using. For tasks that use the EC2 launch type, the container instance they // are launched on must allow ingress traffic on the hostPort of the port mapping. - ContainerPort int32 + ContainerPort *int32 // The name of the load balancer to associate with the Amazon ECS service or task // set. Only specified when using a Classic Load Balancer. For an Application Load @@ -5745,12 +5745,12 @@ type AwsEcsServiceServiceRegistriesDetails struct { // ContainerPort . If the task definition uses the awsvpc network mode and a type // SRV DNS record, you must specify either ContainerName and ContainerPort , or // Port , but not both. - ContainerPort int32 + ContainerPort *int32 // The port value to use for a service discovery service that specifies an SRV // record. This field can be used if both the awsvpc awsvpc network mode and SRV // records are used. - Port int32 + Port *int32 // The ARN of the service registry. RegistryArn *string @@ -5783,13 +5783,13 @@ type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { Command []string // The number of CPU units reserved for the container. - Cpu int32 + Cpu *int32 // The dependencies that are defined for container startup and shutdown. DependsOn []AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails // Whether to disable networking within the container. - DisableNetworking bool + DisableNetworking *bool // A list of DNS search domains that are presented to the container. DnsSearchDomains []string @@ -5815,7 +5815,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { // Whether the container is essential. All tasks must have at least one essential // container. - Essential bool + Essential *bool // A list of hostnames and IP address mappings to append to the /etc/hosts file on // the container. @@ -5837,7 +5837,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { // If set to true, then containerized applications can be deployed that require // stdin or a tty to be allocated. - Interactive bool + Interactive *bool // A list of links for the container in the form container_name:alias . Allows // containers to communicate with each other without the need for port mappings. @@ -5854,10 +5854,10 @@ type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { // attempts to exceed the memory specified here, the container is shut down. The // total amount of memory reserved for all containers within a task must be lower // than the task memory value, if one is specified. - Memory int32 + Memory *int32 // The soft limit (in MiB) of memory to reserve for the container. - MemoryReservation int32 + MemoryReservation *int32 // The mount points for the data volumes in the container. MountPoints []AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails @@ -5870,13 +5870,13 @@ type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { // Whether the container is given elevated privileges on the host container // instance. The elevated privileges are similar to the root user. - Privileged bool + Privileged *bool // Whether to allocate a TTY to the container. - PseudoTerminal bool + PseudoTerminal *bool // Whether the container is given read-only access to its root file system. - ReadonlyRootFilesystem bool + ReadonlyRootFilesystem *bool // The private repository authentication credentials to use. RepositoryCredentials *AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails @@ -5890,11 +5890,11 @@ type AwsEcsTaskDefinitionContainerDefinitionsDetails struct { // The number of seconds to wait before giving up on resolving dependencies for a // container. - StartTimeout int32 + StartTimeout *int32 // The number of seconds to wait before the container is stopped if it doesn't // shut down normally on its own. - StopTimeout int32 + StopTimeout *int32 // A list of namespaced kernel parameters to set in the container. SystemControls []AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails @@ -5984,19 +5984,19 @@ type AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails struct { // The time period in seconds between each health check execution. The default // value is 30 seconds. - Interval int32 + Interval *int32 // The number of times to retry a failed health check before the container is // considered unhealthy. The default value is 3. - Retries int32 + Retries *int32 // The optional grace period in seconds that allows containers time to bootstrap // before failed health checks count towards the maximum number of retries. - StartPeriod int32 + StartPeriod *int32 // The time period in seconds to wait for a health check to succeed before it is // considered a failure. The default value is 5. - Timeout int32 + Timeout *int32 noSmithyDocumentSerde } @@ -6044,18 +6044,18 @@ type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails struct { // Whether to run an init process inside the container that forwards signals and // reaps processes. - InitProcessEnabled bool + InitProcessEnabled *bool // The total amount of swap memory (in MiB) that a container can use. - MaxSwap int32 + MaxSwap *int32 // The value for the size (in MiB) of the /dev/shm volume. - SharedMemorySize int32 + SharedMemorySize *int32 // Configures the container's memory swappiness behavior. Determines how // aggressively pages are swapped. The higher the value, the more aggressive the // swappiness. The default is 60. - Swappiness int32 + Swappiness *int32 // The container path, mount options, and size (in MiB) of the tmpfs mount. Tmpfs []AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails @@ -6096,7 +6096,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails struct MountOptions []string // The maximum size (in MiB) of the tmpfs volume. - Size int32 + Size *int32 noSmithyDocumentSerde } @@ -6152,7 +6152,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails struct { ContainerPath *string // Whether the container has read-only access to the volume. - ReadOnly bool + ReadOnly *bool // The name of the volume to mount. Must match the name of a volume listed in // VolumeDetails for the task definition. @@ -6166,10 +6166,10 @@ type AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails struct { // The port number on the container that is bound to the user-specified or // automatically assigned host port. - ContainerPort int32 + ContainerPort *int32 // The port number on the container instance to reserve for the container. - HostPort int32 + HostPort *int32 // The protocol used for the port mapping. The default is tcp . Protocol *string @@ -6232,7 +6232,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails struct { type AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails struct { // The hard limit for the ulimit type. - HardLimit int32 + HardLimit *int32 // The type of the ulimit. Valid values are as follows: // - core @@ -6253,7 +6253,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails struct { Name *string // The soft limit for the ulimit type. - SoftLimit int32 + SoftLimit *int32 noSmithyDocumentSerde } @@ -6262,7 +6262,7 @@ type AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails struct { type AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails struct { // Whether the container has read-only access to the volume. - ReadOnly bool + ReadOnly *bool // The name of another container within the same task definition from which to // mount volumes. @@ -6421,7 +6421,7 @@ type AwsEcsTaskDefinitionVolumesDetails struct { type AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails struct { // Whether to create the Docker volume automatically if it does not already exist. - Autoprovision bool + Autoprovision *bool // The Docker volume driver to use. Driver *string @@ -6473,7 +6473,7 @@ type AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails struct { // The port to use when sending encrypted data between the Amazon ECS host and the // Amazon EFS server. - TransitEncryptionPort int32 + TransitEncryptionPort *int32 noSmithyDocumentSerde } @@ -6673,7 +6673,7 @@ type AwsEksClusterDetails struct { type AwsEksClusterLoggingClusterLoggingDetails struct { // Whether the logging types that are listed in Types are enabled. - Enabled bool + Enabled *bool // A list of logging types. Valid values are as follows: // - api @@ -6702,7 +6702,7 @@ type AwsEksClusterResourcesVpcConfigDetails struct { // the Amazon EKS public API server endpoint is turned off, your cluster's // Kubernetes API server can only receive requests that originate from within the // cluster VPC. - EndpointPublicAccess bool + EndpointPublicAccess *bool // The security groups that are associated with the cross-account elastic network // interfaces that are used to allow communication between your nodes and the @@ -6880,7 +6880,7 @@ type AwsElasticsearchDomainDetails struct { type AwsElasticsearchDomainDomainEndpointOptions struct { // Whether to require that all traffic to the domain arrive over HTTPS. - EnforceHTTPS bool + EnforceHTTPS *bool // The TLS security policy to apply to the HTTPS endpoint of the OpenSearch // domain. Valid values: @@ -6896,12 +6896,12 @@ type AwsElasticsearchDomainElasticsearchClusterConfigDetails struct { // The number of instances to use for the master node. If this attribute is // specified, then DedicatedMasterEnabled must be true . - DedicatedMasterCount int32 + DedicatedMasterCount *int32 // Whether to use a dedicated master node for the Elasticsearch domain. A // dedicated master node performs cluster management tasks, but doesn't hold data // or respond to data upload requests. - DedicatedMasterEnabled bool + DedicatedMasterEnabled *bool // The hardware configuration of the computer that hosts the dedicated master // node. A sample value is m3.medium.elasticsearch . If this attribute is @@ -6911,7 +6911,7 @@ type AwsElasticsearchDomainElasticsearchClusterConfigDetails struct { DedicatedMasterType *string // The number of data nodes to use in the Elasticsearch domain. - InstanceCount int32 + InstanceCount *int32 // The instance type for your data nodes. For example, m3.medium.elasticsearch . // For a list of valid values, see Supported instance types in Amazon OpenSearch @@ -6927,7 +6927,7 @@ type AwsElasticsearchDomainElasticsearchClusterConfigDetails struct { // awareness is enabled, OpenSearch allocates the cluster's nodes and replica index // shards across Availability Zones in the same Region. This prevents data loss and // minimizes downtime if a node or data center fails. - ZoneAwarenessEnabled bool + ZoneAwarenessEnabled *bool noSmithyDocumentSerde } @@ -6937,7 +6937,7 @@ type AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails // he number of Availability Zones that the domain uses. Valid values are 2 and 3. // The default is 2. - AvailabilityZoneCount int32 + AvailabilityZoneCount *int32 noSmithyDocumentSerde } @@ -6946,7 +6946,7 @@ type AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails type AwsElasticsearchDomainEncryptionAtRestOptions struct { // Whether encryption at rest is enabled. - Enabled bool + Enabled *bool // The KMS key ID. Takes the form 1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a . KmsKeyId *string @@ -6976,7 +6976,7 @@ type AwsElasticsearchDomainLogPublishingOptionsLogConfig struct { CloudWatchLogsLogGroupArn *string // Whether the log publishing is enabled. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -6985,7 +6985,7 @@ type AwsElasticsearchDomainLogPublishingOptionsLogConfig struct { type AwsElasticsearchDomainNodeToNodeEncryptionOptions struct { // Whether node-to-node encryption is enabled. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -7000,7 +7000,7 @@ type AwsElasticsearchDomainServiceSoftwareOptions struct { AutomatedUpdateDate *string // Whether a request to update the domain can be canceled. - Cancellable bool + Cancellable *bool // The version of the service software that is currently installed on the domain. CurrentVersion *string @@ -7012,7 +7012,7 @@ type AwsElasticsearchDomainServiceSoftwareOptions struct { NewVersion *string // Whether a service software update is available for the domain. - UpdateAvailable bool + UpdateAvailable *bool // The status of the service software update. Valid values are as follows: // - COMPLETED @@ -7064,7 +7064,7 @@ type AwsElbLbCookieStickinessPolicy struct { // The amount of time, in seconds, after which the cookie is considered stale. If // an expiration period is not specified, the stickiness session lasts for the // duration of the browser session. - CookieExpirationPeriod int64 + CookieExpirationPeriod *int64 // The name of the policy. The name must be unique within the set of policies for // the load balancer. @@ -7078,10 +7078,10 @@ type AwsElbLoadBalancerAccessLog struct { // The interval in minutes for publishing the access logs. You can publish access // logs either every 5 minutes or every 60 minutes. - EmitInterval int32 + EmitInterval *int32 // Indicates whether access logs are enabled for the load balancer. - Enabled bool + Enabled *bool // The name of the S3 bucket where the access logs are stored. S3BucketName *string @@ -7140,7 +7140,7 @@ type AwsElbLoadBalancerAttributes struct { type AwsElbLoadBalancerBackendServerDescription struct { // The port on which the EC2 instance is listening. - InstancePort int32 + InstancePort *int32 // The names of the policies that are enabled for the EC2 instance. PolicyNames []string @@ -7153,11 +7153,11 @@ type AwsElbLoadBalancerBackendServerDescription struct { type AwsElbLoadBalancerConnectionDraining struct { // Indicates whether connection draining is enabled for the load balancer. - Enabled bool + Enabled *bool // The maximum time, in seconds, to keep the existing connections open before // deregistering the instances. - Timeout int32 + Timeout *int32 noSmithyDocumentSerde } @@ -7167,7 +7167,7 @@ type AwsElbLoadBalancerConnectionSettings struct { // The time, in seconds, that the connection can be idle (no data is sent over the // connection) before it is closed by the load balancer. - IdleTimeout int32 + IdleTimeout *int32 noSmithyDocumentSerde } @@ -7176,7 +7176,7 @@ type AwsElbLoadBalancerConnectionSettings struct { type AwsElbLoadBalancerCrossZoneLoadBalancing struct { // Indicates whether cross-zone load balancing is enabled for the load balancer. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -7252,11 +7252,11 @@ type AwsElbLoadBalancerHealthCheck struct { // The number of consecutive health check successes required before the instance // is moved to the Healthy state. - HealthyThreshold int32 + HealthyThreshold *int32 // The approximate interval, in seconds, between health checks of an individual // instance. - Interval int32 + Interval *int32 // The instance that is being checked. The target specifies the protocol and port. // The available protocols are TCP, SSL, HTTP, and HTTPS. The range of valid ports @@ -7268,11 +7268,11 @@ type AwsElbLoadBalancerHealthCheck struct { // The amount of time, in seconds, during which no response means a failed health // check. - Timeout int32 + Timeout *int32 // The number of consecutive health check failures that must occur before the // instance is moved to the Unhealthy state. - UnhealthyThreshold int32 + UnhealthyThreshold *int32 noSmithyDocumentSerde } @@ -7290,7 +7290,7 @@ type AwsElbLoadBalancerInstance struct { type AwsElbLoadBalancerListener struct { // The port on which the instance is listening. - InstancePort int32 + InstancePort *int32 // The protocol to use to route traffic to instances. Valid values: HTTP | HTTPS | // TCP | SSL @@ -7299,7 +7299,7 @@ type AwsElbLoadBalancerListener struct { // The port on which the load balancer is listening. On EC2-VPC, you can specify // any port from the range 1-65535. On EC2-Classic, you can specify any port from // the following list: 25, 80, 443, 465, 587, 1024-65535. - LoadBalancerPort int32 + LoadBalancerPort *int32 // The load balancer transport protocol to use for routing. Valid values: HTTP | // HTTPS | TCP | SSL @@ -7784,7 +7784,7 @@ type AwsIamAccessKeySessionContextAttributes struct { CreationDate *string // Indicates whether the session used multi-factor authentication (MFA). - MfaAuthenticated bool + MfaAuthenticated *bool noSmithyDocumentSerde } @@ -7930,7 +7930,7 @@ type AwsIamPermissionsBoundary struct { type AwsIamPolicyDetails struct { // The number of users, groups, and roles that the policy is attached to. - AttachmentCount int32 + AttachmentCount *int32 // When the policy was created. Uses the date-time format specified in RFC 3339 // section 5.6, Internet Date/Time Format (https://tools.ietf.org/html/rfc3339#section-5.6) @@ -7945,14 +7945,14 @@ type AwsIamPolicyDetails struct { Description *string // Whether the policy can be attached to a user, group, or role. - IsAttachable bool + IsAttachable *bool // The path to the policy. Path *string // The number of users and roles that use the policy to set the permissions // boundary. - PermissionsBoundaryUsageCount int32 + PermissionsBoundaryUsageCount *int32 // The unique identifier of the policy. PolicyId *string @@ -7982,7 +7982,7 @@ type AwsIamPolicyVersion struct { CreateDate *string // Whether the version is the default version. - IsDefaultVersion bool + IsDefaultVersion *bool // The identifier of the policy version. VersionId *string @@ -8010,7 +8010,7 @@ type AwsIamRoleDetails struct { // The maximum session duration (in seconds) that you want to set for the // specified role. - MaxSessionDuration int32 + MaxSessionDuration *int32 // The path to the role. Path *string @@ -8094,10 +8094,10 @@ type AwsKinesisStreamDetails struct { // The number of hours for the data records that are stored in shards to remain // accessible. - RetentionPeriodHours int32 + RetentionPeriodHours *int32 // The number of shards that the stream uses. - ShardCount int32 + ShardCount *int32 // When specified, enables or updates server-side encryption using an KMS key for // a specified stream. Removing this property from your stack template and updating @@ -8131,7 +8131,7 @@ type AwsKmsKeyDetails struct { // RFC 3339 section 5.6, Internet Date/Time Format (https://tools.ietf.org/html/rfc3339#section-5.6) // . The value cannot contain spaces, and date and time should be separated by T . // For example, 2020-03-22T13:22:13.933Z . - CreationDate float64 + CreationDate *float64 // A description of the KMS key. Description *string @@ -8144,7 +8144,7 @@ type AwsKmsKeyDetails struct { KeyManager *string // Whether the key has key rotation enabled. - KeyRotationStatus bool + KeyRotationStatus *bool // The state of the KMS key. Valid values are as follows: // - Disabled @@ -8237,7 +8237,7 @@ type AwsLambdaFunctionDetails struct { MasterArn *string // The memory that is allocated to the function. - MemorySize int32 + MemorySize *int32 // The type of deployment package that's used to deploy the function code to // Lambda. Set to Image for a container image and Zip for a .zip file archive. @@ -8253,7 +8253,7 @@ type AwsLambdaFunctionDetails struct { Runtime *string // The amount of time that Lambda allows a function to run before stopping it. - Timeout int32 + Timeout *int32 // The function's X-Ray tracing configuration. TracingConfig *AwsLambdaFunctionTracingConfig @@ -8298,7 +8298,7 @@ type AwsLambdaFunctionLayer struct { Arn *string // The size of the layer archive in bytes. - CodeSize int32 + CodeSize *int32 noSmithyDocumentSerde } @@ -8342,7 +8342,7 @@ type AwsLambdaLayerVersionDetails struct { CreatedDate *string // The version number. - Version int64 + Version *int64 noSmithyDocumentSerde } @@ -8391,7 +8391,7 @@ type AwsMskClusterClusterInfoClientAuthenticationSaslDetails struct { type AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails struct { // Indicates whether SASL/IAM authentication is enabled or not. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8400,7 +8400,7 @@ type AwsMskClusterClusterInfoClientAuthenticationSaslIamDetails struct { type AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails struct { // Indicates whether SASL/SCRAM authentication is enabled or not. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8415,7 +8415,7 @@ type AwsMskClusterClusterInfoClientAuthenticationTlsDetails struct { CertificateAuthorityArnList []string // Indicates whether TLS authentication is enabled or not. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8424,7 +8424,7 @@ type AwsMskClusterClusterInfoClientAuthenticationTlsDetails struct { type AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails struct { // Indicates whether unauthenticated is allowed or not. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8447,7 +8447,7 @@ type AwsMskClusterClusterInfoDetails struct { EncryptionInfo *AwsMskClusterClusterInfoEncryptionInfoDetails // The number of broker nodes in the cluster. - NumberOfBrokerNodes int32 + NumberOfBrokerNodes *int32 noSmithyDocumentSerde } @@ -8488,7 +8488,7 @@ type AwsMskClusterClusterInfoEncryptionInfoEncryptionInTransitDetails struct { // When set to true , it indicates that data communication among the broker nodes // of the cluster is encrypted. When set to false , the communication happens in // plain text. The default value is true . - InCluster bool + InCluster *bool noSmithyDocumentSerde } @@ -8508,7 +8508,7 @@ type AwsNetworkFirewallFirewallDetails struct { // Whether the firewall is protected from deletion. If set to true , then the // firewall cannot be deleted. - DeleteProtection bool + DeleteProtection *bool // A description of the firewall. Description *string @@ -8527,11 +8527,11 @@ type AwsNetworkFirewallFirewallDetails struct { // Whether the firewall is protected from a change to the firewall policy. If set // to true , you cannot associate a different policy with the firewall. - FirewallPolicyChangeProtection bool + FirewallPolicyChangeProtection *bool // Whether the firewall is protected from a change to the subnet associations. If // set to true , you cannot map different subnets to the firewall. - SubnetChangeProtection bool + SubnetChangeProtection *bool // The public subnets that Network Firewall uses for the firewall. Each subnet // must belong to a different Availability Zone. @@ -8581,7 +8581,7 @@ type AwsNetworkFirewallFirewallSubnetMappingsDetails struct { type AwsNetworkFirewallRuleGroupDetails struct { // The maximum number of operating resources that this rule group can use. - Capacity int32 + Capacity *int32 // A description of the rule group. Description *string @@ -8608,10 +8608,10 @@ type AwsNetworkFirewallRuleGroupDetails struct { type AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails struct { // Enables fine-grained access control. - Enabled bool + Enabled *bool // Enables the internal user database. - InternalUserDatabaseEnabled bool + InternalUserDatabaseEnabled *bool // Specifies information about the master user of the domain. MasterUserOptions *AwsOpenSearchServiceDomainMasterUserOptionsDetails @@ -8624,19 +8624,19 @@ type AwsOpenSearchServiceDomainClusterConfigDetails struct { // The number of instances to use for the master node. If this attribute is // specified, then DedicatedMasterEnabled must be true . - DedicatedMasterCount int32 + DedicatedMasterCount *int32 // Whether to use a dedicated master node for the OpenSearch domain. A dedicated // master node performs cluster management tasks, but does not hold data or respond // to data upload requests. - DedicatedMasterEnabled bool + DedicatedMasterEnabled *bool // The hardware configuration of the computer that hosts the dedicated master // node. If this attribute is specified, then DedicatedMasterEnabled must be true . DedicatedMasterType *string // The number of data nodes to use in the OpenSearch domain. - InstanceCount int32 + InstanceCount *int32 // The instance type for your data nodes. For a list of valid values, see // Supported instance types in Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html) @@ -8644,10 +8644,10 @@ type AwsOpenSearchServiceDomainClusterConfigDetails struct { InstanceType *string // The number of UltraWarm instances. - WarmCount int32 + WarmCount *int32 // Whether UltraWarm is enabled. - WarmEnabled bool + WarmEnabled *bool // The type of UltraWarm instance. WarmType *string @@ -8660,7 +8660,7 @@ type AwsOpenSearchServiceDomainClusterConfigDetails struct { // is enabled, OpenSearch Service allocates the cluster's nodes and replica index // shards across Availability Zones (AZs) in the same Region. This prevents data // loss and minimizes downtime if a node or data center fails. - ZoneAwarenessEnabled bool + ZoneAwarenessEnabled *bool noSmithyDocumentSerde } @@ -8670,7 +8670,7 @@ type AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails struct { // The number of Availability Zones that the domain uses. Valid values are 2 or 3 . // The default is 2 . - AvailabilityZoneCount int32 + AvailabilityZoneCount *int32 noSmithyDocumentSerde } @@ -8739,10 +8739,10 @@ type AwsOpenSearchServiceDomainDomainEndpointOptionsDetails struct { CustomEndpointCertificateArn *string // Whether to enable a custom endpoint for the domain. - CustomEndpointEnabled bool + CustomEndpointEnabled *bool // Whether to require that all traffic to the domain arrive over HTTPS. - EnforceHTTPS bool + EnforceHTTPS *bool // The TLS security policy to apply to the HTTPS endpoint of the OpenSearch domain. TLSSecurityPolicy *string @@ -8755,7 +8755,7 @@ type AwsOpenSearchServiceDomainDomainEndpointOptionsDetails struct { type AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails struct { // Whether encryption at rest is enabled. - Enabled bool + Enabled *bool // The KMS key ID. KmsKeyId *string @@ -8770,7 +8770,7 @@ type AwsOpenSearchServiceDomainLogPublishingOption struct { CloudWatchLogsLogGroupArn *string // Whether the log publishing is enabled. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8809,7 +8809,7 @@ type AwsOpenSearchServiceDomainMasterUserOptionsDetails struct { type AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails struct { // Whether node-to-node encryption is enabled. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -8823,7 +8823,7 @@ type AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails struct { AutomatedUpdateDate *string // Whether a request to update the domain can be canceled. - Cancellable bool + Cancellable *bool // The version of the service software that is currently installed on the domain. CurrentVersion *string @@ -8835,10 +8835,10 @@ type AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails struct { NewVersion *string // Whether the service software update is optional. - OptionalDeployment bool + OptionalDeployment *bool // Whether a service software update is available for the domain. - UpdateAvailable bool + UpdateAvailable *bool // The status of the service software update. Valid values are as follows: // - COMPLETED @@ -8893,20 +8893,20 @@ type AwsRdsDbClusterDetails struct { // For all database engines except Aurora, specifies the allocated storage size in // gibibytes (GiB). - AllocatedStorage int32 + AllocatedStorage *int32 // A list of the IAM roles that are associated with the DB cluster. AssociatedRoles []AwsRdsDbClusterAssociatedRole // Indicates if minor version upgrades are automatically applied to the cluster. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // A list of Availability Zones (AZs) where instances in the DB cluster can be // created. AvailabilityZones []string // The number of days for which automated backups are retained. - BackupRetentionPeriod int32 + BackupRetentionPeriod *int32 // Indicates when the DB cluster was created, in Universal Coordinated Time (UTC). // Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time @@ -8916,11 +8916,11 @@ type AwsRdsDbClusterDetails struct { ClusterCreateTime *string // Whether tags are copied from the DB cluster to snapshots of the DB cluster. - CopyTagsToSnapshot bool + CopyTagsToSnapshot *bool // Whether the DB cluster is a clone of a DB cluster owned by a different Amazon // Web Services account. - CrossAccountClone bool + CrossAccountClone *bool // A list of custom endpoints for the DB cluster. CustomEndpoints []string @@ -8950,7 +8950,7 @@ type AwsRdsDbClusterDetails struct { DbSubnetGroup *string // Whether the DB cluster has deletion protection enabled. - DeletionProtection bool + DeletionProtection *bool // The Active Directory domain membership records that are associated with the DB // cluster. @@ -8986,10 +8986,10 @@ type AwsRdsDbClusterDetails struct { HostedZoneId *string // Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled. - HttpEndpointEnabled bool + HttpEndpointEnabled *bool // Whether the mapping of IAM accounts to database accounts is enabled. - IamDatabaseAuthenticationEnabled bool + IamDatabaseAuthenticationEnabled *bool // The ARN of the KMS master key that is used to encrypt the database instances in // the DB cluster. @@ -8999,10 +8999,10 @@ type AwsRdsDbClusterDetails struct { MasterUsername *string // Whether the DB cluster has instances in multiple Availability Zones. - MultiAz bool + MultiAz *bool // The port number on which the DB instances in the DB cluster accept connections. - Port int32 + Port *int32 // The range of time each day when automated backups are created, if automated // backups are enabled. Uses the format HH:MM-HH:MM . For example, 04:52-05:22 . @@ -9023,7 +9023,7 @@ type AwsRdsDbClusterDetails struct { Status *string // Whether the DB cluster is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // A list of VPC security groups that the DB cluster belongs to. VpcSecurityGroups []AwsRdsDbInstanceVpcSecurityGroup @@ -9041,11 +9041,11 @@ type AwsRdsDbClusterMember struct { DbInstanceIdentifier *string // Whether the cluster member is the primary instance for the DB cluster. - IsClusterWriter bool + IsClusterWriter *bool // Specifies the order in which an Aurora replica is promoted to the primary // instance when the existing primary instance fails. - PromotionTier int32 + PromotionTier *int32 noSmithyDocumentSerde } @@ -9086,7 +9086,7 @@ type AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute struct { type AwsRdsDbClusterSnapshotDetails struct { // Specifies the allocated storage size in gibibytes (GiB). - AllocatedStorage int32 + AllocatedStorage *int32 // A list of Availability Zones where instances in the DB cluster can be created. AvailabilityZones []string @@ -9114,7 +9114,7 @@ type AwsRdsDbClusterSnapshotDetails struct { EngineVersion *string // Whether mapping of IAM accounts to database accounts is enabled. - IamDatabaseAuthenticationEnabled bool + IamDatabaseAuthenticationEnabled *bool // The ARN of the KMS master key that is used to encrypt the database instances in // the DB cluster. @@ -9127,10 +9127,10 @@ type AwsRdsDbClusterSnapshotDetails struct { MasterUsername *string // Specifies the percentage of the estimated data that has been transferred. - PercentProgress int32 + PercentProgress *int32 // The port number on which the DB instances in the DB cluster accept connections. - Port int32 + Port *int32 // Indicates when the snapshot was taken. Uses the date-time format specified in // RFC 3339 section 5.6, Internet Date/Time Format (https://tools.ietf.org/html/rfc3339#section-5.6) @@ -9145,7 +9145,7 @@ type AwsRdsDbClusterSnapshotDetails struct { Status *string // Whether the DB cluster is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // The VPC ID that is associated with the DB cluster snapshot. VpcId *string @@ -9198,19 +9198,19 @@ type AwsRdsDbInstanceAssociatedRole struct { type AwsRdsDbInstanceDetails struct { // The amount of storage (in gigabytes) to initially allocate for the DB instance. - AllocatedStorage int32 + AllocatedStorage *int32 // The IAM roles associated with the DB instance. AssociatedRoles []AwsRdsDbInstanceAssociatedRole // Indicates whether minor version patches are applied automatically. - AutoMinorVersionUpgrade bool + AutoMinorVersionUpgrade *bool // The Availability Zone where the DB instance will be created. AvailabilityZone *string // The number of days for which to retain automated backups. - BackupRetentionPeriod int32 + BackupRetentionPeriod *int32 // The identifier of the CA certificate for this DB instance. CACertificateIdentifier *string @@ -9219,7 +9219,7 @@ type AwsRdsDbInstanceDetails struct { CharacterSetName *string // Whether to copy resource tags to snapshots of the DB instance. - CopyTagsToSnapshot bool + CopyTagsToSnapshot *bool // If the DB instance is a member of a DB cluster, contains the name of the DB // cluster that the DB instance is a member of. @@ -9242,7 +9242,7 @@ type AwsRdsDbInstanceDetails struct { // Specifies the port that the DB instance listens on. If the DB instance is part // of a DB cluster, this can be a different port than the DB cluster port. - DbInstancePort int32 + DbInstancePort *int32 // The current status of the DB instance. DbInstanceStatus *string @@ -9263,7 +9263,7 @@ type AwsRdsDbInstanceDetails struct { // Indicates whether the DB instance has deletion protection enabled. When // deletion protection is enabled, the database cannot be deleted. - DeletionProtection bool + DeletionProtection *bool // The Active Directory domain membership records associated with the DB instance. DomainMemberships []AwsRdsDbDomainMembership @@ -9291,7 +9291,7 @@ type AwsRdsDbInstanceDetails struct { // - For MySQL 5.6, minor version 5.6.34 or higher // - For MySQL 5.7, minor version 5.7.16 or higher // - Aurora 5.6 or higher - IAMDatabaseAuthenticationEnabled bool + IAMDatabaseAuthenticationEnabled *bool // Indicates when the DB instance was created. Uses the date-time format specified // in RFC 3339 section 5.6, Internet Date/Time Format (https://tools.ietf.org/html/rfc3339#section-5.6) @@ -9300,7 +9300,7 @@ type AwsRdsDbInstanceDetails struct { InstanceCreateTime *string // Specifies the provisioned IOPS (I/O operations per second) for this DB instance. - Iops int32 + Iops *int32 // If StorageEncrypted is true, the KMS key identifier for the encrypted DB // instance. @@ -9324,18 +9324,18 @@ type AwsRdsDbInstanceDetails struct { // The upper limit to which Amazon RDS can automatically scale the storage of the // DB instance. - MaxAllocatedStorage int32 + MaxAllocatedStorage *int32 // The interval, in seconds, between points when enhanced monitoring metrics are // collected for the DB instance. - MonitoringInterval int32 + MonitoringInterval *int32 // The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring // metrics to CloudWatch Logs. MonitoringRoleArn *string // Whether the DB instance is a multiple Availability Zone deployment. - MultiAz bool + MultiAz *bool // The list of option group memberships for this DB instance. OptionGroupMemberships []AwsRdsDbOptionGroupMembership @@ -9344,13 +9344,13 @@ type AwsRdsDbInstanceDetails struct { PendingModifiedValues *AwsRdsDbPendingModifiedValues // Indicates whether Performance Insights is enabled for the DB instance. - PerformanceInsightsEnabled bool + PerformanceInsightsEnabled *bool // The identifier of the KMS key used to encrypt the Performance Insights data. PerformanceInsightsKmsKeyId *string // The number of days to retain Performance Insights data. - PerformanceInsightsRetentionPeriod int32 + PerformanceInsightsRetentionPeriod *int32 // The range of time each day when automated backups are created, if automated // backups are enabled. Uses the format HH:MM-HH:MM . For example, 04:52-05:22 . @@ -9367,13 +9367,13 @@ type AwsRdsDbInstanceDetails struct { // The order in which to promote an Aurora replica to the primary instance after a // failure of the existing primary instance. - PromotionTier int32 + PromotionTier *int32 // Specifies the accessibility options for the DB instance. A value of true // specifies an Internet-facing instance with a publicly resolvable DNS name, which // resolves to a public IP address. A value of false specifies an internal instance // with a DNS name that resolves to a private IP address. - PubliclyAccessible bool + PubliclyAccessible *bool // List of identifiers of Aurora DB clusters to which the RDS DB instance is // replicated as a read replica. @@ -9395,7 +9395,7 @@ type AwsRdsDbInstanceDetails struct { StatusInfos []AwsRdsDbStatusInfo // Specifies whether the DB instance is encrypted. - StorageEncrypted bool + StorageEncrypted *bool // The storage type for the DB instance. StorageType *string @@ -9423,7 +9423,7 @@ type AwsRdsDbInstanceEndpoint struct { HostedZoneId *string // Specifies the port that the database engine is listening on. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -9468,10 +9468,10 @@ type AwsRdsDbParameterGroup struct { type AwsRdsDbPendingModifiedValues struct { // The new value of the allocated storage for the DB instance. - AllocatedStorage int32 + AllocatedStorage *int32 // The new backup retention period for the DB instance. - BackupRetentionPeriod int32 + BackupRetentionPeriod *int32 // The new CA certificate identifier for the DB instance. CaCertificateIdentifier *string @@ -9489,7 +9489,7 @@ type AwsRdsDbPendingModifiedValues struct { EngineVersion *string // The new provisioned IOPS value for the DB instance. - Iops int32 + Iops *int32 // The new license model value for the DB instance. LicenseModel *string @@ -9499,13 +9499,13 @@ type AwsRdsDbPendingModifiedValues struct { // Indicates that a single Availability Zone DB instance is changing to a multiple // Availability Zone deployment. - MultiAZ bool + MultiAZ *bool // A list of log types that are being enabled or disabled. PendingCloudWatchLogsExports *AwsRdsPendingCloudWatchLogsExports // The new port for the DB instance. - Port int32 + Port *int32 // Processor features that are being updated. ProcessorFeatures []AwsRdsDbProcessorFeature @@ -9591,7 +9591,7 @@ type AwsRdsDbSnapshotDetails struct { // The amount of storage (in gigabytes) to be initially allocated for the database // instance. - AllocatedStorage int32 + AllocatedStorage *int32 // Specifies the name of the Availability Zone in which the DB instance was // located at the time of the DB snapshot. @@ -9607,7 +9607,7 @@ type AwsRdsDbSnapshotDetails struct { DbiResourceId *string // Whether the DB snapshot is encrypted. - Encrypted bool + Encrypted *bool // The name of the database engine to use for this DB instance. Valid values are // as follows: @@ -9631,7 +9631,7 @@ type AwsRdsDbSnapshotDetails struct { EngineVersion *string // Whether mapping of IAM accounts to database accounts is enabled. - IamDatabaseAuthenticationEnabled bool + IamDatabaseAuthenticationEnabled *bool // Specifies the time in Coordinated Universal Time (UTC) when the DB instance, // from which the snapshot was taken, was created. @@ -9639,7 +9639,7 @@ type AwsRdsDbSnapshotDetails struct { // The provisioned IOPS (I/O operations per second) value of the DB instance at // the time of the snapshot. - Iops int32 + Iops *int32 // If Encrypted is true , the KMS key identifier for the encrypted DB snapshot. KmsKeyId *string @@ -9654,10 +9654,10 @@ type AwsRdsDbSnapshotDetails struct { OptionGroupName *string // The percentage of the estimated data that has been transferred. - PercentProgress int32 + PercentProgress *int32 // The port that the database engine was listening on at the time of the snapshot. - Port int32 + Port *int32 // The number of CPU cores and the number of threads per core for the DB instance // class of the DB instance. @@ -9705,7 +9705,7 @@ type AwsRdsDbStatusInfo struct { Message *string // Whether the read replica instance is operating normally. - Normal bool + Normal *bool // The status of the read replica instance. Status *string @@ -9776,7 +9776,7 @@ type AwsRdsEventSubscriptionDetails struct { CustomerAwsId *string // Whether the event notification subscription is enabled. - Enabled bool + Enabled *bool // The list of event categories for the event notification subscription. EventCategoriesList []string @@ -9892,11 +9892,11 @@ type AwsRedshiftClusterClusterSnapshotCopyStatus struct { // after they are copied from a source Region. If the value is -1 , then the manual // snapshot is retained indefinitely. Valid values: Either -1 or an integer // between 1 and 3,653 - ManualSnapshotRetentionPeriod int32 + ManualSnapshotRetentionPeriod *int32 // The number of days to retain automated snapshots in the destination Region // after they are copied from a source Region. - RetentionPeriod int32 + RetentionPeriod *int32 // The name of the snapshot copy grant. SnapshotCopyGrantName *string @@ -9931,10 +9931,10 @@ type AwsRedshiftClusterDetails struct { // Indicates whether major version upgrades are applied automatically to the // cluster during the maintenance window. - AllowVersionUpgrade bool + AllowVersionUpgrade *bool // The number of days that automatic cluster snapshots are retained. - AutomatedSnapshotRetentionPeriod int32 + AutomatedSnapshotRetentionPeriod *int32 // The name of the Availability Zone in which the cluster is located. AvailabilityZone *string @@ -10009,13 +10009,13 @@ type AwsRedshiftClusterDetails struct { ElasticResizeNumberOfNodeOptions *string // Indicates whether the data in the cluster is encrypted at rest. - Encrypted bool + Encrypted *bool // The connection endpoint. Endpoint *AwsRedshiftClusterEndpoint // Indicates whether to create the cluster with enhanced VPC routing enabled. - EnhancedVpcRouting bool + EnhancedVpcRouting *bool // Indicates when the next snapshot is expected to be taken. The cluster must have // a valid snapshot schedule and have backups enabled. Uses the date-time format @@ -10050,7 +10050,7 @@ type AwsRedshiftClusterDetails struct { // snapshot is retained indefinitely. This setting doesn't change the retention // period of existing snapshots. Valid values: Either -1 or an integer between 1 // and 3,653 - ManualSnapshotRetentionPeriod int32 + ManualSnapshotRetentionPeriod *int32 // The master user name for the cluster. This name is used to connect to the // database that is specified in as the value of DBName . @@ -10066,7 +10066,7 @@ type AwsRedshiftClusterDetails struct { NodeType *string // The number of compute nodes in the cluster. - NumberOfNodes int32 + NumberOfNodes *int32 // A list of cluster operations that are waiting to start. PendingActions []string @@ -10080,7 +10080,7 @@ type AwsRedshiftClusterDetails struct { PreferredMaintenanceWindow *string // Whether the cluster can be accessed from a public network. - PubliclyAccessible bool + PubliclyAccessible *bool // Information about the resize operation for the cluster. ResizeInfo *AwsRedshiftClusterResizeInfo @@ -10125,7 +10125,7 @@ type AwsRedshiftClusterEndpoint struct { Address *string // The port that the database engine listens on. - Port int32 + Port *int32 noSmithyDocumentSerde } @@ -10187,7 +10187,7 @@ type AwsRedshiftClusterLoggingStatus struct { LastSuccessfulDeliveryTime *string // Indicates whether logging is enabled. - LoggingEnabled bool + LoggingEnabled *bool // Provides the prefix applied to the log file names. S3KeyPrefix *string @@ -10199,7 +10199,7 @@ type AwsRedshiftClusterLoggingStatus struct { type AwsRedshiftClusterPendingModifiedValues struct { // The pending or in-progress change to the automated snapshot retention period. - AutomatedSnapshotRetentionPeriod int32 + AutomatedSnapshotRetentionPeriod *int32 // The pending or in-progress change to the identifier for the cluster. ClusterIdentifier *string @@ -10214,7 +10214,7 @@ type AwsRedshiftClusterPendingModifiedValues struct { EncryptionType *string // Indicates whether to create the cluster with enhanced VPC routing enabled. - EnhancedVpcRouting bool + EnhancedVpcRouting *bool // The name of the maintenance track that the cluster changes to during the next // maintenance window. @@ -10227,11 +10227,11 @@ type AwsRedshiftClusterPendingModifiedValues struct { NodeType *string // The pending or in-progress change to the number of nodes in the cluster. - NumberOfNodes int32 + NumberOfNodes *int32 // The pending or in-progress change to whether the cluster can be connected to // from the public network. - PubliclyAccessible bool + PubliclyAccessible *bool noSmithyDocumentSerde } @@ -10240,7 +10240,7 @@ type AwsRedshiftClusterPendingModifiedValues struct { type AwsRedshiftClusterResizeInfo struct { // Indicates whether the resize operation can be canceled. - AllowCancelResize bool + AllowCancelResize *bool // The type of resize operation. Valid values: ClassicResize ResizeType *string @@ -10255,25 +10255,25 @@ type AwsRedshiftClusterRestoreStatus struct { // The number of megabytes per second being transferred from the backup storage. // Returns the average rate for a completed backup. This field is only updated when // you restore to DC2 and DS2 node types. - CurrentRestoreRateInMegaBytesPerSecond float64 + CurrentRestoreRateInMegaBytesPerSecond *float64 // The amount of time an in-progress restore has been running, or the amount of // time it took a completed restore to finish. This field is only updated when you // restore to DC2 and DS2 node types. - ElapsedTimeInSeconds int64 + ElapsedTimeInSeconds *int64 // The estimate of the time remaining before the restore is complete. Returns 0 // for a completed restore. This field is only updated when you restore to DC2 and // DS2 node types. - EstimatedTimeToCompletionInSeconds int64 + EstimatedTimeToCompletionInSeconds *int64 // The number of megabytes that were transferred from snapshot storage. This field // is only updated when you restore to DC2 and DS2 node types. - ProgressInMegaBytes int64 + ProgressInMegaBytes *int64 // The size of the set of snapshot data that was used to restore the cluster. This // field is only updated when you restore to DC2 and DS2 node types. - SnapshotSizeInMegaBytes int64 + SnapshotSizeInMegaBytes *int64 // The status of the restore action. Valid values: starting | restoring | completed // | failed @@ -10375,20 +10375,20 @@ type AwsS3AccountPublicAccessBlockDetails struct { // Indicates whether to reject calls to update an S3 bucket if the calls include a // public access control list (ACL). - BlockPublicAcls bool + BlockPublicAcls *bool // Indicates whether to reject calls to update the access policy for an S3 bucket // or access point if the policy allows public access. - BlockPublicPolicy bool + BlockPublicPolicy *bool // Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 // bucket. - IgnorePublicAcls bool + IgnorePublicAcls *bool // Indicates whether to restrict access to an access point or S3 bucket that has a // public policy to only Amazon Web Services service principals and authorized // users within the S3 bucket owner's account. - RestrictPublicBuckets bool + RestrictPublicBuckets *bool noSmithyDocumentSerde } @@ -10406,7 +10406,7 @@ type AwsS3BucketBucketLifecycleConfigurationDetails struct { type AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails struct { // The number of days after which Amazon S3 cancels an incomplete multipart upload. - DaysAfterInitiation int32 + DaysAfterInitiation *int32 noSmithyDocumentSerde } @@ -10425,13 +10425,13 @@ type AwsS3BucketBucketLifecycleConfigurationRulesDetails struct { ExpirationDate *string // The length in days of the lifetime for objects that are subject to the rule. - ExpirationInDays int32 + ExpirationInDays *int32 // Whether Amazon S3 removes a delete marker that has no noncurrent versions. If // set to true , the delete marker is expired. If set to false , the policy takes // no action. If you provide ExpiredObjectDeleteMarker , you cannot provide // ExpirationInDays or ExpirationDate . - ExpiredObjectDeleteMarker bool + ExpiredObjectDeleteMarker *bool // Identifies the objects that a rule applies to. Filter *AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails @@ -10441,7 +10441,7 @@ type AwsS3BucketBucketLifecycleConfigurationRulesDetails struct { // The number of days that an object is noncurrent before Amazon S3 can perform // the associated action. - NoncurrentVersionExpirationInDays int32 + NoncurrentVersionExpirationInDays *int32 // Transition rules that describe when noncurrent objects transition to a // specified storage class. @@ -10535,7 +10535,7 @@ type AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDet // The number of days that an object is noncurrent before Amazon S3 can perform // the associated action. - Days int32 + Days *int32 // The class of storage to change the object to after the object is noncurrent for // the specified number of days. @@ -10556,7 +10556,7 @@ type AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails struct { // The number of days after which to transition the object to the specified // storage class. If you provide Days , you cannot provide Date . - Days int32 + Days *int32 // The storage class to transition the object to. Valid values are as follows: // - DEEP_ARCHIVE @@ -10575,7 +10575,7 @@ type AwsS3BucketBucketVersioningConfiguration struct { // Specifies whether MFA delete is currently enabled in the S3 bucket versioning // configuration. If the S3 bucket was never configured with MFA delete, then this // attribute is not included. - IsMfaDeleteEnabled bool + IsMfaDeleteEnabled *bool // The versioning status of the S3 bucket. Valid values are Enabled or Suspended . Status *string @@ -10730,14 +10730,14 @@ type AwsS3BucketObjectLockConfiguration struct { type AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails struct { // The number of days that you want to specify for the default retention period. - Days int32 + Days *int32 // The default Object Lock retention mode you want to apply to new objects placed // in the specified bucket. Mode *string // The number of years that you want to specify for the default retention period. - Years int32 + Years *int32 noSmithyDocumentSerde } @@ -10983,7 +10983,7 @@ type AwsSageMakerNotebookInstanceDetails struct { Url *string // The size, in GB, of the ML storage volume to attach to the notebook instance. - VolumeSizeInGB int32 + VolumeSizeInGB *int32 noSmithyDocumentSerde } @@ -11002,7 +11002,7 @@ type AwsSageMakerNotebookInstanceMetadataServiceConfigurationDetails struct { type AwsSecretsManagerSecretDetails struct { // Whether the secret is deleted. - Deleted bool + Deleted *bool // The user-provided description of the secret. Description *string @@ -11015,13 +11015,13 @@ type AwsSecretsManagerSecretDetails struct { Name *string // Whether rotation is enabled. - RotationEnabled bool + RotationEnabled *bool // The ARN of the Lambda function that rotates the secret. RotationLambdaArn *string // Whether the rotation occurred within the specified rotation frequency. - RotationOccurredWithinFrequency bool + RotationOccurredWithinFrequency *bool // Defines the rotation schedule for the secret. RotationRules *AwsSecretsManagerSecretRotationRules @@ -11033,7 +11033,7 @@ type AwsSecretsManagerSecretDetails struct { type AwsSecretsManagerSecretRotationRules struct { // The number of days after the previous rotation to rotate the secret. - AutomaticallyAfterDays int32 + AutomaticallyAfterDays *int32 noSmithyDocumentSerde } @@ -11128,12 +11128,12 @@ type AwsSecurityFinding struct { // accurately identifies the behavior or issue that it was intended to identify. // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero // percent confidence and 100 means 100 percent confidence. - Confidence int32 + Confidence *int32 // The level of importance assigned to the resources associated with the finding. // A score of 0 means that the underlying resources have no criticality, and a // score of 100 is reserved for the most critical resources. - Criticality int32 + Criticality *int32 // In a BatchImportFindings request, finding providers use FindingProviderFields // to provide and update their own values for confidence, criticality, related @@ -11210,7 +11210,7 @@ type AwsSecurityFinding struct { Remediation *Remediation // Indicates whether the finding is a sample finding. - Sample bool + Sample *bool // A finding's severity. Severity *Severity @@ -11748,7 +11748,7 @@ type AwsSqsQueueDetails struct { // The length of time, in seconds, for which Amazon SQS can reuse a data key to // encrypt or decrypt messages before calling KMS again. - KmsDataKeyReusePeriodSeconds int32 + KmsDataKeyReusePeriodSeconds *int32 // The ID of an Amazon Web Services managed key for Amazon SQS or a custom KMS key. KmsMasterKeyId *string @@ -11767,49 +11767,49 @@ type AwsSsmComplianceSummary struct { ComplianceType *string // For the patches that are compliant, the number that have a severity of CRITICAL . - CompliantCriticalCount int32 + CompliantCriticalCount *int32 // For the patches that are compliant, the number that have a severity of HIGH . - CompliantHighCount int32 + CompliantHighCount *int32 // For the patches that are compliant, the number that have a severity of // INFORMATIONAL . - CompliantInformationalCount int32 + CompliantInformationalCount *int32 // For the patches that are compliant, the number that have a severity of LOW . - CompliantLowCount int32 + CompliantLowCount *int32 // For the patches that are compliant, the number that have a severity of MEDIUM . - CompliantMediumCount int32 + CompliantMediumCount *int32 // For the patches that are compliant, the number that have a severity of // UNSPECIFIED . - CompliantUnspecifiedCount int32 + CompliantUnspecifiedCount *int32 // The type of execution that was used determine compliance. ExecutionType *string // For the patch items that are noncompliant, the number of items that have a // severity of CRITICAL . - NonCompliantCriticalCount int32 + NonCompliantCriticalCount *int32 // For the patches that are noncompliant, the number that have a severity of HIGH . - NonCompliantHighCount int32 + NonCompliantHighCount *int32 // For the patches that are noncompliant, the number that have a severity of // INFORMATIONAL . - NonCompliantInformationalCount int32 + NonCompliantInformationalCount *int32 // For the patches that are noncompliant, the number that have a severity of LOW . - NonCompliantLowCount int32 + NonCompliantLowCount *int32 // For the patches that are noncompliant, the number that have a severity of MEDIUM // . - NonCompliantMediumCount int32 + NonCompliantMediumCount *int32 // For the patches that are noncompliant, the number that have a severity of // UNSPECIFIED . - NonCompliantUnspecifiedCount int32 + NonCompliantUnspecifiedCount *int32 // The highest severity for the patches. Valid values are as follows: // - CRITICAL @@ -11924,7 +11924,7 @@ type AwsStepFunctionStateMachineLoggingConfigurationDetails struct { // Determines whether execution data is included in your log. When set to false, // data is excluded. - IncludeExecutionData bool + IncludeExecutionData *bool // Defines which category of execution history events are logged. Level *string @@ -11936,7 +11936,7 @@ type AwsStepFunctionStateMachineLoggingConfigurationDetails struct { type AwsStepFunctionStateMachineTracingConfigurationDetails struct { // When set to true, X-Ray tracing is enabled. - Enabled bool + Enabled *bool noSmithyDocumentSerde } @@ -11964,7 +11964,7 @@ type AwsWafRateBasedRuleDetails struct { // specified in RateKey that are allowed within a five-minute period. If the // number of requests exceeds RateLimit and the other predicates specified in the // rule are met, WAF triggers the action for the rule. - RateLimit int64 + RateLimit *int64 // The unique identifier for the rate-based rule. RuleId *string @@ -11982,7 +11982,7 @@ type AwsWafRateBasedRuleMatchPredicate struct { // If set to true , then the rule actions are performed on requests that match the // predicate settings. If set to false , then the rule actions are performed on all // requests except those that match the predicate settings. - Negated bool + Negated *bool // The type of predicate. Valid values are as follows: // - ByteMatch @@ -12020,7 +12020,7 @@ type AwsWafRegionalRateBasedRuleDetails struct { // specified in RateKey that are allowed within a five-minute period. If the // number of requests exceeds RateLimit and the other predicates specified in the // rule are met, WAF triggers the action for the rule. - RateLimit int64 + RateLimit *int64 // The unique identifier for the rate-based rule. RuleId *string @@ -12038,7 +12038,7 @@ type AwsWafRegionalRateBasedRuleMatchPredicate struct { // If set to true , then the rule actions are performed on requests that match the // predicate settings. If set to false , then the rule actions are performed on all // requests except those that match the predicate settings. - Negated bool + Negated *bool // The type of predicate. Valid values are as follows: // - ByteMatch @@ -12117,7 +12117,7 @@ type AwsWafRegionalRuleGroupRulesDetails struct { // If you define more than one rule in a web ACL, WAF evaluates each request // against the rules in order based on the value of Priority . - Priority int32 + Priority *int32 // The ID for a rule. RuleId *string @@ -12141,7 +12141,7 @@ type AwsWafRegionalRulePredicateListDetails struct { // Specifies if you want WAF to allow, block, or count requests based on the // settings in the ByteMatchSet , IPSet , SqlInjectionMatchSet , XssMatchSet , // RegexMatchSet , GeoMatchSet , or SizeConstraintSet . - Negated bool + Negated *bool // The type of predicate in a rule, such as ByteMatch or IPSet . Type *string @@ -12196,7 +12196,7 @@ type AwsWafRegionalWebAclRulesListDetails struct { OverrideAction *AwsWafRegionalWebAclRulesListOverrideActionDetails // The order in which WAF evaluates the rules in a web ACL. - Priority int32 + Priority *int32 // The ID of an WAF Regional rule to associate with a web ACL. RuleId *string @@ -12281,7 +12281,7 @@ type AwsWafRuleGroupRulesDetails struct { // If you define more than one rule in a web ACL, WAF evaluates each request // against the rules in order based on the value of Priority . - Priority int32 + Priority *int32 // The rule ID for a rule. RuleId *string @@ -12305,7 +12305,7 @@ type AwsWafRulePredicateListDetails struct { // Specifies if you want WAF to allow, block, or count requests based on the // settings in the ByteMatchSet , IPSet , SqlInjectionMatchSet , XssMatchSet , // RegexMatchSet , GeoMatchSet , or SizeConstraintSet . - Negated bool + Negated *bool // The type of predicate in a rule, such as ByteMatch or IPSet . Type *string @@ -12373,7 +12373,7 @@ type AwsWafv2CustomResponseDetails struct { // you can use in your custom responses, see Supported status codes for custom // response (https://docs.aws.amazon.com/waf/latest/developerguide/customizing-the-response-status-codes.html) // in the WAF Developer Guide. - ResponseCode int32 + ResponseCode *int32 // The HTTP headers to use in the response. ResponseHeaders []AwsWafv2CustomHttpHeader @@ -12388,7 +12388,7 @@ type AwsWafv2RuleGroupDetails struct { Arn *string // The web ACL capacity units (WCUs) required for this rule group. - Capacity int64 + Capacity *int64 // A description of the rule group that helps with identification. Description *string @@ -12481,7 +12481,7 @@ type AwsWafv2RulesDetails struct { // against the Rules in order based on the value of Priority . WAF processes rules // with lower priority first. The priorities don't need to be consecutive, but they // must all be different. - Priority int32 + Priority *int32 // Defines and enables Amazon CloudWatch metrics and web request sample collection. VisibilityConfig *AwsWafv2VisibilityConfigDetails @@ -12495,14 +12495,14 @@ type AwsWafv2VisibilityConfigDetails struct { // A boolean indicating whether the associated resource sends metrics to Amazon // CloudWatch. For the list of available metrics, see WAF metrics and dimensions (https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics) // in the WAF Developer Guide. - CloudWatchMetricsEnabled bool + CloudWatchMetricsEnabled *bool // A name of the Amazon CloudWatch metric. MetricName *string // A boolean indicating whether WAF should store a sampling of the web requests // that match the rules. You can view the sampled requests through the WAF console. - SampledRequestsEnabled bool + SampledRequestsEnabled *bool noSmithyDocumentSerde } @@ -12538,7 +12538,7 @@ type AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails struct { // The amount of time, in seconds, that a CAPTCHA or challenge timestamp is // considered valid by WAF. - ImmunityTime int64 + ImmunityTime *int64 noSmithyDocumentSerde } @@ -12551,7 +12551,7 @@ type AwsWafv2WebAclDetails struct { Arn *string // The web ACL capacity units (WCUs) currently being used by this web ACL. - Capacity int64 + Capacity *int64 // Specifies how WAF should handle CAPTCHA evaluations for rules that don't have // their own CaptchaConfig settings. @@ -12567,7 +12567,7 @@ type AwsWafv2WebAclDetails struct { Id *string // Indicates whether this web ACL is managed by Firewall Manager. - ManagedbyFirewallManager bool + ManagedbyFirewallManager *bool // The name of the web ACL. Name *string @@ -12630,7 +12630,7 @@ type AwsWafWebAclRule struct { // lower value for Priority are evaluated before rules with a higher value. The // value must be a unique integer. If you add multiple rules to a web ACL, the // values do not need to be consecutive. - Priority int32 + Priority *int32 // The identifier for a rule. RuleId *string @@ -12709,7 +12709,7 @@ type BatchUpdateFindingsUnprocessedFinding struct { type BooleanFilter struct { // The value of the boolean. - Value bool + Value *bool noSmithyDocumentSerde } @@ -12727,13 +12727,13 @@ type Cell struct { // workbook, the column number corresponds to the alphabetical column identifiers. // For example, a value of 1 for Column corresponds to the A column in the // workbook. - Column int64 + Column *int64 // The name of the column that contains the data. ColumnName *string // The row number of the row that contains the data. - Row int64 + Row *int64 noSmithyDocumentSerde } @@ -12768,7 +12768,7 @@ type ClassificationResult struct { // Indicates whether there are additional occurrences of sensitive data that are // not included in the finding. This occurs when the number of occurrences exceeds // the maximum that can be included. - AdditionalOccurrences bool + AdditionalOccurrences *bool // Provides details about sensitive data that was identified based on // customer-defined configuration. @@ -12782,7 +12782,7 @@ type ClassificationResult struct { SensitiveData []SensitiveDataResult // The total size in bytes of the affected data. - SizeClassified int64 + SizeClassified *int64 // The current status of the sensitive data detection. Status *ClassificationStatus @@ -12823,7 +12823,7 @@ type CloudWatchLogsLogGroupArnConfigDetails struct { type CodeVulnerabilitiesFilePath struct { // The line number of the last line of code in which the vulnerability is located. - EndLine int32 + EndLine *int32 // The name of the file in which the code vulnerability is located. FileName *string @@ -12832,7 +12832,7 @@ type CodeVulnerabilitiesFilePath struct { FilePath *string // The line number of the first line of code in which the vulnerability is located. - StartLine int32 + StartLine *int32 noSmithyDocumentSerde } @@ -12896,7 +12896,7 @@ type ContainerDetails struct { // When this parameter is true , the container is given elevated privileges on the // host container instance (similar to the root user). - Privileged bool + Privileged *bool // Provides information about the mounting of a volume in a container. VolumeMounts []VolumeMount @@ -12923,7 +12923,7 @@ type CustomDataIdentifiersDetections struct { Arn *string // The total number of occurrences of sensitive data that were detected. - Count int64 + Count *int64 // he name of the custom identifier that detected the sensitive data. Name *string @@ -12942,7 +12942,7 @@ type CustomDataIdentifiersResult struct { Detections []CustomDataIdentifiersDetections // The total number of occurrences of sensitive data. - TotalCount int64 + TotalCount *int64 noSmithyDocumentSerde } @@ -12954,7 +12954,7 @@ type Cvss struct { Adjustments []Adjustment // The base CVSS score. - BaseScore float64 + BaseScore *float64 // The base scoring vector for the CVSS score. BaseVector *string @@ -13010,7 +13010,7 @@ type DateRange struct { Unit DateRangeUnit // A date range value for the date filter. - Value int32 + Value *int32 noSmithyDocumentSerde } @@ -13020,7 +13020,7 @@ type DateRange struct { type DnsRequestAction struct { // Indicates whether the DNS request was blocked. - Blocked bool + Blocked *bool // The DNS domain that is associated with the DNS request. Domain *string @@ -13067,7 +13067,7 @@ type FindingHistoryRecord struct { // Identifies whether the event marks the creation of a new finding. A value of // True means that the finding is newly created. A value of False means that the // finding isn’t newly created. - FindingCreated bool + FindingCreated *bool // Identifies which finding to get the finding history for. FindingIdentifier *AwsSecurityFindingIdentifier @@ -13148,12 +13148,12 @@ type FindingProviderFields struct { // accurately identifies the behavior or issue that it was intended to identify. // Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero // percent confidence and 100 means 100 percent confidence. - Confidence int32 + Confidence *int32 // The level of importance assigned to the resources associated with the finding. // A score of 0 means that the underlying resources have no criticality, and a // score of 100 is reserved for the most critical resources. - Criticality int32 + Criticality *int32 // A list of findings that are related to the current finding. RelatedFindings []RelatedFinding @@ -13234,7 +13234,7 @@ type FirewallPolicyStatelessCustomActionsDetails struct { type FirewallPolicyStatelessRuleGroupReferencesDetails struct { // The order in which to run the stateless rule group. - Priority int32 + Priority *int32 // The ARN of the stateless rule group. ResourceArn *string @@ -13265,10 +13265,10 @@ type GeneratorDetails struct { type GeoLocation struct { // The latitude of the location. - Lat float64 + Lat *float64 // The longitude of the location. - Lon float64 + Lon *float64 noSmithyDocumentSerde } @@ -13278,11 +13278,11 @@ type IcmpTypeCode struct { // The ICMP code for which to deny or allow access. To deny or allow all codes, // use the value -1 . - Code int32 + Code *int32 // The ICMP type for which to deny or allow access. To deny or allow all types, // use the value -1 . - Type int32 + Type *int32 noSmithyDocumentSerde } @@ -13368,7 +13368,7 @@ type InsightResultValue struct { // The number of findings returned for each GroupByAttributeValue . // // This member is required. - Count int32 + Count *int32 // The value of the attribute that the findings are grouped by for the insight // whose results are returned by the GetInsightResults operation. @@ -13412,7 +13412,7 @@ type IpFilter struct { type IpOrganizationDetails struct { // The Autonomous System Number (ASN) of the internet provider - Asn int32 + Asn *int32 // The name of the organization that registered the ASN. AsnOrg *string @@ -13604,7 +13604,7 @@ type Network struct { DestinationIpV6 *string // The destination port of network-related information about a finding. - DestinationPort int32 + DestinationPort *int32 // The direction of network traffic associated with a finding. Direction NetworkDirection @@ -13629,7 +13629,7 @@ type Network struct { SourceMac *string // The source port of network-related information about a finding. - SourcePort int32 + SourcePort *int32 noSmithyDocumentSerde } @@ -13639,7 +13639,7 @@ type Network struct { type NetworkConnectionAction struct { // Indicates whether the network connection attempt was blocked. - Blocked bool + Blocked *bool // The direction of the network connection request ( IN or OUT ). ConnectionDirection *string @@ -13753,15 +13753,15 @@ type NumberFilter struct { // The equal-to condition to be applied to a single field when querying for // findings. - Eq float64 + Eq *float64 // The greater-than-equal condition to be applied to a single field when querying // for findings. - Gte float64 + Gte *float64 // The less-than-equal condition to be applied to a single field when querying for // findings. - Lte float64 + Lte *float64 noSmithyDocumentSerde } @@ -13803,7 +13803,7 @@ type Page struct { OffsetRange *Range // The page number of the page that contains the sensitive data. - PageNumber int64 + PageNumber *int64 noSmithyDocumentSerde } @@ -13819,26 +13819,26 @@ type PatchSummary struct { Id *string // The number of patches from the compliance standard that failed to install. - FailedCount int32 + FailedCount *int32 // The number of patches from the compliance standard that were installed // successfully. - InstalledCount int32 + InstalledCount *int32 // The number of installed patches that are not part of the compliance standard. - InstalledOtherCount int32 + InstalledOtherCount *int32 // The number of patches that were applied, but that require the instance to be // rebooted in order to be marked as installed. - InstalledPendingReboot int32 + InstalledPendingReboot *int32 // The number of patches that are installed but are also on a list of patches that // the customer rejected. - InstalledRejectedCount int32 + InstalledRejectedCount *int32 // The number of patches that are part of the compliance standard but are not // installed. The count includes patches that failed to install. - MissingCount int32 + MissingCount *int32 // The type of patch operation performed. For Patch Manager, the values are SCAN // and INSTALL . @@ -13867,7 +13867,7 @@ type PatchSummary struct { type PortProbeAction struct { // Indicates whether the port probe was blocked. - Blocked bool + Blocked *bool // Information about the ports affected by the port probe. PortProbeDetails []PortProbeDetail @@ -13896,10 +13896,10 @@ type PortProbeDetail struct { type PortRange struct { // The first port in the port range. - Begin int32 + Begin *int32 // The last port in the port range. - End int32 + End *int32 noSmithyDocumentSerde } @@ -13908,10 +13908,10 @@ type PortRange struct { type PortRangeFromTo struct { // The first port in the port range. - From int32 + From *int32 // The last port in the port range. - To int32 + To *int32 noSmithyDocumentSerde } @@ -13930,13 +13930,13 @@ type ProcessDetails struct { // The parent process ID. This field accepts positive integers between O and // 2147483647 . - ParentPid int32 + ParentPid *int32 // The path to the process executable. Path *string // The process ID. - Pid int32 + Pid *int32 // Indicates when the process was terminated. Uses the date-time format specified // in RFC 3339 section 5.6, Internet Date/Time Format (https://tools.ietf.org/html/rfc3339#section-5.6) @@ -14008,15 +14008,15 @@ type Range struct { // The number of lines (for a line range) or characters (for an offset range) from // the beginning of the file to the end of the sensitive data. - End int64 + End *int64 // The number of lines (for a line range) or characters (for an offset range) from // the beginning of the file to the end of the sensitive data. - Start int64 + Start *int64 // In the line where the sensitive data starts, the column within the line where // the sensitive data starts. - StartColumn int64 + StartColumn *int64 noSmithyDocumentSerde } @@ -14045,7 +14045,7 @@ type Record struct { JsonPath *string // The record index, starting from 0, for the record that contains the data. - RecordIndex int64 + RecordIndex *int64 noSmithyDocumentSerde } @@ -14697,10 +14697,10 @@ type RuleGroupSourceStatelessRuleMatchAttributes struct { type RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts struct { // The starting port value for the port range. - FromPort int32 + FromPort *int32 // The ending port value for the port range. - ToPort int32 + ToPort *int32 noSmithyDocumentSerde } @@ -14718,10 +14718,10 @@ type RuleGroupSourceStatelessRuleMatchAttributesDestinations struct { type RuleGroupSourceStatelessRuleMatchAttributesSourcePorts struct { // The starting port value for the port range. - FromPort int32 + FromPort *int32 // The ending port value for the port range. - ToPort int32 + ToPort *int32 noSmithyDocumentSerde } @@ -14767,7 +14767,7 @@ type RuleGroupSourceStatelessRulesDetails struct { // Indicates the order in which to run this rule relative to all of the rules in // the stateless rule group. - Priority int32 + Priority *int32 // Provides the definition of the stateless rule. RuleDefinition *RuleGroupSourceStatelessRuleDefinition @@ -14911,7 +14911,7 @@ type SecurityControlDefinition struct { type SensitiveDataDetections struct { // The total number of occurrences of sensitive data that were detected. - Count int64 + Count *int64 // Details about the sensitive data that was detected. Occurrences *Occurrences @@ -14936,7 +14936,7 @@ type SensitiveDataResult struct { Detections []SensitiveDataDetections // The total number of occurrences of sensitive data. - TotalCount int64 + TotalCount *int64 noSmithyDocumentSerde } @@ -14973,7 +14973,7 @@ type Severity struct { // - MEDIUM - 40 // - HIGH - 70 // - CRITICAL - 90 - Normalized int32 + Normalized *int32 // The native severity from the finding product that generated the finding. Original *string @@ -14981,7 +14981,7 @@ type Severity struct { // Deprecated. This attribute is being deprecated. Instead of providing Product , // provide Original . The native severity as defined by the Amazon Web Services // service or integrated partner product that generated the finding. - Product float64 + Product *float64 noSmithyDocumentSerde } @@ -15005,11 +15005,11 @@ type SeverityUpdate struct { // - 40–69 - MEDIUM // - 70–89 - HIGH // - 90–100 - CRITICAL - Normalized int32 + Normalized *int32 // The native severity as defined by the Amazon Web Services service or integrated // partner product that generated the finding. - Product float64 + Product *float64 noSmithyDocumentSerde } @@ -15078,7 +15078,7 @@ type Standard struct { // standard is selected by default. When Security Hub is enabled using the // EnableSecurityHub API operation, the standard is enabled by default unless // EnableDefaultStandards is set to false . - EnabledByDefault bool + EnabledByDefault *bool // The name of the standard. Name *string @@ -15484,7 +15484,7 @@ type Threat struct { FilePaths []FilePaths // This total number of items in which the threat has been detected. - ItemCount int32 + ItemCount *int32 // The name of the threat. Name *string @@ -15529,7 +15529,7 @@ type ThreatIntelIndicator struct { type UnprocessedAutomationRule struct { // The error code associated with the unprocessed automation rule. - ErrorCode int32 + ErrorCode *int32 // An error message describing why a request didn't process a specific rule. ErrorMessage *string @@ -15639,7 +15639,7 @@ type UpdateAutomationRulesRequestItem struct { // terminal, Security Hub applies the rule action to a finding that matches the // rule criteria and doesn't evaluate other rules for the finding. By default, a // rule isn't terminal. - IsTerminal bool + IsTerminal *bool // The name of the rule. RuleName *string @@ -15647,7 +15647,7 @@ type UpdateAutomationRulesRequestItem struct { // An integer ranging from 1 to 1000 that represents the order in which the rule // action is applied to findings. Security Hub applies rules with lower values for // this parameter first. - RuleOrder int32 + RuleOrder *int32 // Whether the rule is active after it is created. If this parameter is equal to // ENABLED , Security Hub starts applying the rule to findings and finding updates @@ -15695,15 +15695,15 @@ type VpcInfoPeeringOptionsDetails struct { // Indicates whether a local VPC can resolve public DNS hostnames to private IP // addresses when queried from instances in a peer VPC. - AllowDnsResolutionFromRemoteVpc bool + AllowDnsResolutionFromRemoteVpc *bool // Indicates whether a local ClassicLink connection can communicate with the peer // VPC over the VPC peering connection. - AllowEgressFromLocalClassicLinkToRemoteVpc bool + AllowEgressFromLocalClassicLinkToRemoteVpc *bool // Indicates whether a local VPC can communicate with a ClassicLink connection in // the peer VPC over the VPC peering connection. - AllowEgressFromLocalVpcToRemoteClassicLink bool + AllowEgressFromLocalVpcToRemoteClassicLink *bool noSmithyDocumentSerde } @@ -15724,7 +15724,7 @@ type Vulnerability struct { Cvss []Cvss // The Exploit Prediction Scoring System (EPSS) score for a finding. - EpssScore float64 + EpssScore *float64 // Whether an exploit is available for a finding. ExploitAvailable VulnerabilityExploitAvailable diff --git a/service/securityhub/validators.go b/service/securityhub/validators.go index 2f47902e560..c6764807bbf 100644 --- a/service/securityhub/validators.go +++ b/service/securityhub/validators.go @@ -1949,6 +1949,9 @@ func validateOpCreateAutomationRuleInput(v *CreateAutomationRuleInput) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "CreateAutomationRuleInput"} + if v.RuleOrder == nil { + invalidParams.Add(smithy.NewErrParamRequired("RuleOrder")) + } if v.RuleName == nil { invalidParams.Add(smithy.NewErrParamRequired("RuleName")) } @@ -2425,6 +2428,9 @@ func validateOpUpdateOrganizationConfigurationInput(v *UpdateOrganizationConfigu return nil } invalidParams := smithy.InvalidParamsError{Context: "UpdateOrganizationConfigurationInput"} + if v.AutoEnable == nil { + invalidParams.Add(smithy.NewErrParamRequired("AutoEnable")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/serverlessapplicationrepository/endpoints.go b/service/serverlessapplicationrepository/endpoints.go index f32e14920f1..78e94a1a726 100644 --- a/service/serverlessapplicationrepository/endpoints.go +++ b/service/serverlessapplicationrepository/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://serverlessrepo.") diff --git a/service/servicecatalogappregistry/endpoints.go b/service/servicecatalogappregistry/endpoints.go index 1b234b0638c..47a440ff268 100644 --- a/service/servicecatalogappregistry/endpoints.go +++ b/service/servicecatalogappregistry/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://servicecatalog-appregistry.") diff --git a/service/ssm/api_op_CreateMaintenanceWindow.go b/service/ssm/api_op_CreateMaintenanceWindow.go index b485a90367c..5e1a3eb7b30 100644 --- a/service/ssm/api_op_CreateMaintenanceWindow.go +++ b/service/ssm/api_op_CreateMaintenanceWindow.go @@ -59,7 +59,7 @@ type CreateMaintenanceWindowInput struct { // The duration of the maintenance window in hours. // // This member is required. - Duration int32 + Duration *int32 // The name of the maintenance window. // diff --git a/service/ssm/api_op_GetMaintenanceWindow.go b/service/ssm/api_op_GetMaintenanceWindow.go index 371ae17aab3..33005c0a1a8 100644 --- a/service/ssm/api_op_GetMaintenanceWindow.go +++ b/service/ssm/api_op_GetMaintenanceWindow.go @@ -59,7 +59,7 @@ type GetMaintenanceWindowOutput struct { Description *string // The duration of the maintenance window in hours. - Duration int32 + Duration *int32 // Indicates whether the maintenance window is enabled. Enabled bool diff --git a/service/ssm/api_op_UpdateMaintenanceWindow.go b/service/ssm/api_op_UpdateMaintenanceWindow.go index 3b75c0cd964..4269fc2ca28 100644 --- a/service/ssm/api_op_UpdateMaintenanceWindow.go +++ b/service/ssm/api_op_UpdateMaintenanceWindow.go @@ -112,7 +112,7 @@ type UpdateMaintenanceWindowOutput struct { Description *string // The duration of the maintenance window in hours. - Duration int32 + Duration *int32 // Whether the maintenance window is enabled. Enabled bool diff --git a/service/ssm/deserializers.go b/service/ssm/deserializers.go index 4f7fbe78a55..251043ef58f 100644 --- a/service/ssm/deserializers.go +++ b/service/ssm/deserializers.go @@ -21365,7 +21365,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte if err != nil { return err } - sv.RegistrationLimit = int32(i64) + sv.RegistrationLimit = ptr.Int32(int32(i64)) } case "RegistrationsCount": @@ -21378,7 +21378,7 @@ func awsAwsjson11_deserializeDocumentActivation(v **types.Activation, value inte if err != nil { return err } - sv.RegistrationsCount = int32(i64) + sv.RegistrationsCount = ptr.Int32(int32(i64)) } case "Tags": @@ -24608,7 +24608,7 @@ func awsAwsjson11_deserializeDocumentCommand(v **types.Command, value interface{ if err != nil { return err } - sv.TimeoutSeconds = int32(i64) + sv.TimeoutSeconds = ptr.Int32(int32(i64)) } case "TriggeredAlarms": @@ -32229,7 +32229,7 @@ func awsAwsjson11_deserializeDocumentMaintenanceWindowIdentity(v **types.Mainten if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case "Enabled": @@ -45403,7 +45403,7 @@ func awsAwsjson11_deserializeOpDocumentGetMaintenanceWindowOutput(v **GetMainten if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case "Enabled": @@ -48179,7 +48179,7 @@ func awsAwsjson11_deserializeOpDocumentUpdateMaintenanceWindowOutput(v **UpdateM if err != nil { return err } - sv.Duration = int32(i64) + sv.Duration = ptr.Int32(int32(i64)) } case "Enabled": diff --git a/service/ssm/serializers.go b/service/ssm/serializers.go index fb7c3f338d9..9e3ab94651e 100644 --- a/service/ssm/serializers.go +++ b/service/ssm/serializers.go @@ -10994,9 +10994,9 @@ func awsAwsjson11_serializeOpDocumentCreateMaintenanceWindowInput(v *CreateMaint ok.String(*v.Description) } - { + if v.Duration != nil { ok := object.Key("Duration") - ok.Integer(v.Duration) + ok.Integer(*v.Duration) } if v.EndDate != nil { diff --git a/service/ssm/types/types.go b/service/ssm/types/types.go index e78c955d064..0cdc892e957 100644 --- a/service/ssm/types/types.go +++ b/service/ssm/types/types.go @@ -49,10 +49,10 @@ type Activation struct { // The maximum number of managed nodes that can be registered using this // activation. - RegistrationLimit int32 + RegistrationLimit *int32 // The number of managed nodes already registered with this activation. - RegistrationsCount int32 + RegistrationsCount *int32 // Tags assigned to the activation. Tags []Tag @@ -1056,7 +1056,7 @@ type Command struct { Targets []Target // The TimeoutSeconds value specified for a command. - TimeoutSeconds int32 + TimeoutSeconds *int32 // The CloudWatch alarm that was invoked by the command. TriggeredAlarms []AlarmStateInformation @@ -2922,7 +2922,7 @@ type MaintenanceWindowIdentity struct { Description *string // The duration of the maintenance window in hours. - Duration int32 + Duration *int32 // Indicates whether the maintenance window is enabled. Enabled bool diff --git a/service/ssm/validators.go b/service/ssm/validators.go index b9109b79914..37cb33aafb2 100644 --- a/service/ssm/validators.go +++ b/service/ssm/validators.go @@ -4709,6 +4709,9 @@ func validateOpCreateMaintenanceWindowInput(v *CreateMaintenanceWindowInput) err if v.Schedule == nil { invalidParams.Add(smithy.NewErrParamRequired("Schedule")) } + if v.Duration == nil { + invalidParams.Add(smithy.NewErrParamRequired("Duration")) + } if v.Tags != nil { if err := validateTagList(v.Tags); err != nil { invalidParams.AddNested("Tags", err.(smithy.InvalidParamsError)) diff --git a/service/timestreamwrite/deserializers.go b/service/timestreamwrite/deserializers.go index fd1c866f2d0..1acff1da6ee 100644 --- a/service/timestreamwrite/deserializers.go +++ b/service/timestreamwrite/deserializers.go @@ -4702,7 +4702,7 @@ func awsAwsjson10_deserializeDocumentRetentionProperties(v **types.RetentionProp if err != nil { return err } - sv.MagneticStoreRetentionPeriodInDays = i64 + sv.MagneticStoreRetentionPeriodInDays = ptr.Int64(i64) } case "MemoryStoreRetentionPeriodInHours": @@ -4715,7 +4715,7 @@ func awsAwsjson10_deserializeDocumentRetentionProperties(v **types.RetentionProp if err != nil { return err } - sv.MemoryStoreRetentionPeriodInHours = i64 + sv.MemoryStoreRetentionPeriodInHours = ptr.Int64(i64) } default: diff --git a/service/timestreamwrite/endpoints.go b/service/timestreamwrite/endpoints.go index 20ac3ff1610..0842e55ba03 100644 --- a/service/timestreamwrite/endpoints.go +++ b/service/timestreamwrite/endpoints.go @@ -410,8 +410,8 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { - if "aws-us-gov" == _PartitionResult.Name { + if _PartitionResult.SupportsFIPS == true { + if _PartitionResult.Name == "aws-us-gov" { uriString := func() string { var out strings.Builder out.WriteString("https://ingest.timestream.") diff --git a/service/timestreamwrite/serializers.go b/service/timestreamwrite/serializers.go index 639f9e245af..d2d51145982 100644 --- a/service/timestreamwrite/serializers.go +++ b/service/timestreamwrite/serializers.go @@ -1593,14 +1593,14 @@ func awsAwsjson10_serializeDocumentRetentionProperties(v *types.RetentionPropert object := value.Object() defer object.Close() - { + if v.MagneticStoreRetentionPeriodInDays != nil { ok := object.Key("MagneticStoreRetentionPeriodInDays") - ok.Long(v.MagneticStoreRetentionPeriodInDays) + ok.Long(*v.MagneticStoreRetentionPeriodInDays) } - { + if v.MemoryStoreRetentionPeriodInHours != nil { ok := object.Key("MemoryStoreRetentionPeriodInHours") - ok.Long(v.MemoryStoreRetentionPeriodInHours) + ok.Long(*v.MemoryStoreRetentionPeriodInHours) } return nil diff --git a/service/timestreamwrite/types/types.go b/service/timestreamwrite/types/types.go index 33bd34ff69d..b84480aa40e 100644 --- a/service/timestreamwrite/types/types.go +++ b/service/timestreamwrite/types/types.go @@ -569,12 +569,12 @@ type RetentionProperties struct { // The duration for which data must be stored in the magnetic store. // // This member is required. - MagneticStoreRetentionPeriodInDays int64 + MagneticStoreRetentionPeriodInDays *int64 // The duration for which data must be stored in the memory store. // // This member is required. - MemoryStoreRetentionPeriodInHours int64 + MemoryStoreRetentionPeriodInHours *int64 noSmithyDocumentSerde } diff --git a/service/timestreamwrite/validators.go b/service/timestreamwrite/validators.go index cd3452f7526..c16b7e0c736 100644 --- a/service/timestreamwrite/validators.go +++ b/service/timestreamwrite/validators.go @@ -733,6 +733,12 @@ func validateRetentionProperties(v *types.RetentionProperties) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "RetentionProperties"} + if v.MemoryStoreRetentionPeriodInHours == nil { + invalidParams.Add(smithy.NewErrParamRequired("MemoryStoreRetentionPeriodInHours")) + } + if v.MagneticStoreRetentionPeriodInDays == nil { + invalidParams.Add(smithy.NewErrParamRequired("MagneticStoreRetentionPeriodInDays")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/waf/api_op_CreateRateBasedRule.go b/service/waf/api_op_CreateRateBasedRule.go index d6bbb3e42f2..e4782e06985 100644 --- a/service/waf/api_op_CreateRateBasedRule.go +++ b/service/waf/api_op_CreateRateBasedRule.go @@ -119,7 +119,7 @@ type CreateRateBasedRuleInput struct { // are also met, AWS WAF triggers the action that is specified for this rule. // // This member is required. - RateLimit int64 + RateLimit *int64 // Tags []types.Tag diff --git a/service/waf/api_op_GetSampledRequests.go b/service/waf/api_op_GetSampledRequests.go index 573654c7a62..4c4efb7d6b1 100644 --- a/service/waf/api_op_GetSampledRequests.go +++ b/service/waf/api_op_GetSampledRequests.go @@ -53,7 +53,7 @@ type GetSampledRequestsInput struct { // returns information about all of them. // // This member is required. - MaxItems int64 + MaxItems *int64 // RuleId is one of three values: // - The RuleId of the Rule or the RuleGroupId of the RuleGroup for which you diff --git a/service/waf/api_op_UpdateRateBasedRule.go b/service/waf/api_op_UpdateRateBasedRule.go index c680fb631d0..7a7c79675c7 100644 --- a/service/waf/api_op_UpdateRateBasedRule.go +++ b/service/waf/api_op_UpdateRateBasedRule.go @@ -75,7 +75,7 @@ type UpdateRateBasedRuleInput struct { // are also met, AWS WAF triggers the action that is specified for this rule. // // This member is required. - RateLimit int64 + RateLimit *int64 // The RuleId of the RateBasedRule that you want to update. RuleId is returned by // CreateRateBasedRule and by ListRateBasedRules . diff --git a/service/waf/deserializers.go b/service/waf/deserializers.go index f4cb6ff12d0..ceb7f4e369f 100644 --- a/service/waf/deserializers.go +++ b/service/waf/deserializers.go @@ -11514,7 +11514,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu if err != nil { return err } - sv.RateLimit = i64 + sv.RateLimit = ptr.Int64(i64) } case "RuleId": diff --git a/service/waf/endpoints.go b/service/waf/endpoints.go index e5124f34ef9..96f89aa0383 100644 --- a/service/waf/endpoints.go +++ b/service/waf/endpoints.go @@ -467,7 +467,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://waf-fips.") diff --git a/service/waf/serializers.go b/service/waf/serializers.go index fb2a0384fcb..22871aebe9d 100644 --- a/service/waf/serializers.go +++ b/service/waf/serializers.go @@ -5068,9 +5068,9 @@ func awsAwsjson11_serializeOpDocumentCreateRateBasedRuleInput(v *CreateRateBased ok.String(string(v.RateKey)) } - { + if v.RateLimit != nil { ok := object.Key("RateLimit") - ok.Long(v.RateLimit) + ok.Long(*v.RateLimit) } if v.Tags != nil { @@ -5672,9 +5672,9 @@ func awsAwsjson11_serializeOpDocumentGetSampledRequestsInput(v *GetSampledReques object := value.Object() defer object.Close() - { + if v.MaxItems != nil { ok := object.Key("MaxItems") - ok.Long(v.MaxItems) + ok.Long(*v.MaxItems) } if v.RuleId != nil { @@ -6177,9 +6177,9 @@ func awsAwsjson11_serializeOpDocumentUpdateRateBasedRuleInput(v *UpdateRateBased ok.String(*v.ChangeToken) } - { + if v.RateLimit != nil { ok := object.Key("RateLimit") - ok.Long(v.RateLimit) + ok.Long(*v.RateLimit) } if v.RuleId != nil { diff --git a/service/waf/types/types.go b/service/waf/types/types.go index e709c4f1ddd..97a4cc26a2b 100644 --- a/service/waf/types/types.go +++ b/service/waf/types/types.go @@ -751,7 +751,7 @@ type RateBasedRule struct { // are also met, AWS WAF triggers the action that is specified for this rule. // // This member is required. - RateLimit int64 + RateLimit *int64 // A unique identifier for a RateBasedRule . You use RuleId to get more // information about a RateBasedRule (see GetRateBasedRule ), update a diff --git a/service/waf/validators.go b/service/waf/validators.go index 74ba815da49..e13542a7550 100644 --- a/service/waf/validators.go +++ b/service/waf/validators.go @@ -2349,6 +2349,9 @@ func validateOpCreateRateBasedRuleInput(v *CreateRateBasedRuleInput) error { if len(v.RateKey) == 0 { invalidParams.Add(smithy.NewErrParamRequired("RateKey")) } + if v.RateLimit == nil { + invalidParams.Add(smithy.NewErrParamRequired("RateLimit")) + } if v.ChangeToken == nil { invalidParams.Add(smithy.NewErrParamRequired("ChangeToken")) } @@ -3004,6 +3007,9 @@ func validateOpGetSampledRequestsInput(v *GetSampledRequestsInput) error { invalidParams.AddNested("TimeWindow", err.(smithy.InvalidParamsError)) } } + if v.MaxItems == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxItems")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -3256,6 +3262,9 @@ func validateOpUpdateRateBasedRuleInput(v *UpdateRateBasedRuleInput) error { invalidParams.AddNested("Updates", err.(smithy.InvalidParamsError)) } } + if v.RateLimit == nil { + invalidParams.Add(smithy.NewErrParamRequired("RateLimit")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/wafregional/api_op_CreateRateBasedRule.go b/service/wafregional/api_op_CreateRateBasedRule.go index 942b2ed5bd8..8bd23441481 100644 --- a/service/wafregional/api_op_CreateRateBasedRule.go +++ b/service/wafregional/api_op_CreateRateBasedRule.go @@ -119,7 +119,7 @@ type CreateRateBasedRuleInput struct { // are also met, AWS WAF triggers the action that is specified for this rule. // // This member is required. - RateLimit int64 + RateLimit *int64 // Tags []types.Tag diff --git a/service/wafregional/api_op_GetSampledRequests.go b/service/wafregional/api_op_GetSampledRequests.go index c5045665ec3..293dcfbd7c8 100644 --- a/service/wafregional/api_op_GetSampledRequests.go +++ b/service/wafregional/api_op_GetSampledRequests.go @@ -53,7 +53,7 @@ type GetSampledRequestsInput struct { // returns information about all of them. // // This member is required. - MaxItems int64 + MaxItems *int64 // RuleId is one of three values: // - The RuleId of the Rule or the RuleGroupId of the RuleGroup for which you diff --git a/service/wafregional/api_op_UpdateRateBasedRule.go b/service/wafregional/api_op_UpdateRateBasedRule.go index 8fbc346b18c..60e4c6c80b0 100644 --- a/service/wafregional/api_op_UpdateRateBasedRule.go +++ b/service/wafregional/api_op_UpdateRateBasedRule.go @@ -75,7 +75,7 @@ type UpdateRateBasedRuleInput struct { // are also met, AWS WAF triggers the action that is specified for this rule. // // This member is required. - RateLimit int64 + RateLimit *int64 // The RuleId of the RateBasedRule that you want to update. RuleId is returned by // CreateRateBasedRule and by ListRateBasedRules . diff --git a/service/wafregional/deserializers.go b/service/wafregional/deserializers.go index 9db56906fdb..33cc3a91fec 100644 --- a/service/wafregional/deserializers.go +++ b/service/wafregional/deserializers.go @@ -12035,7 +12035,7 @@ func awsAwsjson11_deserializeDocumentRateBasedRule(v **types.RateBasedRule, valu if err != nil { return err } - sv.RateLimit = i64 + sv.RateLimit = ptr.Int64(i64) } case "RuleId": diff --git a/service/wafregional/endpoints.go b/service/wafregional/endpoints.go index 884d0b0c1b0..044fc7b4053 100644 --- a/service/wafregional/endpoints.go +++ b/service/wafregional/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://waf-regional-fips.") diff --git a/service/wafregional/serializers.go b/service/wafregional/serializers.go index 293cee9fe0d..464032ce1d0 100644 --- a/service/wafregional/serializers.go +++ b/service/wafregional/serializers.go @@ -5305,9 +5305,9 @@ func awsAwsjson11_serializeOpDocumentCreateRateBasedRuleInput(v *CreateRateBased ok.String(string(v.RateKey)) } - { + if v.RateLimit != nil { ok := object.Key("RateLimit") - ok.Long(v.RateLimit) + ok.Long(*v.RateLimit) } if v.Tags != nil { @@ -5921,9 +5921,9 @@ func awsAwsjson11_serializeOpDocumentGetSampledRequestsInput(v *GetSampledReques object := value.Object() defer object.Close() - { + if v.MaxItems != nil { ok := object.Key("MaxItems") - ok.Long(v.MaxItems) + ok.Long(*v.MaxItems) } if v.RuleId != nil { @@ -6455,9 +6455,9 @@ func awsAwsjson11_serializeOpDocumentUpdateRateBasedRuleInput(v *UpdateRateBased ok.String(*v.ChangeToken) } - { + if v.RateLimit != nil { ok := object.Key("RateLimit") - ok.Long(v.RateLimit) + ok.Long(*v.RateLimit) } if v.RuleId != nil { diff --git a/service/wafregional/types/types.go b/service/wafregional/types/types.go index e709c4f1ddd..97a4cc26a2b 100644 --- a/service/wafregional/types/types.go +++ b/service/wafregional/types/types.go @@ -751,7 +751,7 @@ type RateBasedRule struct { // are also met, AWS WAF triggers the action that is specified for this rule. // // This member is required. - RateLimit int64 + RateLimit *int64 // A unique identifier for a RateBasedRule . You use RuleId to get more // information about a RateBasedRule (see GetRateBasedRule ), update a diff --git a/service/wafregional/validators.go b/service/wafregional/validators.go index 5d9d0764ca7..d9b7dc0dac7 100644 --- a/service/wafregional/validators.go +++ b/service/wafregional/validators.go @@ -2463,6 +2463,9 @@ func validateOpCreateRateBasedRuleInput(v *CreateRateBasedRuleInput) error { if len(v.RateKey) == 0 { invalidParams.Add(smithy.NewErrParamRequired("RateKey")) } + if v.RateLimit == nil { + invalidParams.Add(smithy.NewErrParamRequired("RateLimit")) + } if v.ChangeToken == nil { invalidParams.Add(smithy.NewErrParamRequired("ChangeToken")) } @@ -3133,6 +3136,9 @@ func validateOpGetSampledRequestsInput(v *GetSampledRequestsInput) error { invalidParams.AddNested("TimeWindow", err.(smithy.InvalidParamsError)) } } + if v.MaxItems == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxItems")) + } if invalidParams.Len() > 0 { return invalidParams } else { @@ -3415,6 +3421,9 @@ func validateOpUpdateRateBasedRuleInput(v *UpdateRateBasedRuleInput) error { invalidParams.AddNested("Updates", err.(smithy.InvalidParamsError)) } } + if v.RateLimit == nil { + invalidParams.Add(smithy.NewErrParamRequired("RateLimit")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/wafv2/api_op_CreateRuleGroup.go b/service/wafv2/api_op_CreateRuleGroup.go index b5c1fd82073..ce59aeda4cd 100644 --- a/service/wafv2/api_op_CreateRuleGroup.go +++ b/service/wafv2/api_op_CreateRuleGroup.go @@ -52,7 +52,7 @@ type CreateRuleGroupInput struct { // in the WAF Developer Guide. // // This member is required. - Capacity int64 + Capacity *int64 // The name of the rule group. You cannot change the name of a rule group after // you create it. diff --git a/service/wafv2/api_op_DescribeManagedRuleGroup.go b/service/wafv2/api_op_DescribeManagedRuleGroup.go index 06a7852641d..9c4465ada7d 100644 --- a/service/wafv2/api_op_DescribeManagedRuleGroup.go +++ b/service/wafv2/api_op_DescribeManagedRuleGroup.go @@ -83,7 +83,7 @@ type DescribeManagedRuleGroupOutput struct { // web ACL WCU usage when they use a rule group. For more information, see WAF web // ACL capacity units (WCU) (https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html) // in the WAF Developer Guide. - Capacity int64 + Capacity *int64 // The labels that one or more rules in this rule group match against in label // match statements. These labels are defined in a LabelMatchStatement diff --git a/service/wafv2/api_op_GetSampledRequests.go b/service/wafv2/api_op_GetSampledRequests.go index 7a9689aa041..6b267c41f1f 100644 --- a/service/wafv2/api_op_GetSampledRequests.go +++ b/service/wafv2/api_op_GetSampledRequests.go @@ -49,7 +49,7 @@ type GetSampledRequestsInput struct { // GetSampledRequests returns information about all of them. // // This member is required. - MaxItems int64 + MaxItems *int64 // The metric name assigned to the Rule or RuleGroup dimension for which you want // a sample of requests. diff --git a/service/wafv2/deserializers.go b/service/wafv2/deserializers.go index d35e94dd3a8..a15d52ec120 100644 --- a/service/wafv2/deserializers.go +++ b/service/wafv2/deserializers.go @@ -11438,7 +11438,7 @@ func awsAwsjson11_deserializeDocumentManagedRuleSetVersion(v **types.ManagedRule if err != nil { return err } - sv.Capacity = i64 + sv.Capacity = ptr.Int64(i64) } case "ExpiryTimestamp": @@ -11987,7 +11987,7 @@ func awsAwsjson11_deserializeDocumentRateBasedStatement(v **types.RateBasedState if err != nil { return err } - sv.Limit = i64 + sv.Limit = ptr.Int64(i64) } case "ScopeDownStatement": @@ -14003,7 +14003,7 @@ func awsAwsjson11_deserializeDocumentRuleGroup(v **types.RuleGroup, value interf if err != nil { return err } - sv.Capacity = i64 + sv.Capacity = ptr.Int64(i64) } case "ConsumedLabels": @@ -16959,7 +16959,7 @@ func awsAwsjson11_deserializeOpDocumentDescribeManagedRuleGroupOutput(v **Descri if err != nil { return err } - sv.Capacity = i64 + sv.Capacity = ptr.Int64(i64) } case "ConsumedLabels": diff --git a/service/wafv2/endpoints.go b/service/wafv2/endpoints.go index 80f85987e12..93eb119e577 100644 --- a/service/wafv2/endpoints.go +++ b/service/wafv2/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://wafv2-fips.") diff --git a/service/wafv2/serializers.go b/service/wafv2/serializers.go index f461342b4a5..73bfcb0d803 100644 --- a/service/wafv2/serializers.go +++ b/service/wafv2/serializers.go @@ -4255,9 +4255,9 @@ func awsAwsjson11_serializeDocumentRateBasedStatement(v *types.RateBasedStatemen } } - { + if v.Limit != nil { ok := object.Key("Limit") - ok.Long(v.Limit) + ok.Long(*v.Limit) } if v.ScopeDownStatement != nil { @@ -5590,9 +5590,9 @@ func awsAwsjson11_serializeOpDocumentCreateRuleGroupInput(v *CreateRuleGroupInpu object := value.Object() defer object.Close() - { + if v.Capacity != nil { ok := object.Key("Capacity") - ok.Long(v.Capacity) + ok.Long(*v.Capacity) } if v.CustomResponseBodies != nil { @@ -6147,9 +6147,9 @@ func awsAwsjson11_serializeOpDocumentGetSampledRequestsInput(v *GetSampledReques object := value.Object() defer object.Close() - { + if v.MaxItems != nil { ok := object.Key("MaxItems") - ok.Long(v.MaxItems) + ok.Long(*v.MaxItems) } if v.RuleMetricName != nil { diff --git a/service/wafv2/types/types.go b/service/wafv2/types/types.go index d696145214a..493b3594f7e 100644 --- a/service/wafv2/types/types.go +++ b/service/wafv2/types/types.go @@ -1926,7 +1926,7 @@ type ManagedRuleSetVersion struct { // web ACL WCU usage when they use a rule group. For more information, see WAF web // ACL capacity units (WCU) (https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html) // in the WAF Developer Guide. - Capacity int64 + Capacity *int64 // The time that this version is set to expire. Times are in Coordinated Universal // Time (UTC) format. UTC format includes the special designator, Z. For example, @@ -2195,7 +2195,7 @@ type RateBasedStatement struct { // then this is the limit on requests for any single method, city pair. // // This member is required. - Limit int64 + Limit *int64 // Specifies the aggregate keys to use in a rate-base rule. CustomKeys []RateBasedStatementCustomKey @@ -3090,7 +3090,7 @@ type RuleGroup struct { // in the WAF Developer Guide. // // This member is required. - Capacity int64 + Capacity *int64 // A unique identifier for the rule group. This ID is returned in the responses to // create and list commands. You provide it to operations like update and delete. diff --git a/service/wafv2/validators.go b/service/wafv2/validators.go index 8a42af41306..858f58f663a 100644 --- a/service/wafv2/validators.go +++ b/service/wafv2/validators.go @@ -2364,6 +2364,9 @@ func validateRateBasedStatement(v *types.RateBasedStatement) error { return nil } invalidParams := smithy.InvalidParamsError{Context: "RateBasedStatement"} + if v.Limit == nil { + invalidParams.Add(smithy.NewErrParamRequired("Limit")) + } if len(v.AggregateKeyType) == 0 { invalidParams.Add(smithy.NewErrParamRequired("AggregateKeyType")) } @@ -3480,6 +3483,9 @@ func validateOpCreateRuleGroupInput(v *CreateRuleGroupInput) error { if len(v.Scope) == 0 { invalidParams.Add(smithy.NewErrParamRequired("Scope")) } + if v.Capacity == nil { + invalidParams.Add(smithy.NewErrParamRequired("Capacity")) + } if v.Rules != nil { if err := validateRules(v.Rules); err != nil { invalidParams.AddNested("Rules", err.(smithy.InvalidParamsError)) @@ -3976,6 +3982,9 @@ func validateOpGetSampledRequestsInput(v *GetSampledRequestsInput) error { invalidParams.AddNested("TimeWindow", err.(smithy.InvalidParamsError)) } } + if v.MaxItems == nil { + invalidParams.Add(smithy.NewErrParamRequired("MaxItems")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/wellarchitected/api_op_CreateLensVersion.go b/service/wellarchitected/api_op_CreateLensVersion.go index e481821266c..4b430682c75 100644 --- a/service/wellarchitected/api_op_CreateLensVersion.go +++ b/service/wellarchitected/api_op_CreateLensVersion.go @@ -66,7 +66,7 @@ type CreateLensVersionInput struct { LensVersion *string // Set to true if this new major lens version. - IsMajorVersion bool + IsMajorVersion *bool noSmithyDocumentSerde } diff --git a/service/wellarchitected/api_op_CreateMilestone.go b/service/wellarchitected/api_op_CreateMilestone.go index d960b75b1bb..13e47afb33c 100644 --- a/service/wellarchitected/api_op_CreateMilestone.go +++ b/service/wellarchitected/api_op_CreateMilestone.go @@ -65,7 +65,7 @@ type CreateMilestoneInput struct { type CreateMilestoneOutput struct { // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The ID assigned to the workload. This ID is unique within an Amazon Web // Services Region. diff --git a/service/wellarchitected/api_op_GetAnswer.go b/service/wellarchitected/api_op_GetAnswer.go index a8d8145f5f0..0954291235c 100644 --- a/service/wellarchitected/api_op_GetAnswer.go +++ b/service/wellarchitected/api_op_GetAnswer.go @@ -58,7 +58,7 @@ type GetAnswerInput struct { WorkloadId *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 noSmithyDocumentSerde } @@ -82,7 +82,7 @@ type GetAnswerOutput struct { LensArn *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The ID assigned to the workload. This ID is unique within an Amazon Web // Services Region. diff --git a/service/wellarchitected/api_op_GetConsolidatedReport.go b/service/wellarchitected/api_op_GetConsolidatedReport.go index 68a3a4cf1eb..e99acee7279 100644 --- a/service/wellarchitected/api_op_GetConsolidatedReport.go +++ b/service/wellarchitected/api_op_GetConsolidatedReport.go @@ -42,10 +42,10 @@ type GetConsolidatedReportInput struct { Format types.ReportFormat // Set to true to have shared resources included in the report. - IncludeSharedResources bool + IncludeSharedResources *bool // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -183,8 +183,8 @@ func NewGetConsolidatedReportPaginator(client GetConsolidatedReportAPIClient, pa } options := GetConsolidatedReportPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -214,7 +214,11 @@ func (p *GetConsolidatedReportPaginator) NextPage(ctx context.Context, optFns .. params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.GetConsolidatedReport(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_GetLensReview.go b/service/wellarchitected/api_op_GetLensReview.go index 9501494ff2a..cd1379af609 100644 --- a/service/wellarchitected/api_op_GetLensReview.go +++ b/service/wellarchitected/api_op_GetLensReview.go @@ -53,7 +53,7 @@ type GetLensReviewInput struct { WorkloadId *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 noSmithyDocumentSerde } @@ -65,7 +65,7 @@ type GetLensReviewOutput struct { LensReview *types.LensReview // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The ID assigned to the workload. This ID is unique within an Amazon Web // Services Region. diff --git a/service/wellarchitected/api_op_GetLensReviewReport.go b/service/wellarchitected/api_op_GetLensReviewReport.go index 7ffdb5b09ac..fe6e61eb701 100644 --- a/service/wellarchitected/api_op_GetLensReviewReport.go +++ b/service/wellarchitected/api_op_GetLensReviewReport.go @@ -53,7 +53,7 @@ type GetLensReviewReportInput struct { WorkloadId *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 noSmithyDocumentSerde } @@ -65,7 +65,7 @@ type GetLensReviewReportOutput struct { LensReviewReport *types.LensReviewReport // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The ID assigned to the workload. This ID is unique within an Amazon Web // Services Region. diff --git a/service/wellarchitected/api_op_GetMilestone.go b/service/wellarchitected/api_op_GetMilestone.go index 4a525fe5196..4c5669b4888 100644 --- a/service/wellarchitected/api_op_GetMilestone.go +++ b/service/wellarchitected/api_op_GetMilestone.go @@ -38,7 +38,7 @@ type GetMilestoneInput struct { // The milestone number. A workload can have a maximum of 100 milestones. // // This member is required. - MilestoneNumber int32 + MilestoneNumber *int32 // The ID assigned to the workload. This ID is unique within an Amazon Web // Services Region. diff --git a/service/wellarchitected/api_op_ListAnswers.go b/service/wellarchitected/api_op_ListAnswers.go index b9d1a1e1bee..6f36694bc5b 100644 --- a/service/wellarchitected/api_op_ListAnswers.go +++ b/service/wellarchitected/api_op_ListAnswers.go @@ -53,10 +53,10 @@ type ListAnswersInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -90,7 +90,7 @@ type ListAnswersOutput struct { LensArn *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -213,8 +213,8 @@ func NewListAnswersPaginator(client ListAnswersAPIClient, params *ListAnswersInp } options := ListAnswersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -244,7 +244,11 @@ func (p *ListAnswersPaginator) NextPage(ctx context.Context, optFns ...func(*Opt params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListAnswers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListCheckDetails.go b/service/wellarchitected/api_op_ListCheckDetails.go index 3dca2c1087f..c281cf4ec73 100644 --- a/service/wellarchitected/api_op_ListCheckDetails.go +++ b/service/wellarchitected/api_op_ListCheckDetails.go @@ -62,7 +62,7 @@ type ListCheckDetailsInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -194,8 +194,8 @@ func NewListCheckDetailsPaginator(client ListCheckDetailsAPIClient, params *List } options := ListCheckDetailsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -225,7 +225,11 @@ func (p *ListCheckDetailsPaginator) NextPage(ctx context.Context, optFns ...func params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListCheckDetails(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListCheckSummaries.go b/service/wellarchitected/api_op_ListCheckSummaries.go index f97a70e66c9..ef3473cfa60 100644 --- a/service/wellarchitected/api_op_ListCheckSummaries.go +++ b/service/wellarchitected/api_op_ListCheckSummaries.go @@ -63,7 +63,7 @@ type ListCheckSummariesInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -195,8 +195,8 @@ func NewListCheckSummariesPaginator(client ListCheckSummariesAPIClient, params * } options := ListCheckSummariesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -226,7 +226,11 @@ func (p *ListCheckSummariesPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListCheckSummaries(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListLensReviewImprovements.go b/service/wellarchitected/api_op_ListLensReviewImprovements.go index 332a052fbfd..5ccac5a9484 100644 --- a/service/wellarchitected/api_op_ListLensReviewImprovements.go +++ b/service/wellarchitected/api_op_ListLensReviewImprovements.go @@ -53,10 +53,10 @@ type ListLensReviewImprovementsInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -90,7 +90,7 @@ type ListLensReviewImprovementsOutput struct { LensArn *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -217,8 +217,8 @@ func NewListLensReviewImprovementsPaginator(client ListLensReviewImprovementsAPI } options := ListLensReviewImprovementsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -248,7 +248,11 @@ func (p *ListLensReviewImprovementsPaginator) NextPage(ctx context.Context, optF params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListLensReviewImprovements(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListLensReviews.go b/service/wellarchitected/api_op_ListLensReviews.go index e9e7781c599..e4a70a4ef9e 100644 --- a/service/wellarchitected/api_op_ListLensReviews.go +++ b/service/wellarchitected/api_op_ListLensReviews.go @@ -42,10 +42,10 @@ type ListLensReviewsInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -60,7 +60,7 @@ type ListLensReviewsOutput struct { LensReviewSummaries []types.LensReviewSummary // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -184,8 +184,8 @@ func NewListLensReviewsPaginator(client ListLensReviewsAPIClient, params *ListLe } options := ListLensReviewsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *ListLensReviewsPaginator) NextPage(ctx context.Context, optFns ...func( params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListLensReviews(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListLensShares.go b/service/wellarchitected/api_op_ListLensShares.go index f0347f79afc..e6c5f73060b 100644 --- a/service/wellarchitected/api_op_ListLensShares.go +++ b/service/wellarchitected/api_op_ListLensShares.go @@ -46,7 +46,7 @@ type ListLensSharesInput struct { LensAlias *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -184,8 +184,8 @@ func NewListLensSharesPaginator(client ListLensSharesAPIClient, params *ListLens } options := ListLensSharesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -215,7 +215,11 @@ func (p *ListLensSharesPaginator) NextPage(ctx context.Context, optFns ...func(* params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListLensShares(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListLenses.go b/service/wellarchitected/api_op_ListLenses.go index 14342e5d95b..1fa9e0f2de3 100644 --- a/service/wellarchitected/api_op_ListLenses.go +++ b/service/wellarchitected/api_op_ListLenses.go @@ -45,7 +45,7 @@ type ListLensesInput struct { LensType types.LensType // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -173,8 +173,8 @@ func NewListLensesPaginator(client ListLensesAPIClient, params *ListLensesInput, } options := ListLensesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -204,7 +204,11 @@ func (p *ListLensesPaginator) NextPage(ctx context.Context, optFns ...func(*Opti params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListLenses(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListMilestones.go b/service/wellarchitected/api_op_ListMilestones.go index 0882952a1ff..49e6f9768f6 100644 --- a/service/wellarchitected/api_op_ListMilestones.go +++ b/service/wellarchitected/api_op_ListMilestones.go @@ -42,7 +42,7 @@ type ListMilestonesInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -178,8 +178,8 @@ func NewListMilestonesPaginator(client ListMilestonesAPIClient, params *ListMile } options := ListMilestonesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -209,7 +209,11 @@ func (p *ListMilestonesPaginator) NextPage(ctx context.Context, optFns ...func(* params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListMilestones(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListNotifications.go b/service/wellarchitected/api_op_ListNotifications.go index 89cb852c683..c02373cbb2b 100644 --- a/service/wellarchitected/api_op_ListNotifications.go +++ b/service/wellarchitected/api_op_ListNotifications.go @@ -35,7 +35,7 @@ func (c *Client) ListNotifications(ctx context.Context, params *ListNotification type ListNotificationsInput struct { // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -171,8 +171,8 @@ func NewListNotificationsPaginator(client ListNotificationsAPIClient, params *Li } options := ListNotificationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -202,7 +202,11 @@ func (p *ListNotificationsPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListNotifications(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListProfileNotifications.go b/service/wellarchitected/api_op_ListProfileNotifications.go index 6bbfb84bcd1..95f188c5d89 100644 --- a/service/wellarchitected/api_op_ListProfileNotifications.go +++ b/service/wellarchitected/api_op_ListProfileNotifications.go @@ -35,7 +35,7 @@ func (c *Client) ListProfileNotifications(ctx context.Context, params *ListProfi type ListProfileNotificationsInput struct { // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -169,8 +169,8 @@ func NewListProfileNotificationsPaginator(client ListProfileNotificationsAPIClie } options := ListProfileNotificationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *ListProfileNotificationsPaginator) NextPage(ctx context.Context, optFns params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListProfileNotifications(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListProfileShares.go b/service/wellarchitected/api_op_ListProfileShares.go index d5b89309aa3..c571b528929 100644 --- a/service/wellarchitected/api_op_ListProfileShares.go +++ b/service/wellarchitected/api_op_ListProfileShares.go @@ -40,7 +40,7 @@ type ListProfileSharesInput struct { ProfileArn *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -178,8 +178,8 @@ func NewListProfileSharesPaginator(client ListProfileSharesAPIClient, params *Li } options := ListProfileSharesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -209,7 +209,11 @@ func (p *ListProfileSharesPaginator) NextPage(ctx context.Context, optFns ...fun params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListProfileShares(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListProfiles.go b/service/wellarchitected/api_op_ListProfiles.go index 2f68bb9448a..4a67fb12e84 100644 --- a/service/wellarchitected/api_op_ListProfiles.go +++ b/service/wellarchitected/api_op_ListProfiles.go @@ -35,7 +35,7 @@ func (c *Client) ListProfiles(ctx context.Context, params *ListProfilesInput, op type ListProfilesInput struct { // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -169,8 +169,8 @@ func NewListProfilesPaginator(client ListProfilesAPIClient, params *ListProfiles } options := ListProfilesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -200,7 +200,11 @@ func (p *ListProfilesPaginator) NextPage(ctx context.Context, optFns ...func(*Op params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListProfiles(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListReviewTemplateAnswers.go b/service/wellarchitected/api_op_ListReviewTemplateAnswers.go index 9a3b35cc8ff..010acf25b02 100644 --- a/service/wellarchitected/api_op_ListReviewTemplateAnswers.go +++ b/service/wellarchitected/api_op_ListReviewTemplateAnswers.go @@ -51,7 +51,7 @@ type ListReviewTemplateAnswersInput struct { TemplateArn *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -200,8 +200,8 @@ func NewListReviewTemplateAnswersPaginator(client ListReviewTemplateAnswersAPICl } options := ListReviewTemplateAnswersPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -231,7 +231,11 @@ func (p *ListReviewTemplateAnswersPaginator) NextPage(ctx context.Context, optFn params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListReviewTemplateAnswers(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListReviewTemplates.go b/service/wellarchitected/api_op_ListReviewTemplates.go index 59d45f7315a..713fc253051 100644 --- a/service/wellarchitected/api_op_ListReviewTemplates.go +++ b/service/wellarchitected/api_op_ListReviewTemplates.go @@ -35,7 +35,7 @@ func (c *Client) ListReviewTemplates(ctx context.Context, params *ListReviewTemp type ListReviewTemplatesInput struct { // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -164,8 +164,8 @@ func NewListReviewTemplatesPaginator(client ListReviewTemplatesAPIClient, params } options := ListReviewTemplatesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -195,7 +195,11 @@ func (p *ListReviewTemplatesPaginator) NextPage(ctx context.Context, optFns ...f params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListReviewTemplates(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListShareInvitations.go b/service/wellarchitected/api_op_ListShareInvitations.go index e3666e389c9..217710fae69 100644 --- a/service/wellarchitected/api_op_ListShareInvitations.go +++ b/service/wellarchitected/api_op_ListShareInvitations.go @@ -42,7 +42,7 @@ type ListShareInvitationsInput struct { LensNamePrefix *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -187,8 +187,8 @@ func NewListShareInvitationsPaginator(client ListShareInvitationsAPIClient, para } options := ListShareInvitationsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -218,7 +218,11 @@ func (p *ListShareInvitationsPaginator) NextPage(ctx context.Context, optFns ... params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListShareInvitations(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListTemplateShares.go b/service/wellarchitected/api_op_ListTemplateShares.go index 6e72dfbc574..c2813bb9330 100644 --- a/service/wellarchitected/api_op_ListTemplateShares.go +++ b/service/wellarchitected/api_op_ListTemplateShares.go @@ -40,7 +40,7 @@ type ListTemplateSharesInput struct { TemplateArn *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -182,8 +182,8 @@ func NewListTemplateSharesPaginator(client ListTemplateSharesAPIClient, params * } options := ListTemplateSharesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -213,7 +213,11 @@ func (p *ListTemplateSharesPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListTemplateShares(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListWorkloadShares.go b/service/wellarchitected/api_op_ListWorkloadShares.go index 93faa05eae5..b77cb487f17 100644 --- a/service/wellarchitected/api_op_ListWorkloadShares.go +++ b/service/wellarchitected/api_op_ListWorkloadShares.go @@ -42,7 +42,7 @@ type ListWorkloadSharesInput struct { WorkloadId *string // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -186,8 +186,8 @@ func NewListWorkloadSharesPaginator(client ListWorkloadSharesAPIClient, params * } options := ListWorkloadSharesPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -217,7 +217,11 @@ func (p *ListWorkloadSharesPaginator) NextPage(ctx context.Context, optFns ...fu params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListWorkloadShares(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_ListWorkloads.go b/service/wellarchitected/api_op_ListWorkloads.go index dd5cb79f7ce..2c800693cc5 100644 --- a/service/wellarchitected/api_op_ListWorkloads.go +++ b/service/wellarchitected/api_op_ListWorkloads.go @@ -36,7 +36,7 @@ func (c *Client) ListWorkloads(ctx context.Context, params *ListWorkloadsInput, type ListWorkloadsInput struct { // The maximum number of results to return for this request. - MaxResults int32 + MaxResults *int32 // The token to use to retrieve the next set of results. NextToken *string @@ -168,8 +168,8 @@ func NewListWorkloadsPaginator(client ListWorkloadsAPIClient, params *ListWorklo } options := ListWorkloadsPaginatorOptions{} - if params.MaxResults != 0 { - options.Limit = params.MaxResults + if params.MaxResults != nil { + options.Limit = *params.MaxResults } for _, fn := range optFns { @@ -199,7 +199,11 @@ func (p *ListWorkloadsPaginator) NextPage(ctx context.Context, optFns ...func(*O params := *p.params params.NextToken = p.nextToken - params.MaxResults = p.options.Limit + var limit *int32 + if p.options.Limit > 0 { + limit = &p.options.Limit + } + params.MaxResults = limit result, err := p.client.ListWorkloads(ctx, ¶ms, optFns...) if err != nil { diff --git a/service/wellarchitected/api_op_UpdateAnswer.go b/service/wellarchitected/api_op_UpdateAnswer.go index 2ab74fb3a6e..12e234b6f3d 100644 --- a/service/wellarchitected/api_op_UpdateAnswer.go +++ b/service/wellarchitected/api_op_UpdateAnswer.go @@ -62,7 +62,7 @@ type UpdateAnswerInput struct { ChoiceUpdates map[string]types.ChoiceUpdate // Defines whether this question is applicable to a lens review. - IsApplicable bool + IsApplicable *bool // The notes associated with the workload. For a review template, these are the // notes that will be associated with the workload when the template is applied. diff --git a/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go b/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go index 75642922f9f..285265547ee 100644 --- a/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go +++ b/service/wellarchitected/api_op_UpdateReviewTemplateAnswer.go @@ -59,7 +59,7 @@ type UpdateReviewTemplateAnswerInput struct { ChoiceUpdates map[string]types.ChoiceUpdate // Defines whether this question is applicable to a lens review. - IsApplicable bool + IsApplicable *bool // The notes associated with the workload. For a review template, these are the // notes that will be associated with the workload when the template is applied. diff --git a/service/wellarchitected/api_op_UpdateWorkload.go b/service/wellarchitected/api_op_UpdateWorkload.go index f081fa5fdce..a0dabaae4ff 100644 --- a/service/wellarchitected/api_op_UpdateWorkload.go +++ b/service/wellarchitected/api_op_UpdateWorkload.go @@ -103,7 +103,7 @@ type UpdateWorkloadInput struct { // owner field is required. If a Review owner is not added to the workload within // 60 days of acknowledgement, access to the workload is restricted until an owner // is added. - IsReviewOwnerUpdateAcknowledged bool + IsReviewOwnerUpdateAcknowledged *bool // The list of non-Amazon Web Services Regions associated with the workload. NonAwsRegions []string diff --git a/service/wellarchitected/deserializers.go b/service/wellarchitected/deserializers.go index 4312416dad0..eab5013d8f1 100644 --- a/service/wellarchitected/deserializers.go +++ b/service/wellarchitected/deserializers.go @@ -736,7 +736,7 @@ func awsRestjson1_deserializeOpDocumentCreateMilestoneOutput(v **CreateMilestone if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "WorkloadId": @@ -3194,7 +3194,7 @@ func awsRestjson1_deserializeOpDocumentGetAnswerOutput(v **GetAnswerOutput, valu if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "WorkloadId": @@ -3711,7 +3711,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewOutput(v **GetLensReviewOutp if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "WorkloadId": @@ -3892,7 +3892,7 @@ func awsRestjson1_deserializeOpDocumentGetLensReviewReportOutput(v **GetLensRevi if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "WorkloadId": @@ -5622,7 +5622,7 @@ func awsRestjson1_deserializeOpDocumentListAnswersOutput(v **ListAnswersOutput, if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "NextToken": @@ -6331,7 +6331,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewImprovementsOutput(v **List if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "NextToken": @@ -6521,7 +6521,7 @@ func awsRestjson1_deserializeOpDocumentListLensReviewsOutput(v **ListLensReviews if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "NextToken": @@ -11335,7 +11335,7 @@ func awsRestjson1_deserializeDocumentAnswer(v **types.Answer, value interface{}) if !ok { return fmt.Errorf("expected IsApplicable to be of type *bool, got %T instead", value) } - sv.IsApplicable = jtv + sv.IsApplicable = ptr.Bool(jtv) } case "Notes": @@ -11487,7 +11487,7 @@ func awsRestjson1_deserializeDocumentAnswerSummary(v **types.AnswerSummary, valu if !ok { return fmt.Errorf("expected IsApplicable to be of type *bool, got %T instead", value) } - sv.IsApplicable = jtv + sv.IsApplicable = ptr.Bool(jtv) } case "PillarId": @@ -11700,7 +11700,7 @@ func awsRestjson1_deserializeDocumentCheckDetail(v **types.CheckDetail, value in if err != nil { return err } - sv.FlaggedResources = int32(i64) + sv.FlaggedResources = ptr.Int32(int32(i64)) } case "Id": @@ -12537,7 +12537,7 @@ func awsRestjson1_deserializeDocumentConsolidatedReportMetric(v **types.Consolid if err != nil { return err } - sv.LensesAppliedCount = int32(i64) + sv.LensesAppliedCount = ptr.Int32(int32(i64)) } case "MetricType": @@ -13712,7 +13712,7 @@ func awsRestjson1_deserializeDocumentMilestone(v **types.Milestone, value interf if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "RecordedAt": @@ -13820,7 +13820,7 @@ func awsRestjson1_deserializeDocumentMilestoneSummary(v **types.MilestoneSummary if err != nil { return err } - sv.MilestoneNumber = int32(i64) + sv.MilestoneNumber = ptr.Int32(int32(i64)) } case "RecordedAt": @@ -14560,7 +14560,7 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, if err != nil { return err } - sv.MaxSelectedChoices = int32(i64) + sv.MaxSelectedChoices = ptr.Int32(int32(i64)) } case "MinSelectedChoices": @@ -14573,7 +14573,7 @@ func awsRestjson1_deserializeDocumentProfileQuestion(v **types.ProfileQuestion, if err != nil { return err } - sv.MinSelectedChoices = int32(i64) + sv.MinSelectedChoices = ptr.Int32(int32(i64)) } case "QuestionChoices": @@ -15100,7 +15100,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe if err != nil { return err } - sv.MaxSelectedChoices = int32(i64) + sv.MaxSelectedChoices = ptr.Int32(int32(i64)) } case "MinSelectedChoices": @@ -15113,7 +15113,7 @@ func awsRestjson1_deserializeDocumentProfileTemplateQuestion(v **types.ProfileTe if err != nil { return err } - sv.MinSelectedChoices = int32(i64) + sv.MinSelectedChoices = ptr.Int32(int32(i64)) } case "QuestionChoices": @@ -15668,7 +15668,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswer(v **types.ReviewTempla if !ok { return fmt.Errorf("expected IsApplicable to be of type *bool, got %T instead", value) } - sv.IsApplicable = jtv + sv.IsApplicable = ptr.Bool(jtv) } case "Notes": @@ -15820,7 +15820,7 @@ func awsRestjson1_deserializeDocumentReviewTemplateAnswerSummary(v **types.Revie if !ok { return fmt.Errorf("expected IsApplicable to be of type *bool, got %T instead", value) } - sv.IsApplicable = jtv + sv.IsApplicable = ptr.Bool(jtv) } case "PillarId": @@ -17268,7 +17268,7 @@ func awsRestjson1_deserializeDocumentWorkload(v **types.Workload, value interfac if !ok { return fmt.Errorf("expected IsReviewOwnerUpdateAcknowledged to be of type *bool, got %T instead", value) } - sv.IsReviewOwnerUpdateAcknowledged = jtv + sv.IsReviewOwnerUpdateAcknowledged = ptr.Bool(jtv) } case "Lenses": diff --git a/service/wellarchitected/endpoints.go b/service/wellarchitected/endpoints.go index f49839c1e41..244b28c1c76 100644 --- a/service/wellarchitected/endpoints.go +++ b/service/wellarchitected/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://wellarchitected-fips.") diff --git a/service/wellarchitected/serializers.go b/service/wellarchitected/serializers.go index ba623291c33..57bce0f4cac 100644 --- a/service/wellarchitected/serializers.go +++ b/service/wellarchitected/serializers.go @@ -372,9 +372,9 @@ func awsRestjson1_serializeOpDocumentCreateLensVersionInput(v *CreateLensVersion ok.String(*v.ClientRequestToken) } - if v.IsMajorVersion { + if v.IsMajorVersion != nil { ok := object.Key("IsMajorVersion") - ok.Boolean(v.IsMajorVersion) + ok.Boolean(*v.IsMajorVersion) } if v.LensVersion != nil { @@ -2053,8 +2053,8 @@ func awsRestjson1_serializeOpHttpBindingsGetAnswerInput(v *GetAnswerInput, encod } } - if v.MilestoneNumber != 0 { - encoder.SetQuery("MilestoneNumber").Integer(v.MilestoneNumber) + if v.MilestoneNumber != nil { + encoder.SetQuery("MilestoneNumber").Integer(*v.MilestoneNumber) } if v.QuestionId == nil || len(*v.QuestionId) == 0 { @@ -2135,12 +2135,12 @@ func awsRestjson1_serializeOpHttpBindingsGetConsolidatedReportInput(v *GetConsol encoder.SetQuery("Format").String(string(v.Format)) } - if v.IncludeSharedResources { - encoder.SetQuery("IncludeSharedResources").Boolean(v.IncludeSharedResources) + if v.IncludeSharedResources != nil { + encoder.SetQuery("IncludeSharedResources").Boolean(*v.IncludeSharedResources) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -2281,8 +2281,8 @@ func awsRestjson1_serializeOpHttpBindingsGetLensReviewInput(v *GetLensReviewInpu } } - if v.MilestoneNumber != 0 { - encoder.SetQuery("MilestoneNumber").Integer(v.MilestoneNumber) + if v.MilestoneNumber != nil { + encoder.SetQuery("MilestoneNumber").Integer(*v.MilestoneNumber) } if v.WorkloadId == nil || len(*v.WorkloadId) == 0 { @@ -2359,8 +2359,8 @@ func awsRestjson1_serializeOpHttpBindingsGetLensReviewReportInput(v *GetLensRevi } } - if v.MilestoneNumber != 0 { - encoder.SetQuery("MilestoneNumber").Integer(v.MilestoneNumber) + if v.MilestoneNumber != nil { + encoder.SetQuery("MilestoneNumber").Integer(*v.MilestoneNumber) } if v.WorkloadId == nil || len(*v.WorkloadId) == 0 { @@ -2501,8 +2501,11 @@ func awsRestjson1_serializeOpHttpBindingsGetMilestoneInput(v *GetMilestoneInput, return fmt.Errorf("unsupported serialization of nil %T", v) } - { - if err := encoder.SetURI("MilestoneNumber").Integer(v.MilestoneNumber); err != nil { + if v.MilestoneNumber == nil { + return &smithy.SerializationError{Err: fmt.Errorf("input member MilestoneNumber must not be empty")} + } + if v.MilestoneNumber != nil { + if err := encoder.SetURI("MilestoneNumber").Integer(*v.MilestoneNumber); err != nil { return err } } @@ -3081,12 +3084,12 @@ func awsRestjson1_serializeOpHttpBindingsListAnswersInput(v *ListAnswersInput, e } } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } - if v.MilestoneNumber != 0 { - encoder.SetQuery("MilestoneNumber").Integer(v.MilestoneNumber) + if v.MilestoneNumber != nil { + encoder.SetQuery("MilestoneNumber").Integer(*v.MilestoneNumber) } if v.NextToken != nil { @@ -3203,9 +3206,9 @@ func awsRestjson1_serializeOpDocumentListCheckDetailsInput(v *ListCheckDetailsIn ok.String(*v.LensArn) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3316,9 +3319,9 @@ func awsRestjson1_serializeOpDocumentListCheckSummariesInput(v *ListCheckSummari ok.String(*v.LensArn) } - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3404,8 +3407,8 @@ func awsRestjson1_serializeOpHttpBindingsListLensesInput(v *ListLensesInput, enc encoder.SetQuery("LensType").String(string(v.LensType)) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3477,12 +3480,12 @@ func awsRestjson1_serializeOpHttpBindingsListLensReviewImprovementsInput(v *List } } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } - if v.MilestoneNumber != 0 { - encoder.SetQuery("MilestoneNumber").Integer(v.MilestoneNumber) + if v.MilestoneNumber != nil { + encoder.SetQuery("MilestoneNumber").Integer(*v.MilestoneNumber) } if v.NextToken != nil { @@ -3562,12 +3565,12 @@ func awsRestjson1_serializeOpHttpBindingsListLensReviewsInput(v *ListLensReviews return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } - if v.MilestoneNumber != 0 { - encoder.SetQuery("MilestoneNumber").Integer(v.MilestoneNumber) + if v.MilestoneNumber != nil { + encoder.SetQuery("MilestoneNumber").Integer(*v.MilestoneNumber) } if v.NextToken != nil { @@ -3648,8 +3651,8 @@ func awsRestjson1_serializeOpHttpBindingsListLensSharesInput(v *ListLensSharesIn } } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3747,9 +3750,9 @@ func awsRestjson1_serializeOpDocumentListMilestonesInput(v *ListMilestonesInput, object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3827,9 +3830,9 @@ func awsRestjson1_serializeOpDocumentListNotificationsInput(v *ListNotifications object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3903,8 +3906,8 @@ func awsRestjson1_serializeOpHttpBindingsListProfileNotificationsInput(v *ListPr return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -3971,8 +3974,8 @@ func awsRestjson1_serializeOpHttpBindingsListProfilesInput(v *ListProfilesInput, return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4043,8 +4046,8 @@ func awsRestjson1_serializeOpHttpBindingsListProfileSharesInput(v *ListProfileSh return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4133,8 +4136,8 @@ func awsRestjson1_serializeOpHttpBindingsListReviewTemplateAnswersInput(v *ListR } } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4210,8 +4213,8 @@ func awsRestjson1_serializeOpHttpBindingsListReviewTemplatesInput(v *ListReviewT return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4278,8 +4281,8 @@ func awsRestjson1_serializeOpHttpBindingsListShareInvitationsInput(v *ListShareI encoder.SetQuery("LensNamePrefix").String(*v.LensNamePrefix) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4423,8 +4426,8 @@ func awsRestjson1_serializeOpHttpBindingsListTemplateSharesInput(v *ListTemplate return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4518,9 +4521,9 @@ func awsRestjson1_serializeOpDocumentListWorkloadsInput(v *ListWorkloadsInput, v object := value.Object() defer object.Close() - if v.MaxResults != 0 { + if v.MaxResults != nil { ok := object.Key("MaxResults") - ok.Integer(v.MaxResults) + ok.Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4589,8 +4592,8 @@ func awsRestjson1_serializeOpHttpBindingsListWorkloadSharesInput(v *ListWorkload return fmt.Errorf("unsupported serialization of nil %T", v) } - if v.MaxResults != 0 { - encoder.SetQuery("MaxResults").Integer(v.MaxResults) + if v.MaxResults != nil { + encoder.SetQuery("MaxResults").Integer(*v.MaxResults) } if v.NextToken != nil { @@ -4883,9 +4886,9 @@ func awsRestjson1_serializeOpDocumentUpdateAnswerInput(v *UpdateAnswerInput, val } } - if v.IsApplicable { + if v.IsApplicable != nil { ok := object.Key("IsApplicable") - ok.Boolean(v.IsApplicable) + ok.Boolean(*v.IsApplicable) } if v.Notes != nil { @@ -5404,9 +5407,9 @@ func awsRestjson1_serializeOpDocumentUpdateReviewTemplateAnswerInput(v *UpdateRe } } - if v.IsApplicable { + if v.IsApplicable != nil { ok := object.Key("IsApplicable") - ok.Boolean(v.IsApplicable) + ok.Boolean(*v.IsApplicable) } if v.Notes != nil { @@ -5759,9 +5762,9 @@ func awsRestjson1_serializeOpDocumentUpdateWorkloadInput(v *UpdateWorkloadInput, ok.String(*v.IndustryType) } - if v.IsReviewOwnerUpdateAcknowledged { + if v.IsReviewOwnerUpdateAcknowledged != nil { ok := object.Key("IsReviewOwnerUpdateAcknowledged") - ok.Boolean(v.IsReviewOwnerUpdateAcknowledged) + ok.Boolean(*v.IsReviewOwnerUpdateAcknowledged) } if v.NonAwsRegions != nil { diff --git a/service/wellarchitected/types/types.go b/service/wellarchitected/types/types.go index a5fd5afbe8c..315e84e6331 100644 --- a/service/wellarchitected/types/types.go +++ b/service/wellarchitected/types/types.go @@ -46,7 +46,7 @@ type Answer struct { ImprovementPlanUrl *string // Defines whether this question is applicable to a lens review. - IsApplicable bool + IsApplicable *bool // The notes associated with the workload. For a review template, these are the // notes that will be associated with the workload when the template is applied. @@ -88,7 +88,7 @@ type AnswerSummary struct { Choices []Choice // Defines whether this question is applicable to a lens review. - IsApplicable bool + IsApplicable *bool // The ID used to identify a pillar, for example, security . A pillar is identified // by its PillarReviewSummary$PillarId . @@ -143,7 +143,7 @@ type CheckDetail struct { Description *string // Count of flagged resources associated to the check. - FlaggedResources int32 + FlaggedResources *int32 // Trusted Advisor check ID. Id *string @@ -330,7 +330,7 @@ type ConsolidatedReportMetric struct { Lenses []LensMetric // The total number of lenses applied to the workload. - LensesAppliedCount int32 + LensesAppliedCount *int32 // The metric type of a metric in the consolidated report. Currently only WORKLOAD // metric types are supported. @@ -647,7 +647,7 @@ type Milestone struct { MilestoneName *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The date and time recorded. RecordedAt *time.Time @@ -666,7 +666,7 @@ type MilestoneSummary struct { MilestoneName *string // The milestone number. A workload can have a maximum of 100 milestones. - MilestoneNumber int32 + MilestoneNumber *int32 // The date and time recorded. RecordedAt *time.Time @@ -832,10 +832,10 @@ type ProfileNotificationSummary struct { type ProfileQuestion struct { // The maximum number of selected choices. - MaxSelectedChoices int32 + MaxSelectedChoices *int32 // The minimum number of selected choices. - MinSelectedChoices int32 + MinSelectedChoices *int32 // The question choices. QuestionChoices []ProfileChoice @@ -950,10 +950,10 @@ type ProfileTemplateChoice struct { type ProfileTemplateQuestion struct { // The maximum number of choices selected. - MaxSelectedChoices int32 + MaxSelectedChoices *int32 // The minimum number of choices selected. - MinSelectedChoices int32 + MinSelectedChoices *int32 // The question choices. QuestionChoices []ProfileTemplateChoice @@ -1070,7 +1070,7 @@ type ReviewTemplateAnswer struct { ImprovementPlanUrl *string // Defines whether this question is applicable to a lens review. - IsApplicable bool + IsApplicable *bool // The notes associated with the workload. For a review template, these are the // notes that will be associated with the workload when the template is applied. @@ -1112,7 +1112,7 @@ type ReviewTemplateAnswerSummary struct { Choices []Choice // Defines whether this question is applicable to a lens review. - IsApplicable bool + IsApplicable *bool // The ID used to identify a pillar, for example, security . A pillar is identified // by its PillarReviewSummary$PillarId . @@ -1421,7 +1421,7 @@ type Workload struct { // owner field is required. If a Review owner is not added to the workload within // 60 days of acknowledgement, access to the workload is restricted until an owner // is added. - IsReviewOwnerUpdateAcknowledged bool + IsReviewOwnerUpdateAcknowledged *bool // The list of lenses associated with the workload. Each lens is identified by its // LensSummary$LensAlias . If a review template that specifies lenses is applied to diff --git a/service/wellarchitected/validators.go b/service/wellarchitected/validators.go index 58b4a311ec1..1d910cc4e92 100644 --- a/service/wellarchitected/validators.go +++ b/service/wellarchitected/validators.go @@ -2067,6 +2067,9 @@ func validateOpGetMilestoneInput(v *GetMilestoneInput) error { if v.WorkloadId == nil { invalidParams.Add(smithy.NewErrParamRequired("WorkloadId")) } + if v.MilestoneNumber == nil { + invalidParams.Add(smithy.NewErrParamRequired("MilestoneNumber")) + } if invalidParams.Len() > 0 { return invalidParams } else { diff --git a/service/xray/deserializers.go b/service/xray/deserializers.go index 159f9bbcc33..46189d07daf 100644 --- a/service/xray/deserializers.go +++ b/service/xray/deserializers.go @@ -8435,7 +8435,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value if err != nil { return err } - sv.Priority = int32(i64) + sv.Priority = ptr.Int32(int32(i64)) } case "ReservoirSize": @@ -8515,7 +8515,7 @@ func awsRestjson1_deserializeDocumentSamplingRule(v **types.SamplingRule, value if err != nil { return err } - sv.Version = int32(i64) + sv.Version = ptr.Int32(int32(i64)) } default: diff --git a/service/xray/endpoints.go b/service/xray/endpoints.go index 9aa03eb2b14..7145fa79250 100644 --- a/service/xray/endpoints.go +++ b/service/xray/endpoints.go @@ -410,7 +410,7 @@ func (r *resolver) ResolveEndpoint( } } if _UseFIPS == true { - if true == _PartitionResult.SupportsFIPS { + if _PartitionResult.SupportsFIPS == true { uriString := func() string { var out strings.Builder out.WriteString("https://xray-fips.") diff --git a/service/xray/serializers.go b/service/xray/serializers.go index ee61f63f262..f0e422878a2 100644 --- a/service/xray/serializers.go +++ b/service/xray/serializers.go @@ -2643,9 +2643,9 @@ func awsRestjson1_serializeDocumentSamplingRule(v *types.SamplingRule, value smi ok.String(*v.HTTPMethod) } - { + if v.Priority != nil { ok := object.Key("Priority") - ok.Integer(v.Priority) + ok.Integer(*v.Priority) } { @@ -2683,9 +2683,9 @@ func awsRestjson1_serializeDocumentSamplingRule(v *types.SamplingRule, value smi ok.String(*v.URLPath) } - { + if v.Version != nil { ok := object.Key("Version") - ok.Integer(v.Version) + ok.Integer(*v.Version) } return nil diff --git a/service/xray/types/types.go b/service/xray/types/types.go index d184c668288..0b05146322e 100644 --- a/service/xray/types/types.go +++ b/service/xray/types/types.go @@ -720,7 +720,7 @@ type SamplingRule struct { // The priority of the sampling rule. // // This member is required. - Priority int32 + Priority *int32 // A fixed number of matching requests to instrument per second, prior to applying // the fixed rate. The reservoir is not used directly by services, but applies to @@ -752,7 +752,7 @@ type SamplingRule struct { // The version of the sampling rule format ( 1 ). // // This member is required. - Version int32 + Version *int32 // Matches attributes derived from the request. Attributes map[string]string diff --git a/service/xray/validators.go b/service/xray/validators.go index d03c48314e1..c6c575022af 100644 --- a/service/xray/validators.go +++ b/service/xray/validators.go @@ -522,6 +522,9 @@ func validateSamplingRule(v *types.SamplingRule) error { if v.ResourceARN == nil { invalidParams.Add(smithy.NewErrParamRequired("ResourceARN")) } + if v.Priority == nil { + invalidParams.Add(smithy.NewErrParamRequired("Priority")) + } if v.ServiceName == nil { invalidParams.Add(smithy.NewErrParamRequired("ServiceName")) } @@ -537,6 +540,9 @@ func validateSamplingRule(v *types.SamplingRule) error { if v.URLPath == nil { invalidParams.Add(smithy.NewErrParamRequired("URLPath")) } + if v.Version == nil { + invalidParams.Add(smithy.NewErrParamRequired("Version")) + } if invalidParams.Len() > 0 { return invalidParams } else {