From cbf4363fbf70ecc7bf18f1b464d3db063f82bd37 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Thu, 30 Jun 2022 18:10:22 +0000 Subject: [PATCH] Update API model --- codegen/sdk-codegen/aws-models/athena.json | 142 ++++- .../aws-models/customer-profiles.json | 28 +- codegen/sdk-codegen/aws-models/emr.json | 12 + codegen/sdk-codegen/aws-models/glue.json | 27 +- codegen/sdk-codegen/aws-models/kendra.json | 227 ++++++-- codegen/sdk-codegen/aws-models/mwaa.json | 82 +-- codegen/sdk-codegen/aws-models/pricing.json | 8 +- .../aws-models/wellarchitected.json | 108 ++++ codegen/sdk-codegen/aws-models/workmail.json | 486 ++++++++++++++++++ 9 files changed, 1029 insertions(+), 91 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/athena.json b/codegen/sdk-codegen/aws-models/athena.json index a5807d38977..342c8587867 100644 --- a/codegen/sdk-codegen/aws-models/athena.json +++ b/codegen/sdk-codegen/aws-models/athena.json @@ -66,6 +66,9 @@ { "target": "com.amazonaws.athena#BatchGetNamedQuery" }, + { + "target": "com.amazonaws.athena#BatchGetPreparedStatement" + }, { "target": "com.amazonaws.athena#BatchGetQueryExecution" }, @@ -260,6 +263,62 @@ } } }, + "com.amazonaws.athena#BatchGetPreparedStatement": { + "type": "operation", + "input": { + "target": "com.amazonaws.athena#BatchGetPreparedStatementInput" + }, + "output": { + "target": "com.amazonaws.athena#BatchGetPreparedStatementOutput" + }, + "errors": [ + { + "target": "com.amazonaws.athena#InternalServerException" + }, + { + "target": "com.amazonaws.athena#InvalidRequestException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the details of a single prepared statement or a list of up to 256 prepared statements for the array of prepared statement names that you provide. Requires you to have access to the workgroup to which the prepared statements belong. If a prepared statement cannot be retrieved for the name specified, the statement is listed in UnprocessedPreparedStatementNames.

" + } + }, + "com.amazonaws.athena#BatchGetPreparedStatementInput": { + "type": "structure", + "members": { + "PreparedStatementNames": { + "target": "com.amazonaws.athena#PreparedStatementNameList", + "traits": { + "smithy.api#documentation": "

A list of prepared statement names to return.

", + "smithy.api#required": {} + } + }, + "WorkGroup": { + "target": "com.amazonaws.athena#WorkGroupName", + "traits": { + "smithy.api#documentation": "

The name of the workgroup to which the prepared statements belong.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.athena#BatchGetPreparedStatementOutput": { + "type": "structure", + "members": { + "PreparedStatements": { + "target": "com.amazonaws.athena#PreparedStatementDetailsList", + "traits": { + "smithy.api#documentation": "

The list of prepared statements returned.

" + } + }, + "UnprocessedPreparedStatementNames": { + "target": "com.amazonaws.athena#UnprocessedPreparedStatementNameList", + "traits": { + "smithy.api#documentation": "

A list of one or more prepared statements that were requested but could not be returned.

" + } + } + } + }, "com.amazonaws.athena#BatchGetQueryExecution": { "type": "operation", "input": { @@ -1138,6 +1197,26 @@ } } }, + "com.amazonaws.athena#ExecutionParameter": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.athena#ExecutionParameters": { + "type": "list", + "member": { + "target": "com.amazonaws.athena#ExecutionParameter" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, "com.amazonaws.athena#ExpressionString": { "type": "string", "traits": { @@ -1872,7 +1951,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the prepared statements in the specfied workgroup.

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

Lists the prepared statements in the specified workgroup.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -2457,6 +2536,18 @@ "smithy.api#documentation": "

A prepared SQL statement for use with Athena.

" } }, + "com.amazonaws.athena#PreparedStatementDetailsList": { + "type": "list", + "member": { + "target": "com.amazonaws.athena#PreparedStatement" + } + }, + "com.amazonaws.athena#PreparedStatementNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.athena#StatementName" + } + }, "com.amazonaws.athena#PreparedStatementSummary": { "type": "structure", "members": { @@ -2545,6 +2636,12 @@ "traits": { "smithy.api#documentation": "

The engine version that executed the query.

" } + }, + "ExecutionParameters": { + "target": "com.amazonaws.athena#ExecutionParameters", + "traits": { + "smithy.api#documentation": "

A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.

" + } } }, "traits": { @@ -2723,7 +2820,10 @@ "target": "com.amazonaws.athena#ErrorMessage" }, "ResourceName": { - "target": "com.amazonaws.athena#AmazonResourceName" + "target": "com.amazonaws.athena#AmazonResourceName", + "traits": { + "smithy.api#documentation": "

The name of the Amazon resource.

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

The name of the workgroup in which the query is being started.

" } + }, + "ExecutionParameters": { + "target": "com.amazonaws.athena#ExecutionParameters", + "traits": { + "smithy.api#documentation": "

A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.

" + } } } }, @@ -3269,6 +3375,38 @@ "target": "com.amazonaws.athena#UnprocessedNamedQueryId" } }, + "com.amazonaws.athena#UnprocessedPreparedStatementName": { + "type": "structure", + "members": { + "StatementName": { + "target": "com.amazonaws.athena#StatementName", + "traits": { + "smithy.api#documentation": "

The name of a prepared statement that could not be returned due to an error.

" + } + }, + "ErrorCode": { + "target": "com.amazonaws.athena#ErrorCode", + "traits": { + "smithy.api#documentation": "

The error code returned when the request for the prepared statement failed.

" + } + }, + "ErrorMessage": { + "target": "com.amazonaws.athena#ErrorMessage", + "traits": { + "smithy.api#documentation": "

The error message containing the reason why the prepared statement could not be returned.\n The following error messages are possible:

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

The name of a prepared statement that could not be returned.

" + } + }, + "com.amazonaws.athena#UnprocessedPreparedStatementNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.athena#UnprocessedPreparedStatementName" + } + }, "com.amazonaws.athena#UnprocessedQueryExecutionId": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/customer-profiles.json b/codegen/sdk-codegen/aws-models/customer-profiles.json index 01605938553..6b2885664eb 100644 --- a/codegen/sdk-codegen/aws-models/customer-profiles.json +++ b/codegen/sdk-codegen/aws-models/customer-profiles.json @@ -89,7 +89,7 @@ "KeyName": { "target": "com.amazonaws.customerprofiles#name", "traits": { - "smithy.api#documentation": "

A searchable identifier of a customer profile.

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

A searchable identifier of a customer profile. The predefined keys you can use\n include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone,\n _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId,\n _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId,\n _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId,\n _shopifyOrderId.

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

How the auto-merging process should resolve conflicts between different profiles. For\n example, if Profile A and Profile B have the same FirstName and\n LastName (and that is the matching criteria), which\n EmailAddress should be used?

" } + }, + "MinAllowedConfidenceScoreForMerging": { + "target": "com.amazonaws.customerprofiles#Double0To1", + "traits": { + "smithy.api#documentation": "

A number between 0 and 1 that represents the minimum confidence score required for\n profiles within a matching group to be merged during the auto-merge process. A higher\n score means higher similarity required to merge profiles.

" + } } }, "traits": { @@ -1652,6 +1658,16 @@ "smithy.api#box": {} } }, + "com.amazonaws.customerprofiles#Double0To1": { + "type": "double", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0.0, + "max": 1.0 + } + } + }, "com.amazonaws.customerprofiles#ExportingConfig": { "type": "structure", "members": { @@ -2002,6 +2018,12 @@ "smithy.api#documentation": "

How the auto-merging process should resolve conflicts between different profiles.

", "smithy.api#required": {} } + }, + "MinAllowedConfidenceScoreForMerging": { + "target": "com.amazonaws.customerprofiles#Double0To1", + "traits": { + "smithy.api#documentation": "

Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.

" + } } } }, @@ -4219,7 +4241,7 @@ "ConfidenceScore": { "target": "com.amazonaws.customerprofiles#Double", "traits": { - "smithy.api#documentation": "

A number between 0 and 1 that represents the confidence level of assigning profiles to a\n matching group. A score of 1 likely indicates an exact match.

" + "smithy.api#documentation": "

A number between 0 and 1, where a higher score means higher similarity.\n Examining match confidence scores lets you distinguish between groups of similar records in which\n the system is highly confident (which you may decide to merge), groups of similar records about\n which the system is uncertain (which you may decide to have reviewed by a human),\n and groups of similar records that the system deems to be unlikely (which you may decide to reject).\n Given confidence scores vary as per the data input, it should not be used an absolute\n measure of matching quality.

" } } }, @@ -5033,7 +5055,7 @@ "TemplateId": { "target": "com.amazonaws.customerprofiles#name", "traits": { - "smithy.api#documentation": "

A unique identifier for the object template.

" + "smithy.api#documentation": "

A unique identifier for the object template. For some attributes in the request, the\n service will use the default value from the object template when TemplateId is present. If\n these attributes are present in the request, the service may return a BadRequestException. \n These attributes include: AllowProfileCreation, SourceLastUpdatedTimestampFormat, \n Fields, and Keys. For example, if AllowProfileCreation is set to true when TemplateId is set, the service\n may return a BadRequestException.

" } }, "ExpirationDays": { diff --git a/codegen/sdk-codegen/aws-models/emr.json b/codegen/sdk-codegen/aws-models/emr.json index bdd4ff9f895..dff8da1c6a9 100644 --- a/codegen/sdk-codegen/aws-models/emr.json +++ b/codegen/sdk-codegen/aws-models/emr.json @@ -212,6 +212,12 @@ "smithy.api#documentation": "

A list of StepConfig to be executed by the job flow.

", "smithy.api#required": {} } + }, + "ExecutionRoleArn": { + "target": "com.amazonaws.emr#ArnType", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The\n runtime role can be a cross-account IAM role. The runtime role ARN is a combination of\n account ID, role name, and role type using the following format:\n arn:partition:service:region:account:resource.

\n

For example, arn:aws:iam::1234567890:role/ReadOnly is a correctly formatted\n runtime role ARN.

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

The current execution status details of the cluster step.

" } + }, + "ExecutionRoleArn": { + "target": "com.amazonaws.emr#OptionalArnType", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The\n runtime role can be a cross-account IAM role. The runtime role ARN is a combination of\n account ID, role name, and role type using the following format:\n arn:partition:service:region:account:resource.

\n

For example, arn:aws:iam::1234567890:role/ReadOnly is a correctly formatted\n runtime role ARN.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/glue.json b/codegen/sdk-codegen/aws-models/glue.json index 0028e42802a..b6db3ce2e55 100644 --- a/codegen/sdk-codegen/aws-models/glue.json +++ b/codegen/sdk-codegen/aws-models/glue.json @@ -4147,7 +4147,7 @@ "ConnectionProperties": { "target": "com.amazonaws.glue#ConnectionProperties", "traits": { - "smithy.api#documentation": "

These key-value pairs define parameters for the connection:

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

These key-value pairs define parameters for the connection:

\n " } }, "PhysicalConnectionRequirements": { @@ -5509,6 +5509,12 @@ "smithy.api#documentation": "

The metadata for the database.

", "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.glue#TagsMap", + "traits": { + "smithy.api#documentation": "

The tags you assign to the database.

" + } } } }, @@ -10848,7 +10854,7 @@ "HidePassword": { "target": "com.amazonaws.glue#Boolean", "traits": { - "smithy.api#documentation": "

Allows you to retrieve the connection metadata without returning the password. For\n instance, the AWS Glue console uses this flag to retrieve the connection, and does not display\n the password. Set this parameter when the caller might not have permission to use the KMS\n key to decrypt the password, but it does have permission to access the rest of the connection\n properties.

" + "smithy.api#documentation": "

Allows you to retrieve the connection metadata without returning the password. For\n instance, the Glue console uses this flag to retrieve the connection, and does not display\n the password. Set this parameter when the caller might not have permission to use the KMS\n key to decrypt the password, but it does have permission to access the rest of the connection\n properties.

" } } } @@ -10933,7 +10939,7 @@ "HidePassword": { "target": "com.amazonaws.glue#Boolean", "traits": { - "smithy.api#documentation": "

Allows you to retrieve the connection metadata without returning the password. For\n instance, the AWS Glue console uses this flag to retrieve the connection, and does not display\n the password. Set this parameter when the caller might not have permission to use the KMS\n key to decrypt the password, but it does have permission to access the rest of the connection\n properties.

" + "smithy.api#documentation": "

Allows you to retrieve the connection metadata without returning the password. For\n instance, the Glue console uses this flag to retrieve the connection, and does not display\n the password. Set this parameter when the caller might not have permission to use the KMS\n key to decrypt the password, but it does have permission to access the rest of the connection\n properties.

" } }, "NextToken": { @@ -23942,7 +23948,10 @@ } }, "AdditionalLocations": { - "target": "com.amazonaws.glue#LocationStringList" + "target": "com.amazonaws.glue#LocationStringList", + "traits": { + "smithy.api#documentation": "

A list of locations that point to the path where a Delta table is located.

" + } }, "InputFormat": { "target": "com.amazonaws.glue#FormatString", @@ -24196,7 +24205,10 @@ } }, "VersionId": { - "target": "com.amazonaws.glue#VersionString" + "target": "com.amazonaws.glue#VersionString", + "traits": { + "smithy.api#documentation": "

The ID of the table version.

" + } } }, "traits": { @@ -26653,7 +26665,10 @@ } }, "VersionId": { - "target": "com.amazonaws.glue#VersionString" + "target": "com.amazonaws.glue#VersionString", + "traits": { + "smithy.api#documentation": "

The version ID at which to update the table contents.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/kendra.json b/codegen/sdk-codegen/aws-models/kendra.json index 79f5e7958d4..e53712a0e27 100644 --- a/codegen/sdk-codegen/aws-models/kendra.json +++ b/codegen/sdk-codegen/aws-models/kendra.json @@ -317,6 +317,115 @@ ] } }, + "com.amazonaws.kendra#AlfrescoConfiguration": { + "type": "structure", + "members": { + "SiteUrl": { + "target": "com.amazonaws.kendra#SiteUrl", + "traits": { + "smithy.api#documentation": "

The URL of the Alfresco site. For example, https://hostname:8080.

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

The identifier of the Alfresco site. For example, my-site.

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

The Amazon Resource Name (ARN) of an Secrets Manager secret that \n contains the key-value pairs required to connect to your Alfresco \n data source. The secret must contain a JSON structure with the following keys:

\n ", + "smithy.api#required": {} + } + }, + "SslCertificateS3Path": { + "target": "com.amazonaws.kendra#S3Path", + "traits": { + "smithy.api#documentation": "

The path to the SSL certificate stored in an Amazon S3 bucket. You \n use this to connect to Alfresco.

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

\n TRUE to index shared files.

" + } + }, + "CrawlComments": { + "target": "com.amazonaws.kendra#Boolean", + "traits": { + "smithy.api#documentation": "

\n TRUE to index comments of wikis and blogs.

" + } + }, + "EntityFilter": { + "target": "com.amazonaws.kendra#EntityFilter", + "traits": { + "smithy.api#documentation": "

Specify whether to index document libraries, wikis, \n or blogs. You can specify one or more of these options.

" + } + }, + "DocumentLibraryFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Alfresco document libraries to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Alfresco \n fields. For more information, see \n Mapping data source fields. The Alfresco data source field names \n must exist in your Alfresco custom metadata.

" + } + }, + "BlogFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Alfresco blogs to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Alfresco \n fields. For more information, see \n Mapping data source fields. The Alfresco data source field names \n must exist in your Alfresco custom metadata.

" + } + }, + "WikiFieldMappings": { + "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", + "traits": { + "smithy.api#documentation": "

A list of DataSourceToIndexFieldMapping objects that map attributes \n or field names of Alfresco wikis to Amazon Kendra index field names. \n To create custom fields, use the UpdateIndex API before you map to Alfresco \n fields. For more information, see \n Mapping data source fields. The Alfresco data source field names \n must exist in your Alfresco custom metadata.

" + } + }, + "InclusionPatterns": { + "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to include certain files \n in your Alfresco data source. Files that match \n the patterns are included in the index. Files that don't match the patterns \n are excluded from the index. If a file matches both an inclusion pattern \n and an exclusion pattern, the exclusion pattern takes precedence and the \n file isn't included in the index.

" + } + }, + "ExclusionPatterns": { + "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", + "traits": { + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain files \n in your Alfresco data source. Files that \n match the patterns are excluded from the index. Files that don't match \n the patterns are included in the index. If a file matches both an inclusion \n pattern and an exclusion pattern, the exclusion pattern takes precedence \n and the file isn't included in the index.

" + } + }, + "VpcConfiguration": { + "target": "com.amazonaws.kendra#DataSourceVpcConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information for an \n Amazon Virtual Private Cloud to connect to your Alfresco. For more information, \n see Configuring \n a VPC.

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

Provides the configuration information to connect to Alfresco as your \n data source.

" + } + }, + "com.amazonaws.kendra#AlfrescoEntity": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "wiki", + "name": "wiki" + }, + { + "value": "blog", + "name": "blog" + }, + { + "value": "documentLibrary", + "name": "documentLibrary" + } + ] + } + }, "com.amazonaws.kendra#AmazonResourceName": { "type": "string", "traits": { @@ -846,7 +955,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds one or more documents to an index.

\n

The BatchPutDocument API enables you to ingest\n inline documents or a set of documents stored in an Amazon S3 bucket. Use\n this API to ingest your text and unstructured text into an index,\n add custom attributes to the documents, and to attach an access control\n list to the documents added to the index.

\n

The documents are indexed asynchronously. You can see the progress of\n the batch using Amazon Web Services CloudWatch. Any error messages related to processing\n the batch are sent to your Amazon Web Services CloudWatch log.

" + "smithy.api#documentation": "

Adds one or more documents to an index.

\n

The BatchPutDocument API enables you to ingest\n inline documents or a set of documents stored in an Amazon S3 bucket. Use\n this API to ingest your text and unstructured text into an index,\n add custom attributes to the documents, and to attach an access control\n list to the documents added to the index.

\n

The documents are indexed asynchronously. You can see the progress of\n the batch using Amazon Web Services CloudWatch. Any error messages related to processing\n the batch are sent to your Amazon Web Services CloudWatch log.

\n

For an example of ingesting inline documents using Python and Java SDKs, \n see Adding \n files directly to an index.

" } }, "com.amazonaws.kendra#BatchPutDocumentRequest": { @@ -1023,14 +1132,14 @@ "StorageCapacityUnits": { "target": "com.amazonaws.kendra#StorageCapacityUnit", "traits": { - "smithy.api#documentation": "

The amount of extra storage capacity for an index. \n A single capacity unit provides 30 GB of storage space or 100,000 documents, \n whichever is reached first.

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

The amount of extra storage capacity for an index. \n A single capacity unit provides 30 GB of storage space or 100,000 documents, \n whichever is reached first. You can add up to 100 extra capacity units.

", "smithy.api#required": {} } }, "QueryCapacityUnits": { "target": "com.amazonaws.kendra#QueryCapacityUnit", "traits": { - "smithy.api#documentation": "

The amount of extra query capacity for an index and \n GetQuerySuggestions \n capacity.

\n

A single extra capacity unit for an index provides 0.1 queries per second or approximately \n 8,000 queries per day.

\n

\n GetQuerySuggestions capacity is five times the \n provisioned query capacity for an index, or the base capacity of 2.5 calls per second, \n whichever is higher. For example, the base capacity for an index is 0.1 queries per \n second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. \n If you add another 0.1 queries per second to total 0.2 queries per second for an index, the \n GetQuerySuggestions capacity is 2.5 calls per second \n (higher than five times 0.2 queries per second).

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

The amount of extra query capacity for an index and \n GetQuerySuggestions \n capacity.

\n

A single extra capacity unit for an index provides 0.1 queries per second or approximately \n 8,000 queries per day. You can add up to 100 extra capacity units.

\n

\n GetQuerySuggestions capacity is five times the \n provisioned query capacity for an index, or the base capacity of 2.5 calls per second, \n whichever is higher. For example, the base capacity for an index is 0.1 queries per \n second, and GetQuerySuggestions capacity has a base of 2.5 calls per second. \n If you add another 0.1 queries per second to total 0.2 queries per second for an index, the \n GetQuerySuggestions capacity is 2.5 calls per second \n (higher than five times 0.2 queries per second).

", "smithy.api#required": {} } } @@ -1263,7 +1372,7 @@ "CrawlAttachments": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Indicates whether Amazon Kendra indexes attachments to the pages and blogs\n in the Confluence data source.

" + "smithy.api#documentation": "

\n TRUE to index attachments of pages and blogs in Confluence.

" } }, "AttachmentFieldMappings": { @@ -1474,14 +1583,14 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of an Secrets Manager secret\n that contains the key-value pairs required to connect to your\n Confluence server. The secret must contain a JSON structure with the\n following keys:

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

The Amazon Resource Name (ARN) of an Secrets Manager secret\n that contains the user name and password required to connect to the\n Confluence instance. If you use Confluence cloud, you use a \n generated API token as the password. For more information, see \n Using a \n Confluemce data source.

", "smithy.api#required": {} } }, "Version": { "target": "com.amazonaws.kendra#ConfluenceVersion", "traits": { - "smithy.api#documentation": "

Specifies the version of the Confluence installation that you are\n connecting to.

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

The version or the type of the Confluence installation to connect to.

", "smithy.api#required": {} } }, @@ -1524,7 +1633,7 @@ "ExclusionPatterns": { "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", "traits": { - "smithy.api#documentation": "

>A list of regular expression patterns to exclude certain blog posts, pages,\n spaces, or attachments in your Confluence. Content that matches the patterns are \n excluded from the index. Content that doesn't match the patterns is included in \n the index. If content matches both an inclusion and exclusion pattern, the \n exclusion pattern takes precedence and the content isn't included in the index.

" + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain blog posts, pages,\n spaces, or attachments in your Confluence. Content that matches the patterns are \n excluded from the index. Content that doesn't match the patterns is included in \n the index. If content matches both an inclusion and exclusion pattern, the \n exclusion pattern takes precedence and the content isn't included in the index.

" } } }, @@ -1538,7 +1647,7 @@ "PageFieldMappings": { "target": "com.amazonaws.kendra#ConfluencePageFieldMappingsList", "traits": { - "smithy.api#documentation": "

>Maps attributes or field names of Confluence pages to Amazon Kendra index field \n names. To create custom fields, use the UpdateIndex API before \n you map to Confluence fields. \n For more information, see Mapping data source fields. \n The Confluence data source field names must exist in your Confluence custom metadata.

\n

If you specify the PageFieldMappings parameter, you\n must specify at least one field mapping.

" + "smithy.api#documentation": "

Maps attributes or field names of Confluence pages to Amazon Kendra index field \n names. To create custom fields, use the UpdateIndex API before \n you map to Confluence fields. \n For more information, see Mapping data source fields. \n The Confluence data source field names must exist in your Confluence custom metadata.

\n

If you specify the PageFieldMappings parameter, you\n must specify at least one field mapping.

" } } }, @@ -1645,13 +1754,13 @@ "CrawlPersonalSpaces": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon Kendra should index personal spaces. Users can\n add restrictions to items in personal spaces. If personal spaces are\n indexed, queries without user context information may return\n restricted items from a personal space in their results. For more\n information, see Filtering on\n user context.

" + "smithy.api#documentation": "

\n TRUE to index personal spaces. You can\n add restrictions to items in personal spaces. If personal spaces are\n indexed, queries without user context information may return\n restricted items from a personal space in their results. For more\n information, see Filtering on\n user context.

" } }, "CrawlArchivedSpaces": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Specifies whether Amazon Kendra should index archived spaces.

" + "smithy.api#documentation": "

\n TRUE to index archived spaces.

" } }, "IncludeSpaces": { @@ -1953,7 +2062,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a data source that you want to use with an Amazon Kendra index.

\n

You specify a name, data source connector type and description for\n your data source. You also specify configuration information for the \n data source connector.

\n

\n CreateDataSource is a synchronous operation. The\n operation returns 200 if the data source was successfully created.\n Otherwise, an exception is raised.

\n

Amazon S3 and custom data sources are \n the only supported data sources in the Amazon Web Services GovCloud (US-West) region.

" + "smithy.api#documentation": "

Creates a data source that you want to use with an Amazon Kendra index.

\n

You specify a name, data source connector type and description for\n your data source. You also specify configuration information for the \n data source connector.

\n

\n CreateDataSource is a synchronous operation. The\n operation returns 200 if the data source was successfully created.\n Otherwise, an exception is raised.

\n

Amazon S3 and custom data sources are \n the only supported data sources in the Amazon Web Services GovCloud (US-West) region.

\n

For an example of creating an index and data source using the Python SDK, \n see Getting \n started with Python SDK. For an example of creating an index and data \n source using the Java SDK, see Getting started with Java SDK.

" } }, "com.amazonaws.kendra#CreateDataSourceRequest": { @@ -2075,7 +2184,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Amazon Kendra experience such as a search application. For more information \n on creating a search application experience, see Building a \n search experience with no code.

" + "smithy.api#documentation": "

Creates an Amazon Kendra experience such as a search application. For more information \n on creating a search application experience, including using the Python and Java SDKs, \n see Building a \n search experience with no code.

" } }, "com.amazonaws.kendra#CreateExperienceRequest": { @@ -2166,7 +2275,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an new set of frequently asked question (FAQ) questions and answers.

\n

Adding FAQs to an index is an asynchronous operation.

" + "smithy.api#documentation": "

Creates an new set of frequently asked question (FAQ) questions and answers.

\n

Adding FAQs to an index is an asynchronous operation.

\n

For an example of adding an FAQ to an index using Python and Java SDKs, \n see Using you \n FAQ file.

" } }, "com.amazonaws.kendra#CreateFaqRequest": { @@ -2276,7 +2385,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon Kendra index. Index creation is an asynchronous\n API. To determine if index creation has completed, check the\n Status field returned from a call to\n DescribeIndex. The Status field is set to\n ACTIVE when the index is ready to use.

\n

Once the index is active you can index your documents using the\n BatchPutDocument API or using one of the supported\n data sources.

" + "smithy.api#documentation": "

Creates a new Amazon Kendra index. Index creation is an asynchronous\n API. To determine if index creation has completed, check the\n Status field returned from a call to\n DescribeIndex. The Status field is set to\n ACTIVE when the index is ready to use.

\n

Once the index is active you can index your documents using the\n BatchPutDocument API or using one of the supported\n data sources.

\n

For an example of creating an index and data source using the Python SDK, \n see Getting \n started with Python SDK. For an example of creating an index and data \n source using the Java SDK, see Getting started with Java SDK.

" } }, "com.amazonaws.kendra#CreateIndexRequest": { @@ -2390,7 +2499,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a block list to exlcude certain queries from suggestions.

\n

Any query that contains words or phrases specified in the block \n list is blocked or filtered out from being shown as a suggestion.

\n

You need to provide the file location of your block list text file \n in your S3 bucket. In your text file, enter each block word or phrase \n on a separate line.

\n

For information on the current quota limits for block lists, see \n Quotas \n for Amazon Kendra.

\n

\n CreateQuerySuggestionsBlockList is currently not supported in the \n Amazon Web Services GovCloud (US-West) region.

" + "smithy.api#documentation": "

Creates a block list to exlcude certain queries from suggestions.

\n

Any query that contains words or phrases specified in the block \n list is blocked or filtered out from being shown as a suggestion.

\n

You need to provide the file location of your block list text file \n in your S3 bucket. In your text file, enter each block word or phrase \n on a separate line.

\n

For information on the current quota limits for block lists, see \n Quotas \n for Amazon Kendra.

\n

\n CreateQuerySuggestionsBlockList is currently not supported in the \n Amazon Web Services GovCloud (US-West) region.

\n

For an example of creating a block list for query suggestions using the \n Python SDK, see Query \n suggestions block list.

" } }, "com.amazonaws.kendra#CreateQuerySuggestionsBlockListRequest": { @@ -2488,7 +2597,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a thesaurus for an index. The thesaurus\n contains a list of synonyms in Solr format.

" + "smithy.api#documentation": "

Creates a thesaurus for an index. The thesaurus\n contains a list of synonyms in Solr format.

\n

For an example of adding a thesaurus file to an index, see \n Adding \n custom synonyms to an index.

" } }, "com.amazonaws.kendra#CreateThesaurusRequest": { @@ -2681,6 +2790,12 @@ "traits": { "smithy.api#documentation": "

Provides the configuration information to connect to GitHub as \n your data source.

" } + }, + "AlfrescoConfiguration": { + "target": "com.amazonaws.kendra#AlfrescoConfiguration", + "traits": { + "smithy.api#documentation": "

Provides the configuration information to connect to Alfresco as your \n data source.

" + } } }, "traits": { @@ -3154,6 +3269,10 @@ { "value": "GITHUB", "name": "GITHUB" + }, + { + "value": "ALFRESCO", + "name": "ALFRESCO" } ] } @@ -5334,6 +5453,18 @@ "smithy.api#documentation": "

Information about the user entity.

" } }, + "com.amazonaws.kendra#EntityFilter": { + "type": "list", + "member": { + "target": "com.amazonaws.kendra#AlfrescoEntity" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 3 + } + } + }, "com.amazonaws.kendra#EntityId": { "type": "string", "traits": { @@ -7016,21 +7147,21 @@ "JiraAccountUrl": { "target": "com.amazonaws.kendra#JiraAccountUrl", "traits": { - "smithy.api#documentation": "

The URL of the Jira account. For example, company.attlassian.net or \n https://jira.company.com. You can find your Jira account URL in the URL of \n your profile page for Jira desktop.

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

The URL of the Jira account. For example, company.atlassian.net\n or https://jira.company.com. You can find your Jira account URL in\n the URL of your profile page for Jira desktop.

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

The Amazon Resource Name (ARN) of an Secrets Manager secret that \n contains the key-value pairs required to connect to your Jira \n data source. The secret must \n contain a JSON structure with the following keys:

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

The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the\n key-value pairs required to connect to your Jira data source. The secret must contain a\n JSON structure with the following keys:

\n ", "smithy.api#required": {} } }, "UseChangeLog": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Specify to use the change log option to update your index.

" + "smithy.api#documentation": "

\n TRUE to use the Jira change log to determine which documents require updating in the index. Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Jira.

" } }, "Project": { @@ -8402,7 +8533,7 @@ "SslCertificateS3Path": { "target": "com.amazonaws.kendra#S3Path", "traits": { - "smithy.api#documentation": "

Information required to find a specific file in an Amazon S3 bucket.

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

The path to the SSL certificate stored in an Amazon S3 bucket. \n You use this to connect to GitHub.

", "smithy.api#required": {} } } @@ -8456,7 +8587,7 @@ "DisableLocalGroups": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

A Boolean value that specifies whether local\n groups are disabled (True) or enabled (False).\n

" + "smithy.api#documentation": "

\n TRUE to disable local groups information.

" } } }, @@ -9273,25 +9404,25 @@ "CrawlFileComments": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Specify whether to crawl file comments in Quip. \n You can specify one or more of these options.

" + "smithy.api#documentation": "

\n TRUE to index file comments.

" } }, "CrawlChatRooms": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Specify whether to crawl chat rooms in Quip. \n You can specify one or more of these options.

" + "smithy.api#documentation": "

\n TRUE to index the contents of chat rooms.

" } }, "CrawlAttachments": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

Specify whether to crawl attachments in Quip. \n You can specify one or more of these options.

" + "smithy.api#documentation": "

\n TRUE to index attachments.

" } }, "FolderIds": { "target": "com.amazonaws.kendra#FolderIdList", "traits": { - "smithy.api#documentation": "

The identifier of the Quip folder IDs to index.

" + "smithy.api#documentation": "

The identifier of the Quip folders you want to index.

" } }, "ThreadFieldMappings": { @@ -10228,7 +10359,7 @@ "SecretArn": { "target": "com.amazonaws.kendra#SecretArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Secrets Manager secret\n that contains the user name and password required to connect to the\n ServiceNow instance.

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

The Amazon Resource Name (ARN) of the Secrets Manager secret\n that contains the user name and password required to connect to the\n ServiceNow instance. You can also provide OAuth authentication credentials \n of user name, password, client ID, and client secret. For more information, \n see Authentication \n for a ServiceNow data source.

", "smithy.api#required": {} } }, @@ -10397,28 +10528,28 @@ "SharePointVersion": { "target": "com.amazonaws.kendra#SharePointVersion", "traits": { - "smithy.api#documentation": "

The version of Microsoft SharePoint that you are using as a data\n source.

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

The version of Microsoft SharePoint that you use.

", "smithy.api#required": {} } }, "Urls": { "target": "com.amazonaws.kendra#SharePointUrlList", "traits": { - "smithy.api#documentation": "

The URLs of the Microsoft SharePoint site that contains the\n documents that should be indexed.

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

The Microsoft SharePoint site URLs for the documents you want to indext.

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

The Amazon Resource Name (ARN) of credentials stored in \n Secrets Manager. The credentials should be a user/password pair. \n If you use SharePoint Server, you also need to provide the sever \n domain name as part of the credentials. For\n more information, see Using a\n Microsoft SharePoint Data Source. For more information\n about Secrets Manager see What Is \n Secrets Manager in the Secrets Manager\n user guide.

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

The Amazon Resource Name (ARN) of an Secrets Manager \n secret that contains the user name and password required to \n connect to the SharePoint instance. \n If you use SharePoint Server, you also need to provide the sever \n domain name as part of the credentials. For\n more information, see Using a\n Microsoft SharePoint Data Source.

", "smithy.api#required": {} } }, "CrawlAttachments": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

\n TRUE to include attachments to documents stored in\n your Microsoft SharePoint site in the index; otherwise,\n FALSE.

" + "smithy.api#documentation": "

\n TRUE to index document attachments.

" } }, "UseChangeLog": { @@ -10430,17 +10561,20 @@ "InclusionPatterns": { "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", "traits": { - "smithy.api#documentation": "

A list of regular expression patterns to include certain documents in your SharePoint.\n Documents that match the patterns are included in the index. Documents that\n don't match the patterns are excluded from the index. If a document matches both\n an inclusion and exclusion pattern, the exclusion pattern takes precedence and the \n document isn't included in the index.

\n

The regex is applied to the display URL of the SharePoint\n document.

" + "smithy.api#documentation": "

A list of regular expression patterns to include certain documents in your SharePoint.\n Documents that match the patterns are included in the index. Documents that\n don't match the patterns are excluded from the index. If a document matches both\n an inclusion and exclusion pattern, the exclusion pattern takes precedence and the \n document isn't included in the index.

\n

The regex applies to the display URL of the SharePoint\n document.

" } }, "ExclusionPatterns": { "target": "com.amazonaws.kendra#DataSourceInclusionsExclusionsStrings", "traits": { - "smithy.api#documentation": "

A list of regular expression patterns to exclude certain documents in your SharePoint.\n Documents that match the patterns are excluded from the index. Documents that\n don't match the patterns are included in the index. If a document matches both\n an inclusion and exclusion pattern, the exclusion pattern takes precedence and the \n document isn't included in the index.

\n

The regex is applied to the display URL of the SharePoint\n document.

" + "smithy.api#documentation": "

A list of regular expression patterns to exclude certain documents in your SharePoint.\n Documents that match the patterns are excluded from the index. Documents that\n don't match the patterns are included in the index. If a document matches both\n an inclusion and exclusion pattern, the exclusion pattern takes precedence and the \n document isn't included in the index.

\n

The regex applies to the display URL of the SharePoint\n document.

" } }, "VpcConfiguration": { - "target": "com.amazonaws.kendra#DataSourceVpcConfiguration" + "target": "com.amazonaws.kendra#DataSourceVpcConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration information for an Amazon Virtual Private Cloud to connect \n to your Microsoft SharePoint. For more information, see \n Configuring \n a VPC.

" + } }, "FieldMappings": { "target": "com.amazonaws.kendra#DataSourceToIndexFieldMappingList", @@ -10457,11 +10591,14 @@ "DisableLocalGroups": { "target": "com.amazonaws.kendra#Boolean", "traits": { - "smithy.api#documentation": "

A Boolean value that specifies whether local\n groups are disabled (True) or enabled (False).\n

" + "smithy.api#documentation": "

\n TRUE to disable local groups information.

" } }, "SslCertificateS3Path": { - "target": "com.amazonaws.kendra#S3Path" + "target": "com.amazonaws.kendra#S3Path", + "traits": { + "smithy.api#documentation": "

The path to the SSL certificate stored in an Amazon S3 bucket. You use \n this to connect to SharePoint.

" + } } }, "traits": { @@ -10519,6 +10656,16 @@ "smithy.api#pattern": "^(20\\d{2})-(0?[1-9]|1[0-2])-(0?[1-9]|1\\d|2\\d|3[01])$" } }, + "com.amazonaws.kendra#SiteId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[A-Za-z0-9-]+$" + } + }, "com.amazonaws.kendra#SiteMap": { "type": "string", "traits": { @@ -10556,6 +10703,16 @@ } } }, + "com.amazonaws.kendra#SiteUrl": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^https:\\/\\/[a-zA-Z0-9_\\-\\.]+$" + } + }, "com.amazonaws.kendra#SlackConfiguration": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/mwaa.json b/codegen/sdk-codegen/aws-models/mwaa.json index 899f27a2f54..9b75e400566 100644 --- a/codegen/sdk-codegen/aws-models/mwaa.json +++ b/codegen/sdk-codegen/aws-models/mwaa.json @@ -21,6 +21,9 @@ }, "value": { "target": "com.amazonaws.mwaa#ConfigValue" + }, + "traits": { + "smithy.api#sensitive": {} } }, "com.amazonaws.mwaa#AirflowVersion": { @@ -38,16 +41,13 @@ "traits": { "aws.api#service": { "sdkId": "MWAA", - "arnNamespace": "airflow", - "cloudFormationName": "AmazonMWAA", - "cloudTrailEventSource": "airflow.amazonaws.com", - "endpointPrefix": "airflow" + "arnNamespace": "airflow" }, "aws.auth#sigv4": { "name": "airflow" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Managed Workflows for Apache Airflow\n

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.

\n\n

\n Endpoints\n

\n \n\n

\n Regions\n

\n

For a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.

", + "smithy.api#documentation": "Amazon Managed Workflows for Apache Airflow\n

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.

\n

\n Endpoints\n

\n \n

\n Regions\n

\n

For a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.

", "smithy.api#title": "AmazonMWAA" }, "version": "2020-07-01", @@ -114,7 +114,8 @@ "min": 1, "max": 65536 }, - "smithy.api#pattern": "^[ -~]+$" + "smithy.api#pattern": "^[ -~]+$", + "smithy.api#sensitive": {} } }, "com.amazonaws.mwaa#CreateCliToken": { @@ -136,8 +137,8 @@ "hostPrefix": "env." }, "smithy.api#http": { - "method": "POST", "uri": "/clitoken/{Name}", + "method": "POST", "code": 200 } } @@ -161,8 +162,7 @@ "CliToken": { "target": "com.amazonaws.mwaa#Token", "traits": { - "smithy.api#documentation": "

An Airflow CLI login token.

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

An Airflow CLI login token.

" } }, "WebServerHostname": { @@ -195,9 +195,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "PUT", - "uri": "/environments/{Name}", - "code": 200 + "uri": "/environments/{Name}" }, "smithy.api#idempotent": {} } @@ -268,8 +268,7 @@ "AirflowConfigurationOptions": { "target": "com.amazonaws.mwaa#AirflowConfigurationOptions", "traits": { - "smithy.api#documentation": "

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see Apache Airflow configuration options.

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

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see Apache Airflow configuration options.

" } }, "EnvironmentClass": { @@ -293,7 +292,7 @@ "AirflowVersion": { "target": "com.amazonaws.mwaa#AirflowVersion", "traits": { - "smithy.api#documentation": "

The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: 1.10.12, 2.0.2. To learn more, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

" + "smithy.api#documentation": "

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. Valid values:\n 1.10.12, 2.0.2, and 2.2.2.\n To learn more, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

" } }, "LoggingConfiguration": { @@ -329,7 +328,7 @@ "Schedulers": { "target": "com.amazonaws.mwaa#Schedulers", "traits": { - "smithy.api#documentation": "

The number of Apache Airflow schedulers to run in your environment. Valid values:

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

The number of Apache Airflow schedulers to run in your environment. Valid values:

\n " } } }, @@ -376,8 +375,8 @@ "hostPrefix": "env." }, "smithy.api#http": { - "method": "POST", "uri": "/webtoken/{Name}", + "method": "POST", "code": 200 }, "smithy.api#idempotent": {} @@ -402,8 +401,7 @@ "WebToken": { "target": "com.amazonaws.mwaa#Token", "traits": { - "smithy.api#documentation": "

An Airflow web server login token.

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

An Airflow web server login token.

" } }, "WebServerHostname": { @@ -442,9 +440,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "DELETE", - "uri": "/environments/{Name}", - "code": 200 + "uri": "/environments/{Name}" }, "smithy.api#idempotent": {} } @@ -548,7 +546,7 @@ "AirflowVersion": { "target": "com.amazonaws.mwaa#AirflowVersion", "traits": { - "smithy.api#documentation": "

The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2.

" + "smithy.api#documentation": "

The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2, and 2.2.2.

" } }, "SourceBucketArn": { @@ -770,9 +768,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/environments/{Name}", - "code": 200 + "uri": "/environments/{Name}" }, "smithy.api#readonly": {} } @@ -898,15 +896,15 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/environments", - "code": 200 + "uri": "/environments" }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", - "items": "Environments", - "pageSize": "MaxResults" + "pageSize": "MaxResults", + "items": "Environments" }, "smithy.api#readonly": {} } @@ -977,9 +975,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "GET", - "uri": "/tags/{ResourceArn}", - "code": 200 + "uri": "/tags/{ResourceArn}" }, "smithy.api#readonly": {} } @@ -1285,9 +1283,9 @@ "hostPrefix": "ops." }, "smithy.api#http": { + "code": 200, "method": "POST", - "uri": "/metrics/environments/{EnvironmentName}", - "code": 200 + "uri": "/metrics/environments/{EnvironmentName}" } } }, @@ -1503,9 +1501,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "POST", - "uri": "/tags/{ResourceArn}", - "code": 200 + "uri": "/tags/{ResourceArn}" } } }, @@ -1544,7 +1542,10 @@ } }, "com.amazonaws.mwaa#Token": { - "type": "string" + "type": "string", + "traits": { + "smithy.api#sensitive": {} + } }, "com.amazonaws.mwaa#Unit": { "type": "string", @@ -1686,9 +1687,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "DELETE", - "uri": "/tags/{ResourceArn}", - "code": 200 + "uri": "/tags/{ResourceArn}" }, "smithy.api#idempotent": {} } @@ -1746,9 +1747,9 @@ "hostPrefix": "api." }, "smithy.api#http": { + "code": 200, "method": "PATCH", - "uri": "/environments/{Name}", - "code": 200 + "uri": "/environments/{Name}" } } }, @@ -1772,7 +1773,7 @@ "AirflowVersion": { "target": "com.amazonaws.mwaa#AirflowVersion", "traits": { - "smithy.api#documentation": "

The Apache Airflow version for your environment. If no value is specified, defaults to the latest version. Valid values: 1.10.12, 2.0.2.

" + "smithy.api#documentation": "

The Apache Airflow version for your environment. If no value is specified, defaults to the latest version.\n Valid values: 1.10.12, 2.0.2, and 2.2.2.

" } }, "SourceBucketArn": { @@ -1814,8 +1815,7 @@ "AirflowConfigurationOptions": { "target": "com.amazonaws.mwaa#AirflowConfigurationOptions", "traits": { - "smithy.api#documentation": "

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see Apache Airflow configuration options.

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

A list of key-value pairs containing the Apache Airflow configuration options you want to attach to your environment. To learn more, see Apache Airflow configuration options.

" } }, "EnvironmentClass": { diff --git a/codegen/sdk-codegen/aws-models/pricing.json b/codegen/sdk-codegen/aws-models/pricing.json index 79dd2e278fe..d341d9a447c 100644 --- a/codegen/sdk-codegen/aws-models/pricing.json +++ b/codegen/sdk-codegen/aws-models/pricing.json @@ -404,7 +404,7 @@ } }, "PriceList": { - "target": "com.amazonaws.pricing#PriceList", + "target": "com.amazonaws.pricing#PriceListJsonItems", "traits": { "smithy.api#documentation": "

The list of products that match your filters. The list contains both the product metadata and \n the price information.

" } @@ -469,10 +469,10 @@ "smithy.api#httpError": 400 } }, - "com.amazonaws.pricing#PriceList": { + "com.amazonaws.pricing#PriceListJsonItems": { "type": "list", "member": { - "target": "com.amazonaws.pricing#SynthesizedJsonPriceListItemJSON" + "target": "com.amazonaws.pricing#SynthesizedJsonPriceListJsonItem" } }, "com.amazonaws.pricing#Service": { @@ -505,7 +505,7 @@ "com.amazonaws.pricing#String": { "type": "string" }, - "com.amazonaws.pricing#SynthesizedJsonPriceListItemJSON": { + "com.amazonaws.pricing#SynthesizedJsonPriceListJsonItem": { "type": "string", "traits": { "smithy.api#mediaType": "application/json" diff --git a/codegen/sdk-codegen/aws-models/wellarchitected.json b/codegen/sdk-codegen/aws-models/wellarchitected.json index 85b3c7984f9..c5cf631798e 100644 --- a/codegen/sdk-codegen/aws-models/wellarchitected.json +++ b/codegen/sdk-codegen/aws-models/wellarchitected.json @@ -2491,6 +2491,12 @@ }, "Status": { "target": "com.amazonaws.wellarchitected#ShareStatus" + }, + "StatusMessage": { + "target": "com.amazonaws.wellarchitected#StatusMessage", + "traits": { + "smithy.api#documentation": "

Optional message to compliment the Status field.

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

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } + }, + "Status": { + "target": "com.amazonaws.wellarchitected#ShareStatus", + "traits": { + "smithy.api#httpQuery": "Status" + } } } }, @@ -3552,6 +3564,12 @@ "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } + }, + "Status": { + "target": "com.amazonaws.wellarchitected#ShareStatus", + "traits": { + "smithy.api#httpQuery": "Status" + } } }, "traits": { @@ -3799,6 +3817,21 @@ ] } }, + "com.amazonaws.wellarchitected#OrganizationSharingStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, "com.amazonaws.wellarchitected#PermissionType": { "type": "string", "traits": { @@ -4237,6 +4270,18 @@ { "value": "EXPIRED", "name": "EXPIRED" + }, + { + "value": "ASSOCIATING", + "name": "ASSOCIATING" + }, + { + "value": "ASSOCIATED", + "name": "ASSOCIATED" + }, + { + "value": "FAILED", + "name": "FAILED" } ] } @@ -4260,6 +4305,15 @@ } } }, + "com.amazonaws.wellarchitected#StatusMessage": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + } + } + }, "com.amazonaws.wellarchitected#TagKey": { "type": "string", "traits": { @@ -4540,6 +4594,51 @@ "smithy.api#documentation": "

