From 9f1b668782a3e111f99685e0eaf6545430d6669d Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Thu, 24 Mar 2022 18:04:07 +0000 Subject: [PATCH] Update API model --- .../aws-models/config-service.json | 453 ++++++++++++++++-- codegen/sdk-codegen/aws-models/lambda.json | 43 ++ .../sdk-codegen/aws-models/transcribe.json | 38 +- 3 files changed, 477 insertions(+), 57 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/config-service.json b/codegen/sdk-codegen/aws-models/config-service.json index f10699540c5..a2b07683660 100644 --- a/codegen/sdk-codegen/aws-models/config-service.json +++ b/codegen/sdk-codegen/aws-models/config-service.json @@ -1324,12 +1324,30 @@ "FirstEvaluationStarted": { "target": "com.amazonaws.configservice#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether Config has evaluated your resources\n\t\t\tagainst the rule at least once.

\n\t\t " + "smithy.api#documentation": "

Indicates whether Config has evaluated your resources\n\t\t\tagainst the rule at least once.

\n\t\t " + } + }, + "LastDebugLogDeliveryStatus": { + "target": "com.amazonaws.configservice#String", + "traits": { + "smithy.api#documentation": "

The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either Successful or Failed.

" + } + }, + "LastDebugLogDeliveryStatusReason": { + "target": "com.amazonaws.configservice#String", + "traits": { + "smithy.api#documentation": "

The reason Config was not able to deliver a debug log. This is for the last\n\t\t\tfailed attempt to retrieve a debug log for your Config Custom Policy rules.

" + } + }, + "LastDebugLogDeliveryTime": { + "target": "com.amazonaws.configservice#Date", + "traits": { + "smithy.api#documentation": "

The time Config last attempted to deliver a debug log for your Config Custom Policy rules.

" } } }, "traits": { - "smithy.api#documentation": "

Status information for your Config managed rules. The\n\t\t\tstatus includes information such as the last time the rule ran, the\n\t\t\tlast time it failed, and the related error for the last\n\t\t\tfailure.

\n\t\t

This action does not return status information about custom Config rules.

" + "smithy.api#documentation": "

Status information for your Config Managed rules and Config Custom Policy rules. The\n\t\t\tstatus includes information such as the last time the rule ran, the\n\t\t\tlast time it failed, and the related error for the last\n\t\t\tfailure.

\n\t\t

This action does not return status information about Config Custom Lambda rules.

" } }, "com.amazonaws.configservice#ConfigRuleEvaluationStatusList": { @@ -2113,7 +2131,7 @@ "ConfigRuleName": { "target": "com.amazonaws.configservice#ConfigRuleName", "traits": { - "smithy.api#documentation": "

Name of the config rule.

" + "smithy.api#documentation": "

Name of the Config rule.

" } }, "ComplianceType": { @@ -2303,9 +2321,49 @@ } } }, + "com.amazonaws.configservice#CustomPolicyDetails": { + "type": "structure", + "members": { + "PolicyRuntime": { + "target": "com.amazonaws.configservice#PolicyRuntime", + "traits": { + "smithy.api#documentation": "

The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub\n\t\t\t\t\tRepository.

", + "smithy.api#required": {} + } + }, + "PolicyText": { + "target": "com.amazonaws.configservice#PolicyText", + "traits": { + "smithy.api#documentation": "

The policy definition containing the logic for your Config Custom Policy rule.

", + "smithy.api#required": {} + } + }, + "EnableDebugLogDelivery": { + "target": "com.amazonaws.configservice#Boolean", + "traits": { + "smithy.api#documentation": "

The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Provides the runtime system, policy definition, and whether debug logging enabled. You can\n\t\t\tspecify the following CustomPolicyDetails parameter values \n\t\t\tonly\n\t\t\tfor Config Custom Policy rules.

" + } + }, "com.amazonaws.configservice#Date": { "type": "timestamp" }, + "com.amazonaws.configservice#DebugLogDeliveryAccounts": { + "type": "list", + "member": { + "target": "com.amazonaws.configservice#AccountId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1000 + } + } + }, "com.amazonaws.configservice#DeleteAggregationAuthorization": { "type": "operation", "input": { @@ -2546,7 +2604,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization.

\n\t

Only a master account and a delegated administrator account can delete an organization config rule.\n\t\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\t\tListDelegatedAdministrator permissions are added.

\n\t\t

Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. \n\t\t\tYou cannot update a rule while it is in this state.

" + "smithy.api#documentation": "

Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization.

\n\t

Only a master account and a delegated administrator account can delete an organization Config rule.\n\t\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\t\tListDelegatedAdministrator permissions are added.

\n\t\t

Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. \n\t\t\tYou cannot update a rule while it is in this state.

" } }, "com.amazonaws.configservice#DeleteOrganizationConfigRuleRequest": { @@ -2555,7 +2613,7 @@ "OrganizationConfigRuleName": { "target": "com.amazonaws.configservice#OrganizationConfigRuleName", "traits": { - "smithy.api#documentation": "

The name of organization config rule that you want to delete.

", + "smithy.api#documentation": "

The name of organization Config rule that you want to delete.

", "smithy.api#required": {} } } @@ -2578,7 +2636,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified organization conformance pack and all of the config rules and remediation actions from\n\t\t\tall member accounts in that organization.

\n

Only a master account or a delegated administrator account can delete an organization conformance pack.\n\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\tListDelegatedAdministrator permissions are added.

\n\t\t\t

Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. \n\t\t\t\tYou cannot update a conformance pack while it is in this state.

" + "smithy.api#documentation": "

Deletes the specified organization conformance pack and all of the Config rules and remediation actions from\n\t\t\tall member accounts in that organization.

\n

Only a master account or a delegated administrator account can delete an organization conformance pack.\n\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\tListDelegatedAdministrator permissions are added.

\n\t\t\t

Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. \n\t\t\t\tYou cannot update a conformance pack while it is in this state.

" } }, "com.amazonaws.configservice#DeleteOrganizationConformancePackRequest": { @@ -4116,7 +4174,7 @@ } ], "traits": { - "smithy.api#documentation": "

Provides organization config rule deployment status for an organization.

\n\t\t\n\t\t \n

The status is not considered successful until organization config rule is successfully deployed in all the member \n\t\t\taccounts with an exception of excluded accounts.

\n\t\t\t

When you specify the limit and the next token, you receive a paginated response.\n\t\t\tLimit and next token are not applicable if you specify organization config rule names. \n\t\t\tIt is only applicable, when you request all the organization config rules.

\n\t\t\t
", + "smithy.api#documentation": "

Provides organization Config rule deployment status for an organization.

\n\t\t\n\t\t \n

The status is not considered successful until organization Config rule is successfully deployed in all the member \n\t\t\taccounts with an exception of excluded accounts.

\n\t\t\t

When you specify the limit and the next token, you receive a paginated response.\n\t\t\tLimit and next token are not applicable if you specify organization Config rule names. \n\t\t\tIt is only applicable, when you request all the organization Config rules.

\n\t\t\t
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4131,7 +4189,7 @@ "OrganizationConfigRuleNames": { "target": "com.amazonaws.configservice#OrganizationConfigRuleNames", "traits": { - "smithy.api#documentation": "

The names of organization config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.

" + "smithy.api#documentation": "

The names of organization Config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.

" } }, "Limit": { @@ -4188,7 +4246,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a list of organization config rules.

\n\t\t\t\n\t\t \n

When you specify the limit and the next token, you receive a paginated response.\n\t\t\tLimit and next token are not applicable if you specify organization config rule names. \n\t\t\tIt is only applicable, when you request all the organization config rules.

\n
", + "smithy.api#documentation": "

Returns a list of organization Config rules.

\n\t\t\t\n\t\t \n

When you specify the limit and the next token, you receive a paginated response.\n\t\t\tLimit and next token are not applicable if you specify organization Config rule names. \n\t\t\tIt is only applicable, when you request all the organization Config rules.

\n
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -4203,13 +4261,13 @@ "OrganizationConfigRuleNames": { "target": "com.amazonaws.configservice#OrganizationConfigRuleNames", "traits": { - "smithy.api#documentation": "

The names of organization config rules for which you want details. If you do not specify any names, Config returns details for all your organization config rules.

" + "smithy.api#documentation": "

The names of organization Config rules for which you want details. If you do not specify any names, Config returns details for all your organization Config rules.

" } }, "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { - "smithy.api#documentation": "

The maximum number of organization config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.

" + "smithy.api#documentation": "

The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.

" } }, "NextToken": { @@ -5884,6 +5942,45 @@ } } }, + "com.amazonaws.configservice#GetCustomRulePolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.configservice#GetCustomRulePolicyRequest" + }, + "output": { + "target": "com.amazonaws.configservice#GetCustomRulePolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.configservice#NoSuchConfigRuleException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the policy definition containing the logic for your Config Custom Policy rule.

" + } + }, + "com.amazonaws.configservice#GetCustomRulePolicyRequest": { + "type": "structure", + "members": { + "ConfigRuleName": { + "target": "com.amazonaws.configservice#ConfigRuleName", + "traits": { + "smithy.api#documentation": "

The name of your Config Custom Policy rule.

" + } + } + } + }, + "com.amazonaws.configservice#GetCustomRulePolicyResponse": { + "type": "structure", + "members": { + "PolicyText": { + "target": "com.amazonaws.configservice#PolicyText", + "traits": { + "smithy.api#documentation": "

The policy definition containing the logic for your Config Custom Policy rule.

" + } + } + } + }, "com.amazonaws.configservice#GetDiscoveredResourceCounts": { "type": "operation", "input": { @@ -5981,7 +6078,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns detailed status for each member account within an organization for a given organization config rule.

", + "smithy.api#documentation": "

Returns detailed status for each member account within an organization for a given organization Config rule.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -5996,7 +6093,7 @@ "OrganizationConfigRuleName": { "target": "com.amazonaws.configservice#OrganizationConfigRuleName", "traits": { - "smithy.api#documentation": "

The name of organization config rule for which you want status details for member accounts.

", + "smithy.api#documentation": "

The name of your organization Config rule for which you want status details for member accounts.

", "smithy.api#required": {} } }, @@ -6116,6 +6213,49 @@ } } }, + "com.amazonaws.configservice#GetOrganizationCustomRulePolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.configservice#GetOrganizationCustomRulePolicyRequest" + }, + "output": { + "target": "com.amazonaws.configservice#GetOrganizationCustomRulePolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.configservice#NoSuchOrganizationConfigRuleException" + }, + { + "target": "com.amazonaws.configservice#OrganizationAccessDeniedException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the policy definition containing the logic for your organization Config Custom Policy rule.

" + } + }, + "com.amazonaws.configservice#GetOrganizationCustomRulePolicyRequest": { + "type": "structure", + "members": { + "OrganizationConfigRuleName": { + "target": "com.amazonaws.configservice#OrganizationConfigRuleName", + "traits": { + "smithy.api#documentation": "

The name of your organization Config Custom Policy rule.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.configservice#GetOrganizationCustomRulePolicyResponse": { + "type": "structure", + "members": { + "PolicyText": { + "target": "com.amazonaws.configservice#PolicyText", + "traits": { + "smithy.api#documentation": "

The policy definition containing the logic for your organization Config Custom Policy rule.

" + } + } + } + }, "com.amazonaws.configservice#GetResourceConfigHistory": { "type": "operation", "input": { @@ -6335,7 +6475,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates one of the following errors:

\n\t\t ", + "smithy.api#documentation": "

Indicates one of the following errors:

\n\t\t ", "smithy.api#error": "client" } }, @@ -6984,7 +7124,7 @@ } }, "traits": { - "smithy.api#documentation": "

You have reached the limit of the number of organization config rules you can create.

", + "smithy.api#documentation": "

You have reached the limit of the number of organization Config rules you can create.

", "smithy.api#error": "client" } }, @@ -7101,27 +7241,27 @@ "ConfigRuleName": { "target": "com.amazonaws.configservice#StringWithCharLimit64", "traits": { - "smithy.api#documentation": "

The name of config rule deployed in the member account.

", + "smithy.api#documentation": "

The name of Config rule deployed in the member account.

", "smithy.api#required": {} } }, "MemberAccountRuleStatus": { "target": "com.amazonaws.configservice#MemberAccountRuleStatus", "traits": { - "smithy.api#documentation": "

Indicates deployment status for config rule in the member account.\n\t\t\tWhen master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. \n\t\t\tConfig rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. \n\t\t

\n\t\t

Config sets the state of the rule to:

\n\t\t ", + "smithy.api#documentation": "

Indicates deployment status for Config rule in the member account.\n\t\t\tWhen master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. \n\t\t\tConfig rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. \n\t\t

\n\t\t

Config sets the state of the rule to:

\n\t\t ", "smithy.api#required": {} } }, "ErrorCode": { "target": "com.amazonaws.configservice#String", "traits": { - "smithy.api#documentation": "

An error code that is returned when config rule creation or deletion failed in the member account.

" + "smithy.api#documentation": "

An error code that is returned when Config rule creation or deletion failed in the member account.

" } }, "ErrorMessage": { "target": "com.amazonaws.configservice#String", "traits": { - "smithy.api#documentation": "

An error message indicating that config rule account creation or deletion has failed due to an error in the member account.

" + "smithy.api#documentation": "

An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.

" } }, "LastUpdateTime": { @@ -7132,7 +7272,7 @@ } }, "traits": { - "smithy.api#documentation": "

Organization config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.

" + "smithy.api#documentation": "

Organization Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.

" } }, "com.amazonaws.configservice#MessageType": { @@ -7250,7 +7390,7 @@ } }, "traits": { - "smithy.api#documentation": "

One or more Config rules in the request are invalid. Verify\n\t\t\tthat the rule names are correct and try again.

", + "smithy.api#documentation": "

The Config rule in the request is not valid. Verify that the rule is an Config Custom Policy rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

", "smithy.api#error": "client" } }, @@ -7340,7 +7480,7 @@ } }, "traits": { - "smithy.api#documentation": "

You specified one or more organization config rules that do not exist.

", + "smithy.api#documentation": "

The Config rule in the request is not valid. Verify that the rule is an organization Config Custom Policy rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

", "smithy.api#error": "client" } }, @@ -7470,14 +7610,14 @@ "OrganizationConfigRuleName": { "target": "com.amazonaws.configservice#OrganizationConfigRuleName", "traits": { - "smithy.api#documentation": "

The name that you assign to organization config rule.

", + "smithy.api#documentation": "

The name that you assign to organization Config rule.

", "smithy.api#required": {} } }, "OrganizationConfigRuleArn": { "target": "com.amazonaws.configservice#StringWithCharLimit256", "traits": { - "smithy.api#documentation": "

Amazon Resource Name (ARN) of organization config rule.

", + "smithy.api#documentation": "

Amazon Resource Name (ARN) of organization Config rule.

", "smithy.api#required": {} } }, @@ -7496,7 +7636,7 @@ "ExcludedAccounts": { "target": "com.amazonaws.configservice#ExcludedAccounts", "traits": { - "smithy.api#documentation": "

A comma-separated list of accounts excluded from organization config rule.

" + "smithy.api#documentation": "

A comma-separated list of accounts excluded from organization Config rule.

" } }, "LastUpdateTime": { @@ -7504,10 +7644,16 @@ "traits": { "smithy.api#documentation": "

The timestamp of the last update.

" } + }, + "OrganizationCustomPolicyRuleMetadata": { + "target": "com.amazonaws.configservice#OrganizationCustomPolicyRuleMetadataNoPolicy", + "traits": { + "smithy.api#documentation": "

An\n\t\t\tobject that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have\n\t\t\tdebug logging enabled, and other custom rule metadata, such as resource type, resource\n\t\t\tID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

" + } } }, "traits": { - "smithy.api#documentation": "

An organization config rule that has information about config rules that Config creates in member accounts.

" + "smithy.api#documentation": "

An organization Config rule that has information about Config rules that Config creates in member accounts.

" } }, "com.amazonaws.configservice#OrganizationConfigRuleDetailedStatus": { @@ -7544,27 +7690,27 @@ "OrganizationConfigRuleName": { "target": "com.amazonaws.configservice#OrganizationConfigRuleName", "traits": { - "smithy.api#documentation": "

The name that you assign to organization config rule.

", + "smithy.api#documentation": "

The name that you assign to organization Config rule.

", "smithy.api#required": {} } }, "OrganizationRuleStatus": { "target": "com.amazonaws.configservice#OrganizationRuleStatus", "traits": { - "smithy.api#documentation": "

Indicates deployment status of an organization config rule. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in all the member accounts. Additionally, config rule status is updated when one or more member accounts join or leave an organization. \n\t\t\tConfig rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

\n\t\t\t

Config sets the state of the rule to:

\n\t\t ", + "smithy.api#documentation": "

Indicates deployment status of an organization Config rule. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in all the member accounts. Additionally, Config rule status is updated when one or more member accounts join or leave an organization. \n\t\t\tConfig rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

\n\t\t\t

Config sets the state of the rule to:

\n\t\t ", "smithy.api#required": {} } }, "ErrorCode": { "target": "com.amazonaws.configservice#String", "traits": { - "smithy.api#documentation": "

An error code that is returned when organization config rule creation or deletion has failed.

" + "smithy.api#documentation": "

An error code that is returned when organization Config rule creation or deletion has failed.

" } }, "ErrorMessage": { "target": "com.amazonaws.configservice#String", "traits": { - "smithy.api#documentation": "

An error message indicating that organization config rule creation or deletion failed due to an error.

" + "smithy.api#documentation": "

An error message indicating that organization Config rule creation or deletion failed due to an error.

" } }, "LastUpdateTime": { @@ -7575,7 +7721,7 @@ } }, "traits": { - "smithy.api#documentation": "

Returns the status for an organization config rule in an organization.

" + "smithy.api#documentation": "

Returns the status for an organization Config rule in an organization.

" } }, "com.amazonaws.configservice#OrganizationConfigRuleStatuses": { @@ -7603,6 +7749,27 @@ ] } }, + "com.amazonaws.configservice#OrganizationConfigRuleTriggerTypeNoSN": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ConfigurationItemChangeNotification", + "name": "CONFIGURATION_ITEM_CHANGE_NOTIFICATION" + }, + { + "value": "OversizedConfigurationItemChangeNotification", + "name": "OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION" + } + ] + } + }, + "com.amazonaws.configservice#OrganizationConfigRuleTriggerTypeNoSNs": { + "type": "list", + "member": { + "target": "com.amazonaws.configservice#OrganizationConfigRuleTriggerTypeNoSN" + } + }, "com.amazonaws.configservice#OrganizationConfigRuleTriggerTypes": { "type": "list", "member": { @@ -7810,13 +7977,157 @@ "target": "com.amazonaws.configservice#OrganizationConformancePack" } }, + "com.amazonaws.configservice#OrganizationCustomPolicyRuleMetadata": { + "type": "structure", + "members": { + "Description": { + "target": "com.amazonaws.configservice#StringWithCharLimit256Min0", + "traits": { + "smithy.api#documentation": "

The description that you provide for your organization Config Custom Policy rule.

" + } + }, + "OrganizationConfigRuleTriggerTypes": { + "target": "com.amazonaws.configservice#OrganizationConfigRuleTriggerTypeNoSNs", + "traits": { + "smithy.api#documentation": "

The type of notification that initiates Config to run an evaluation for a rule.\n\t\t\tFor Config Custom Policy rules, Config supports change-initiated notification types:

\n\t\t\n\t\t " + } + }, + "InputParameters": { + "target": "com.amazonaws.configservice#StringWithCharLimit2048", + "traits": { + "smithy.api#documentation": "

A string, in JSON format, that is passed to your organization Config Custom Policy rule.

" + } + }, + "MaximumExecutionFrequency": { + "target": "com.amazonaws.configservice#MaximumExecutionFrequency", + "traits": { + "smithy.api#documentation": "

The maximum frequency with which Config runs evaluations for a rule. Your\n\t\t\tConfig Custom Policy rule is triggered when Config delivers\n\t\t\tthe configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.

" + } + }, + "ResourceTypesScope": { + "target": "com.amazonaws.configservice#ResourceTypesScope", + "traits": { + "smithy.api#documentation": "

The type of the Amazon Web Services resource that was evaluated.

" + } + }, + "ResourceIdScope": { + "target": "com.amazonaws.configservice#StringWithCharLimit768", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services resource that was evaluated.

" + } + }, + "TagKeyScope": { + "target": "com.amazonaws.configservice#StringWithCharLimit128", + "traits": { + "smithy.api#documentation": "

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

" + } + }, + "TagValueScope": { + "target": "com.amazonaws.configservice#StringWithCharLimit256", + "traits": { + "smithy.api#documentation": "

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

" + } + }, + "PolicyRuntime": { + "target": "com.amazonaws.configservice#PolicyRuntime", + "traits": { + "smithy.api#documentation": "

The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub\n\t\t\tRepository.

", + "smithy.api#required": {} + } + }, + "PolicyText": { + "target": "com.amazonaws.configservice#PolicyText", + "traits": { + "smithy.api#documentation": "

The policy definition containing the logic for your organization Config Custom Policy rule.

", + "smithy.api#required": {} + } + }, + "DebugLogDeliveryAccounts": { + "target": "com.amazonaws.configservice#DebugLogDeliveryAccounts", + "traits": { + "smithy.api#documentation": "

A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An\n\t\t\tobject that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have\n\t\t\tdebug logging enabled, and other custom rule metadata, such as resource type, resource\n\t\t\tID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

" + } + }, + "com.amazonaws.configservice#OrganizationCustomPolicyRuleMetadataNoPolicy": { + "type": "structure", + "members": { + "Description": { + "target": "com.amazonaws.configservice#StringWithCharLimit256Min0", + "traits": { + "smithy.api#documentation": "

The description that you provide for your organization Config Custom Policy rule.

" + } + }, + "OrganizationConfigRuleTriggerTypes": { + "target": "com.amazonaws.configservice#OrganizationConfigRuleTriggerTypeNoSNs", + "traits": { + "smithy.api#documentation": "

The type of notification that triggers Config to run an evaluation for a rule.\n\t\t\tFor Config Custom Policy rules, Config supports change\n\t\t\ttriggered notification types:

\n\t\t\n\t\t " + } + }, + "InputParameters": { + "target": "com.amazonaws.configservice#StringWithCharLimit2048", + "traits": { + "smithy.api#documentation": "

A string, in JSON format, that is passed to your organization Config Custom Policy rule.

" + } + }, + "MaximumExecutionFrequency": { + "target": "com.amazonaws.configservice#MaximumExecutionFrequency", + "traits": { + "smithy.api#documentation": "

The maximum frequency with which Config runs evaluations for a rule. Your\n\t\t\tConfig Custom Policy rule is triggered when Config delivers\n\t\t\tthe configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.

" + } + }, + "ResourceTypesScope": { + "target": "com.amazonaws.configservice#ResourceTypesScope", + "traits": { + "smithy.api#documentation": "

The type of the Amazon Web Services resource that was evaluated.

" + } + }, + "ResourceIdScope": { + "target": "com.amazonaws.configservice#StringWithCharLimit768", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services resource that was evaluated.

" + } + }, + "TagKeyScope": { + "target": "com.amazonaws.configservice#StringWithCharLimit128", + "traits": { + "smithy.api#documentation": "

One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.

" + } + }, + "TagValueScope": { + "target": "com.amazonaws.configservice#StringWithCharLimit256", + "traits": { + "smithy.api#documentation": "

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

" + } + }, + "PolicyRuntime": { + "target": "com.amazonaws.configservice#PolicyRuntime", + "traits": { + "smithy.api#documentation": "

The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub\n\t\t\tRepository.

" + } + }, + "DebugLogDeliveryAccounts": { + "target": "com.amazonaws.configservice#DebugLogDeliveryAccounts", + "traits": { + "smithy.api#documentation": "

A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that specifies metadata for your organization Config Custom Policy rule including the runtime system in use, which accounts have debug logging enabled, and\n\t\t\tother custom rule metadata such as resource type, resource ID of Amazon Web Services\n\t\t\tresource, and organization trigger types that trigger Config to evaluate\n\t\t\t\tAmazon Web Services resources against a rule.

" + } + }, "com.amazonaws.configservice#OrganizationCustomRuleMetadata": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.configservice#StringWithCharLimit256Min0", "traits": { - "smithy.api#documentation": "

The description that you provide for organization config rule.

" + "smithy.api#documentation": "

The description that you provide for your organization Config rule.

" } }, "LambdaFunctionArn": { @@ -7836,7 +8147,7 @@ "InputParameters": { "target": "com.amazonaws.configservice#StringWithCharLimit2048", "traits": { - "smithy.api#documentation": "

A string, in JSON format, that is passed to organization config rule Lambda function.

" + "smithy.api#documentation": "

A string, in JSON format, that is passed to your organization Config rule Lambda function.

" } }, "MaximumExecutionFrequency": { @@ -7880,7 +8191,7 @@ "Description": { "target": "com.amazonaws.configservice#StringWithCharLimit256Min0", "traits": { - "smithy.api#documentation": "

The description that you provide for organization config rule.

" + "smithy.api#documentation": "

The description that you provide for your organization Config rule.

" } }, "RuleIdentifier": { @@ -7893,7 +8204,7 @@ "InputParameters": { "target": "com.amazonaws.configservice#StringWithCharLimit2048", "traits": { - "smithy.api#documentation": "

A string, in JSON format, that is passed to organization config rule Lambda function.

" + "smithy.api#documentation": "

A string, in JSON format, that is passed to your organization Config rule Lambda function.

" } }, "MaximumExecutionFrequency": { @@ -8106,6 +8417,10 @@ { "value": "AWS", "name": "Aws" + }, + { + "value": "CUSTOM_POLICY", + "name": "Custom_Policy" } ] } @@ -8173,6 +8488,25 @@ } } }, + "com.amazonaws.configservice#PolicyRuntime": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^guard\\-2\\.x\\.x$" + } + }, + "com.amazonaws.configservice#PolicyText": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10000 + } + } + }, "com.amazonaws.configservice#PutAggregationAuthorization": { "type": "operation", "input": { @@ -8429,7 +8763,7 @@ "TemplateBody": { "target": "com.amazonaws.configservice#TemplateBody", "traits": { - "smithy.api#documentation": "

A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

\n\t\t \n

You can only use a YAML template with two resource types: config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).

\n
" + "smithy.api#documentation": "

A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.

\n\t\t \n

You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).

\n
" } }, "DeliveryS3Bucket": { @@ -8655,7 +8989,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds or updates organization config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your \n\t\t\tdesired configurations.

\n\t

Only a master account and a delegated administrator can create or update an organization config rule.\n\t\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\tListDelegatedAdministrator permissions are added.

\n\t\t

This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked \n\t\t\trole AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. \n\t\t\tThe service linked role is created only when the role does not exist in the caller account. \n\t\t\tConfig verifies the existence of role with GetRole action.

\n\t\t

To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization\n\t\t\tregister-delegated-administrator for config-multiaccountsetup.amazonaws.com.

\n\t\t

You can use this action to create both custom Config rules and Config managed rules. \n\t\t\tIf you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated \n\t\t\tadministrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.\n\t\t\tWhen you use the PutOrganizationConfigRule action to add the rule to Config, you must \n\t\t\tspecify the Amazon Resource Name (ARN) that Lambda assigns to the function. \n\t\t\tIf you are adding an Config managed rule, specify the rule's identifier for the RuleIdentifier key.

\n\t\t

The maximum number of organization config rules that Config supports is 150 and 3 delegated administrator per organization.

\n\t\t \n

Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization.

\n\t\t\t

Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.

\n\t\t\t
" + "smithy.api#documentation": "

Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your \n\t\t\tdesired configurations.

\n\t

Only a master account and a delegated administrator can create or update an organization Config rule.\n\t\tWhen calling this API with a delegated administrator, you must ensure Organizations \n\t\tListDelegatedAdministrator permissions are added.

\n\t\t

This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked \n\t\t\trole AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. \n\t\t\tThe service linked role is created only when the role does not exist in the caller account. \n\t\t\tConfig verifies the existence of role with GetRole action.

\n\t\t

To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization\n\t\t\tregister-delegated-administrator for config-multiaccountsetup.amazonaws.com.

\n\t\t

You can use this action to create both custom Config rules and Config managed rules. \n\t\t\tIf you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated \n\t\t\tadministrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.\n\t\t\tWhen you use the PutOrganizationConfigRule action to add the rule to Config, you must \n\t\t\tspecify the Amazon Resource Name (ARN) that Lambda assigns to the function. \n\t\t\tIf you are adding an Config managed rule, specify the rule's identifier for the RuleIdentifier key.

\n\t\t

The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization.

\n\t\t \n

Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization.

\n\t\t\t

Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.

\n\t\t\t
" } }, "com.amazonaws.configservice#PutOrganizationConfigRuleRequest": { @@ -8664,7 +8998,7 @@ "OrganizationConfigRuleName": { "target": "com.amazonaws.configservice#OrganizationConfigRuleName", "traits": { - "smithy.api#documentation": "

The name that you assign to an organization config rule.

", + "smithy.api#documentation": "

The name that you assign to an organization Config rule.

", "smithy.api#required": {} } }, @@ -8683,7 +9017,13 @@ "ExcludedAccounts": { "target": "com.amazonaws.configservice#ExcludedAccounts", "traits": { - "smithy.api#documentation": "

A comma-separated list of accounts that you want to exclude from an organization config rule.

" + "smithy.api#documentation": "

A comma-separated list of accounts that you want to exclude from an organization Config rule.

" + } + }, + "OrganizationCustomPolicyRuleMetadata": { + "target": "com.amazonaws.configservice#OrganizationCustomPolicyRuleMetadata", + "traits": { + "smithy.api#documentation": "

An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug\n\t\t\tlogging enabled, and other custom rule metadata, such as resource type, resource ID of\n\t\t\t\tAmazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

" } } } @@ -8694,7 +9034,7 @@ "OrganizationConfigRuleArn": { "target": "com.amazonaws.configservice#StringWithCharLimit256", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an organization config rule.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an organization Config rule.

" } } } @@ -9809,7 +10149,7 @@ } }, "traits": { - "smithy.api#documentation": "

You see this exception in the following cases:

\n\t\t ", + "smithy.api#documentation": "

You see this exception in the following cases:

\n\t\t ", "smithy.api#error": "client" } }, @@ -10351,6 +10691,10 @@ { "value": "AWS::ECR::PublicRepository", "name": "ECRPublicRepository" + }, + { + "value": "AWS::GuardDuty::Detector", + "name": "GuardDutyDetector" } ] } @@ -10707,26 +11051,31 @@ "Owner": { "target": "com.amazonaws.configservice#Owner", "traits": { - "smithy.api#documentation": "

Indicates whether Amazon Web Services or the customer owns and manages the Config rule.

", + "smithy.api#documentation": "

Indicates whether Amazon Web Services or the customer owns and manages the Config rule.

\n\t\t\n\t\t

Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see Config Managed Rules in the Config developer guide.

\n\t\t\n\t\t

Config Custom Rules are rules that you can develop either with Guard (CUSTOM_POLICY) or Lambda (CUSTOM_LAMBDA). For more information, see Config Custom Rules in the Config developer guide.

", "smithy.api#required": {} } }, "SourceIdentifier": { "target": "com.amazonaws.configservice#StringWithCharLimit256", "traits": { - "smithy.api#documentation": "

For Config managed rules, a predefined identifier from a\n\t\t\tlist. For example, IAM_PASSWORD_POLICY is a managed\n\t\t\trule. To reference a managed rule, see Using Config managed rules.

\n\t\t

For custom rules, the identifier is the Amazon Resource Name\n\t\t\t(ARN) of the rule's Lambda function, such as\n\t\t\t\tarn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.

", - "smithy.api#required": {} + "smithy.api#documentation": "

For Config Managed rules, a predefined identifier from a\n\t\t\tlist. For example, IAM_PASSWORD_POLICY is a managed\n\t\t\trule. To reference a managed rule, see List of Config Managed Rules.

\n\t\t

For Config Custom Lambda rules, the identifier is the Amazon Resource Name\n\t\t\t(ARN) of the rule's Lambda function, such as\n\t\t\tarn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.

\n\t\t\n\t\t

For Config Custom Policy rules, this field will be ignored.

" } }, "SourceDetails": { "target": "com.amazonaws.configservice#SourceDetails", "traits": { - "smithy.api#documentation": "

Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.

" + "smithy.api#documentation": "

Provides the source and the message types that cause Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

\n\t\t\n\t\t

If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule trigger message type are ConfigurationItemChangeNotification and OversizedConfigurationItemChangeNotification.

" + } + }, + "CustomPolicyDetails": { + "target": "com.amazonaws.configservice#CustomPolicyDetails", + "traits": { + "smithy.api#documentation": "

Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to CUSTOM_POLICY.

" } } }, "traits": { - "smithy.api#documentation": "

Provides the Config rule owner (Amazon Web Services or customer), the rule\n\t\t\tidentifier, and the events that trigger the evaluation of your Amazon Web Services\n\t\t\tresources.

" + "smithy.api#documentation": "

Provides the CustomPolicyDetails, the rule owner (Amazon Web Services or customer), the rule\n\t\t\tidentifier, and the events that cause the evaluation of your Amazon Web Services\n\t\t\tresources.

" } }, "com.amazonaws.configservice#SourceDetail": { @@ -10747,7 +11096,7 @@ "MaximumExecutionFrequency": { "target": "com.amazonaws.configservice#MaximumExecutionFrequency", "traits": { - "smithy.api#documentation": "

The frequency at which you want Config to run evaluations\n\t\t\tfor a custom rule with a periodic trigger. If you specify a value\n\t\t\tfor MaximumExecutionFrequency, then\n\t\t\t\tMessageType must use the\n\t\t\t\tScheduledNotification value.

\n\n\n\t\t\n\n\n\t\t \n\t\t\t

By default, rules with a periodic trigger are evaluated\n\t\t\t\tevery 24 hours. To change the frequency, specify a valid value\n\t\t\t\tfor the MaximumExecutionFrequency\n\t\t\t\tparameter.

\n\t\t\t

Based on the valid value you choose, Config runs\n\t\t\t\tevaluations once for each valid value. For example, if you\n\t\t\t\tchoose Three_Hours, Config runs evaluations\n\t\t\t\tonce every three hours. In this case, Three_Hours\n\t\t\t\tis the frequency of this rule.

\n\t\t
" + "smithy.api#documentation": "

The frequency at which you want Config to run evaluations\n\t\t\tfor a custom rule with a periodic trigger. If you specify a value\n\t\t\tfor MaximumExecutionFrequency, then\n\t\t\t\tMessageType must use the\n\t\t\t\tScheduledNotification value.

\n\n\n\t\t\n\n\t\t \n\t\t\t

By default, rules with a periodic trigger are evaluated\n\t\t\t\tevery 24 hours. To change the frequency, specify a valid value\n\t\t\t\tfor the MaximumExecutionFrequency\n\t\t\t\tparameter.

\n\t\t\t

Based on the valid value you choose, Config runs\n\t\t\t\tevaluations once for each valid value. For example, if you\n\t\t\t\tchoose Three_Hours, Config runs evaluations\n\t\t\t\tonce every three hours. In this case, Three_Hours\n\t\t\t\tis the frequency of this rule.

\n\t\t
" } } }, @@ -10980,6 +11329,9 @@ { "target": "com.amazonaws.configservice#GetConformancePackComplianceSummary" }, + { + "target": "com.amazonaws.configservice#GetCustomRulePolicy" + }, { "target": "com.amazonaws.configservice#GetDiscoveredResourceCounts" }, @@ -10989,6 +11341,9 @@ { "target": "com.amazonaws.configservice#GetOrganizationConformancePackDetailedStatus" }, + { + "target": "com.amazonaws.configservice#GetOrganizationCustomRulePolicy" + }, { "target": "com.amazonaws.configservice#GetResourceConfigHistory" }, @@ -11255,12 +11610,12 @@ "MemberAccountRuleStatus": { "target": "com.amazonaws.configservice#MemberAccountRuleStatus", "traits": { - "smithy.api#documentation": "

Indicates deployment status for config rule in the member account.\n\t\t\tWhen master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. \n\t\t\tConfig rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. \n\t\t\t

\n\t\t

Config sets the state of the rule to:

\n\t\t " + "smithy.api#documentation": "

Indicates deployment status for Config rule in the member account.\n\t\t\tWhen master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. \n\t\t\tWhen master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. \n\t\t\tConfig rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. \n\t\t\t

\n\t\t

Config sets the state of the rule to:

\n\t\t " } } }, "traits": { - "smithy.api#documentation": "

Status filter object to filter results based on specific member account ID or status type for an organization config rule.

" + "smithy.api#documentation": "

Status filter object to filter results based on specific member account ID or status type for an organization Config rule.

" } }, "com.amazonaws.configservice#StopConfigurationRecorder": { diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 925a05e05c0..a63406d655e 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -1345,6 +1345,12 @@ "traits": { "smithy.api#documentation": "

The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64).\n The default value is x86_64.

" } + }, + "EphemeralStorage": { + "target": "com.amazonaws.lambda#EphemeralStorage", + "traits": { + "smithy.api#documentation": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

" + } } } }, @@ -2100,6 +2106,31 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.lambda#EphemeralStorage": { + "type": "structure", + "members": { + "Size": { + "target": "com.amazonaws.lambda#EphemeralStorageSize", + "traits": { + "smithy.api#documentation": "

The size of the function’s /tmp directory.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

" + } + }, + "com.amazonaws.lambda#EphemeralStorageSize": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 512, + "max": 10240 + } + } + }, "com.amazonaws.lambda#EventSourceMappingConfiguration": { "type": "structure", "members": { @@ -2635,6 +2666,12 @@ "traits": { "smithy.api#documentation": "

The instruction set architecture that the function supports. Architecture is a string array with one of the \n valid values. The default architecture value is x86_64.

" } + }, + "EphemeralStorage": { + "target": "com.amazonaws.lambda#EphemeralStorage", + "traits": { + "smithy.api#documentation": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

" + } } }, "traits": { @@ -8001,6 +8038,12 @@ "traits": { "smithy.api#documentation": "

\n Container image configuration\n values that override the values in the container image Docker file.

" } + }, + "EphemeralStorage": { + "target": "com.amazonaws.lambda#EphemeralStorage", + "traits": { + "smithy.api#documentation": "

The size of the function’s /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10240 MB.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/transcribe.json b/codegen/sdk-codegen/aws-models/transcribe.json index 2502718d755..bed80bf6d06 100644 --- a/codegen/sdk-codegen/aws-models/transcribe.json +++ b/codegen/sdk-codegen/aws-models/transcribe.json @@ -146,7 +146,7 @@ "MediaSampleRateHertz": { "target": "com.amazonaws.transcribe#MediaSampleRateHertz", "traits": { - "smithy.api#documentation": "

The sample rate, in Hertz, of the audio.

" + "smithy.api#documentation": "

The sample rate, in Hertz, of the input audio.

" } }, "MediaFormat": { @@ -4093,7 +4093,7 @@ "LanguageCode": { "target": "com.amazonaws.transcribe#LanguageCode", "traits": { - "smithy.api#documentation": "

The language code for the language used in the input media file.

\n

To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must \n be encoded at a sample rate of 16,000 Hz or higher.

" + "smithy.api#documentation": "

The language code for the language used in the input media file. You must include \n either LanguageCode or IdentifyLanguage in your \n request.

\n

To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must \n be encoded at a sample rate of 16,000 Hz or higher.

" } }, "MediaSampleRateHertz": { @@ -4166,7 +4166,7 @@ "IdentifyLanguage": { "target": "com.amazonaws.transcribe#Boolean", "traits": { - "smithy.api#documentation": "

Set this field to true to enable automatic language identification. \n Automatic language identification is disabled by default. You receive a\n BadRequestException error if you enter a value for a\n LanguageCode.

" + "smithy.api#documentation": "

Set this field to true to enable automatic language identification. \n Automatic language identification is disabled by default. You receive a\n BadRequestException error if you enter a value for a\n LanguageCode.

\n

You must include either LanguageCode or \n IdentifyLanguage in your request.

" } }, "LanguageOptions": { @@ -4201,7 +4201,7 @@ "TranscriptionJob": { "target": "com.amazonaws.transcribe#TranscriptionJob", "traits": { - "smithy.api#documentation": "

An object containing details of the asynchronous transcription job.

" + "smithy.api#documentation": "

Provides information about your asynchronous transcription job.

" } } } @@ -4247,18 +4247,34 @@ "target": "com.amazonaws.transcribe#SubtitleFormat" } }, + "com.amazonaws.transcribe#SubtitleOutputStartIndex": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 1 + } + } + }, "com.amazonaws.transcribe#Subtitles": { "type": "structure", "members": { "Formats": { "target": "com.amazonaws.transcribe#SubtitleFormats", "traits": { - "smithy.api#documentation": "

Specify the output format for your subtitle file.

" + "smithy.api#documentation": "

Specify the output format for your subtitle file; if you select both srt and\n vtt formats, two output files are generated.

" + } + }, + "OutputStartIndex": { + "target": "com.amazonaws.transcribe#SubtitleOutputStartIndex", + "traits": { + "smithy.api#documentation": "

Defines the starting value that is assigned to the first subtitle segment.

\n

The default start index for Amazon Transcribe is 0, which differs from\n the more widely used standard of 1. If you're uncertain which value to use,\n we recommend choosing 1, as this may improve compatibility with other\n services.

" } } }, "traits": { - "smithy.api#documentation": "

Generate subtitles for your batch transcription job.

" + "smithy.api#documentation": "

Generate subtitles for your batch transcription job. Note that your subtitle files are\n placed in the same location as your transcription output.

" } }, "com.amazonaws.transcribe#SubtitlesOutput": { @@ -4267,7 +4283,7 @@ "Formats": { "target": "com.amazonaws.transcribe#SubtitleFormats", "traits": { - "smithy.api#documentation": "

Specify the output format for your subtitle file; if you select both SRT and VTT formats,\n two output files are generated.

" + "smithy.api#documentation": "

The format of your subtitle files. If your request specified both srt and\n vtt formats, both formats are shown.

" } }, "SubtitleFileUris": { @@ -4275,10 +4291,16 @@ "traits": { "smithy.api#documentation": "

Contains the output location for your subtitle file. This location must be an S3 \n bucket.

" } + }, + "OutputStartIndex": { + "target": "com.amazonaws.transcribe#SubtitleOutputStartIndex", + "traits": { + "smithy.api#documentation": "

Shows the output start index value for your subtitle files. If you did not specify a value\n in your request, the default value of 0 is used.

" + } } }, "traits": { - "smithy.api#documentation": "

Choose the output format for your subtitle file and the S3 location where you want\n your file saved.

" + "smithy.api#documentation": "

The S3 location where your subtitle files are located. Note that your subtitle files are\n placed in the same location as your transcription output. Refer to\n TranscriptFileUri to download your files.

" } }, "com.amazonaws.transcribe#Tag": {