Output of a update answer call.

" } }, + "com.amazonaws.wellarchitected#UpdateGlobalSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.wellarchitected#UpdateGlobalSettingsInput" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.wellarchitected#AccessDeniedException" + }, + { + "target": "com.amazonaws.wellarchitected#ConflictException" + }, + { + "target": "com.amazonaws.wellarchitected#InternalServerException" + }, + { + "target": "com.amazonaws.wellarchitected#ThrottlingException" + }, + { + "target": "com.amazonaws.wellarchitected#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates whether the Amazon Web Services account is opted into organization sharing features.

", + "smithy.api#http": { + "method": "PATCH", + "uri": "/global-settings", + "code": 200 + } + } + }, + "com.amazonaws.wellarchitected#UpdateGlobalSettingsInput": { + "type": "structure", + "members": { + "OrganizationSharingStatus": { + "target": "com.amazonaws.wellarchitected#OrganizationSharingStatus", + "traits": { + "smithy.api#documentation": "

The status of organization sharing settings.

" + } + } + } + }, "com.amazonaws.wellarchitected#UpdateLensReview": { "type": "operation", "input": { @@ -5163,6 +5262,9 @@ { "target": "com.amazonaws.wellarchitected#UpdateAnswer" }, + { + "target": "com.amazonaws.wellarchitected#UpdateGlobalSettings" + }, { "target": "com.amazonaws.wellarchitected#UpdateLensReview" }, @@ -5511,6 +5613,12 @@ }, "Status": { "target": "com.amazonaws.wellarchitected#ShareStatus" + }, + "StatusMessage": { + "target": "com.amazonaws.wellarchitected#StatusMessage", + "traits": { + "smithy.api#documentation": "

Optional message to compliment the Status field.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/workmail.json b/codegen/sdk-codegen/aws-models/workmail.json index 607f451dea8..8aeb9b282f3 100644 --- a/codegen/sdk-codegen/aws-models/workmail.json +++ b/codegen/sdk-codegen/aws-models/workmail.json @@ -328,6 +328,71 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#AvailabilityConfiguration": { + "type": "structure", + "members": { + "DomainName": { + "target": "com.amazonaws.workmail#DomainName", + "traits": { + "smithy.api#documentation": "

Displays the domain to which the provider applies.

" + } + }, + "ProviderType": { + "target": "com.amazonaws.workmail#AvailabilityProviderType", + "traits": { + "smithy.api#documentation": "

Displays the provider type that applies to this domain.

" + } + }, + "EwsProvider": { + "target": "com.amazonaws.workmail#RedactedEwsAvailabilityProvider", + "traits": { + "smithy.api#documentation": "

If ProviderType is EWS, then this field contains\n RedactedEwsAvailabilityProvider. Otherwise, it is not requried.

" + } + }, + "LambdaProvider": { + "target": "com.amazonaws.workmail#LambdaAvailabilityProvider", + "traits": { + "smithy.api#documentation": "

If ProviderType is LAMBDA then this field contains\n LambdaAvailabilityProvider. Otherwise, it is not required.

" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time at which the availability configuration was created.

" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time at which the availability configuration was last modified.

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

List all the AvailabilityConfiguration's for the given WorkMail\n organization.

" + } + }, + "com.amazonaws.workmail#AvailabilityConfigurationList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#AvailabilityConfiguration" + } + }, + "com.amazonaws.workmail#AvailabilityProviderType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EWS", + "name": "EWS" + }, + { + "value": "LAMBDA", + "name": "LAMBDA" + } + ] + } + }, "com.amazonaws.workmail#BookingOptions": { "type": "structure", "members": { @@ -493,6 +558,78 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#CreateAvailabilityConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#CreateAvailabilityConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.workmail#CreateAvailabilityConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#LimitExceededException" + }, + { + "target": "com.amazonaws.workmail#NameAvailabilityException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates an AvailabilityConfiguration for the given WorkMail organization and domain.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workmail#CreateAvailabilityConfigurationRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.workmail#IdempotencyClientToken", + "traits": { + "smithy.api#documentation": "

An idempotent token that ensures that an API request is executed only once.

", + "smithy.api#idempotencyToken": {} + } + }, + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration will be created.

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

The domain to which the provider applies.

", + "smithy.api#required": {} + } + }, + "EwsProvider": { + "target": "com.amazonaws.workmail#EwsAvailabilityProvider", + "traits": { + "smithy.api#documentation": "

Exchange Web Services (EWS) availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider.

" + } + }, + "LambdaProvider": { + "target": "com.amazonaws.workmail#LambdaAvailabilityProvider", + "traits": { + "smithy.api#documentation": "

Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider or LambdaProvider.

" + } + } + } + }, + "com.amazonaws.workmail#CreateAvailabilityConfigurationResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#CreateGroup": { "type": "operation", "input": { @@ -1054,6 +1191,50 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#DeleteAvailabilityConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#DeleteAvailabilityConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.workmail#DeleteAvailabilityConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes the AvailabilityConfiguration for the given WorkMail organization and domain.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workmail#DeleteAvailabilityConfigurationRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration will be deleted.

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

The domain for which the AvailabilityConfiguration will be deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#DeleteAvailabilityConfigurationResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#DeleteEmailMonitoringConfiguration": { "type": "operation", "input": { @@ -2707,6 +2888,45 @@ "smithy.api#error": "client" } }, + "com.amazonaws.workmail#EwsAvailabilityProvider": { + "type": "structure", + "members": { + "EwsEndpoint": { + "target": "com.amazonaws.workmail#Url", + "traits": { + "smithy.api#documentation": "

The endpoint of the remote EWS server.

", + "smithy.api#required": {} + } + }, + "EwsUsername": { + "target": "com.amazonaws.workmail#ExternalUserName", + "traits": { + "smithy.api#documentation": "

The username used to authenticate the remote EWS server.

", + "smithy.api#required": {} + } + }, + "EwsPassword": { + "target": "com.amazonaws.workmail#Password", + "traits": { + "smithy.api#documentation": "

The password used to authenticate the remote EWS server.

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

Describes an EWS based availability provider. This is only used as input to the service.

" + } + }, + "com.amazonaws.workmail#ExternalUserName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^[\\u0020-\\u00FF]+$" + } + }, "com.amazonaws.workmail#FolderConfiguration": { "type": "structure", "members": { @@ -3401,6 +3621,31 @@ "smithy.api#pattern": "^arn:aws:kms:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$" } }, + "com.amazonaws.workmail#LambdaArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 49, + "max": 256 + }, + "smithy.api#pattern": "^arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?$" + } + }, + "com.amazonaws.workmail#LambdaAvailabilityProvider": { + "type": "structure", + "members": { + "LambdaArn": { + "target": "com.amazonaws.workmail#LambdaArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.

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

Describes a Lambda based availability provider.

" + } + }, "com.amazonaws.workmail#LimitExceededException": { "type": "structure", "members": { @@ -3539,6 +3784,73 @@ } } }, + "com.amazonaws.workmail#ListAvailabilityConfigurations": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#ListAvailabilityConfigurationsRequest" + }, + "output": { + "target": "com.amazonaws.workmail#ListAvailabilityConfigurationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

List all the AvailabilityConfiguration's for the given WorkMail organization.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "AvailabilityConfigurations", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.workmail#ListAvailabilityConfigurationsRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration's will be\n listed.

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

The maximum number of results to return in a single call.

" + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not require a token.

" + } + } + } + }, + "com.amazonaws.workmail#ListAvailabilityConfigurationsResponse": { + "type": "structure", + "members": { + "AvailabilityConfigurations": { + "target": "com.amazonaws.workmail#AvailabilityConfigurationList", + "traits": { + "smithy.api#documentation": "

The list of AvailabilityConfiguration's that exist for the specified Amazon WorkMail organization.

" + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is null when there are no further results to return.

" + } + } + } + }, "com.amazonaws.workmail#ListGroupMembers": { "type": "operation", "input": { @@ -5477,6 +5789,26 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#RedactedEwsAvailabilityProvider": { + "type": "structure", + "members": { + "EwsEndpoint": { + "target": "com.amazonaws.workmail#Url", + "traits": { + "smithy.api#documentation": "

The endpoint of the remote EWS server.

" + } + }, + "EwsUsername": { + "target": "com.amazonaws.workmail#ExternalUserName", + "traits": { + "smithy.api#documentation": "

The username used to authenticate the remote EWS server.

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

Describes an EWS based availability provider when returned from the service. It does not\n contain the password of the endpoint.

" + } + }, "com.amazonaws.workmail#RegisterMailDomain": { "type": "operation", "input": { @@ -6098,6 +6430,73 @@ } } }, + "com.amazonaws.workmail#TestAvailabilityConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#TestAvailabilityConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.workmail#TestAvailabilityConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.

\n \n

The request must contain either one provider definition (EwsProvider or\n LambdaProvider) or the DomainName parameter. If the\n DomainName parameter is provided, the configuration stored under the\n DomainName will be tested.

\n
" + } + }, + "com.amazonaws.workmail#TestAvailabilityConfigurationRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The Amazon WorkMail organization where the availability provider will be tested.

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

The domain to which the provider applies. If this field is provided, a stored availability provider associated to this domain name will be tested.

" + } + }, + "EwsProvider": { + "target": "com.amazonaws.workmail#EwsAvailabilityProvider" + }, + "LambdaProvider": { + "target": "com.amazonaws.workmail#LambdaAvailabilityProvider" + } + } + }, + "com.amazonaws.workmail#TestAvailabilityConfigurationResponse": { + "type": "structure", + "members": { + "TestPassed": { + "target": "com.amazonaws.workmail#Boolean", + "traits": { + "smithy.api#documentation": "

Boolean indicating whether the test passed or failed.

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

String containing the reason for a failed test if TestPassed is false.

" + } + } + } + }, "com.amazonaws.workmail#Timestamp": { "type": "timestamp" }, @@ -6166,6 +6565,68 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#UpdateAvailabilityConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#UpdateAvailabilityConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.workmail#UpdateAvailabilityConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates an existing AvailabilityConfiguration for the given WorkMail\n organization and domain.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workmail#UpdateAvailabilityConfigurationRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration will be\n updated.

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

The domain to which the provider applies the availability configuration.

", + "smithy.api#required": {} + } + }, + "EwsProvider": { + "target": "com.amazonaws.workmail#EwsAvailabilityProvider", + "traits": { + "smithy.api#documentation": "

The EWS availability provider definition. The request must contain exactly one provider\n definition, either EwsProvider or LambdaProvider. The previously\n stored provider will be overridden by the one provided.

" + } + }, + "LambdaProvider": { + "target": "com.amazonaws.workmail#LambdaAvailabilityProvider", + "traits": { + "smithy.api#documentation": "

The Lambda availability provider definition. The request must contain exactly one\n provider definition, either EwsProvider or LambdaProvider. The\n previously stored provider will be overridden by the one provided.

" + } + } + } + }, + "com.amazonaws.workmail#UpdateAvailabilityConfigurationResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#UpdateDefaultMailDomain": { "type": "operation", "input": { @@ -6554,6 +7015,16 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#Url": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^https?://[A-Za-z0-9.-]+(:[0-9]+)?/" + } + }, "com.amazonaws.workmail#User": { "type": "structure", "members": { @@ -6707,6 +7178,9 @@ { "target": "com.amazonaws.workmail#CreateAlias" }, + { + "target": "com.amazonaws.workmail#CreateAvailabilityConfiguration" + }, { "target": "com.amazonaws.workmail#CreateGroup" }, @@ -6728,6 +7202,9 @@ { "target": "com.amazonaws.workmail#DeleteAlias" }, + { + "target": "com.amazonaws.workmail#DeleteAvailabilityConfiguration" + }, { "target": "com.amazonaws.workmail#DeleteEmailMonitoringConfiguration" }, @@ -6812,6 +7289,9 @@ { "target": "com.amazonaws.workmail#ListAliases" }, + { + "target": "com.amazonaws.workmail#ListAvailabilityConfigurations" + }, { "target": "com.amazonaws.workmail#ListGroupMembers" }, @@ -6881,9 +7361,15 @@ { "target": "com.amazonaws.workmail#TagResource" }, + { + "target": "com.amazonaws.workmail#TestAvailabilityConfiguration" + }, { "target": "com.amazonaws.workmail#UntagResource" }, + { + "target": "com.amazonaws.workmail#UpdateAvailabilityConfiguration" + }, { "target": "com.amazonaws.workmail#UpdateDefaultMailDomain" },