diff --git a/CHANGELOG.md b/CHANGELOG.md index f6256398cde..9b73bb655fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,22 @@ +Release v1.44.46 (2022-06-30) +=== + +### Service Client Updates +* `service/athena`: Updates service API and documentation + * This feature introduces the API support for Athena's parameterized query and BatchGetPreparedStatement API. +* `service/customer-profiles`: Updates service API and documentation +* `service/elasticmapreduce`: Updates service API and documentation + * This release adds support for the ExecutionRoleArn parameter in the AddJobFlowSteps and DescribeStep APIs. Customers can use ExecutionRoleArn to specify the IAM role used for each job they submit using the AddJobFlowSteps API. +* `service/glue`: Updates service API and documentation + * This release adds tag as an input of CreateDatabase +* `service/kendra`: Updates service API and documentation + * Amazon Kendra now provides a data source connector for alfresco +* `service/mwaa`: Updates service API and documentation +* `service/pricing`: Updates service API and documentation +* `service/wellarchitected`: Updates service API and documentation +* `service/workmail`: Updates service API, documentation, and paginators + * This release adds support for managing user availability configurations in Amazon WorkMail. + Release v1.44.45 (2022-06-29) === diff --git a/aws/version.go b/aws/version.go index d85f3436b8a..5a94b6797e9 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.44.45" +const SDKVersion = "1.44.46" diff --git a/models/apis/athena/2017-05-18/api-2.json b/models/apis/athena/2017-05-18/api-2.json index 032a7d8dca0..e4fbf15c7b8 100644 --- a/models/apis/athena/2017-05-18/api-2.json +++ b/models/apis/athena/2017-05-18/api-2.json @@ -25,6 +25,19 @@ {"shape":"InvalidRequestException"} ] }, + "BatchGetPreparedStatement":{ + "name":"BatchGetPreparedStatement", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"BatchGetPreparedStatementInput"}, + "output":{"shape":"BatchGetPreparedStatementOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"InvalidRequestException"} + ] + }, "BatchGetQueryExecution":{ "name":"BatchGetQueryExecution", "http":{ @@ -521,6 +534,24 @@ "UnprocessedNamedQueryIds":{"shape":"UnprocessedNamedQueryIdList"} } }, + "BatchGetPreparedStatementInput":{ + "type":"structure", + "required":[ + "PreparedStatementNames", + "WorkGroup" + ], + "members":{ + "PreparedStatementNames":{"shape":"PreparedStatementNameList"}, + "WorkGroup":{"shape":"WorkGroupName"} + } + }, + "BatchGetPreparedStatementOutput":{ + "type":"structure", + "members":{ + "PreparedStatements":{"shape":"PreparedStatementDetailsList"}, + "UnprocessedPreparedStatementNames":{"shape":"UnprocessedPreparedStatementNameList"} + } + }, "BatchGetQueryExecutionInput":{ "type":"structure", "required":["QueryExecutionIds"], @@ -840,6 +871,16 @@ "max":9999, "min":0 }, + "ExecutionParameter":{ + "type":"string", + "max":1024, + "min":1 + }, + "ExecutionParameters":{ + "type":"list", + "member":{"shape":"ExecutionParameter"}, + "min":1 + }, "ExpressionString":{ "type":"string", "max":256, @@ -1259,6 +1300,14 @@ "LastModifiedTime":{"shape":"Date"} } }, + "PreparedStatementDetailsList":{ + "type":"list", + "member":{"shape":"PreparedStatement"} + }, + "PreparedStatementNameList":{ + "type":"list", + "member":{"shape":"StatementName"} + }, "PreparedStatementSummary":{ "type":"structure", "members":{ @@ -1283,7 +1332,8 @@ "Status":{"shape":"QueryExecutionStatus"}, "Statistics":{"shape":"QueryExecutionStatistics"}, "WorkGroup":{"shape":"WorkGroupName"}, - "EngineVersion":{"shape":"EngineVersion"} + "EngineVersion":{"shape":"EngineVersion"}, + "ExecutionParameters":{"shape":"ExecutionParameters"} } }, "QueryExecutionContext":{ @@ -1409,7 +1459,8 @@ }, "QueryExecutionContext":{"shape":"QueryExecutionContext"}, "ResultConfiguration":{"shape":"ResultConfiguration"}, - "WorkGroup":{"shape":"WorkGroupName"} + "WorkGroup":{"shape":"WorkGroupName"}, + "ExecutionParameters":{"shape":"ExecutionParameters"} } }, "StartQueryExecutionOutput":{ @@ -1546,6 +1597,18 @@ "type":"list", "member":{"shape":"UnprocessedNamedQueryId"} }, + "UnprocessedPreparedStatementName":{ + "type":"structure", + "members":{ + "StatementName":{"shape":"StatementName"}, + "ErrorCode":{"shape":"ErrorCode"}, + "ErrorMessage":{"shape":"ErrorMessage"} + } + }, + "UnprocessedPreparedStatementNameList":{ + "type":"list", + "member":{"shape":"UnprocessedPreparedStatementName"} + }, "UnprocessedQueryExecutionId":{ "type":"structure", "members":{ diff --git a/models/apis/athena/2017-05-18/docs-2.json b/models/apis/athena/2017-05-18/docs-2.json index 4652d329f1f..94c5e83cc2b 100644 --- a/models/apis/athena/2017-05-18/docs-2.json +++ b/models/apis/athena/2017-05-18/docs-2.json @@ -3,6 +3,7 @@ "service": "
Amazon Athena is an interactive query service that lets you use standard SQL to analyze data directly in Amazon S3. You can point Athena at your data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay only for the queries you run. Athena scales automatically—executing queries in parallel—so results are fast, even with large datasets and complex queries. For more information, see What is Amazon Athena in the Amazon Athena User Guide.
If you connect to Athena using the JDBC driver, use version 1.1.0 of the driver or later with the Amazon Athena API. Earlier version drivers do not support the API. For more information and to download the driver, see Accessing Amazon Athena with JDBC.
For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
", "operations": { "BatchGetNamedQuery": "Returns the details of a single named query or a list of up to 50 queries, which you provide as an array of query ID strings. Requires you to have access to the workgroup in which the queries were saved. Use ListNamedQueriesInput to get the list of named query IDs in the specified workgroup. If information could not be retrieved for a submitted query ID, information about the query ID submitted is listed under UnprocessedNamedQueryId. Named queries differ from executed queries. Use BatchGetQueryExecutionInput to get details about each unique query execution, and ListQueryExecutionsInput to get a list of query execution IDs.
", + "BatchGetPreparedStatement": "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
.
Returns the details of a single query execution or a list of up to 50 query executions, which you provide as an array of query execution ID strings. Requires you to have access to the workgroup in which the queries ran. To get a list of query execution IDs, use ListQueryExecutionsInput$WorkGroup. Query executions differ from named (saved) queries. Use BatchGetNamedQueryInput to get details about named queries.
", "CreateDataCatalog": "Creates (registers) a data catalog with the specified name and properties. Catalogs created are visible to all users of the same Amazon Web Services account.
", "CreateNamedQuery": "Creates a named query in the specified workgroup. Requires that you have access to the workgroup.
For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
", @@ -24,7 +25,7 @@ "ListDatabases": "Lists the databases in the specified data catalog.
", "ListEngineVersions": "Returns a list of engine versions that are available to choose from, including the Auto option.
", "ListNamedQueries": "Provides a list of available query IDs only for queries saved in the specified workgroup. Requires that you have access to the specified workgroup. If a workgroup is not specified, lists the saved queries for the primary workgroup.
For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
", - "ListPreparedStatements": "Lists the prepared statements in the specfied workgroup.
", + "ListPreparedStatements": "Lists the prepared statements in the specified workgroup.
", "ListQueryExecutions": "Provides a list of available query execution IDs for the queries in the specified workgroup. If a workgroup is not specified, returns a list of query execution IDs for the primary workgroup. Requires you to have access to the workgroup in which the queries ran.
For code samples using the Amazon Web Services SDK for Java, see Examples and Code Samples in the Amazon Athena User Guide.
", "ListTableMetadata": "Lists the metadata for the tables in the specified data catalog database.
", "ListTagsForResource": "Lists the tags associated with an Athena workgroup or data catalog resource.
", @@ -50,7 +51,7 @@ "base": null, "refs": { "ListTagsForResourceInput$ResourceARN": "Lists the tags for the resource with the specified ARN.
", - "ResourceNotFoundException$ResourceName": null, + "ResourceNotFoundException$ResourceName": "The name of the Amazon resource.
", "TagResourceInput$ResourceARN": "Specifies the ARN of the Athena resource (workgroup or data catalog) to which tags are to be added.
", "UntagResourceInput$ResourceARN": "Specifies the ARN of the resource from which tags are to be removed.
" } @@ -71,6 +72,16 @@ "refs": { } }, + "BatchGetPreparedStatementInput": { + "base": null, + "refs": { + } + }, + "BatchGetPreparedStatementOutput": { + "base": null, + "refs": { + } + }, "BatchGetQueryExecutionInput": { "base": null, "refs": { @@ -364,6 +375,7 @@ "refs": { "InvalidRequestException$AthenaErrorCode": null, "UnprocessedNamedQueryId$ErrorCode": "The error code returned when the processing request for the named query failed, if applicable.
", + "UnprocessedPreparedStatementName$ErrorCode": "The error code returned when the request for the prepared statement failed.
", "UnprocessedQueryExecutionId$ErrorCode": "The error code returned when the query execution failed to process, if applicable.
" } }, @@ -376,6 +388,7 @@ "ResourceNotFoundException$Message": null, "TooManyRequestsException$Message": null, "UnprocessedNamedQueryId$ErrorMessage": "The error message returned when the processing request for the named query failed, if applicable.
", + "UnprocessedPreparedStatementName$ErrorMessage": "The error message containing the reason why the prepared statement could not be returned. The following error messages are possible:
INVALID_INPUT
- The name of the prepared statement that was provided is not valid (for example, the name is too long).
STATEMENT_NOT_FOUND
- A prepared statement with the name provided could not be found.
UNAUTHORIZED
- The requester does not have permission to access the workgroup that contains the prepared statement.
The error message returned when the query execution failed to process, if applicable.
" } }, @@ -385,6 +398,19 @@ "AthenaError$ErrorType": "An integer value that provides specific information about an Athena query error. For the meaning of specific values, see the Error Type Reference in the Amazon Athena User Guide.
" } }, + "ExecutionParameter": { + "base": null, + "refs": { + "ExecutionParameters$member": null + } + }, + "ExecutionParameters": { + "base": null, + "refs": { + "QueryExecution$ExecutionParameters": "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.
", + "StartQueryExecutionInput$ExecutionParameters": "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.
" + } + }, "ExpressionString": { "base": null, "refs": { @@ -742,7 +768,20 @@ "PreparedStatement": { "base": "A prepared SQL statement for use with Athena.
", "refs": { - "GetPreparedStatementOutput$PreparedStatement": "The name of the prepared statement that was retrieved.
" + "GetPreparedStatementOutput$PreparedStatement": "The name of the prepared statement that was retrieved.
", + "PreparedStatementDetailsList$member": null + } + }, + "PreparedStatementDetailsList": { + "base": null, + "refs": { + "BatchGetPreparedStatementOutput$PreparedStatements": "The list of prepared statements returned.
" + } + }, + "PreparedStatementNameList": { + "base": null, + "refs": { + "BatchGetPreparedStatementInput$PreparedStatementNames": "A list of prepared statement names to return.
" } }, "PreparedStatementSummary": { @@ -893,7 +932,9 @@ "DeletePreparedStatementInput$StatementName": "The name of the prepared statement to delete.
", "GetPreparedStatementInput$StatementName": "The name of the prepared statement to retrieve.
", "PreparedStatement$StatementName": "The name of the prepared statement.
", + "PreparedStatementNameList$member": null, "PreparedStatementSummary$StatementName": "The name of the prepared statement.
", + "UnprocessedPreparedStatementName$StatementName": "The name of a prepared statement that could not be returned due to an error.
", "UpdatePreparedStatementInput$StatementName": "The name of the prepared statement.
" } }, @@ -1056,6 +1097,18 @@ "BatchGetNamedQueryOutput$UnprocessedNamedQueryIds": "Information about provided query IDs.
" } }, + "UnprocessedPreparedStatementName": { + "base": "The name of a prepared statement that could not be returned.
", + "refs": { + "UnprocessedPreparedStatementNameList$member": null + } + }, + "UnprocessedPreparedStatementNameList": { + "base": null, + "refs": { + "BatchGetPreparedStatementOutput$UnprocessedPreparedStatementNames": "A list of one or more prepared statements that were requested but could not be returned.
" + } + }, "UnprocessedQueryExecutionId": { "base": "Describes a query execution that failed to process.
", "refs": { @@ -1149,6 +1202,7 @@ "WorkGroupName": { "base": null, "refs": { + "BatchGetPreparedStatementInput$WorkGroup": "The name of the workgroup to which the prepared statements belong.
", "CreateNamedQueryInput$WorkGroup": "The name of the workgroup in which the named query is being created.
", "CreatePreparedStatementInput$WorkGroup": "The name of the workgroup to which the prepared statement belongs.
", "CreateWorkGroupInput$Name": "The workgroup name.
", diff --git a/models/apis/customer-profiles/2020-08-15/api-2.json b/models/apis/customer-profiles/2020-08-15/api-2.json index 6a7727b7b1d..54425ee8903 100644 --- a/models/apis/customer-profiles/2020-08-15/api-2.json +++ b/models/apis/customer-profiles/2020-08-15/api-2.json @@ -743,7 +743,8 @@ "members":{ "Enabled":{"shape":"optionalBoolean"}, "Consolidation":{"shape":"Consolidation"}, - "ConflictResolution":{"shape":"ConflictResolution"} + "ConflictResolution":{"shape":"ConflictResolution"}, + "MinAllowedConfidenceScoreForMerging":{"shape":"Double0To1"} } }, "BadRequestException":{ @@ -1120,6 +1121,11 @@ } }, "Double":{"type":"double"}, + "Double0To1":{ + "type":"double", + "max":1.0, + "min":0.0 + }, "ExportingConfig":{ "type":"structure", "members":{ @@ -1227,7 +1233,8 @@ "locationName":"DomainName" }, "Consolidation":{"shape":"Consolidation"}, - "ConflictResolution":{"shape":"ConflictResolution"} + "ConflictResolution":{"shape":"ConflictResolution"}, + "MinAllowedConfidenceScoreForMerging":{"shape":"Double0To1"} } }, "GetAutoMergingPreviewResponse":{ diff --git a/models/apis/customer-profiles/2020-08-15/docs-2.json b/models/apis/customer-profiles/2020-08-15/docs-2.json index 28ea348ec4e..97aa191f67f 100644 --- a/models/apis/customer-profiles/2020-08-15/docs-2.json +++ b/models/apis/customer-profiles/2020-08-15/docs-2.json @@ -45,7 +45,7 @@ "name": { "base": null, "refs": { - "AddProfileKeyRequest$KeyName": "A searchable identifier of a customer profile.
", + "AddProfileKeyRequest$KeyName": "A searchable identifier of a customer profile. The predefined keys you can use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
", "AddProfileKeyRequest$DomainName": "The unique name of the domain.
", "AddProfileKeyResponse$KeyName": "A searchable identifier of a customer profile.
", "CreateDomainRequest$DomainName": "The unique name of the domain.
", @@ -97,7 +97,7 @@ "PutIntegrationResponse$DomainName": "The unique name of the domain.
", "PutProfileObjectRequest$DomainName": "The unique name of the domain.
", "PutProfileObjectTypeRequest$DomainName": "The unique name of the domain.
", - "PutProfileObjectTypeRequest$TemplateId": "A unique identifier for the object template.
", + "PutProfileObjectTypeRequest$TemplateId": "A unique identifier for the object template. For some attributes in the request, the service will use the default value from the object template when TemplateId is present. If these attributes are present in the request, the service may return a BadRequestException
. These attributes include: AllowProfileCreation, SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation is set to true when TemplateId is set, the service may return a BadRequestException
.
A unique identifier for the object template.
", "SearchProfilesRequest$DomainName": "The unique name of the domain.
", "SearchProfilesRequest$KeyName": "A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, _shopifyOrderId.
", @@ -382,7 +382,14 @@ "Double": { "base": null, "refs": { - "MatchItem$ConfidenceScore": "A number between 0 and 1 that represents the confidence level of assigning profiles to a matching group. A score of 1 likely indicates an exact match.
" + "MatchItem$ConfidenceScore": "A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
" + } + }, + "Double0To1": { + "base": null, + "refs": { + "AutoMerging$MinAllowedConfidenceScoreForMerging": "A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means higher similarity required to merge profiles.
", + "GetAutoMergingPreviewRequest$MinAllowedConfidenceScoreForMerging": "Minimum confidence score required for profiles within a matching group to be merged during the auto-merge process.
" } }, "ExportingConfig": { diff --git a/models/apis/elasticmapreduce/2009-03-31/api-2.json b/models/apis/elasticmapreduce/2009-03-31/api-2.json index 16bb90d26de..130f3aa27a2 100644 --- a/models/apis/elasticmapreduce/2009-03-31/api-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/api-2.json @@ -696,7 +696,8 @@ ], "members":{ "JobFlowId":{"shape":"XmlStringMaxLen256"}, - "Steps":{"shape":"StepConfigList"} + "Steps":{"shape":"StepConfigList"}, + "ExecutionRoleArn":{"shape":"ArnType"} } }, "AddJobFlowStepsOutput":{ @@ -2801,7 +2802,8 @@ "Name":{"shape":"String"}, "Config":{"shape":"HadoopStepConfig"}, "ActionOnFailure":{"shape":"ActionOnFailure"}, - "Status":{"shape":"StepStatus"} + "Status":{"shape":"StepStatus"}, + "ExecutionRoleArn":{"shape":"OptionalArnType"} } }, "StepCancellationOption":{ diff --git a/models/apis/elasticmapreduce/2009-03-31/docs-2.json b/models/apis/elasticmapreduce/2009-03-31/docs-2.json index c92ddec06ea..d78e48fc8d9 100644 --- a/models/apis/elasticmapreduce/2009-03-31/docs-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/docs-2.json @@ -128,6 +128,7 @@ "refs": { "AddInstanceFleetOutput$ClusterArn": "The Amazon Resource Name of the cluster.
", "AddInstanceGroupsOutput$ClusterArn": "The Amazon Resource Name of the cluster.
", + "AddJobFlowStepsInput$ExecutionRoleArn": "The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:iam::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
The Amazon Resource Name that created or last modified the configuration.
", "Cluster$ClusterArn": "The Amazon Resource Name of the cluster.
", "ClusterSummary$ClusterArn": "The Amazon Resource Name of the cluster.
", @@ -1454,7 +1455,8 @@ "base": null, "refs": { "Cluster$OutpostArn": "The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
", - "ClusterSummary$OutpostArn": "The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
" + "ClusterSummary$OutpostArn": "The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
", + "Step$ExecutionRoleArn": "The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. The runtime role can be a cross-account IAM role. The runtime role ARN is a combination of account ID, role name, and role type using the following format: arn:partition:service:region:account:resource
.
For example, arn:aws:iam::1234567890:role/ReadOnly
is a correctly formatted runtime role ARN.
True if the value is used as a parameter.
", "ConnectionPasswordEncryption$ReturnConnectionPasswordEncrypted": "When the ReturnConnectionPasswordEncrypted
flag is set to \"true\", passwords remain encrypted in the responses of GetConnection
and GetConnections
. This encryption takes effect independently from catalog encryption.
True if the crawler is still estimating how long it will take to complete this run.
", - "GetConnectionRequest$HidePassword": "Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
", - "GetConnectionsRequest$HidePassword": "Allows you to retrieve the connection metadata without returning the password. For instance, the AWS Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
", + "GetConnectionRequest$HidePassword": "Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
", + "GetConnectionsRequest$HidePassword": "Allows you to retrieve the connection metadata without returning the password. For instance, the Glue console uses this flag to retrieve the connection, and does not display the password. Set this parameter when the caller might not have permission to use the KMS key to decrypt the password, but it does have permission to access the rest of the connection properties.
", "GetUnfilteredPartitionMetadataResponse$IsRegisteredWithLakeFormation": null, "GetUnfilteredTableMetadataResponse$IsRegisteredWithLakeFormation": null, "StorageDescriptor$Compressed": " True
if the data in the table is compressed, or False
if not.
These key-value pairs define parameters for the connection:
HOST
- The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host.
PORT
- The port number, between 1024 and 65535, of the port on which the database host is listening for database connections.
USER_NAME
- The name under which to log in to the database. The value string for USER_NAME
is \"USERNAME
\".
PASSWORD
- A password, if one is used, for the user name.
ENCRYPTED_PASSWORD
- When you enable connection password protection by setting ConnectionPasswordEncryption
in the Data Catalog encryption settings, this field stores the encrypted password.
JDBC_DRIVER_JAR_URI
- The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use.
JDBC_DRIVER_CLASS_NAME
- The class name of the JDBC driver to use.
JDBC_ENGINE
- The name of the JDBC engine to use.
JDBC_ENGINE_VERSION
- The version of the JDBC engine to use.
CONFIG_FILES
- (Reserved for future use.)
INSTANCE_ID
- The instance ID to use.
JDBC_CONNECTION_URL
- The URL for connecting to a JDBC data source.
JDBC_ENFORCE_SSL
- A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false.
CUSTOM_JDBC_CERT
- An Amazon S3 location specifying the customer's root certificate. Glue uses this root certificate to validate the customer’s certificate when connecting to the customer database. Glue only handles X.509 certificates. The certificate provided must be DER-encoded and supplied in Base64 encoding PEM format.
SKIP_CUSTOM_JDBC_CERT_VALIDATION
- By default, this is false
. Glue validates the Signature algorithm and Subject Public Key Algorithm for the customer certificate. The only permitted algorithms for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key Algorithm, the key length must be at least 2048. You can set the value of this property to true
to skip Glue’s validation of the customer certificate.
CUSTOM_JDBC_CERT_STRING
- A custom JDBC certificate string which is used for domain match or distinguished name match to prevent a man-in-the-middle attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN
; in Microsoft SQL Server, this is used as the hostNameInCertificate
.
CONNECTION_URL
- The URL for connecting to a general (non-JDBC) data source.
KAFKA_BOOTSTRAP_SERVERS
- A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.
KAFKA_SSL_ENABLED
- Whether to enable or disable SSL on an Apache Kafka connection. Default value is \"true\".
KAFKA_CUSTOM_CERT
- The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION
- Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is \"false\".
SECRET_ID
- The secret ID used for the secret manager of credentials.
CONNECTOR_URL
- The connector URL for a MARKETPLACE or CUSTOM connection.
CONNECTOR_TYPE
- The connector type for a MARKETPLACE or CUSTOM connection.
CONNECTOR_CLASS_NAME
- The connector class name for a MARKETPLACE or CUSTOM connection.
KAFKA_CLIENT_KEYSTORE
- The Amazon S3 location of the client keystore file for Kafka client side authentication (Optional).
KAFKA_CLIENT_KEYSTORE_PASSWORD
- The password to access the provided keystore (Optional).
KAFKA_CLIENT_KEY_PASSWORD
- A keystore can consist of multiple keys, so this is the password to access the client key to be used with the Kafka server side key (Optional).
ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD
- The encrypted version of the Kafka client keystore password (if the user has the Glue encrypt passwords setting selected).
ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD
- The encrypted version of the Kafka client key password (if the user has the Glue encrypt passwords setting selected).
These key-value pairs define parameters for the connection:
HOST
- The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host.
PORT
- The port number, between 1024 and 65535, of the port on which the database host is listening for database connections.
USER_NAME
- The name under which to log in to the database. The value string for USER_NAME
is \"USERNAME
\".
PASSWORD
- A password, if one is used, for the user name.
ENCRYPTED_PASSWORD
- When you enable connection password protection by setting ConnectionPasswordEncryption
in the Data Catalog encryption settings, this field stores the encrypted password.
JDBC_DRIVER_JAR_URI
- The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use.
JDBC_DRIVER_CLASS_NAME
- The class name of the JDBC driver to use.
JDBC_ENGINE
- The name of the JDBC engine to use.
JDBC_ENGINE_VERSION
- The version of the JDBC engine to use.
CONFIG_FILES
- (Reserved for future use.)
INSTANCE_ID
- The instance ID to use.
JDBC_CONNECTION_URL
- The URL for connecting to a JDBC data source.
JDBC_ENFORCE_SSL
- A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false.
CUSTOM_JDBC_CERT
- An Amazon S3 location specifying the customer's root certificate. Glue uses this root certificate to validate the customer’s certificate when connecting to the customer database. Glue only handles X.509 certificates. The certificate provided must be DER-encoded and supplied in Base64 encoding PEM format.
SKIP_CUSTOM_JDBC_CERT_VALIDATION
- By default, this is false
. Glue validates the Signature algorithm and Subject Public Key Algorithm for the customer certificate. The only permitted algorithms for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key Algorithm, the key length must be at least 2048. You can set the value of this property to true
to skip Glue’s validation of the customer certificate.
CUSTOM_JDBC_CERT_STRING
- A custom JDBC certificate string which is used for domain match or distinguished name match to prevent a man-in-the-middle attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN
; in Microsoft SQL Server, this is used as the hostNameInCertificate
.
CONNECTION_URL
- The URL for connecting to a general (non-JDBC) data source.
SECRET_ID
- The secret ID used for the secret manager of credentials.
CONNECTOR_URL
- The connector URL for a MARKETPLACE or CUSTOM connection.
CONNECTOR_TYPE
- The connector type for a MARKETPLACE or CUSTOM connection.
CONNECTOR_CLASS_NAME
- The connector class name for a MARKETPLACE or CUSTOM connection.
KAFKA_BOOTSTRAP_SERVERS
- A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.
KAFKA_SSL_ENABLED
- Whether to enable or disable SSL on an Apache Kafka connection. Default value is \"true\".
KAFKA_CUSTOM_CERT
- The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION
- Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is \"false\".
KAFKA_CLIENT_KEYSTORE
- The Amazon S3 location of the client keystore file for Kafka client side authentication (Optional).
KAFKA_CLIENT_KEYSTORE_PASSWORD
- The password to access the provided keystore (Optional).
KAFKA_CLIENT_KEY_PASSWORD
- A keystore can consist of multiple keys, so this is the password to access the client key to be used with the Kafka server side key (Optional).
ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD
- The encrypted version of the Kafka client keystore password (if the user has the Glue encrypt passwords setting selected).
ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD
- The encrypted version of the Kafka client key password (if the user has the Glue encrypt passwords setting selected).
KAFKA_SASL_MECHANISM
- \"SCRAM-SHA-512\"
or \"GSSAPI\"
. These are the two supported SASL Mechanisms.
KAFKA_SASL_SCRAM_USERNAME
- A plaintext username used to authenticate with the \"SCRAM-SHA-512\" mechanism.
KAFKA_SASL_SCRAM_PASSWORD
- A plaintext password used to authenticate with the \"SCRAM-SHA-512\" mechanism.
ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD
- The encrypted version of the Kafka SASL SCRAM password (if the user has the Glue encrypt passwords setting selected).
KAFKA_SASL_GSSAPI_KEYTAB
- The S3 location of a Kerberos keytab
file. A keytab stores long-term keys for one or more principals. For more information, see MIT Kerberos Documentation: Keytab.
KAFKA_SASL_GSSAPI_KRB5_CONF
- The S3 location of a Kerberos krb5.conf
file. A krb5.conf stores Kerberos configuration information, such as the location of the KDC server. For more information, see MIT Kerberos Documentation: krb5.conf.
KAFKA_SASL_GSSAPI_SERVICE
- The Kerberos service name, as set with sasl.kerberos.service.name
in your Kafka Configuration.
KAFKA_SASL_GSSAPI_PRINCIPAL
- The name of the Kerberos princial used by Glue. For more information, see Kafka Documentation: Configuring Kafka Brokers.
These key-value pairs define parameters for the connection.
" } }, @@ -4266,7 +4266,7 @@ "LocationStringList": { "base": null, "refs": { - "StorageDescriptor$AdditionalLocations": null + "StorageDescriptor$AdditionalLocations": "A list of locations that point to the path where a Delta table is located.
" } }, "LogGroup": { @@ -6727,6 +6727,7 @@ "CreateBlueprintRequest$Tags": "The tags to be applied to this blueprint.
", "CreateConnectionRequest$Tags": "The tags you assign to the connection.
", "CreateCrawlerRequest$Tags": "The tags to use with this crawler request. You may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
", + "CreateDatabaseRequest$Tags": "The tags you assign to the database.
", "CreateDevEndpointRequest$Tags": "The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
", "CreateJobRequest$Tags": "The tags to use with this job. You may use tags to limit access to the job. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
", "CreateMLTransformRequest$Tags": "The tags to use with this machine learning transform. You may use tags to limit access to the machine learning transform. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
", @@ -7491,10 +7492,10 @@ "BatchDeleteTableVersionList$member": null, "DeleteTableVersionRequest$VersionId": "The ID of the table version to be deleted. A VersionID
is a string representation of an integer. Each version is incremented by 1.
The ID value of the table version to be retrieved. A VersionID
is a string representation of an integer. Each version is incremented by 1.
The ID of the table version.
", "TableVersion$VersionId": "The ID value that identifies this table version. A VersionId
is a string representation of an integer. Each version is incremented by 1.
The ID value of the version in question. A VersionID
is a string representation of an integer. Each version is incremented by 1.
The version ID at which to update the table contents.
" } }, "VersionsString": { diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index 813cca53de1..de8f185c222 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -970,6 +970,38 @@ "type":"string", "enum":["TEXT_WITH_HIGHLIGHTS_VALUE"] }, + "AlfrescoConfiguration":{ + "type":"structure", + "required":[ + "SiteUrl", + "SiteId", + "SecretArn", + "SslCertificateS3Path" + ], + "members":{ + "SiteUrl":{"shape":"SiteUrl"}, + "SiteId":{"shape":"SiteId"}, + "SecretArn":{"shape":"SecretArn"}, + "SslCertificateS3Path":{"shape":"S3Path"}, + "CrawlSystemFolders":{"shape":"Boolean"}, + "CrawlComments":{"shape":"Boolean"}, + "EntityFilter":{"shape":"EntityFilter"}, + "DocumentLibraryFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "BlogFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "WikiFieldMappings":{"shape":"DataSourceToIndexFieldMappingList"}, + "InclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "ExclusionPatterns":{"shape":"DataSourceInclusionsExclusionsStrings"}, + "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"} + } + }, + "AlfrescoEntity":{ + "type":"string", + "enum":[ + "wiki", + "blog", + "documentLibrary" + ] + }, "AmazonResourceName":{ "type":"string", "max":1011, @@ -1704,7 +1736,8 @@ "BoxConfiguration":{"shape":"BoxConfiguration"}, "QuipConfiguration":{"shape":"QuipConfiguration"}, "JiraConfiguration":{"shape":"JiraConfiguration"}, - "GitHubConfiguration":{"shape":"GitHubConfiguration"} + "GitHubConfiguration":{"shape":"GitHubConfiguration"}, + "AlfrescoConfiguration":{"shape":"AlfrescoConfiguration"} } }, "DataSourceDateFieldFormat":{ @@ -1881,7 +1914,8 @@ "BOX", "QUIP", "JIRA", - "GITHUB" + "GITHUB", + "ALFRESCO" ] }, "DataSourceVpcConfiguration":{ @@ -2521,6 +2555,12 @@ "LastName":{"shape":"NameType"} } }, + "EntityFilter":{ + "type":"list", + "member":{"shape":"AlfrescoEntity"}, + "max":3, + "min":1 + }, "EntityId":{ "type":"string", "max":47, @@ -4367,6 +4407,12 @@ "min":10, "pattern":"(20\\d{2})-(0?[1-9]|1[0-2])-(0?[1-9]|1\\d|2\\d|3[01])" }, + "SiteId":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[A-Za-z0-9-]+$" + }, "SiteMap":{ "type":"string", "max":2048, @@ -4386,6 +4432,12 @@ "max":3, "min":0 }, + "SiteUrl":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^https:\\/\\/[a-zA-Z0-9_\\-\\.]+$" + }, "SlackConfiguration":{ "type":"structure", "required":[ diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index 76fb92a25e9..17ba42d2181 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -6,14 +6,14 @@ "AssociatePersonasToEntities": "Defines the specific permissions of users or groups in your Amazon Web Services SSO identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
", "BatchDeleteDocument": "Removes one or more documents from an index. The documents must have been added with the BatchPutDocument
API.
The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log.
", "BatchGetDocumentStatus": "Returns the indexing status for one or more documents submitted with the BatchPutDocument API.
When you use the BatchPutDocument
API, documents are indexed asynchronously. You can use the BatchGetDocumentStatus
API to get the current status of a list of documents so that you can determine if they have been successfully indexed.
You can also use the BatchGetDocumentStatus
API to check the status of the BatchDeleteDocument API. When a document is deleted from the index, Amazon Kendra returns NOT_FOUND
as the status.
Adds one or more documents to an index.
The BatchPutDocument
API enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this API to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index.
The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log.
", + "BatchPutDocument": "Adds one or more documents to an index.
The BatchPutDocument
API enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this API to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index.
The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log.
For an example of ingesting inline documents using Python and Java SDKs, see Adding files directly to an index.
", "ClearQuerySuggestions": "Clears existing query suggestions from an index.
This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.
ClearQuerySuggestions
is currently not supported in the Amazon Web Services GovCloud (US-West) region.
Creates a data source that you want to use with an Amazon Kendra index.
You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector.
CreateDataSource
is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
Amazon S3 and custom data sources are the only supported data sources in the Amazon Web Services GovCloud (US-West) region.
", - "CreateExperience": "Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
", - "CreateFaq": "Creates an new set of frequently asked question (FAQ) questions and answers.
Adding FAQs to an index is an asynchronous operation.
", - "CreateIndex": "Creates a new Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has completed, check the Status
field returned from a call to DescribeIndex
. The Status
field is set to ACTIVE
when the index is ready to use.
Once the index is active you can index your documents using the BatchPutDocument
API or using one of the supported data sources.
Creates a block list to exlcude certain queries from suggestions.
Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.
You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
CreateQuerySuggestionsBlockList
is currently not supported in the Amazon Web Services GovCloud (US-West) region.
Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.
", + "CreateDataSource": "Creates a data source that you want to use with an Amazon Kendra index.
You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector.
CreateDataSource
is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.
Amazon S3 and custom data sources are the only supported data sources in the Amazon Web Services GovCloud (US-West) region.
For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK. For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK.
", + "CreateExperience": "Creates an Amazon Kendra experience such as a search application. For more information on creating a search application experience, including using the Python and Java SDKs, see Building a search experience with no code.
", + "CreateFaq": "Creates an new set of frequently asked question (FAQ) questions and answers.
Adding FAQs to an index is an asynchronous operation.
For an example of adding an FAQ to an index using Python and Java SDKs, see Using you FAQ file.
", + "CreateIndex": "Creates a new Amazon Kendra index. Index creation is an asynchronous API. To determine if index creation has completed, check the Status
field returned from a call to DescribeIndex
. The Status
field is set to ACTIVE
when the index is ready to use.
Once the index is active you can index your documents using the BatchPutDocument
API or using one of the supported data sources.
For an example of creating an index and data source using the Python SDK, see Getting started with Python SDK. For an example of creating an index and data source using the Java SDK, see Getting started with Java SDK.
", + "CreateQuerySuggestionsBlockList": "Creates a block list to exlcude certain queries from suggestions.
Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.
You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
CreateQuerySuggestionsBlockList
is currently not supported in the Amazon Web Services GovCloud (US-West) region.
For an example of creating a block list for query suggestions using the Python SDK, see Query suggestions block list.
", + "CreateThesaurus": "Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.
For an example of adding a thesaurus file to an index, see Adding custom synonyms to an index.
", "DeleteDataSource": "Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status
field returned by a call to the DescribeDataSource
API is set to DELETING
. For more information, see Deleting Data Sources.
Deletes your Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
", "DeleteFaq": "Removes an FAQ from an index.
", @@ -100,6 +100,18 @@ "AdditionalResultAttribute$ValueType": "The data type of the Value
property.
Provides the configuration information to connect to Alfresco as your data source.
", + "refs": { + "DataSourceConfiguration$AlfrescoConfiguration": "Provides the configuration information to connect to Alfresco as your data source.
" + } + }, + "AlfrescoEntity": { + "base": null, + "refs": { + "EntityFilter$member": null + } + }, "AmazonResourceName": { "base": null, "refs": { @@ -248,13 +260,15 @@ "Boolean": { "base": null, "refs": { + "AlfrescoConfiguration$CrawlSystemFolders": " TRUE
to index shared files.
TRUE
to index comments of wikis and blogs.
TRUE
to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.
TRUE
to index comments.
TRUE
to index the contents of tasks.
TRUE
to index web links.
Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source.
", - "ConfluenceSpaceConfiguration$CrawlPersonalSpaces": "Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
", - "ConfluenceSpaceConfiguration$CrawlArchivedSpaces": "Specifies whether Amazon Kendra should index archived spaces.
", + "ConfluenceAttachmentConfiguration$CrawlAttachments": " TRUE
to index attachments of pages and blogs in Confluence.
TRUE
to index personal spaces. You can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context.
TRUE
to index archived spaces.
TRUE
to use documents you indexed directly using the BatchPutDocument
API.
TRUE
to delete the existing target value for your specified target attribute key. You cannot create a target value and set this to TRUE
. To create a target value (TargetDocumentAttributeValue
), set this to FALSE
.
TRUE
to use the GitHub change log to determine which documents require updating in the index. Depending on the GitHub change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in GitHub.
TRUE
to include all comment attachments for pull requests.
Indicates whether the response is the best response. True if this is the best response; otherwise, false.
", "InlineCustomDocumentEnrichmentConfiguration$DocumentContentDeletion": " TRUE
to delete content if the condition used for the target attribute is met.
Specify to use the change log option to update your index.
", - "OneDriveConfiguration$DisableLocalGroups": "A Boolean value that specifies whether local groups are disabled (True
) or enabled (False
).
Specify whether to crawl file comments in Quip. You can specify one or more of these options.
", - "QuipConfiguration$CrawlChatRooms": "Specify whether to crawl chat rooms in Quip. You can specify one or more of these options.
", - "QuipConfiguration$CrawlAttachments": "Specify whether to crawl attachments in Quip. You can specify one or more of these options.
", + "JiraConfiguration$UseChangeLog": " 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.
TRUE
to disable local groups information.
TRUE
to index file comments.
TRUE
to index the contents of chat rooms.
TRUE
to index attachments.
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
", "Search$Facetable": "Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is false
.
Determines whether the field is used in the search. If the Searchable
field is true
, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default is true
for string fields and false
for number and date fields.
Determines whether the field can be used to sort the results of a query. If you specify sorting on a field that does not have Sortable
set to true
, Amazon Kendra returns an exception. The default is false
.
Indicates whether Amazon Kendra should index attachments to knowledge articles.
", "ServiceNowServiceCatalogConfiguration$CrawlAttachments": "Indicates whether Amazon Kendra should crawl attachments to the service catalog items.
", - "SharePointConfiguration$CrawlAttachments": " TRUE
to include attachments to documents stored in your Microsoft SharePoint site in the index; otherwise, FALSE
.
TRUE
to index document attachments.
TRUE
to use the SharePoint 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 SharePoint.
A Boolean value that specifies whether local groups are disabled (True
) or enabled (False
).
TRUE
to disable local groups information.
TRUE
to use the Slack change log to determine which documents require updating in the index. Depending on the Slack change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents in Slack.
TRUE
to index bot messages from your Slack workspace team.
TRUE
to exclude archived messages to index from your Slack workspace team.
>Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Confluence fields. For more information, see Mapping data source fields. The Confluence data source field names must exist in your Confluence custom metadata.
If you specify the PageFieldMappings
parameter, you must specify at least one field mapping.
Specifies the version of the Confluence installation that you are connecting to.
" + "ConfluenceConfiguration$Version": "The version or the type of the Confluence installation to connect to.
" } }, "ConnectionConfiguration": { @@ -679,10 +693,12 @@ "DataSourceInclusionsExclusionsStrings": { "base": null, "refs": { + "AlfrescoConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain files in your Alfresco data source. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
", + "AlfrescoConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain files in your Alfresco data source. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
", "BoxConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
", "BoxConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.
", "ConfluenceConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are included in the index. Content that doesn't match the patterns is excluded from the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
", - "ConfluenceConfiguration$ExclusionPatterns": ">A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
", + "ConfluenceConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain blog posts, pages, spaces, or attachments in your Confluence. Content that matches the patterns are excluded from the index. Content that doesn't match the patterns is included in the index. If content matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the content isn't included in the index.
", "FsxConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
", "FsxConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
", "GoogleDriveConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain items in your Google Drive, including shared drives and users' My Drives. Items that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
", @@ -702,8 +718,8 @@ "ServiceNowKnowledgeArticleConfiguration$ExcludeAttachmentFilePatterns": "A list of regular expression patterns to exclude certain attachments of knowledge articles in your ServiceNow. Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the field specified in the PatternTargetField
.
A list of regular expression patterns to include certain attachments of catalogs in your ServiceNow. Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the file name of the attachment.
", "ServiceNowServiceCatalogConfiguration$ExcludeAttachmentFilePatterns": "A list of regular expression patterns to exclude certain attachments of catalogs in your ServiceNow. Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the file name of the attachment.
", - "SharePointConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain documents in your SharePoint. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The regex is applied to the display URL of the SharePoint document.
", - "SharePointConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain documents in your SharePoint. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The regex is applied to the display URL of the SharePoint document.
", + "SharePointConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain documents in your SharePoint. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The regex applies to the display URL of the SharePoint document.
", + "SharePointConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain documents in your SharePoint. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The regex applies to the display URL of the SharePoint document.
", "SlackConfiguration$InclusionPatterns": "A list of regular expression patterns to include certain attached files in your Slack workspace team. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
", "SlackConfiguration$ExclusionPatterns": "A list of regular expression patterns to exclude certain attached files in your Slack workspace team. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
", "WebCrawlerConfiguration$UrlInclusionPatterns": "A list of regular expression patterns to include certain URLs to crawl. URLs that match the patterns are included in the index. URLs that don't match the patterns are excluded from the index. If a URL matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the URL file isn't included in the index.
", @@ -792,6 +808,9 @@ "DataSourceToIndexFieldMappingList": { "base": null, "refs": { + "AlfrescoConfiguration$DocumentLibraryFieldMappings": "A list of DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco document libraries to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco blogs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map attributes or field names of Alfresco wikis to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Alfresco fields. For more information, see Mapping data source fields. The Alfresco data source field names must exist in your Alfresco custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map attributes or field names of Box files to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map attributes or field names of Box tasks to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
A list of DataSourceToIndexFieldMapping
objects that map attributes or field names of Box comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Box fields. For more information, see Mapping data source fields. The Box field names must exist in your Box custom metadata.
Provides the configuration information to connect to an Amazon VPC.
", "refs": { + "AlfrescoConfiguration$VpcConfiguration": "Configuration information for an Amazon Virtual Private Cloud to connect to your Alfresco. For more information, see Configuring a VPC.
", "BoxConfiguration$VpcConfiguration": "Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.
", "ConfluenceConfiguration$VpcConfiguration": "Configuration information for an Amazon Virtual Private Cloud to connect to your Confluence. For more information, see Configuring a VPC.
", "DatabaseConfiguration$VpcConfiguration": null, @@ -846,7 +866,7 @@ "GitHubConfiguration$VpcConfiguration": "Configuration information of an Amazon Virtual Private Cloud to connect to your GitHub. For more information, see Configuring a VPC.
", "JiraConfiguration$VpcConfiguration": "Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. Your Jira account must reside inside your VPC.
", "QuipConfiguration$VpcConfiguration": "Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip. For more information, see Configuring a VPC.
", - "SharePointConfiguration$VpcConfiguration": null, + "SharePointConfiguration$VpcConfiguration": "Configuration information for an Amazon Virtual Private Cloud to connect to your Microsoft SharePoint. For more information, see Configuring a VPC.
", "SlackConfiguration$VpcConfiguration": "Configuration information for an Amazon Virtual Private Cloud to connect to your Slack. For more information, see Configuring a VPC.
" } }, @@ -1282,6 +1302,12 @@ "ExperienceEntitiesSummary$DisplayData": "Information about the user entity.
" } }, + "EntityFilter": { + "base": null, + "refs": { + "AlfrescoConfiguration$EntityFilter": "Specify whether to index document libraries, wikis, or blogs. You can specify one or more of these options.
" + } + }, "EntityId": { "base": null, "refs": { @@ -1576,7 +1602,7 @@ "FolderIdList": { "base": null, "refs": { - "QuipConfiguration$FolderIds": "The identifier of the Quip folder IDs to index.
" + "QuipConfiguration$FolderIds": "The identifier of the Quip folders you want to index.
" } }, "FsxConfiguration": { @@ -1944,7 +1970,7 @@ "JiraAccountUrl": { "base": null, "refs": { - "JiraConfiguration$JiraAccountUrl": "The URL of the Jira account. For example, company.attlassian.net or https://jira.company.com. You can find your Jira account URL in the URL of your profile page for Jira desktop.
" + "JiraConfiguration$JiraAccountUrl": "The URL of the Jira account. For example, company.atlassian.net or https://jira.company.com. You can find your Jira account URL in the URL of your profile page for Jira desktop.
" } }, "JiraConfiguration": { @@ -2467,7 +2493,7 @@ "QueryCapacityUnit": { "base": null, "refs": { - "CapacityUnitsConfiguration$QueryCapacityUnits": "The amount of extra query capacity for an index and GetQuerySuggestions capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per second).
The amount of extra query capacity for an index and GetQuerySuggestions capacity.
A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day. You can add up to 100 extra capacity units.
GetQuerySuggestions
capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and GetQuerySuggestions
capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the GetQuerySuggestions
capacity is 2.5 calls per second (higher than five times 0.2 queries per second).
Information required to find a specific file in an Amazon S3 bucket.
", "refs": { + "AlfrescoConfiguration$SslCertificateS3Path": "The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to Alfresco.
", "CreateFaqRequest$S3Path": "The S3 location of the FAQ input data.
", "CreateQuerySuggestionsBlockListRequest$SourceS3Path": "The S3 path to your block list text file in your S3 bucket.
Each block word or phrase should be on a separate line in a text file.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
", "CreateThesaurusRequest$SourceS3Path": "The thesaurus file Amazon S3 source path.
", @@ -2706,9 +2733,9 @@ "DescribeThesaurusResponse$SourceS3Path": null, "Document$S3Path": null, "GroupMembers$S3PathforGroupMembers": "If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.
You can download this example S3 file that uses the correct format for listing group members. Note, dataSourceId
is optional. The value of type
for a group is always GROUP
and for a user it is always USER
.
Information required to find a specific file in an Amazon S3 bucket.
", + "OnPremiseConfiguration$SslCertificateS3Path": "The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub.
", "OneDriveUsers$OneDriveUserS3Path": "The S3 bucket location of a file containing a list of users whose documents should be indexed.
", - "SharePointConfiguration$SslCertificateS3Path": null, + "SharePointConfiguration$SslCertificateS3Path": "The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to SharePoint.
", "UpdateQuerySuggestionsBlockListRequest$SourceS3Path": "The S3 path where your block list text file sits in S3.
If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the UpdateQuerySuggestionsBlockList
API to refresh you block list.
If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.
", "UpdateThesaurusRequest$SourceS3Path": null } @@ -2838,20 +2865,21 @@ "SecretArn": { "base": null, "refs": { + "AlfrescoConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Alfresco data source. The secret must contain a JSON structure with the following keys:
username—The user name of the Alfresco account.
password—The password of the Alfresco account.
Your secret ARN, which you can create in Secrets Manager
You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.
", "BoxConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys:
clientID—The identifier of the client OAuth 2.0 authentication application created in Box.
clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box.
publicKeyId—The identifier of the public key contained within an identity certificate.
privateKey—A set of characters that make up an encryption key.
passphrase—A set of characters that act like a password.
You create an application in Box to generate the keys or credentials required for the secret. For more information, see Authentication for a Box data source.
", - "ConfluenceConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Confluence server. The secret must contain a JSON structure with the following keys:
username—The user name or email address of a user with administrative privileges for the Confluence server.
password—The password associated with the user logging in to the Confluence server.
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the Confluence instance. If you use Confluence cloud, you use a generated API token as the password. For more information, see Using a Confluemce data source.
", "ConnectionConfiguration$SecretArn": "The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see Using a Database Data Source. For more information about Secrets Manager, see What Is Secrets Manager in the Secrets Manager user guide.
", "FsxConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:
username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.
password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your GitHub. The secret must contain a JSON structure with the following keys:
githubToken—The access token created in GitHub. For more information on creating a token in GitHub, see Authentication for a GitHub data source.
The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see Using a Google Workspace Drive data source.
", - "JiraConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys:
jira-id—The ID of the Jira account.
jiraCredentials—The password of the Jira account user.
The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys:
jiraId—The Jira username.
jiraCredentials—The Jira API token. For more information on creating an API token in Jira, see Authentication for a Jira data source.
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
", "ProxyConfiguration$Credentials": "Your secret ARN, which you can create in Secrets Manager
The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.
", "QuipConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs that are required to connect to your Quip. The secret must contain a JSON structure with the following keys:
accessToken—The token created in Quip. For more information, see Authentication for a Quip data source.
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:
authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token.
consumerKey - The application public key generated when you created your Salesforce application.
consumerSecret - The application private key generated when you created your Salesforce application.
password - The password associated with the user logging in to the Salesforce instance.
securityToken - The token associated with the user account logging in to the Salesforce instance.
username - The user name of the user logging in to the Salesforce instance.
The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance.
", - "SharePointConfiguration$SecretArn": "The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source. For more information about Secrets Manager see What Is Secrets Manager in the Secrets Manager user guide.
", + "ServiceNowConfiguration$SecretArn": "The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Authentication for a ServiceNow data source.
", + "SharePointConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the user name and password required to connect to the SharePoint instance. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see Using a Microsoft SharePoint Data Source.
", "SlackConfiguration$SecretArn": "The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Slack workspace team. The secret must contain a JSON structure with the following keys:
slackToken—The user or bot token created in Slack. For more information on creating a token in Slack, see Authentication for a Slack data source.
The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.
" + "SharePointConfiguration$Urls": "The Microsoft SharePoint site URLs for the documents you want to indext.
" } }, "SharePointVersion": { "base": null, "refs": { - "SharePointConfiguration$SharePointVersion": "The version of Microsoft SharePoint that you are using as a data source.
" + "SharePointConfiguration$SharePointVersion": "The version of Microsoft SharePoint that you use.
" } }, "SharedDriveId": { @@ -2963,6 +2991,12 @@ "SlackConfiguration$SinceCrawlDate": "The date to start crawling your data from your Slack workspace team. The date must follow this format: yyyy-mm-dd
.
The identifier of the Alfresco site. For example, my-site.
" + } + }, "SiteMap": { "base": null, "refs": { @@ -2981,6 +3015,12 @@ "SiteMapsConfiguration$SiteMaps": "The list of sitemap URLs of the websites you want to crawl.
The list can include a maximum of three sitemap URLs.
" } }, + "SiteUrl": { + "base": null, + "refs": { + "AlfrescoConfiguration$SiteUrl": "The URL of the Alfresco site. For example, https://hostname:8080.
" + } + }, "SlackConfiguration": { "base": "Provides the configuration information to connect to Slack as your data source.
", "refs": { @@ -3077,7 +3117,7 @@ "StorageCapacityUnit": { "base": null, "refs": { - "CapacityUnitsConfiguration$StorageCapacityUnits": "The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first.
" + "CapacityUnitsConfiguration$StorageCapacityUnits": "The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first. You can add up to 100 extra capacity units.
" } }, "String": { diff --git a/models/apis/mwaa/2020-07-01/api-2.json b/models/apis/mwaa/2020-07-01/api-2.json index 148335cd536..4c1a13126dd 100644 --- a/models/apis/mwaa/2020-07-01/api-2.json +++ b/models/apis/mwaa/2020-07-01/api-2.json @@ -204,7 +204,8 @@ "AirflowConfigurationOptions":{ "type":"map", "key":{"shape":"ConfigKey"}, - "value":{"shape":"ConfigValue"} + "value":{"shape":"ConfigValue"}, + "sensitive":true }, "AirflowVersion":{ "type":"string", @@ -228,7 +229,8 @@ "type":"string", "max":65536, "min":1, - "pattern":"^[ -~]+$" + "pattern":"^[ -~]+$", + "sensitive":true }, "CreateCliTokenRequest":{ "type":"structure", @@ -244,7 +246,7 @@ "CreateCliTokenResponse":{ "type":"structure", "members":{ - "CliToken":{"shape":"SyntheticCreateCliTokenResponseToken"}, + "CliToken":{"shape":"Token"}, "WebServerHostname":{"shape":"Hostname"} } }, @@ -258,7 +260,7 @@ "SourceBucketArn" ], "members":{ - "AirflowConfigurationOptions":{"shape":"SyntheticCreateEnvironmentInputAirflowConfigurationOptions"}, + "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"}, "AirflowVersion":{"shape":"AirflowVersion"}, "DagS3Path":{"shape":"RelativePath"}, "EnvironmentClass":{"shape":"EnvironmentClass"}, @@ -305,7 +307,7 @@ "type":"structure", "members":{ "WebServerHostname":{"shape":"Hostname"}, - "WebToken":{"shape":"SyntheticCreateWebLoginTokenResponseToken"} + "WebToken":{"shape":"Token"} } }, "CreatedAt":{"type":"timestamp"}, @@ -700,26 +702,6 @@ "max":2, "min":2 }, - "SyntheticCreateCliTokenResponseToken":{ - "type":"string", - "sensitive":true - }, - "SyntheticCreateEnvironmentInputAirflowConfigurationOptions":{ - "type":"map", - "key":{"shape":"ConfigKey"}, - "value":{"shape":"ConfigValue"}, - "sensitive":true - }, - "SyntheticCreateWebLoginTokenResponseToken":{ - "type":"string", - "sensitive":true - }, - "SyntheticUpdateEnvironmentInputAirflowConfigurationOptions":{ - "type":"map", - "key":{"shape":"ConfigKey"}, - "value":{"shape":"ConfigValue"}, - "sensitive":true - }, "TagKey":{ "type":"string", "max":128, @@ -766,6 +748,10 @@ "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "Timestamp":{"type":"timestamp"}, + "Token":{ + "type":"string", + "sensitive":true + }, "Unit":{ "type":"string", "enum":[ @@ -827,7 +813,7 @@ "type":"structure", "required":["Name"], "members":{ - "AirflowConfigurationOptions":{"shape":"SyntheticUpdateEnvironmentInputAirflowConfigurationOptions"}, + "AirflowConfigurationOptions":{"shape":"AirflowConfigurationOptions"}, "AirflowVersion":{"shape":"AirflowVersion"}, "DagS3Path":{"shape":"RelativePath"}, "EnvironmentClass":{"shape":"EnvironmentClass"}, diff --git a/models/apis/mwaa/2020-07-01/docs-2.json b/models/apis/mwaa/2020-07-01/docs-2.json index 723689819e2..d8f736a2f22 100644 --- a/models/apis/mwaa/2020-07-01/docs-2.json +++ b/models/apis/mwaa/2020-07-01/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.
<p> <b>Endpoints</b> </p> <ul> <li> <p> <code>api.airflow.{region}.amazonaws.com</code> - This endpoint is used for environment management.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html">CreateEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html">DeleteEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html">GetEnvironment</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html">ListEnvironments</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html">ListTagsForResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html">TagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html">UntagResource</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html">UpdateEnvironment</a> </p> </li> </ul> </li> <li> <p> <code>env.airflow.{region}.amazonaws.com</code> - This endpoint is used to operate the Airflow environment.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html ">CreateCliToken</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html">CreateWebLoginToken</a> </p> </li> </ul> </li> <li> <p> <code>ops.airflow.{region}.amazonaws.com</code> - This endpoint is used to push environment metrics that track environment health.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html ">PublishMetrics</a> </p> </li> </ul> </li> </ul> <p> <b>Regions</b> </p> <p>For a list of regions that Amazon MWAA supports, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa">Region availability</a> in the <i>Amazon MWAA User Guide</i>.</p>
",
+ "service": "This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.
Endpoints
api.airflow.{region}.amazonaws.com
- This endpoint is used for environment management.
env.airflow.{region}.amazonaws.com
- This endpoint is used to operate the Airflow environment.
ops.airflow.{region}.amazonaws.com
- This endpoint is used to push environment metrics that track environment health.
Regions
For a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.
", "operations": { "CreateCliToken": "Creates a CLI token for the Airflow CLI. To learn more, see Creating an Apache Airflow CLI token.
", "CreateEnvironment": "Creates an Amazon Managed Workflows for Apache Airflow (MWAA) environment.
", @@ -23,15 +23,17 @@ "AirflowConfigurationOptions": { "base": null, "refs": { - "Environment$AirflowConfigurationOptions": "A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options.
" + "CreateEnvironmentInput$AirflowConfigurationOptions": "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.
", + "Environment$AirflowConfigurationOptions": "A list of key-value pairs containing the Apache Airflow configuration options attached to your environment. To learn more, see Apache Airflow configuration options.
", + "UpdateEnvironmentInput$AirflowConfigurationOptions": "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.
" } }, "AirflowVersion": { "base": null, "refs": { - "CreateEnvironmentInput$AirflowVersion": "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).
The Apache Airflow version on your environment. Valid values: 1.10.12
, 2.0.2
.
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
.
The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version. Valid values: 1.10.12
, 2.0.2
, and 2.2.2
. To learn more, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).
The Apache Airflow version on your environment. Valid values: 1.10.12
, 2.0.2
, and 2.2.2
.
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
, and 2.2.2
.
The number of Apache Airflow schedulers to run in your environment. Valid values:
v2.0.2 - Accepts between 2 to 5. Defaults to 2.
v1.10.12 - Accepts 1.
The number of Apache Airflow schedulers to run in your environment. Valid values:
v2 - Accepts between 2 to 5. Defaults to 2.
v1 - Accepts 1.
The number of Apache Airflow schedulers that run in your Amazon MWAA environment.
", "UpdateEnvironmentInput$Schedulers": "The number of Apache Airflow schedulers to run in your Amazon MWAA environment.
" } @@ -450,30 +448,6 @@ "NetworkConfiguration$SubnetIds": "A list of subnet IDs. To learn more, see About networking on Amazon MWAA.
" } }, - "SyntheticCreateCliTokenResponseToken": { - "base": null, - "refs": { - "CreateCliTokenResponse$CliToken": "An Airflow CLI login token.
" - } - }, - "SyntheticCreateEnvironmentInputAirflowConfigurationOptions": { - "base": null, - "refs": { - "CreateEnvironmentInput$AirflowConfigurationOptions": "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.
" - } - }, - "SyntheticCreateWebLoginTokenResponseToken": { - "base": null, - "refs": { - "CreateWebLoginTokenResponse$WebToken": "An Airflow web server login token.
" - } - }, - "SyntheticUpdateEnvironmentInputAirflowConfigurationOptions": { - "base": null, - "refs": { - "UpdateEnvironmentInput$AirflowConfigurationOptions": "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.
" - } - }, "TagKey": { "base": null, "refs": { @@ -518,6 +492,13 @@ "MetricDatum$Timestamp": "Internal only. The time the metric data was received.
" } }, + "Token": { + "base": null, + "refs": { + "CreateCliTokenResponse$CliToken": "An Airflow CLI login token.
", + "CreateWebLoginTokenResponse$WebToken": "An Airflow web server login token.
" + } + }, "Unit": { "base": null, "refs": { diff --git a/models/apis/pricing/2017-10-15/api-2.json b/models/apis/pricing/2017-10-15/api-2.json index 254f3a5129e..253c58a97de 100644 --- a/models/apis/pricing/2017-10-15/api-2.json +++ b/models/apis/pricing/2017-10-15/api-2.json @@ -172,7 +172,7 @@ "type":"structure", "members":{ "FormatVersion":{"shape":"String"}, - "PriceList":{"shape":"PriceList"}, + "PriceList":{"shape":"PriceListJsonItems"}, "NextToken":{"shape":"String"} } }, @@ -204,14 +204,14 @@ }, "exception":true }, - "PriceList":{ + "PriceListJsonItem":{"type":"string"}, + "PriceListJsonItems":{ "type":"list", "member":{ - "shape":"PriceListItemJSON", + "shape":"PriceListJsonItem", "jsonvalue":true } }, - "PriceListItemJSON":{"type":"string"}, "Service":{ "type":"structure", "required":["ServiceCode"], diff --git a/models/apis/pricing/2017-10-15/docs-2.json b/models/apis/pricing/2017-10-15/docs-2.json index 660b07371a5..3e403d4a7ff 100644 --- a/models/apis/pricing/2017-10-15/docs-2.json +++ b/models/apis/pricing/2017-10-15/docs-2.json @@ -106,16 +106,16 @@ "refs": { } }, - "PriceList": { + "PriceListJsonItem": { "base": null, "refs": { - "GetProductsResponse$PriceList": "The list of products that match your filters. The list contains both the product metadata and the price information.
" + "PriceListJsonItems$member": null } }, - "PriceListItemJSON": { + "PriceListJsonItems": { "base": null, "refs": { - "PriceList$member": null + "GetProductsResponse$PriceList": "The list of products that match your filters. The list contains both the product metadata and the price information.
" } }, "Service": { diff --git a/models/apis/wellarchitected/2020-03-31/api-2.json b/models/apis/wellarchitected/2020-03-31/api-2.json index 5272fed0a8b..2219e0cf26b 100644 --- a/models/apis/wellarchitected/2020-03-31/api-2.json +++ b/models/apis/wellarchitected/2020-03-31/api-2.json @@ -556,6 +556,21 @@ {"shape":"ThrottlingException"} ] }, + "UpdateGlobalSettings":{ + "name":"UpdateGlobalSettings", + "http":{ + "method":"PATCH", + "requestUri":"/global-settings" + }, + "input":{"shape":"UpdateGlobalSettingsInput"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"} + ] + }, "UpdateLensReview":{ "name":"UpdateLensReview", "http":{ @@ -1539,7 +1554,8 @@ "members":{ "ShareId":{"shape":"ShareId"}, "SharedWith":{"shape":"SharedWith"}, - "Status":{"shape":"ShareStatus"} + "Status":{"shape":"ShareStatus"}, + "StatusMessage":{"shape":"StatusMessage"} } }, "LensStatus":{ @@ -1771,6 +1787,11 @@ "shape":"ListWorkloadSharesMaxResults", "location":"querystring", "locationName":"MaxResults" + }, + "Status":{ + "shape":"ShareStatus", + "location":"querystring", + "locationName":"Status" } } }, @@ -1941,6 +1962,11 @@ "shape":"ListWorkloadSharesMaxResults", "location":"querystring", "locationName":"MaxResults" + }, + "Status":{ + "shape":"ShareStatus", + "location":"querystring", + "locationName":"Status" } } }, @@ -2037,6 +2063,13 @@ "LENS_VERSION_DEPRECATED" ] }, + "OrganizationSharingStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "PermissionType":{ "type":"string", "enum":[ @@ -2222,7 +2255,10 @@ "REJECTED", "PENDING", "REVOKED", - "EXPIRED" + "EXPIRED", + "ASSOCIATING", + "ASSOCIATED", + "FAILED" ] }, "SharedWith":{ @@ -2234,6 +2270,11 @@ "type":"string", "max":100 }, + "StatusMessage":{ + "type":"string", + "max":512, + "min":1 + }, "TagKey":{ "type":"string", "max":128, @@ -2352,6 +2393,12 @@ "Answer":{"shape":"Answer"} } }, + "UpdateGlobalSettingsInput":{ + "type":"structure", + "members":{ + "OrganizationSharingStatus":{"shape":"OrganizationSharingStatus"} + } + }, "UpdateLensReviewInput":{ "type":"structure", "required":[ @@ -2659,7 +2706,8 @@ "ShareId":{"shape":"ShareId"}, "SharedWith":{"shape":"SharedWith"}, "PermissionType":{"shape":"PermissionType"}, - "Status":{"shape":"ShareStatus"} + "Status":{"shape":"ShareStatus"}, + "StatusMessage":{"shape":"StatusMessage"} } }, "WorkloadSummaries":{ diff --git a/models/apis/wellarchitected/2020-03-31/docs-2.json b/models/apis/wellarchitected/2020-03-31/docs-2.json index 1872e4971e6..7bb85101935 100644 --- a/models/apis/wellarchitected/2020-03-31/docs-2.json +++ b/models/apis/wellarchitected/2020-03-31/docs-2.json @@ -36,6 +36,7 @@ "TagResource": "Adds one or more tags to the specified resource.
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
Deletes specified tags from a resource.
The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.
To specify multiple tags, use separate tagKeys parameters, for example:
DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2
Update the answer to a specific question in a workload review.
", + "UpdateGlobalSettings": "Updates whether the Amazon Web Services account is opted into organization sharing features.
", "UpdateLensReview": "Update lens review.
", "UpdateShareInvitation": "Update a workload invitation.
", "UpdateWorkload": "Update an existing workload.
", @@ -1004,6 +1005,12 @@ "NotificationSummary$Type": "The type of notification.
" } }, + "OrganizationSharingStatus": { + "base": null, + "refs": { + "UpdateGlobalSettingsInput$OrganizationSharingStatus": "The status of organization sharing settings.
" + } + }, "PermissionType": { "base": "Permission granted on a workload share.
", "refs": { @@ -1213,6 +1220,8 @@ "base": "The status of a workload share.
", "refs": { "LensShareSummary$Status": null, + "ListLensSharesInput$Status": null, + "ListWorkloadSharesInput$Status": null, "WorkloadShare$Status": null, "WorkloadShareSummary$Status": null } @@ -1235,6 +1244,13 @@ "ListWorkloadSharesInput$SharedWithPrefix": "The Amazon Web Services account ID or IAM role with which the workload is shared.
" } }, + "StatusMessage": { + "base": null, + "refs": { + "LensShareSummary$StatusMessage": "Optional message to compliment the Status field.
", + "WorkloadShareSummary$StatusMessage": "Optional message to compliment the Status field.
" + } + }, "TagKey": { "base": null, "refs": { @@ -1314,6 +1330,11 @@ "refs": { } }, + "UpdateGlobalSettingsInput": { + "base": null, + "refs": { + } + }, "UpdateLensReviewInput": { "base": "Input for update lens review.
", "refs": { diff --git a/models/apis/workmail/2017-10-01/api-2.json b/models/apis/workmail/2017-10-01/api-2.json index 08a816783d8..6383e172d6f 100644 --- a/models/apis/workmail/2017-10-01/api-2.json +++ b/models/apis/workmail/2017-10-01/api-2.json @@ -86,6 +86,23 @@ ], "idempotent":true }, + "CreateAvailabilityConfiguration":{ + "name":"CreateAvailabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateAvailabilityConfigurationRequest"}, + "output":{"shape":"CreateAvailabilityConfigurationResponse"}, + "errors":[ + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"}, + {"shape":"NameAvailabilityException"}, + {"shape":"InvalidParameterException"}, + {"shape":"LimitExceededException"} + ], + "idempotent":true + }, "CreateGroup":{ "name":"CreateGroup", "http":{ @@ -208,6 +225,20 @@ ], "idempotent":true }, + "DeleteAvailabilityConfiguration":{ + "name":"DeleteAvailabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteAvailabilityConfigurationRequest"}, + "output":{"shape":"DeleteAvailabilityConfigurationResponse"}, + "errors":[ + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ], + "idempotent":true + }, "DeleteEmailMonitoringConfiguration":{ "name":"DeleteEmailMonitoringConfiguration", "http":{ @@ -654,6 +685,19 @@ ], "idempotent":true }, + "ListAvailabilityConfigurations":{ + "name":"ListAvailabilityConfigurations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListAvailabilityConfigurationsRequest"}, + "output":{"shape":"ListAvailabilityConfigurationsResponse"}, + "errors":[ + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ] + }, "ListGroupMembers":{ "name":"ListGroupMembers", "http":{ @@ -1021,6 +1065,21 @@ {"shape":"OrganizationStateException"} ] }, + "TestAvailabilityConfiguration":{ + "name":"TestAvailabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TestAvailabilityConfigurationRequest"}, + "output":{"shape":"TestAvailabilityConfigurationResponse"}, + "errors":[ + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParameterException"} + ] + }, "UntagResource":{ "name":"UntagResource", "http":{ @@ -1033,6 +1092,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "UpdateAvailabilityConfiguration":{ + "name":"UpdateAvailabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateAvailabilityConfigurationRequest"}, + "output":{"shape":"UpdateAvailabilityConfigurationResponse"}, + "errors":[ + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidParameterException"} + ], + "idempotent":true + }, "UpdateDefaultMailDomain":{ "name":"UpdateDefaultMailDomain", "http":{ @@ -1234,6 +1309,28 @@ "members":{ } }, + "AvailabilityConfiguration":{ + "type":"structure", + "members":{ + "DomainName":{"shape":"DomainName"}, + "ProviderType":{"shape":"AvailabilityProviderType"}, + "EwsProvider":{"shape":"RedactedEwsAvailabilityProvider"}, + "LambdaProvider":{"shape":"LambdaAvailabilityProvider"}, + "DateCreated":{"shape":"Timestamp"}, + "DateModified":{"shape":"Timestamp"} + } + }, + "AvailabilityConfigurationList":{ + "type":"list", + "member":{"shape":"AvailabilityConfiguration"} + }, + "AvailabilityProviderType":{ + "type":"string", + "enum":[ + "EWS", + "LAMBDA" + ] + }, "BookingOptions":{ "type":"structure", "members":{ @@ -1283,6 +1380,28 @@ "members":{ } }, + "CreateAvailabilityConfigurationRequest":{ + "type":"structure", + "required":[ + "OrganizationId", + "DomainName" + ], + "members":{ + "ClientToken":{ + "shape":"IdempotencyClientToken", + "idempotencyToken":true + }, + "OrganizationId":{"shape":"OrganizationId"}, + "DomainName":{"shape":"DomainName"}, + "EwsProvider":{"shape":"EwsAvailabilityProvider"}, + "LambdaProvider":{"shape":"LambdaAvailabilityProvider"} + } + }, + "CreateAvailabilityConfigurationResponse":{ + "type":"structure", + "members":{ + } + }, "CreateGroupRequest":{ "type":"structure", "required":[ @@ -1438,6 +1557,22 @@ "members":{ } }, + "DeleteAvailabilityConfigurationRequest":{ + "type":"structure", + "required":[ + "OrganizationId", + "DomainName" + ], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "DomainName":{"shape":"DomainName"} + } + }, + "DeleteAvailabilityConfigurationResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteEmailMonitoringConfigurationRequest":{ "type":"structure", "required":["OrganizationId"], @@ -1976,6 +2111,24 @@ }, "exception":true }, + "EwsAvailabilityProvider":{ + "type":"structure", + "required":[ + "EwsEndpoint", + "EwsUsername", + "EwsPassword" + ], + "members":{ + "EwsEndpoint":{"shape":"Url"}, + "EwsUsername":{"shape":"ExternalUserName"}, + "EwsPassword":{"shape":"Password"} + } + }, + "ExternalUserName":{ + "type":"string", + "max":256, + "pattern":"[\\u0020-\\u00FF]+" + }, "FolderConfiguration":{ "type":"structure", "required":[ @@ -2210,6 +2363,19 @@ "min":20, "pattern":"arn:aws:kms:[a-z0-9-]*:[a-z0-9-]+:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}" }, + "LambdaArn":{ + "type":"string", + "max":256, + "min":49, + "pattern":"arn:aws:lambda:[a-z]{2}-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9\\-_\\.]+(:(\\$LATEST|[a-zA-Z0-9\\-_]+))?" + }, + "LambdaAvailabilityProvider":{ + "type":"structure", + "required":["LambdaArn"], + "members":{ + "LambdaArn":{"shape":"LambdaArn"} + } + }, "LimitExceededException":{ "type":"structure", "members":{ @@ -2250,6 +2416,22 @@ "NextToken":{"shape":"NextToken"} } }, + "ListAvailabilityConfigurationsRequest":{ + "type":"structure", + "required":["OrganizationId"], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "MaxResults":{"shape":"MaxResults"}, + "NextToken":{"shape":"NextToken"} + } + }, + "ListAvailabilityConfigurationsResponse":{ + "type":"structure", + "members":{ + "AvailabilityConfigurations":{"shape":"AvailabilityConfigurationList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListGroupMembersRequest":{ "type":"structure", "required":[ @@ -2856,6 +3038,13 @@ "members":{ } }, + "RedactedEwsAvailabilityProvider":{ + "type":"structure", + "members":{ + "EwsEndpoint":{"shape":"Url"}, + "EwsUsername":{"shape":"ExternalUserName"} + } + }, "RegisterMailDomainRequest":{ "type":"structure", "required":[ @@ -3086,6 +3275,23 @@ "max":256, "min":0 }, + "TestAvailabilityConfigurationRequest":{ + "type":"structure", + "required":["OrganizationId"], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "DomainName":{"shape":"DomainName"}, + "EwsProvider":{"shape":"EwsAvailabilityProvider"}, + "LambdaProvider":{"shape":"LambdaAvailabilityProvider"} + } + }, + "TestAvailabilityConfigurationResponse":{ + "type":"structure", + "members":{ + "TestPassed":{"shape":"Boolean"}, + "FailureReason":{"shape":"String"} + } + }, "Timestamp":{"type":"timestamp"}, "TooManyTagsException":{ "type":"structure", @@ -3117,6 +3323,24 @@ "members":{ } }, + "UpdateAvailabilityConfigurationRequest":{ + "type":"structure", + "required":[ + "OrganizationId", + "DomainName" + ], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "DomainName":{"shape":"DomainName"}, + "EwsProvider":{"shape":"EwsAvailabilityProvider"}, + "LambdaProvider":{"shape":"LambdaAvailabilityProvider"} + } + }, + "UpdateAvailabilityConfigurationResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateDefaultMailDomainRequest":{ "type":"structure", "required":[ @@ -3216,6 +3440,11 @@ "members":{ } }, + "Url":{ + "type":"string", + "max":256, + "pattern":"https?://[A-Za-z0-9.-]+(:[0-9]+)?/.*" + }, "User":{ "type":"structure", "members":{ diff --git a/models/apis/workmail/2017-10-01/docs-2.json b/models/apis/workmail/2017-10-01/docs-2.json index a75aaeeda7a..0fd1f766647 100644 --- a/models/apis/workmail/2017-10-01/docs-2.json +++ b/models/apis/workmail/2017-10-01/docs-2.json @@ -6,6 +6,7 @@ "AssociateMemberToGroup": "Adds a member (user or group) to the group's set.
", "CancelMailboxExportJob": "Cancels a mailbox export job.
If the mailbox export job is near completion, it might not be possible to cancel it.
Adds an alias to the set of a given member (user or group) of Amazon WorkMail.
", + "CreateAvailabilityConfiguration": "Creates an AvailabilityConfiguration
for the given WorkMail organization and domain.
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
", "CreateMobileDeviceAccessRule": "Creates a new mobile device access rule for the specified Amazon WorkMail organization.
", "CreateOrganization": "Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.
You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.
Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.
", @@ -13,6 +14,7 @@ "CreateUser": "Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
", "DeleteAccessControlRule": "Deletes an access control rule for the specified WorkMail organization.
Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.
Remove one or more specified aliases from a set of aliases for a given user.
", + "DeleteAvailabilityConfiguration": "Deletes the AvailabilityConfiguration
for the given WorkMail organization and domain.
Deletes the email monitoring configuration for a specified organization.
", "DeleteGroup": "Deletes a group from Amazon WorkMail.
", "DeleteMailboxPermissions": "Deletes permissions granted to a member (user or group).
", @@ -41,6 +43,7 @@ "GetMobileDeviceAccessOverride": "Gets the mobile device access override for the given WorkMail organization, user, and device.
", "ListAccessControlRules": "Lists the access control rules for the specified organization.
", "ListAliases": "Creates a paginated call to list the aliases associated with a given entity.
", + "ListAvailabilityConfigurations": "List all the AvailabilityConfiguration
's for the given WorkMail organization.
Returns an overview of the members of a group. Users and groups can be members of a group.
", "ListGroups": "Returns summaries of the organization's groups.
", "ListMailDomains": "Lists the mail domains in a given Amazon WorkMail organization.
", @@ -64,7 +67,9 @@ "ResetPassword": "Allows the administrator to reset the password for a user.
", "StartMailboxExportJob": "Starts a mailbox export job to export MIME-format email messages and calendar items from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Exporting mailbox content in the Amazon WorkMail Administrator Guide.
", "TagResource": "Applies the specified tags to the specified Amazon WorkMail organization resource.
", + "TestAvailabilityConfiguration": "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 policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn
or SourceAccount
header.
The request must contain either one provider definition (EwsProvider
or LambdaProvider
) or the DomainName
parameter. If the DomainName
parameter is provided, the configuration stored under the DomainName
will be tested.
Untags the specified tags from the specified Amazon WorkMail organization resource.
", + "UpdateAvailabilityConfiguration": "Updates an existing AvailabilityConfiguration
for the given WorkMail organization and domain.
Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.
", "UpdateMailboxQuota": "Updates a user's current mailbox quota for a specified organization and user.
", "UpdateMobileDeviceAccessRule": "Updates a mobile device access rule for the specified Amazon WorkMail organization.
", @@ -165,6 +170,24 @@ "refs": { } }, + "AvailabilityConfiguration": { + "base": "List all the AvailabilityConfiguration
's for the given WorkMail organization.
The list of AvailabilityConfiguration
's that exist for the specified Amazon WorkMail organization.
Displays the provider type that applies to this domain.
" + } + }, "BookingOptions": { "base": "At least one delegate must be associated to the resource to disable automatic replies from the resource.
", "refs": { @@ -183,7 +206,8 @@ "DescribeInboundDmarcSettingsResponse$Enforced": "Lists the enforcement setting of the applied policy.
", "GetMailDomainResponse$IsTestDomain": "Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.
", "GetMailDomainResponse$IsDefault": "Specifies whether the domain is the default domain for your organization.
", - "MailDomainSummary$DefaultDomain": "Whether the domain is default or not.
" + "MailDomainSummary$DefaultDomain": "Whether the domain is default or not.
", + "TestAvailabilityConfigurationResponse$TestPassed": "Boolean indicating whether the test passed or failed.
" } }, "BooleanObject": { @@ -212,6 +236,16 @@ "refs": { } }, + "CreateAvailabilityConfigurationRequest": { + "base": null, + "refs": { + } + }, + "CreateAvailabilityConfigurationResponse": { + "base": null, + "refs": { + } + }, "CreateGroupRequest": { "base": null, "refs": { @@ -288,6 +322,16 @@ "refs": { } }, + "DeleteAvailabilityConfigurationRequest": { + "base": null, + "refs": { + } + }, + "DeleteAvailabilityConfigurationResponse": { + "base": null, + "refs": { + } + }, "DeleteEmailMonitoringConfigurationRequest": { "base": null, "refs": { @@ -628,9 +672,14 @@ "DomainName": { "base": null, "refs": { + "AvailabilityConfiguration$DomainName": "Displays the domain to which the provider applies.
", + "CreateAvailabilityConfigurationRequest$DomainName": "The domain to which the provider applies.
", + "DeleteAvailabilityConfigurationRequest$DomainName": "The domain for which the AvailabilityConfiguration
will be deleted.
The fully qualified domain name.
", "MailDomainSummary$DomainName": "The domain name.
", - "OrganizationSummary$DefaultMailDomain": "The default email domain associated with the organization.
" + "OrganizationSummary$DefaultMailDomain": "The default email domain associated with the organization.
", + "TestAvailabilityConfigurationRequest$DomainName": "The domain to which the provider applies. If this field is provided, a stored availability provider associated to this domain name will be tested.
", + "UpdateAvailabilityConfigurationRequest$DomainName": "The domain to which the provider applies the availability configuration.
" } }, "Domains": { @@ -696,6 +745,21 @@ "refs": { } }, + "EwsAvailabilityProvider": { + "base": "Describes an EWS based availability provider. This is only used as input to the service.
", + "refs": { + "CreateAvailabilityConfigurationRequest$EwsProvider": "Exchange Web Services (EWS) availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
.
The EWS availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
. The previously stored provider will be overridden by the one provided.
The username used to authenticate the remote EWS server.
", + "RedactedEwsAvailabilityProvider$EwsUsername": "The username used to authenticate the remote EWS server.
" + } + }, "FolderConfiguration": { "base": "The configuration applied to an organization's folders by its retention policy.
", "refs": { @@ -805,6 +869,7 @@ "base": null, "refs": { "CancelMailboxExportJobRequest$ClientToken": "The idempotency token for the client request.
", + "CreateAvailabilityConfigurationRequest$ClientToken": "An idempotent token that ensures that an API request is executed only once.
", "CreateMobileDeviceAccessRuleRequest$ClientToken": "The idempotency token for the client request.
", "CreateOrganizationRequest$ClientToken": "The idempotency token associated with the request.
", "DeleteOrganizationRequest$ClientToken": "The idempotency token associated with the request.
", @@ -867,6 +932,21 @@ "StartMailboxExportJobRequest$KmsKeyArn": "The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
" } }, + "LambdaArn": { + "base": null, + "refs": { + "LambdaAvailabilityProvider$LambdaArn": "The Amazon Resource Name (ARN) of the Lambda that acts as the availability provider.
" + } + }, + "LambdaAvailabilityProvider": { + "base": "Describes a Lambda based availability provider.
", + "refs": { + "AvailabilityConfiguration$LambdaProvider": "If ProviderType is LAMBDA
then this field contains LambdaAvailabilityProvider
. Otherwise, it is not required.
Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
.
The Lambda availability provider definition. The request must contain exactly one provider definition, either EwsProvider
or LambdaProvider
. The previously stored provider will be overridden by the one provided.
The request exceeds the limit of the resource.
", "refs": { @@ -892,6 +972,16 @@ "refs": { } }, + "ListAvailabilityConfigurationsRequest": { + "base": null, + "refs": { + } + }, + "ListAvailabilityConfigurationsResponse": { + "base": null, + "refs": { + } + }, "ListGroupMembersRequest": { "base": null, "refs": { @@ -1091,6 +1181,7 @@ "base": null, "refs": { "ListAliasesRequest$MaxResults": "The maximum number of results to return in a single call.
", + "ListAvailabilityConfigurationsRequest$MaxResults": "The maximum number of results to return in a single call.
", "ListGroupMembersRequest$MaxResults": "The maximum number of results to return in a single call.
", "ListGroupsRequest$MaxResults": "The maximum number of results to return in a single call.
", "ListMailDomainsRequest$MaxResults": "The maximum number of results to return in a single call.
", @@ -1211,6 +1302,8 @@ "refs": { "ListAliasesRequest$NextToken": "The token to use to retrieve the next page of results. The first call does not contain any tokens.
", "ListAliasesResponse$NextToken": "The token to use to retrieve the next page of results. The value is \"null\" when there are no more results to return.
", + "ListAvailabilityConfigurationsRequest$NextToken": "The token to use to retrieve the next page of results. The first call does not require a token.
", + "ListAvailabilityConfigurationsResponse$NextToken": "The token to use to retrieve the next page of results. The value is null
when there are no further results to return.
The token to use to retrieve the next page of results. The first call does not contain any tokens.
", "ListGroupMembersResponse$NextToken": "The token to use to retrieve the next page of results. The first call does not contain any tokens.
", "ListGroupsRequest$NextToken": "The token to use to retrieve the next page of results. The first call does not contain any tokens.
", @@ -1240,6 +1333,7 @@ "AssociateMemberToGroupRequest$OrganizationId": "The organization under which the group exists.
", "CancelMailboxExportJobRequest$OrganizationId": "The organization ID.
", "CreateAliasRequest$OrganizationId": "The organization under which the member (user or group) exists.
", + "CreateAvailabilityConfigurationRequest$OrganizationId": "The Amazon WorkMail organization for which the AvailabilityConfiguration
will be created.
The organization under which the group is to be created.
", "CreateMobileDeviceAccessRuleRequest$OrganizationId": "The Amazon WorkMail organization under which the rule will be created.
", "CreateOrganizationResponse$OrganizationId": "The organization ID.
", @@ -1247,6 +1341,7 @@ "CreateUserRequest$OrganizationId": "The identifier of the organization for which the user is created.
", "DeleteAccessControlRuleRequest$OrganizationId": "The identifier for the organization.
", "DeleteAliasRequest$OrganizationId": "The identifier for the organization under which the user exists.
", + "DeleteAvailabilityConfigurationRequest$OrganizationId": "The Amazon WorkMail organization for which the AvailabilityConfiguration
will be deleted.
The ID of the organization from which the email monitoring configuration is deleted.
", "DeleteGroupRequest$OrganizationId": "The organization that contains the group.
", "DeleteMailboxPermissionsRequest$OrganizationId": "The identifier of the organization under which the member (user or group) exists.
", @@ -1277,6 +1372,7 @@ "GetMobileDeviceAccessOverrideRequest$OrganizationId": "The Amazon WorkMail organization to which you want to apply the override.
", "ListAccessControlRulesRequest$OrganizationId": "The identifier for the organization.
", "ListAliasesRequest$OrganizationId": "The identifier for the organization under which the entity exists.
", + "ListAvailabilityConfigurationsRequest$OrganizationId": "The Amazon WorkMail organization for which the AvailabilityConfiguration
's will be listed.
The identifier for the organization under which the group exists.
", "ListGroupsRequest$OrganizationId": "The identifier for the organization under which the groups exist.
", "ListMailDomainsRequest$OrganizationId": "The Amazon WorkMail organization for which to list domains.
", @@ -1298,6 +1394,8 @@ "RegisterToWorkMailRequest$OrganizationId": "The identifier for the organization under which the user, group, or resource exists.
", "ResetPasswordRequest$OrganizationId": "The identifier of the organization that contains the user for which the password is reset.
", "StartMailboxExportJobRequest$OrganizationId": "The identifier associated with the organization.
", + "TestAvailabilityConfigurationRequest$OrganizationId": "The Amazon WorkMail organization where the availability provider will be tested.
", + "UpdateAvailabilityConfigurationRequest$OrganizationId": "The Amazon WorkMail organization for which the AvailabilityConfiguration
will be updated.
The Amazon WorkMail organization for which to list domains.
", "UpdateMailboxQuotaRequest$OrganizationId": "The identifier for the organization that contains the user for whom to update the mailbox quota.
", "UpdateMobileDeviceAccessRuleRequest$OrganizationId": "The Amazon WorkMail organization under which the rule will be updated.
", @@ -1339,6 +1437,7 @@ "base": null, "refs": { "CreateUserRequest$Password": "The password for the new user.
", + "EwsAvailabilityProvider$EwsPassword": "The password used to authenticate the remote EWS server.
", "ResetPasswordRequest$Password": "The new password for the user.
" } }, @@ -1440,6 +1539,12 @@ "refs": { } }, + "RedactedEwsAvailabilityProvider": { + "base": "Describes an EWS based availability provider when returned from the service. It does not contain the password of the endpoint.
", + "refs": { + "AvailabilityConfiguration$EwsProvider": "If ProviderType
is EWS
, then this field contains RedactedEwsAvailabilityProvider
. Otherwise, it is not requried.
The state associated with the organization.
", "ReservedNameException$Message": null, "ResourceNotFoundException$Message": null, + "TestAvailabilityConfigurationResponse$FailureReason": "String containing the reason for a failed test if TestPassed
is false.
The display name of the user.
" @@ -1672,11 +1778,23 @@ "Tag$Value": "The value of the tag.
" } }, + "TestAvailabilityConfigurationRequest": { + "base": null, + "refs": { + } + }, + "TestAvailabilityConfigurationResponse": { + "base": null, + "refs": { + } + }, "Timestamp": { "base": null, "refs": { "AccessControlRule$DateCreated": "The date that the rule was created.
", "AccessControlRule$DateModified": "The date that the rule was modified.
", + "AvailabilityConfiguration$DateCreated": "The date and time at which the availability configuration was created.
", + "AvailabilityConfiguration$DateModified": "The date and time at which the availability configuration was last modified.
", "DescribeGroupResponse$EnabledDate": "The date and time when a user was registered to WorkMail, in UNIX epoch time format.
", "DescribeGroupResponse$DisabledDate": "The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.
", "DescribeMailboxExportJobResponse$StartTime": "The mailbox export job start timestamp.
", @@ -1724,6 +1842,16 @@ "refs": { } }, + "UpdateAvailabilityConfigurationRequest": { + "base": null, + "refs": { + } + }, + "UpdateAvailabilityConfigurationResponse": { + "base": null, + "refs": { + } + }, "UpdateDefaultMailDomainRequest": { "base": null, "refs": { @@ -1774,6 +1902,13 @@ "refs": { } }, + "Url": { + "base": null, + "refs": { + "EwsAvailabilityProvider$EwsEndpoint": "The endpoint of the remote EWS server.
", + "RedactedEwsAvailabilityProvider$EwsEndpoint": "The endpoint of the remote EWS server.
" + } + }, "User": { "base": "The representation of an Amazon WorkMail user.
", "refs": { diff --git a/models/apis/workmail/2017-10-01/paginators-1.json b/models/apis/workmail/2017-10-01/paginators-1.json index 94179cb13c5..a4ac8bc1f69 100644 --- a/models/apis/workmail/2017-10-01/paginators-1.json +++ b/models/apis/workmail/2017-10-01/paginators-1.json @@ -5,6 +5,12 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListAvailabilityConfigurations": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "AvailabilityConfigurations" + }, "ListGroupMembers": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/service/athena/api.go b/service/athena/api.go index d089bebb216..5a0cb6699da 100644 --- a/service/athena/api.go +++ b/service/athena/api.go @@ -105,6 +105,94 @@ func (c *Athena) BatchGetNamedQueryWithContext(ctx aws.Context, input *BatchGetN return out, req.Send() } +const opBatchGetPreparedStatement = "BatchGetPreparedStatement" + +// BatchGetPreparedStatementRequest generates a "aws/request.Request" representing the +// client's request for the BatchGetPreparedStatement operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See BatchGetPreparedStatement for more information on using the BatchGetPreparedStatement +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the BatchGetPreparedStatementRequest method. +// req, resp := client.BatchGetPreparedStatementRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetPreparedStatement +func (c *Athena) BatchGetPreparedStatementRequest(input *BatchGetPreparedStatementInput) (req *request.Request, output *BatchGetPreparedStatementOutput) { + op := &request.Operation{ + Name: opBatchGetPreparedStatement, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &BatchGetPreparedStatementInput{} + } + + output = &BatchGetPreparedStatementOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchGetPreparedStatement API operation for Amazon Athena. +// +// 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. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Athena's +// API operation BatchGetPreparedStatement for usage and error information. +// +// Returned Error Types: +// * InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// * InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetPreparedStatement +func (c *Athena) BatchGetPreparedStatement(input *BatchGetPreparedStatementInput) (*BatchGetPreparedStatementOutput, error) { + req, out := c.BatchGetPreparedStatementRequest(input) + return out, req.Send() +} + +// BatchGetPreparedStatementWithContext is the same as BatchGetPreparedStatement with the addition of +// the ability to pass a context and additional request options. +// +// See BatchGetPreparedStatement for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Athena) BatchGetPreparedStatementWithContext(ctx aws.Context, input *BatchGetPreparedStatementInput, opts ...request.Option) (*BatchGetPreparedStatementOutput, error) { + req, out := c.BatchGetPreparedStatementRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opBatchGetQueryExecution = "BatchGetQueryExecution" // BatchGetQueryExecutionRequest generates a "aws/request.Request" representing the @@ -2229,7 +2317,7 @@ func (c *Athena) ListPreparedStatementsRequest(input *ListPreparedStatementsInpu // ListPreparedStatements API operation for Amazon Athena. // -// Lists the prepared statements in the specfied workgroup. +// Lists the prepared statements in the specified workgroup. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3837,6 +3925,107 @@ func (s *BatchGetNamedQueryOutput) SetUnprocessedNamedQueryIds(v []*UnprocessedN return s } +type BatchGetPreparedStatementInput struct { + _ struct{} `type:"structure"` + + // A list of prepared statement names to return. + // + // PreparedStatementNames is a required field + PreparedStatementNames []*string `type:"list" required:"true"` + + // The name of the workgroup to which the prepared statements belong. + // + // WorkGroup is a required field + WorkGroup *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchGetPreparedStatementInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchGetPreparedStatementInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetPreparedStatementInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetPreparedStatementInput"} + if s.PreparedStatementNames == nil { + invalidParams.Add(request.NewErrParamRequired("PreparedStatementNames")) + } + if s.WorkGroup == nil { + invalidParams.Add(request.NewErrParamRequired("WorkGroup")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPreparedStatementNames sets the PreparedStatementNames field's value. +func (s *BatchGetPreparedStatementInput) SetPreparedStatementNames(v []*string) *BatchGetPreparedStatementInput { + s.PreparedStatementNames = v + return s +} + +// SetWorkGroup sets the WorkGroup field's value. +func (s *BatchGetPreparedStatementInput) SetWorkGroup(v string) *BatchGetPreparedStatementInput { + s.WorkGroup = &v + return s +} + +type BatchGetPreparedStatementOutput struct { + _ struct{} `type:"structure"` + + // The list of prepared statements returned. + PreparedStatements []*PreparedStatement `type:"list"` + + // A list of one or more prepared statements that were requested but could not + // be returned. + UnprocessedPreparedStatementNames []*UnprocessedPreparedStatementName `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchGetPreparedStatementOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchGetPreparedStatementOutput) GoString() string { + return s.String() +} + +// SetPreparedStatements sets the PreparedStatements field's value. +func (s *BatchGetPreparedStatementOutput) SetPreparedStatements(v []*PreparedStatement) *BatchGetPreparedStatementOutput { + s.PreparedStatements = v + return s +} + +// SetUnprocessedPreparedStatementNames sets the UnprocessedPreparedStatementNames field's value. +func (s *BatchGetPreparedStatementOutput) SetUnprocessedPreparedStatementNames(v []*UnprocessedPreparedStatementName) *BatchGetPreparedStatementOutput { + s.UnprocessedPreparedStatementNames = v + return s +} + type BatchGetQueryExecutionInput struct { _ struct{} `type:"structure"` @@ -7426,6 +7615,10 @@ type QueryExecution struct { // The engine version that executed the query. EngineVersion *EngineVersion `type:"structure"` + // 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. + ExecutionParameters []*string `min:"1" type:"list"` + // The SQL query statements which the query execution ran. Query *string `min:"1" type:"string"` @@ -7485,6 +7678,12 @@ func (s *QueryExecution) SetEngineVersion(v *EngineVersion) *QueryExecution { return s } +// SetExecutionParameters sets the ExecutionParameters field's value. +func (s *QueryExecution) SetExecutionParameters(v []*string) *QueryExecution { + s.ExecutionParameters = v + return s +} + // SetQuery sets the Query field's value. func (s *QueryExecution) SetQuery(v string) *QueryExecution { s.Query = &v @@ -7776,6 +7975,7 @@ type ResourceNotFoundException struct { Message_ *string `locationName:"Message" type:"string"` + // The name of the Amazon resource. ResourceName *string `min:"1" type:"string"` } @@ -8224,6 +8424,10 @@ type StartQueryExecutionInput struct { // Services CLI, you must provide this token or the action will fail. ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"` + // 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. + ExecutionParameters []*string `min:"1" type:"list"` + // The database within which the query executes. QueryExecutionContext *QueryExecutionContext `type:"structure"` @@ -8267,6 +8471,9 @@ func (s *StartQueryExecutionInput) Validate() error { if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 { invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32)) } + if s.ExecutionParameters != nil && len(s.ExecutionParameters) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ExecutionParameters", 1)) + } if s.QueryString == nil { invalidParams.Add(request.NewErrParamRequired("QueryString")) } @@ -8296,6 +8503,12 @@ func (s *StartQueryExecutionInput) SetClientRequestToken(v string) *StartQueryEx return s } +// SetExecutionParameters sets the ExecutionParameters field's value. +func (s *StartQueryExecutionInput) SetExecutionParameters(v []*string) *StartQueryExecutionInput { + s.ExecutionParameters = v + return s +} + // SetQueryExecutionContext sets the QueryExecutionContext field's value. func (s *StartQueryExecutionInput) SetQueryExecutionContext(v *QueryExecutionContext) *StartQueryExecutionInput { s.QueryExecutionContext = v @@ -8778,6 +8991,66 @@ func (s *UnprocessedNamedQueryId) SetNamedQueryId(v string) *UnprocessedNamedQue return s } +// The name of a prepared statement that could not be returned. +type UnprocessedPreparedStatementName struct { + _ struct{} `type:"structure"` + + // The error code returned when the request for the prepared statement failed. + ErrorCode *string `min:"1" type:"string"` + + // The error message containing the reason why the prepared statement could + // not be returned. The following error messages are possible: + // + // * INVALID_INPUT - The name of the prepared statement that was provided + // is not valid (for example, the name is too long). + // + // * STATEMENT_NOT_FOUND - A prepared statement with the name provided could + // not be found. + // + // * UNAUTHORIZED - The requester does not have permission to access the + // workgroup that contains the prepared statement. + ErrorMessage *string `type:"string"` + + // The name of a prepared statement that could not be returned due to an error. + StatementName *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UnprocessedPreparedStatementName) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UnprocessedPreparedStatementName) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *UnprocessedPreparedStatementName) SetErrorCode(v string) *UnprocessedPreparedStatementName { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *UnprocessedPreparedStatementName) SetErrorMessage(v string) *UnprocessedPreparedStatementName { + s.ErrorMessage = &v + return s +} + +// SetStatementName sets the StatementName field's value. +func (s *UnprocessedPreparedStatementName) SetStatementName(v string) *UnprocessedPreparedStatementName { + s.StatementName = &v + return s +} + // Describes a query execution that failed to process. type UnprocessedQueryExecutionId struct { _ struct{} `type:"structure"` diff --git a/service/athena/athenaiface/interface.go b/service/athena/athenaiface/interface.go index 0a994cb5192..1b8fa5d66a5 100644 --- a/service/athena/athenaiface/interface.go +++ b/service/athena/athenaiface/interface.go @@ -64,6 +64,10 @@ type AthenaAPI interface { BatchGetNamedQueryWithContext(aws.Context, *athena.BatchGetNamedQueryInput, ...request.Option) (*athena.BatchGetNamedQueryOutput, error) BatchGetNamedQueryRequest(*athena.BatchGetNamedQueryInput) (*request.Request, *athena.BatchGetNamedQueryOutput) + BatchGetPreparedStatement(*athena.BatchGetPreparedStatementInput) (*athena.BatchGetPreparedStatementOutput, error) + BatchGetPreparedStatementWithContext(aws.Context, *athena.BatchGetPreparedStatementInput, ...request.Option) (*athena.BatchGetPreparedStatementOutput, error) + BatchGetPreparedStatementRequest(*athena.BatchGetPreparedStatementInput) (*request.Request, *athena.BatchGetPreparedStatementOutput) + BatchGetQueryExecution(*athena.BatchGetQueryExecutionInput) (*athena.BatchGetQueryExecutionOutput, error) BatchGetQueryExecutionWithContext(aws.Context, *athena.BatchGetQueryExecutionInput, ...request.Option) (*athena.BatchGetQueryExecutionOutput, error) BatchGetQueryExecutionRequest(*athena.BatchGetQueryExecutionInput) (*request.Request, *athena.BatchGetQueryExecutionOutput) diff --git a/service/customerprofiles/api.go b/service/customerprofiles/api.go index 5f0eac29fb5..f2c98f4a45c 100644 --- a/service/customerprofiles/api.go +++ b/service/customerprofiles/api.go @@ -3694,7 +3694,12 @@ type AddProfileKeyInput struct { // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` - // A searchable identifier of a customer profile. + // A searchable identifier of a customer profile. The predefined keys you can + // use include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, + // _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId, + // _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId, + // _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId, + // _shopifyOrderId. // // KeyName is a required field KeyName *string `min:"1" type:"string" required:"true"` @@ -4293,6 +4298,11 @@ type AutoMerging struct { // // Enabled is a required field Enabled *bool `type:"boolean" required:"true"` + + // A number between 0 and 1 that represents the minimum confidence score required + // for profiles within a matching group to be merged during the auto-merge process. + // A higher score means higher similarity required to merge profiles. + MinAllowedConfidenceScoreForMerging *float64 `type:"double"` } // String returns the string representation. @@ -4354,6 +4364,12 @@ func (s *AutoMerging) SetEnabled(v bool) *AutoMerging { return s } +// SetMinAllowedConfidenceScoreForMerging sets the MinAllowedConfidenceScoreForMerging field's value. +func (s *AutoMerging) SetMinAllowedConfidenceScoreForMerging(v float64) *AutoMerging { + s.MinAllowedConfidenceScoreForMerging = &v + return s +} + // The input you provided is invalid. type BadRequestException struct { _ struct{} `type:"structure"` @@ -6640,6 +6656,10 @@ type GetAutoMergingPreviewInput struct { // // DomainName is a required field DomainName *string `location:"uri" locationName:"DomainName" min:"1" type:"string" required:"true"` + + // Minimum confidence score required for profiles within a matching group to + // be merged during the auto-merge process. + MinAllowedConfidenceScoreForMerging *float64 `type:"double"` } // String returns the string representation. @@ -6710,6 +6730,12 @@ func (s *GetAutoMergingPreviewInput) SetDomainName(v string) *GetAutoMergingPrev return s } +// SetMinAllowedConfidenceScoreForMerging sets the MinAllowedConfidenceScoreForMerging field's value. +func (s *GetAutoMergingPreviewInput) SetMinAllowedConfidenceScoreForMerging(v float64) *GetAutoMergingPreviewInput { + s.MinAllowedConfidenceScoreForMerging = &v + return s +} + type GetAutoMergingPreviewOutput struct { _ struct{} `type:"structure"` @@ -10021,8 +10047,14 @@ func (s *MarketoSourceProperties) SetObject(v string) *MarketoSourceProperties { type MatchItem struct { _ struct{} `type:"structure"` - // A number between 0 and 1 that represents the confidence level of assigning - // profiles to a matching group. A score of 1 likely indicates an exact match. + // A number between 0 and 1, where a higher score means higher similarity. Examining + // match confidence scores lets you distinguish between groups of similar records + // in which the system is highly confident (which you may decide to merge), + // groups of similar records about which the system is uncertain (which you + // may decide to have reviewed by a human), and groups of similar records that + // the system deems to be unlikely (which you may decide to reject). Given confidence + // scores vary as per the data input, it should not be used an absolute measure + // of matching quality. ConfidenceScore *float64 `type:"double"` // The unique identifiers for this group of profiles that match. @@ -11134,7 +11166,12 @@ type PutProfileObjectTypeInput struct { // The tags used to organize, track, or control access for this resource. Tags map[string]*string `min:"1" type:"map"` - // A unique identifier for the object template. + // A unique identifier for the object template. For some attributes in the request, + // the service will use the default value from the object template when TemplateId + // is present. If these attributes are present in the request, the service may + // return a BadRequestException. These attributes include: AllowProfileCreation, + // SourceLastUpdatedTimestampFormat, Fields, and Keys. For example, if AllowProfileCreation + // is set to true when TemplateId is set, the service may return a BadRequestException. TemplateId *string `min:"1" type:"string"` } diff --git a/service/emr/api.go b/service/emr/api.go index 93e8cf101ec..b101f77df45 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -5336,6 +5336,15 @@ func (s *AddInstanceGroupsOutput) SetJobFlowId(v string) *AddInstanceGroupsOutpu type AddJobFlowStepsInput struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. + // The runtime role can be a cross-account IAM role. The runtime role ARN is + // a combination of account ID, role name, and role type using the following + // format: arn:partition:service:region:account:resource. + // + // For example, arn:aws:iam::1234567890:role/ReadOnly is a correctly formatted + // runtime role ARN. + ExecutionRoleArn *string `min:"20" type:"string"` + // A string that uniquely identifies the job flow. This identifier is returned // by RunJobFlow and can also be obtained from ListClusters. // @@ -5369,6 +5378,9 @@ func (s AddJobFlowStepsInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *AddJobFlowStepsInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AddJobFlowStepsInput"} + if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20)) + } if s.JobFlowId == nil { invalidParams.Add(request.NewErrParamRequired("JobFlowId")) } @@ -5392,6 +5404,12 @@ func (s *AddJobFlowStepsInput) Validate() error { return nil } +// SetExecutionRoleArn sets the ExecutionRoleArn field's value. +func (s *AddJobFlowStepsInput) SetExecutionRoleArn(v string) *AddJobFlowStepsInput { + s.ExecutionRoleArn = &v + return s +} + // SetJobFlowId sets the JobFlowId field's value. func (s *AddJobFlowStepsInput) SetJobFlowId(v string) *AddJobFlowStepsInput { s.JobFlowId = &v @@ -17059,6 +17077,15 @@ type Step struct { // The Hadoop job configuration of the cluster step. Config *HadoopStepConfig `type:"structure"` + // The Amazon Resource Name (ARN) of the runtime role for a step on the cluster. + // The runtime role can be a cross-account IAM role. The runtime role ARN is + // a combination of account ID, role name, and role type using the following + // format: arn:partition:service:region:account:resource. + // + // For example, arn:aws:iam::1234567890:role/ReadOnly is a correctly formatted + // runtime role ARN. + ExecutionRoleArn *string `type:"string"` + // The identifier of the cluster step. Id *string `type:"string"` @@ -17099,6 +17126,12 @@ func (s *Step) SetConfig(v *HadoopStepConfig) *Step { return s } +// SetExecutionRoleArn sets the ExecutionRoleArn field's value. +func (s *Step) SetExecutionRoleArn(v string) *Step { + s.ExecutionRoleArn = &v + return s +} + // SetId sets the Id field's value. func (s *Step) SetId(v string) *Step { s.Id = &v diff --git a/service/glue/api.go b/service/glue/api.go index 79b5f15c40e..b75e52911f3 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -24898,6 +24898,15 @@ type Connection struct { // * CONNECTION_URL - The URL for connecting to a general (non-JDBC) data // source. // + // * SECRET_ID - The secret ID used for the secret manager of credentials. + // + // * CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection. + // + // * CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection. + // + // * CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or + // CUSTOM connection. + // // * KAFKA_BOOTSTRAP_SERVERS - A comma-separated list of host and port pairs // that are the addresses of the Apache Kafka brokers in a Kafka cluster // to which a Kafka client will connect to and bootstrap itself. @@ -24912,15 +24921,6 @@ type Connection struct { // the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, // SHA384withRSA and SHA512withRSA. Default value is "false". // - // * SECRET_ID - The secret ID used for the secret manager of credentials. - // - // * CONNECTOR_URL - The connector URL for a MARKETPLACE or CUSTOM connection. - // - // * CONNECTOR_TYPE - The connector type for a MARKETPLACE or CUSTOM connection. - // - // * CONNECTOR_CLASS_NAME - The connector class name for a MARKETPLACE or - // CUSTOM connection. - // // * KAFKA_CLIENT_KEYSTORE - The Amazon S3 location of the client keystore // file for Kafka client side authentication (Optional). // @@ -24938,6 +24938,35 @@ type Connection struct { // * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD - The encrypted version of the Kafka // client key password (if the user has the Glue encrypt passwords setting // selected). + // + // * KAFKA_SASL_MECHANISM - "SCRAM-SHA-512" or "GSSAPI". These are the two + // supported SASL Mechanisms (https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xhtml). + // + // * KAFKA_SASL_SCRAM_USERNAME - A plaintext username used to authenticate + // with the "SCRAM-SHA-512" mechanism. + // + // * KAFKA_SASL_SCRAM_PASSWORD - A plaintext password used to authenticate + // with the "SCRAM-SHA-512" mechanism. + // + // * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD - The encrypted version of the Kafka + // SASL SCRAM password (if the user has the Glue encrypt passwords setting + // selected). + // + // * KAFKA_SASL_GSSAPI_KEYTAB - The S3 location of a Kerberos keytab file. + // A keytab stores long-term keys for one or more principals. For more information, + // see MIT Kerberos Documentation: Keytab (https://web.mit.edu/kerberos/krb5-latest/doc/basic/keytab_def.html). + // + // * KAFKA_SASL_GSSAPI_KRB5_CONF - The S3 location of a Kerberos krb5.conf + // file. A krb5.conf stores Kerberos configuration information, such as the + // location of the KDC server. For more information, see MIT Kerberos Documentation: + // krb5.conf (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html). + // + // * KAFKA_SASL_GSSAPI_SERVICE - The Kerberos service name, as set with sasl.kerberos.service.name + // in your Kafka Configuration (https://kafka.apache.org/documentation/#brokerconfigs_sasl.kerberos.service.name). + // + // * KAFKA_SASL_GSSAPI_PRINCIPAL - The name of the Kerberos princial used + // by Glue. For more information, see Kafka Documentation: Configuring Kafka + // Brokers (https://kafka.apache.org/documentation/#security_sasl_kerberos_clientconfig). ConnectionProperties map[string]*string `type:"map"` // The type of the connection. Currently, SFTP is not supported. @@ -26964,6 +26993,9 @@ type CreateDatabaseInput struct { // // DatabaseInput is a required field DatabaseInput *DatabaseInput `type:"structure" required:"true"` + + // The tags you assign to the database. + Tags map[string]*string `type:"map"` } // String returns the string representation. @@ -27017,6 +27049,12 @@ func (s *CreateDatabaseInput) SetDatabaseInput(v *DatabaseInput) *CreateDatabase return s } +// SetTags sets the Tags field's value. +func (s *CreateDatabaseInput) SetTags(v map[string]*string) *CreateDatabaseInput { + s.Tags = v + return s +} + type CreateDatabaseOutput struct { _ struct{} `type:"structure"` } @@ -36373,7 +36411,7 @@ type GetConnectionInput struct { CatalogId *string `min:"1" type:"string"` // Allows you to retrieve the connection metadata without returning the password. - // For instance, the AWS Glue console uses this flag to retrieve the connection, + // For instance, the Glue console uses this flag to retrieve the connection, // and does not display the password. Set this parameter when the caller might // not have permission to use the KMS key to decrypt the password, but it does // have permission to access the rest of the connection properties. @@ -36525,7 +36563,7 @@ type GetConnectionsInput struct { Filter *GetConnectionsFilter `type:"structure"` // Allows you to retrieve the connection metadata without returning the password. - // For instance, the AWS Glue console uses this flag to retrieve the connection, + // For instance, the Glue console uses this flag to retrieve the connection, // and does not display the password. Set this parameter when the caller might // not have permission to use the KMS key to decrypt the password, but it does // have permission to access the rest of the connection properties. @@ -58082,6 +58120,7 @@ func (s StopWorkflowRunOutput) GoString() string { type StorageDescriptor struct { _ struct{} `type:"structure"` + // A list of locations that point to the path where a Delta table is located. AdditionalLocations []*string `type:"list"` // A list of reducer grouping columns, clustering columns, and bucketing columns @@ -58579,6 +58618,7 @@ type TableData struct { // The last time that the table was updated. UpdateTime *time.Time `type:"timestamp"` + // The ID of the table version. VersionId *string `min:"1" type:"string"` // If the table is a view, the expanded text of the view; otherwise null. @@ -62433,6 +62473,7 @@ type UpdateTableInput struct { // The transaction ID at which to update the table contents. TransactionId *string `min:"1" type:"string"` + // The version ID at which to update the table contents. VersionId *string `min:"1" type:"string"` } diff --git a/service/kendra/api.go b/service/kendra/api.go index 3d4abf0620e..971c60e014e 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -444,6 +444,9 @@ func (c *Kendra) BatchPutDocumentRequest(input *BatchPutDocumentInput) (req *req // batch using Amazon Web Services CloudWatch. Any error messages related to // processing the batch are sent to your Amazon Web Services CloudWatch log. // +// For an example of ingesting inline documents using Python and Java SDKs, +// see Adding files directly to an index (https://docs.aws.amazon.com/kendra/latest/dg/in-adding-binary-doc.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -642,6 +645,11 @@ func (c *Kendra) CreateDataSourceRequest(input *CreateDataSourceInput) (req *req // data sources are the only supported data sources in the Amazon Web Services // GovCloud (US-West) region. // +// For an example of creating an index and data source using the Python SDK, +// see Getting started with Python SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html). +// For an example of creating an index and data source using the Java SDK, see +// Getting started with Java SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -733,8 +741,8 @@ func (c *Kendra) CreateExperienceRequest(input *CreateExperienceInput) (req *req // CreateExperience API operation for AWSKendraFrontendService. // // Creates an Amazon Kendra experience such as a search application. For more -// information on creating a search application experience, see Building a search -// experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html). +// information on creating a search application experience, including using +// the Python and Java SDKs, see Building a search experience with no code (https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -828,6 +836,9 @@ func (c *Kendra) CreateFaqRequest(input *CreateFaqInput) (req *request.Request, // // Adding FAQs to an index is an asynchronous operation. // +// For an example of adding an FAQ to an index using Python and Java SDKs, see +// Using you FAQ file (https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html#using-faq-file). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -924,6 +935,11 @@ func (c *Kendra) CreateIndexRequest(input *CreateIndexInput) (req *request.Reque // Once the index is active you can index your documents using the BatchPutDocument // API or using one of the supported data sources. // +// For an example of creating an index and data source using the Python SDK, +// see Getting started with Python SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html). +// For an example of creating an index and data source using the Java SDK, see +// Getting started with Java SDK (https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1027,6 +1043,9 @@ func (c *Kendra) CreateQuerySuggestionsBlockListRequest(input *CreateQuerySugges // CreateQuerySuggestionsBlockList is currently not supported in the Amazon // Web Services GovCloud (US-West) region. // +// For an example of creating a block list for query suggestions using the Python +// SDK, see Query suggestions block list (https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#suggestions-block-list). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -1118,6 +1137,9 @@ func (c *Kendra) CreateThesaurusRequest(input *CreateThesaurusInput) (req *reque // Creates a thesaurus for an index. The thesaurus contains a list of synonyms // in Solr format. // +// For an example of adding a thesaurus file to an index, see Adding custom +// synonyms to an index (https://docs.aws.amazon.com/kendra/latest/dg/index-synonyms-adding-thesaurus-file.html). +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -5968,6 +5990,267 @@ func (s *AdditionalResultAttributeValue) SetTextWithHighlightsValue(v *TextWithH return s } +// Provides the configuration information to connect to Alfresco as your data +// source. +type AlfrescoConfiguration struct { + _ struct{} `type:"structure"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Alfresco blogs to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Alfresco fields. For more + // information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Alfresco data source field names must exist in your Alfresco custom metadata. + BlogFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // TRUE to index comments of wikis and blogs. + CrawlComments *bool `type:"boolean"` + + // TRUE to index shared files. + CrawlSystemFolders *bool `type:"boolean"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Alfresco document libraries to Amazon Kendra index field names. + // To create custom fields, use the UpdateIndex API before you map to Alfresco + // fields. For more information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Alfresco data source field names must exist in your Alfresco custom metadata. + DocumentLibraryFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` + + // Specify whether to index document libraries, wikis, or blogs. You can specify + // one or more of these options. + EntityFilter []*string `min:"1" type:"list" enum:"AlfrescoEntity"` + + // A list of regular expression patterns to exclude certain files in your Alfresco + // data source. Files that match the patterns are excluded from the index. Files + // that don't match the patterns are included in the index. If a file matches + // both an inclusion pattern and an exclusion pattern, the exclusion pattern + // takes precedence and the file isn't included in the index. + ExclusionPatterns []*string `type:"list"` + + // A list of regular expression patterns to include certain files in your Alfresco + // data source. Files that match the patterns are included in the index. Files + // that don't match the patterns are excluded from the index. If a file matches + // both an inclusion pattern and an exclusion pattern, the exclusion pattern + // takes precedence and the file isn't included in the index. + InclusionPatterns []*string `type:"list"` + + // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains + // the key-value pairs required to connect to your Alfresco data source. The + // secret must contain a JSON structure with the following keys: + // + // * username—The user name of the Alfresco account. + // + // * password—The password of the Alfresco account. + // + // SecretArn is a required field + SecretArn *string `min:"1" type:"string" required:"true"` + + // The identifier of the Alfresco site. For example, my-site. + // + // SiteId is a required field + SiteId *string `min:"1" type:"string" required:"true"` + + // The URL of the Alfresco site. For example, https://hostname:8080. + // + // SiteUrl is a required field + SiteUrl *string `min:"1" type:"string" required:"true"` + + // The path to the SSL certificate stored in an Amazon S3 bucket. You use this + // to connect to Alfresco. + // + // SslCertificateS3Path is a required field + SslCertificateS3Path *S3Path `type:"structure" required:"true"` + + // Configuration information for an Amazon Virtual Private Cloud to connect + // to your Alfresco. For more information, see Configuring a VPC (https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html). + VpcConfiguration *DataSourceVpcConfiguration `type:"structure"` + + // A list of DataSourceToIndexFieldMapping objects that map attributes or field + // names of Alfresco wikis to Amazon Kendra index field names. To create custom + // fields, use the UpdateIndex API before you map to Alfresco fields. For more + // information, see Mapping data source fields (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). + // The Alfresco data source field names must exist in your Alfresco custom metadata. + WikiFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AlfrescoConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AlfrescoConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AlfrescoConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AlfrescoConfiguration"} + if s.BlogFieldMappings != nil && len(s.BlogFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("BlogFieldMappings", 1)) + } + if s.DocumentLibraryFieldMappings != nil && len(s.DocumentLibraryFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DocumentLibraryFieldMappings", 1)) + } + if s.EntityFilter != nil && len(s.EntityFilter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EntityFilter", 1)) + } + if s.SecretArn == nil { + invalidParams.Add(request.NewErrParamRequired("SecretArn")) + } + if s.SecretArn != nil && len(*s.SecretArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1)) + } + if s.SiteId == nil { + invalidParams.Add(request.NewErrParamRequired("SiteId")) + } + if s.SiteId != nil && len(*s.SiteId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SiteId", 1)) + } + if s.SiteUrl == nil { + invalidParams.Add(request.NewErrParamRequired("SiteUrl")) + } + if s.SiteUrl != nil && len(*s.SiteUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SiteUrl", 1)) + } + if s.SslCertificateS3Path == nil { + invalidParams.Add(request.NewErrParamRequired("SslCertificateS3Path")) + } + if s.WikiFieldMappings != nil && len(s.WikiFieldMappings) < 1 { + invalidParams.Add(request.NewErrParamMinLen("WikiFieldMappings", 1)) + } + if s.BlogFieldMappings != nil { + for i, v := range s.BlogFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "BlogFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.DocumentLibraryFieldMappings != nil { + for i, v := range s.DocumentLibraryFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DocumentLibraryFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + if s.SslCertificateS3Path != nil { + if err := s.SslCertificateS3Path.Validate(); err != nil { + invalidParams.AddNested("SslCertificateS3Path", err.(request.ErrInvalidParams)) + } + } + if s.VpcConfiguration != nil { + if err := s.VpcConfiguration.Validate(); err != nil { + invalidParams.AddNested("VpcConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.WikiFieldMappings != nil { + for i, v := range s.WikiFieldMappings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "WikiFieldMappings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBlogFieldMappings sets the BlogFieldMappings field's value. +func (s *AlfrescoConfiguration) SetBlogFieldMappings(v []*DataSourceToIndexFieldMapping) *AlfrescoConfiguration { + s.BlogFieldMappings = v + return s +} + +// SetCrawlComments sets the CrawlComments field's value. +func (s *AlfrescoConfiguration) SetCrawlComments(v bool) *AlfrescoConfiguration { + s.CrawlComments = &v + return s +} + +// SetCrawlSystemFolders sets the CrawlSystemFolders field's value. +func (s *AlfrescoConfiguration) SetCrawlSystemFolders(v bool) *AlfrescoConfiguration { + s.CrawlSystemFolders = &v + return s +} + +// SetDocumentLibraryFieldMappings sets the DocumentLibraryFieldMappings field's value. +func (s *AlfrescoConfiguration) SetDocumentLibraryFieldMappings(v []*DataSourceToIndexFieldMapping) *AlfrescoConfiguration { + s.DocumentLibraryFieldMappings = v + return s +} + +// SetEntityFilter sets the EntityFilter field's value. +func (s *AlfrescoConfiguration) SetEntityFilter(v []*string) *AlfrescoConfiguration { + s.EntityFilter = v + return s +} + +// SetExclusionPatterns sets the ExclusionPatterns field's value. +func (s *AlfrescoConfiguration) SetExclusionPatterns(v []*string) *AlfrescoConfiguration { + s.ExclusionPatterns = v + return s +} + +// SetInclusionPatterns sets the InclusionPatterns field's value. +func (s *AlfrescoConfiguration) SetInclusionPatterns(v []*string) *AlfrescoConfiguration { + s.InclusionPatterns = v + return s +} + +// SetSecretArn sets the SecretArn field's value. +func (s *AlfrescoConfiguration) SetSecretArn(v string) *AlfrescoConfiguration { + s.SecretArn = &v + return s +} + +// SetSiteId sets the SiteId field's value. +func (s *AlfrescoConfiguration) SetSiteId(v string) *AlfrescoConfiguration { + s.SiteId = &v + return s +} + +// SetSiteUrl sets the SiteUrl field's value. +func (s *AlfrescoConfiguration) SetSiteUrl(v string) *AlfrescoConfiguration { + s.SiteUrl = &v + return s +} + +// SetSslCertificateS3Path sets the SslCertificateS3Path field's value. +func (s *AlfrescoConfiguration) SetSslCertificateS3Path(v *S3Path) *AlfrescoConfiguration { + s.SslCertificateS3Path = v + return s +} + +// SetVpcConfiguration sets the VpcConfiguration field's value. +func (s *AlfrescoConfiguration) SetVpcConfiguration(v *DataSourceVpcConfiguration) *AlfrescoConfiguration { + s.VpcConfiguration = v + return s +} + +// SetWikiFieldMappings sets the WikiFieldMappings field's value. +func (s *AlfrescoConfiguration) SetWikiFieldMappings(v []*DataSourceToIndexFieldMapping) *AlfrescoConfiguration { + s.WikiFieldMappings = v + return s +} + type AssociateEntitiesToExperienceInput struct { _ struct{} `type:"structure"` @@ -7393,7 +7676,8 @@ type CapacityUnitsConfiguration struct { // capacity. // // A single extra capacity unit for an index provides 0.1 queries per second - // or approximately 8,000 queries per day. + // or approximately 8,000 queries per day. You can add up to 100 extra capacity + // units. // // GetQuerySuggestions capacity is five times the provisioned query capacity // for an index, or the base capacity of 2.5 calls per second, whichever is @@ -7408,7 +7692,7 @@ type CapacityUnitsConfiguration struct { // The amount of extra storage capacity for an index. A single capacity unit // provides 30 GB of storage space or 100,000 documents, whichever is reached - // first. + // first. You can add up to 100 extra capacity units. // // StorageCapacityUnits is a required field StorageCapacityUnits *int64 `type:"integer" required:"true"` @@ -7797,8 +8081,7 @@ type ConfluenceAttachmentConfiguration struct { // least one field mapping. AttachmentFieldMappings []*ConfluenceAttachmentToIndexFieldMapping `min:"1" type:"list"` - // Indicates whether Amazon Kendra indexes attachments to the pages and blogs - // in the Confluence data source. + // TRUE to index attachments of pages and blogs in Confluence. CrawlAttachments *bool `type:"boolean"` } @@ -8080,7 +8363,7 @@ type ConfluenceConfiguration struct { // Configuration information for indexing Confluence blogs. BlogConfiguration *ConfluenceBlogConfiguration `type:"structure"` - // >A list of regular expression patterns to exclude certain blog posts, pages, + // A list of regular expression patterns to exclude certain blog posts, pages, // spaces, or attachments in your Confluence. Content that matches the patterns // are excluded from the index. Content that doesn't match the patterns is included // in the index. If content matches both an inclusion and exclusion pattern, @@ -8100,14 +8383,9 @@ type ConfluenceConfiguration struct { PageConfiguration *ConfluencePageConfiguration `type:"structure"` // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains - // the key-value pairs required to connect to your Confluence server. The secret - // must contain a JSON structure with the following keys: - // - // * username—The user name or email address of a user with administrative - // privileges for the Confluence server. - // - // * password—The password associated with the user logging in to the Confluence - // server. + // the user name and password required to connect to the Confluence instance. + // If you use Confluence cloud, you use a generated API token as the password. + // For more information, see Using a Confluemce data source (https://docs.aws.amazon.com/kendra/latest/dg/data-source-confluence.html). // // SecretArn is a required field SecretArn *string `min:"1" type:"string" required:"true"` @@ -8122,8 +8400,7 @@ type ConfluenceConfiguration struct { // Configuration information for indexing Confluence spaces. SpaceConfiguration *ConfluenceSpaceConfiguration `type:"structure"` - // Specifies the version of the Confluence installation that you are connecting - // to. + // The version or the type of the Confluence installation to connect to. // // Version is a required field Version *string `type:"string" required:"true" enum:"ConfluenceVersion"` @@ -8265,7 +8542,7 @@ func (s *ConfluenceConfiguration) SetVpcConfiguration(v *DataSourceVpcConfigurat type ConfluencePageConfiguration struct { _ struct{} `type:"structure"` - // >Maps attributes or field names of Confluence pages to Amazon Kendra index + // Maps attributes or field names of Confluence pages to Amazon Kendra index // field names. To create custom fields, use the UpdateIndex API before you // map to Confluence fields. For more information, see Mapping data source fields // (https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html). The Confluence @@ -8400,14 +8677,13 @@ func (s *ConfluencePageToIndexFieldMapping) SetIndexFieldName(v string) *Conflue type ConfluenceSpaceConfiguration struct { _ struct{} `type:"structure"` - // Specifies whether Amazon Kendra should index archived spaces. + // TRUE to index archived spaces. CrawlArchivedSpaces *bool `type:"boolean"` - // Specifies whether Amazon Kendra should index personal spaces. Users can add - // restrictions to items in personal spaces. If personal spaces are indexed, - // queries without user context information may return restricted items from - // a personal space in their results. For more information, see Filtering on - // user context (https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html). + // TRUE to index personal spaces. You can add restrictions to items in personal + // spaces. If personal spaces are indexed, queries without user context information + // may return restricted items from a personal space in their results. For more + // information, see Filtering on user context (https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html). CrawlPersonalSpaces *bool `type:"boolean"` // A list of space keys of Confluence spaces. If you include a key, the blogs, @@ -10134,6 +10410,10 @@ func (s *CustomDocumentEnrichmentConfiguration) SetRoleArn(v string) *CustomDocu type DataSourceConfiguration struct { _ struct{} `type:"structure"` + // Provides the configuration information to connect to Alfresco as your data + // source. + AlfrescoConfiguration *AlfrescoConfiguration `type:"structure"` + // Provides the configuration information to connect to Box as your data source. BoxConfiguration *BoxConfiguration `type:"structure"` @@ -10215,6 +10495,11 @@ func (s DataSourceConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *DataSourceConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "DataSourceConfiguration"} + if s.AlfrescoConfiguration != nil { + if err := s.AlfrescoConfiguration.Validate(); err != nil { + invalidParams.AddNested("AlfrescoConfiguration", err.(request.ErrInvalidParams)) + } + } if s.BoxConfiguration != nil { if err := s.BoxConfiguration.Validate(); err != nil { invalidParams.AddNested("BoxConfiguration", err.(request.ErrInvalidParams)) @@ -10302,6 +10587,12 @@ func (s *DataSourceConfiguration) Validate() error { return nil } +// SetAlfrescoConfiguration sets the AlfrescoConfiguration field's value. +func (s *DataSourceConfiguration) SetAlfrescoConfiguration(v *AlfrescoConfiguration) *DataSourceConfiguration { + s.AlfrescoConfiguration = v + return s +} + // SetBoxConfiguration sets the BoxConfiguration field's value. func (s *DataSourceConfiguration) SetBoxConfiguration(v *BoxConfiguration) *DataSourceConfiguration { s.BoxConfiguration = v @@ -17185,7 +17476,7 @@ type JiraConfiguration struct { // one or more of these options to crawl. IssueType []*string `type:"list"` - // The URL of the Jira account. For example, company.attlassian.net or https://jira.company.com. + // The URL of the Jira account. For example, company.atlassian.net or https://jira.company.com. // You can find your Jira account URL in the URL of your profile page for Jira // desktop. // @@ -17203,13 +17494,14 @@ type JiraConfiguration struct { // The Jira data source field names must exist in your Jira custom metadata. ProjectFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` - // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains - // the key-value pairs required to connect to your Jira data source. The secret + // The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the + // key-value pairs required to connect to your Jira data source. The secret // must contain a JSON structure with the following keys: // - // * jira-id—The ID of the Jira account. + // * jiraId—The Jira username. // - // * jiraCredentials—The password of the Jira account user. + // * jiraCredentials—The Jira API token. For more information on creating + // an API token in Jira, see Authentication for a Jira data source (https://docs.aws.amazon.com/kendra/latest/dg/data-source-jira.html#jira-authentication). // // SecretArn is a required field SecretArn *string `min:"1" type:"string" required:"true"` @@ -17218,7 +17510,10 @@ type JiraConfiguration struct { // one or more of these options to crawl. Status []*string `type:"list"` - // Specify to use the change log option to update your index. + // 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. UseChangeLog *bool `type:"boolean"` // Configuration information for an Amazon Virtual Private Cloud to connect @@ -19077,7 +19372,8 @@ type OnPremiseConfiguration struct { // OrganizationName is a required field OrganizationName *string `min:"1" type:"string" required:"true"` - // Information required to find a specific file in an Amazon S3 bucket. + // The path to the SSL certificate stored in an Amazon S3 bucket. You use this + // to connect to GitHub. // // SslCertificateS3Path is a required field SslCertificateS3Path *S3Path `type:"structure" required:"true"` @@ -19154,8 +19450,7 @@ func (s *OnPremiseConfiguration) SetSslCertificateS3Path(v *S3Path) *OnPremiseCo type OneDriveConfiguration struct { _ struct{} `type:"structure"` - // A Boolean value that specifies whether local groups are disabled (True) or - // enabled (False). + // TRUE to disable local groups information. DisableLocalGroups *bool `type:"boolean"` // A list of regular expression patterns to exclude certain documents in your @@ -20335,16 +20630,13 @@ type QuipConfiguration struct { // The Quip field names must exist in your Quip custom metadata. AttachmentFieldMappings []*DataSourceToIndexFieldMapping `min:"1" type:"list"` - // Specify whether to crawl attachments in Quip. You can specify one or more - // of these options. + // TRUE to index attachments. CrawlAttachments *bool `type:"boolean"` - // Specify whether to crawl chat rooms in Quip. You can specify one or more - // of these options. + // TRUE to index the contents of chat rooms. CrawlChatRooms *bool `type:"boolean"` - // Specify whether to crawl file comments in Quip. You can specify one or more - // of these options. + // TRUE to index file comments. CrawlFileComments *bool `type:"boolean"` // The Quip site domain. @@ -20359,7 +20651,7 @@ type QuipConfiguration struct { // takes precedence, and the file isn't included in the index. ExclusionPatterns []*string `type:"list"` - // The identifier of the Quip folder IDs to index. + // The identifier of the Quip folders you want to index. FolderIds []*string `type:"list"` // A list of regular expression patterns to include certain files in your Quip @@ -22277,6 +22569,9 @@ type ServiceNowConfiguration struct { // The Amazon Resource Name (ARN) of the Secrets Manager secret that contains // the user name and password required to connect to the ServiceNow instance. + // You can also provide OAuth authentication credentials of user name, password, + // client ID, and client secret. For more information, see Authentication for + // a ServiceNow data source (https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html#servicenow-authentication). // // SecretArn is a required field SecretArn *string `min:"1" type:"string" required:"true"` @@ -22727,12 +23022,10 @@ func (s *ServiceQuotaExceededException) RequestID() string { type SharePointConfiguration struct { _ struct{} `type:"structure"` - // TRUE to include attachments to documents stored in your Microsoft SharePoint - // site in the index; otherwise, FALSE. + // TRUE to index document attachments. CrawlAttachments *bool `type:"boolean"` - // A Boolean value that specifies whether local groups are disabled (True) or - // enabled (False). + // TRUE to disable local groups information. DisableLocalGroups *bool `type:"boolean"` // The Microsoft SharePoint attribute field that contains the title of the document. @@ -22744,7 +23037,7 @@ type SharePointConfiguration struct { // matches both an inclusion and exclusion pattern, the exclusion pattern takes // precedence and the document isn't included in the index. // - // The regex is applied to the display URL of the SharePoint document. + // The regex applies to the display URL of the SharePoint document. ExclusionPatterns []*string `type:"list"` // A list of DataSourceToIndexFieldMapping objects that map SharePoint data @@ -22761,29 +23054,28 @@ type SharePointConfiguration struct { // document matches both an inclusion and exclusion pattern, the exclusion pattern // takes precedence and the document isn't included in the index. // - // The regex is applied to the display URL of the SharePoint document. + // The regex applies to the display URL of the SharePoint document. InclusionPatterns []*string `type:"list"` - // The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. - // The credentials should be a user/password pair. If you use SharePoint Server, - // you also need to provide the sever domain name as part of the credentials. - // For more information, see Using a Microsoft SharePoint Data Source (https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html). - // For more information about Secrets Manager see What Is Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) - // in the Secrets Manager user guide. + // The Amazon Resource Name (ARN) of an Secrets Manager secret that contains + // the user name and password required to connect to the SharePoint instance. + // If you use SharePoint Server, you also need to provide the sever domain name + // as part of the credentials. For more information, see Using a Microsoft SharePoint + // Data Source (https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html). // // SecretArn is a required field SecretArn *string `min:"1" type:"string" required:"true"` - // The version of Microsoft SharePoint that you are using as a data source. + // The version of Microsoft SharePoint that you use. // // SharePointVersion is a required field SharePointVersion *string `type:"string" required:"true" enum:"SharePointVersion"` - // Information required to find a specific file in an Amazon S3 bucket. + // The path to the SSL certificate stored in an Amazon S3 bucket. You use this + // to connect to SharePoint. SslCertificateS3Path *S3Path `type:"structure"` - // The URLs of the Microsoft SharePoint site that contains the documents that - // should be indexed. + // The Microsoft SharePoint site URLs for the documents you want to indext. // // Urls is a required field Urls []*string `min:"1" type:"list" required:"true"` @@ -22794,7 +23086,9 @@ type SharePointConfiguration struct { // in SharePoint. UseChangeLog *bool `type:"boolean"` - // Provides the configuration information to connect to an Amazon VPC. + // Configuration information for an Amazon Virtual Private Cloud to connect + // to your Microsoft SharePoint. For more information, see Configuring a VPC + // (https://docs.aws.amazon.com/kendra/latest/dg/vpc-configuration.html). VpcConfiguration *DataSourceVpcConfiguration `type:"structure"` } @@ -26276,6 +26570,26 @@ func AdditionalResultAttributeValueType_Values() []string { } } +const ( + // AlfrescoEntityWiki is a AlfrescoEntity enum value + AlfrescoEntityWiki = "wiki" + + // AlfrescoEntityBlog is a AlfrescoEntity enum value + AlfrescoEntityBlog = "blog" + + // AlfrescoEntityDocumentLibrary is a AlfrescoEntity enum value + AlfrescoEntityDocumentLibrary = "documentLibrary" +) + +// AlfrescoEntity_Values returns all elements of the AlfrescoEntity enum +func AlfrescoEntity_Values() []string { + return []string{ + AlfrescoEntityWiki, + AlfrescoEntityBlog, + AlfrescoEntityDocumentLibrary, + } +} + const ( // ConditionOperatorGreaterThan is a ConditionOperator enum value ConditionOperatorGreaterThan = "GreaterThan" @@ -26663,6 +26977,9 @@ const ( // DataSourceTypeGithub is a DataSourceType enum value DataSourceTypeGithub = "GITHUB" + + // DataSourceTypeAlfresco is a DataSourceType enum value + DataSourceTypeAlfresco = "ALFRESCO" ) // DataSourceType_Values returns all elements of the DataSourceType enum @@ -26685,6 +27002,7 @@ func DataSourceType_Values() []string { DataSourceTypeQuip, DataSourceTypeJira, DataSourceTypeGithub, + DataSourceTypeAlfresco, } } diff --git a/service/mwaa/api.go b/service/mwaa/api.go index 4e89e1a9169..985e9e78903 100644 --- a/service/mwaa/api.go +++ b/service/mwaa/api.go @@ -1200,9 +1200,9 @@ type CreateEnvironmentInput struct { AirflowConfigurationOptions map[string]*string `type:"map" sensitive:"true"` // 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) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). + // it defaults to the latest version. Valid values: 1.10.12, 2.0.2, and 2.2.2. + // To learn more, see Apache Airflow versions on Amazon Managed Workflows for + // Apache Airflow (MWAA) (https://docs.aws.amazon.com/mwaa/latest/userguide/airflow-versions.html). AirflowVersion *string `min:"1" type:"string"` // The relative path to the DAGs folder on your Amazon S3 bucket. For example, @@ -1283,9 +1283,9 @@ type CreateEnvironmentInput struct { // The number of Apache Airflow schedulers to run in your environment. Valid // values: // - // * v2.0.2 - Accepts between 2 to 5. Defaults to 2. + // * v2 - Accepts between 2 to 5. Defaults to 2. // - // * v1.10.12 - Accepts 1. + // * v1 - Accepts 1. Schedulers *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the Amazon S3 bucket where your DAG code @@ -1794,9 +1794,14 @@ type Environment struct { // A list of key-value pairs containing the Apache Airflow configuration options // attached to your environment. To learn more, see Apache Airflow configuration // options (https://docs.aws.amazon.com/mwaa/latest/userguide/configuring-env-variables.html). - AirflowConfigurationOptions map[string]*string `type:"map"` + // + // AirflowConfigurationOptions is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by Environment's + // String and GoString methods. + AirflowConfigurationOptions map[string]*string `type:"map" sensitive:"true"` - // The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2. + // The Apache Airflow version on your environment. Valid values: 1.10.12, 2.0.2, + // and 2.2.2. AirflowVersion *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the Amazon MWAA environment. @@ -3344,7 +3349,7 @@ type UpdateEnvironmentInput struct { AirflowConfigurationOptions map[string]*string `type:"map" sensitive:"true"` // 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. + // defaults to the latest version. Valid values: 1.10.12, 2.0.2, and 2.2.2. AirflowVersion *string `min:"1" type:"string"` // The relative path to the DAGs folder on your Amazon S3 bucket. For example, diff --git a/service/mwaa/doc.go b/service/mwaa/doc.go index 0bd389724de..59570279782 100644 --- a/service/mwaa/doc.go +++ b/service/mwaa/doc.go @@ -7,26 +7,30 @@ // API reference documentation. For more information, see What Is Amazon MWAA? // (https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html). // -//Endpoints
api.airflow.{region}.amazonaws.com
-// - This endpoint is used for environment management.
-// CreateEnvironment -//
GetEnvironment -//
ListEnvironments -//
TagResource -//
UntagResource -//
env.airflow.{region}.amazonaws.com
-// - This endpoint is used to operate the Airflow environment.
ops.airflow.{region}.amazonaws.com
-// - This endpoint is used to push environment metrics that track environment
-// health.
Regions
-//For a list of regions that Amazon MWAA supports, see Region -// availability in the Amazon MWAA User Guide.
+// Endpoints +// +// * api.airflow.{region}.amazonaws.com - This endpoint is used for environment +// management. CreateEnvironment (https://docs.aws.amazon.com/mwaa/latest/API/API_CreateEnvironment.html) +// DeleteEnvironment (https://docs.aws.amazon.com/mwaa/latest/API/API_DeleteEnvironment.html) +// GetEnvironment (https://docs.aws.amazon.com/mwaa/latest/API/API_GetEnvironment.html) +// ListEnvironments (https://docs.aws.amazon.com/mwaa/latest/API/API_ListEnvironments.html) +// ListTagsForResource (https://docs.aws.amazon.com/mwaa/latest/API/API_ListTagsForResource.html) +// TagResource (https://docs.aws.amazon.com/mwaa/latest/API/API_TagResource.html) +// UntagResource (https://docs.aws.amazon.com/mwaa/latest/API/API_UntagResource.html) +// UpdateEnvironment (https://docs.aws.amazon.com/mwaa/latest/API/API_UpdateEnvironment.html) +// +// * env.airflow.{region}.amazonaws.com - This endpoint is used to operate +// the Airflow environment. CreateCliToken (https://docs.aws.amazon.com/mwaa/latest/API/API_CreateCliToken.html) +// CreateWebLoginToken (https://docs.aws.amazon.com/mwaa/latest/API/API_CreateWebLoginToken.html) +// +// * ops.airflow.{region}.amazonaws.com - This endpoint is used to push environment +// metrics that track environment health. PublishMetrics (https://docs.aws.amazon.com/mwaa/latest/API/API_PublishMetrics.html) +// +// Regions +// +// For a list of regions that Amazon MWAA supports, see Region availability +// (https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html#regions-mwaa) +// in the Amazon MWAA User Guide. // // See https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01 for more information on this service. // diff --git a/service/pricing/api.go b/service/pricing/api.go index 89932617687..53658a6506a 100644 --- a/service/pricing/api.go +++ b/service/pricing/api.go @@ -1016,7 +1016,7 @@ type GetProductsOutput struct { // The list of products that match your filters. The list contains both the // product metadata and the price information. - PriceList []aws.JSONValue `type:"list"` + PriceList []*string `type:"list"` } // String returns the string representation. @@ -1050,7 +1050,7 @@ func (s *GetProductsOutput) SetNextToken(v string) *GetProductsOutput { } // SetPriceList sets the PriceList field's value. -func (s *GetProductsOutput) SetPriceList(v []aws.JSONValue) *GetProductsOutput { +func (s *GetProductsOutput) SetPriceList(v []*string) *GetProductsOutput { s.PriceList = v return s } diff --git a/service/wellarchitected/api.go b/service/wellarchitected/api.go index b26517e5b0e..d0f571f3a00 100644 --- a/service/wellarchitected/api.go +++ b/service/wellarchitected/api.go @@ -3824,6 +3824,99 @@ func (c *WellArchitected) UpdateAnswerWithContext(ctx aws.Context, input *Update return out, req.Send() } +const opUpdateGlobalSettings = "UpdateGlobalSettings" + +// UpdateGlobalSettingsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateGlobalSettings operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateGlobalSettings for more information on using the UpdateGlobalSettings +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateGlobalSettingsRequest method. +// req, resp := client.UpdateGlobalSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateGlobalSettings +func (c *WellArchitected) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput) { + op := &request.Operation{ + Name: opUpdateGlobalSettings, + HTTPMethod: "PATCH", + HTTPPath: "/global-settings", + } + + if input == nil { + input = &UpdateGlobalSettingsInput{} + } + + output = &UpdateGlobalSettingsOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateGlobalSettings API operation for AWS Well-Architected Tool. +// +// Updates whether the Amazon Web Services account is opted into organization +// sharing features. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Well-Architected Tool's +// API operation UpdateGlobalSettings for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The user input is not valid. +// +// * ConflictException +// The resource already exists. +// +// * InternalServerException +// There is a problem with the Well-Architected Tool API service. +// +// * AccessDeniedException +// User does not have sufficient access to perform this action. +// +// * ThrottlingException +// Request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateGlobalSettings +func (c *WellArchitected) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error) { + req, out := c.UpdateGlobalSettingsRequest(input) + return out, req.Send() +} + +// UpdateGlobalSettingsWithContext is the same as UpdateGlobalSettings with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateGlobalSettings for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WellArchitected) UpdateGlobalSettingsWithContext(ctx aws.Context, input *UpdateGlobalSettingsInput, opts ...request.Option) (*UpdateGlobalSettingsOutput, error) { + req, out := c.UpdateGlobalSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateLensReview = "UpdateLensReview" // UpdateLensReviewRequest generates a "aws/request.Request" representing the @@ -8235,6 +8328,9 @@ type LensShareSummary struct { // The status of a workload share. Status *string `type:"string" enum:"ShareStatus"` + + // Optional message to compliment the Status field. + StatusMessage *string `min:"1" type:"string"` } // String returns the string representation. @@ -8273,6 +8369,12 @@ func (s *LensShareSummary) SetStatus(v string) *LensShareSummary { return s } +// SetStatusMessage sets the StatusMessage field's value. +func (s *LensShareSummary) SetStatusMessage(v string) *LensShareSummary { + s.StatusMessage = &v + return s +} + // A lens summary of a lens. type LensSummary struct { _ struct{} `type:"structure"` @@ -9074,6 +9176,9 @@ type ListLensSharesInput struct { // The Amazon Web Services account ID or IAM role with which the lens is shared. SharedWithPrefix *string `location:"querystring" locationName:"SharedWithPrefix" type:"string"` + + // The status of a workload share. + Status *string `location:"querystring" locationName:"Status" type:"string" enum:"ShareStatus"` } // String returns the string representation. @@ -9137,6 +9242,12 @@ func (s *ListLensSharesInput) SetSharedWithPrefix(v string) *ListLensSharesInput return s } +// SetStatus sets the Status field's value. +func (s *ListLensSharesInput) SetStatus(v string) *ListLensSharesInput { + s.Status = &v + return s +} + type ListLensSharesOutput struct { _ struct{} `type:"structure"` @@ -9746,6 +9857,9 @@ type ListWorkloadSharesInput struct { // shared. SharedWithPrefix *string `location:"querystring" locationName:"SharedWithPrefix" type:"string"` + // The status of a workload share. + Status *string `location:"querystring" locationName:"Status" type:"string" enum:"ShareStatus"` + // The ID assigned to the workload. This ID is unique within an Amazon Web Services // Region. // @@ -9808,6 +9922,12 @@ func (s *ListWorkloadSharesInput) SetSharedWithPrefix(v string) *ListWorkloadSha return s } +// SetStatus sets the Status field's value. +func (s *ListWorkloadSharesInput) SetStatus(v string) *ListWorkloadSharesInput { + s.Status = &v + return s +} + // SetWorkloadId sets the WorkloadId field's value. func (s *ListWorkloadSharesInput) SetWorkloadId(v string) *ListWorkloadSharesInput { s.WorkloadId = &v @@ -11115,6 +11235,59 @@ func (s *UpdateAnswerOutput) SetWorkloadId(v string) *UpdateAnswerOutput { return s } +type UpdateGlobalSettingsInput struct { + _ struct{} `type:"structure"` + + // The status of organization sharing settings. + OrganizationSharingStatus *string `type:"string" enum:"OrganizationSharingStatus"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateGlobalSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateGlobalSettingsInput) GoString() string { + return s.String() +} + +// SetOrganizationSharingStatus sets the OrganizationSharingStatus field's value. +func (s *UpdateGlobalSettingsInput) SetOrganizationSharingStatus(v string) *UpdateGlobalSettingsInput { + s.OrganizationSharingStatus = &v + return s +} + +type UpdateGlobalSettingsOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateGlobalSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateGlobalSettingsOutput) GoString() string { + return s.String() +} + // Input for update lens review. type UpdateLensReviewInput struct { _ struct{} `type:"structure"` @@ -12441,6 +12614,9 @@ type WorkloadShareSummary struct { // The status of a workload share. Status *string `type:"string" enum:"ShareStatus"` + + // Optional message to compliment the Status field. + StatusMessage *string `min:"1" type:"string"` } // String returns the string representation. @@ -12485,6 +12661,12 @@ func (s *WorkloadShareSummary) SetStatus(v string) *WorkloadShareSummary { return s } +// SetStatusMessage sets the StatusMessage field's value. +func (s *WorkloadShareSummary) SetStatusMessage(v string) *WorkloadShareSummary { + s.StatusMessage = &v + return s +} + // A workload summary return object. type WorkloadSummary struct { _ struct{} `type:"structure"` @@ -12801,6 +12983,22 @@ func NotificationType_Values() []string { } } +const ( + // OrganizationSharingStatusEnabled is a OrganizationSharingStatus enum value + OrganizationSharingStatusEnabled = "ENABLED" + + // OrganizationSharingStatusDisabled is a OrganizationSharingStatus enum value + OrganizationSharingStatusDisabled = "DISABLED" +) + +// OrganizationSharingStatus_Values returns all elements of the OrganizationSharingStatus enum +func OrganizationSharingStatus_Values() []string { + return []string{ + OrganizationSharingStatusEnabled, + OrganizationSharingStatusDisabled, + } +} + // Permission granted on a workload share. const ( // PermissionTypeReadonly is a PermissionType enum value @@ -12896,6 +13094,15 @@ const ( // ShareStatusExpired is a ShareStatus enum value ShareStatusExpired = "EXPIRED" + + // ShareStatusAssociating is a ShareStatus enum value + ShareStatusAssociating = "ASSOCIATING" + + // ShareStatusAssociated is a ShareStatus enum value + ShareStatusAssociated = "ASSOCIATED" + + // ShareStatusFailed is a ShareStatus enum value + ShareStatusFailed = "FAILED" ) // ShareStatus_Values returns all elements of the ShareStatus enum @@ -12906,6 +13113,9 @@ func ShareStatus_Values() []string { ShareStatusPending, ShareStatusRevoked, ShareStatusExpired, + ShareStatusAssociating, + ShareStatusAssociated, + ShareStatusFailed, } } diff --git a/service/wellarchitected/wellarchitectediface/interface.go b/service/wellarchitected/wellarchitectediface/interface.go index 38d76281e74..e0f92d20fd4 100644 --- a/service/wellarchitected/wellarchitectediface/interface.go +++ b/service/wellarchitected/wellarchitectediface/interface.go @@ -226,6 +226,10 @@ type WellArchitectedAPI interface { UpdateAnswerWithContext(aws.Context, *wellarchitected.UpdateAnswerInput, ...request.Option) (*wellarchitected.UpdateAnswerOutput, error) UpdateAnswerRequest(*wellarchitected.UpdateAnswerInput) (*request.Request, *wellarchitected.UpdateAnswerOutput) + UpdateGlobalSettings(*wellarchitected.UpdateGlobalSettingsInput) (*wellarchitected.UpdateGlobalSettingsOutput, error) + UpdateGlobalSettingsWithContext(aws.Context, *wellarchitected.UpdateGlobalSettingsInput, ...request.Option) (*wellarchitected.UpdateGlobalSettingsOutput, error) + UpdateGlobalSettingsRequest(*wellarchitected.UpdateGlobalSettingsInput) (*request.Request, *wellarchitected.UpdateGlobalSettingsOutput) + UpdateLensReview(*wellarchitected.UpdateLensReviewInput) (*wellarchitected.UpdateLensReviewOutput, error) UpdateLensReviewWithContext(aws.Context, *wellarchitected.UpdateLensReviewInput, ...request.Option) (*wellarchitected.UpdateLensReviewOutput, error) UpdateLensReviewRequest(*wellarchitected.UpdateLensReviewInput) (*request.Request, *wellarchitected.UpdateLensReviewOutput) diff --git a/service/workmail/api.go b/service/workmail/api.go index 959d6e46697..8aca7fce45c 100644 --- a/service/workmail/api.go +++ b/service/workmail/api.go @@ -419,6 +419,101 @@ func (c *WorkMail) CreateAliasWithContext(ctx aws.Context, input *CreateAliasInp return out, req.Send() } +const opCreateAvailabilityConfiguration = "CreateAvailabilityConfiguration" + +// CreateAvailabilityConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the CreateAvailabilityConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateAvailabilityConfiguration for more information on using the CreateAvailabilityConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateAvailabilityConfigurationRequest method. +// req, resp := client.CreateAvailabilityConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAvailabilityConfiguration +func (c *WorkMail) CreateAvailabilityConfigurationRequest(input *CreateAvailabilityConfigurationInput) (req *request.Request, output *CreateAvailabilityConfigurationOutput) { + op := &request.Operation{ + Name: opCreateAvailabilityConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateAvailabilityConfigurationInput{} + } + + output = &CreateAvailabilityConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CreateAvailabilityConfiguration API operation for Amazon WorkMail. +// +// Creates an AvailabilityConfiguration for the given WorkMail organization +// and domain. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkMail's +// API operation CreateAvailabilityConfiguration for usage and error information. +// +// Returned Error Types: +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// * NameAvailabilityException +// The user, group, or resource name isn't unique in Amazon WorkMail. +// +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// * LimitExceededException +// The request exceeds the limit of the resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAvailabilityConfiguration +func (c *WorkMail) CreateAvailabilityConfiguration(input *CreateAvailabilityConfigurationInput) (*CreateAvailabilityConfigurationOutput, error) { + req, out := c.CreateAvailabilityConfigurationRequest(input) + return out, req.Send() +} + +// CreateAvailabilityConfigurationWithContext is the same as CreateAvailabilityConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAvailabilityConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkMail) CreateAvailabilityConfigurationWithContext(ctx aws.Context, input *CreateAvailabilityConfigurationInput, opts ...request.Option) (*CreateAvailabilityConfigurationOutput, error) { + req, out := c.CreateAvailabilityConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateGroup = "CreateGroup" // CreateGroupRequest generates a "aws/request.Request" representing the @@ -1114,6 +1209,92 @@ func (c *WorkMail) DeleteAliasWithContext(ctx aws.Context, input *DeleteAliasInp return out, req.Send() } +const opDeleteAvailabilityConfiguration = "DeleteAvailabilityConfiguration" + +// DeleteAvailabilityConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAvailabilityConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteAvailabilityConfiguration for more information on using the DeleteAvailabilityConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteAvailabilityConfigurationRequest method. +// req, resp := client.DeleteAvailabilityConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAvailabilityConfiguration +func (c *WorkMail) DeleteAvailabilityConfigurationRequest(input *DeleteAvailabilityConfigurationInput) (req *request.Request, output *DeleteAvailabilityConfigurationOutput) { + op := &request.Operation{ + Name: opDeleteAvailabilityConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteAvailabilityConfigurationInput{} + } + + output = &DeleteAvailabilityConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteAvailabilityConfiguration API operation for Amazon WorkMail. +// +// Deletes the AvailabilityConfiguration for the given WorkMail organization +// and domain. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkMail's +// API operation DeleteAvailabilityConfiguration for usage and error information. +// +// Returned Error Types: +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAvailabilityConfiguration +func (c *WorkMail) DeleteAvailabilityConfiguration(input *DeleteAvailabilityConfigurationInput) (*DeleteAvailabilityConfigurationOutput, error) { + req, out := c.DeleteAvailabilityConfigurationRequest(input) + return out, req.Send() +} + +// DeleteAvailabilityConfigurationWithContext is the same as DeleteAvailabilityConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAvailabilityConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkMail) DeleteAvailabilityConfigurationWithContext(ctx aws.Context, input *DeleteAvailabilityConfigurationInput, opts ...request.Option) (*DeleteAvailabilityConfigurationOutput, error) { + req, out := c.DeleteAvailabilityConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteEmailMonitoringConfiguration = "DeleteEmailMonitoringConfiguration" // DeleteEmailMonitoringConfigurationRequest generates a "aws/request.Request" representing the @@ -3770,6 +3951,148 @@ func (c *WorkMail) ListAliasesPagesWithContext(ctx aws.Context, input *ListAlias return p.Err() } +const opListAvailabilityConfigurations = "ListAvailabilityConfigurations" + +// ListAvailabilityConfigurationsRequest generates a "aws/request.Request" representing the +// client's request for the ListAvailabilityConfigurations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListAvailabilityConfigurations for more information on using the ListAvailabilityConfigurations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListAvailabilityConfigurationsRequest method. +// req, resp := client.ListAvailabilityConfigurationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAvailabilityConfigurations +func (c *WorkMail) ListAvailabilityConfigurationsRequest(input *ListAvailabilityConfigurationsInput) (req *request.Request, output *ListAvailabilityConfigurationsOutput) { + op := &request.Operation{ + Name: opListAvailabilityConfigurations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAvailabilityConfigurationsInput{} + } + + output = &ListAvailabilityConfigurationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAvailabilityConfigurations API operation for Amazon WorkMail. +// +// List all the AvailabilityConfiguration's for the given WorkMail organization. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkMail's +// API operation ListAvailabilityConfigurations for usage and error information. +// +// Returned Error Types: +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAvailabilityConfigurations +func (c *WorkMail) ListAvailabilityConfigurations(input *ListAvailabilityConfigurationsInput) (*ListAvailabilityConfigurationsOutput, error) { + req, out := c.ListAvailabilityConfigurationsRequest(input) + return out, req.Send() +} + +// ListAvailabilityConfigurationsWithContext is the same as ListAvailabilityConfigurations with the addition of +// the ability to pass a context and additional request options. +// +// See ListAvailabilityConfigurations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkMail) ListAvailabilityConfigurationsWithContext(ctx aws.Context, input *ListAvailabilityConfigurationsInput, opts ...request.Option) (*ListAvailabilityConfigurationsOutput, error) { + req, out := c.ListAvailabilityConfigurationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAvailabilityConfigurationsPages iterates over the pages of a ListAvailabilityConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAvailabilityConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListAvailabilityConfigurations operation. +// pageNum := 0 +// err := client.ListAvailabilityConfigurationsPages(params, +// func(page *workmail.ListAvailabilityConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *WorkMail) ListAvailabilityConfigurationsPages(input *ListAvailabilityConfigurationsInput, fn func(*ListAvailabilityConfigurationsOutput, bool) bool) error { + return c.ListAvailabilityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAvailabilityConfigurationsPagesWithContext same as ListAvailabilityConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkMail) ListAvailabilityConfigurationsPagesWithContext(ctx aws.Context, input *ListAvailabilityConfigurationsInput, fn func(*ListAvailabilityConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAvailabilityConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAvailabilityConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAvailabilityConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListGroupMembers = "ListGroupMembers" // ListGroupMembersRequest generates a "aws/request.Request" representing the @@ -6486,41 +6809,140 @@ func (c *WorkMail) TagResourceWithContext(ctx aws.Context, input *TagResourceInp return out, req.Send() } -const opUntagResource = "UntagResource" +const opTestAvailabilityConfiguration = "TestAvailabilityConfiguration" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// TestAvailabilityConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the TestAvailabilityConfiguration operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See UntagResource for more information on using the UntagResource +// See TestAvailabilityConfiguration for more information on using the TestAvailabilityConfiguration // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the TestAvailabilityConfigurationRequest method. +// req, resp := client.TestAvailabilityConfigurationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UntagResource -func (c *WorkMail) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/TestAvailabilityConfiguration +func (c *WorkMail) TestAvailabilityConfigurationRequest(input *TestAvailabilityConfigurationInput) (req *request.Request, output *TestAvailabilityConfigurationOutput) { op := &request.Operation{ - Name: opUntagResource, + Name: opTestAvailabilityConfiguration, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UntagResourceInput{} + input = &TestAvailabilityConfigurationInput{} + } + + output = &TestAvailabilityConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// TestAvailabilityConfiguration API operation for Amazon WorkMail. +// +// 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 policy was configured to deny anonymous access. +// An anonymous invocation is one done without providing either a SourceArn +// or SourceAccount header. +// +// The request must contain either one provider definition (EwsProvider or LambdaProvider) +// or the DomainName parameter. If the DomainName parameter is provided, the +// configuration stored under the DomainName will be tested. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkMail's +// API operation TestAvailabilityConfiguration for usage and error information. +// +// Returned Error Types: +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// * ResourceNotFoundException +// The resource cannot be found. +// +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/TestAvailabilityConfiguration +func (c *WorkMail) TestAvailabilityConfiguration(input *TestAvailabilityConfigurationInput) (*TestAvailabilityConfigurationOutput, error) { + req, out := c.TestAvailabilityConfigurationRequest(input) + return out, req.Send() +} + +// TestAvailabilityConfigurationWithContext is the same as TestAvailabilityConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See TestAvailabilityConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkMail) TestAvailabilityConfigurationWithContext(ctx aws.Context, input *TestAvailabilityConfigurationInput, opts ...request.Option) (*TestAvailabilityConfigurationOutput, error) { + req, out := c.TestAvailabilityConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UntagResource +func (c *WorkMail) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UntagResourceInput{} } output = &UntagResourceOutput{} @@ -6567,6 +6989,98 @@ func (c *WorkMail) UntagResourceWithContext(ctx aws.Context, input *UntagResourc return out, req.Send() } +const opUpdateAvailabilityConfiguration = "UpdateAvailabilityConfiguration" + +// UpdateAvailabilityConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAvailabilityConfiguration operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateAvailabilityConfiguration for more information on using the UpdateAvailabilityConfiguration +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateAvailabilityConfigurationRequest method. +// req, resp := client.UpdateAvailabilityConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateAvailabilityConfiguration +func (c *WorkMail) UpdateAvailabilityConfigurationRequest(input *UpdateAvailabilityConfigurationInput) (req *request.Request, output *UpdateAvailabilityConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateAvailabilityConfiguration, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateAvailabilityConfigurationInput{} + } + + output = &UpdateAvailabilityConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateAvailabilityConfiguration API operation for Amazon WorkMail. +// +// Updates an existing AvailabilityConfiguration for the given WorkMail organization +// and domain. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon WorkMail's +// API operation UpdateAvailabilityConfiguration for usage and error information. +// +// Returned Error Types: +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// * ResourceNotFoundException +// The resource cannot be found. +// +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateAvailabilityConfiguration +func (c *WorkMail) UpdateAvailabilityConfiguration(input *UpdateAvailabilityConfigurationInput) (*UpdateAvailabilityConfigurationOutput, error) { + req, out := c.UpdateAvailabilityConfigurationRequest(input) + return out, req.Send() +} + +// UpdateAvailabilityConfigurationWithContext is the same as UpdateAvailabilityConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateAvailabilityConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *WorkMail) UpdateAvailabilityConfigurationWithContext(ctx aws.Context, input *UpdateAvailabilityConfigurationInput, opts ...request.Option) (*UpdateAvailabilityConfigurationOutput, error) { + req, out := c.UpdateAvailabilityConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateDefaultMailDomain = "UpdateDefaultMailDomain" // UpdateDefaultMailDomainRequest generates a "aws/request.Request" representing the @@ -7425,6 +7939,85 @@ func (s AssociateMemberToGroupOutput) GoString() string { return s.String() } +// List all the AvailabilityConfiguration's for the given WorkMail organization. +type AvailabilityConfiguration struct { + _ struct{} `type:"structure"` + + // The date and time at which the availability configuration was created. + DateCreated *time.Time `type:"timestamp"` + + // The date and time at which the availability configuration was last modified. + DateModified *time.Time `type:"timestamp"` + + // Displays the domain to which the provider applies. + DomainName *string `min:"3" type:"string"` + + // If ProviderType is EWS, then this field contains RedactedEwsAvailabilityProvider. + // Otherwise, it is not requried. + EwsProvider *RedactedEwsAvailabilityProvider `type:"structure"` + + // If ProviderType is LAMBDA then this field contains LambdaAvailabilityProvider. + // Otherwise, it is not required. + LambdaProvider *LambdaAvailabilityProvider `type:"structure"` + + // Displays the provider type that applies to this domain. + ProviderType *string `type:"string" enum:"AvailabilityProviderType"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailabilityConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AvailabilityConfiguration) GoString() string { + return s.String() +} + +// SetDateCreated sets the DateCreated field's value. +func (s *AvailabilityConfiguration) SetDateCreated(v time.Time) *AvailabilityConfiguration { + s.DateCreated = &v + return s +} + +// SetDateModified sets the DateModified field's value. +func (s *AvailabilityConfiguration) SetDateModified(v time.Time) *AvailabilityConfiguration { + s.DateModified = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *AvailabilityConfiguration) SetDomainName(v string) *AvailabilityConfiguration { + s.DomainName = &v + return s +} + +// SetEwsProvider sets the EwsProvider field's value. +func (s *AvailabilityConfiguration) SetEwsProvider(v *RedactedEwsAvailabilityProvider) *AvailabilityConfiguration { + s.EwsProvider = v + return s +} + +// SetLambdaProvider sets the LambdaProvider field's value. +func (s *AvailabilityConfiguration) SetLambdaProvider(v *LambdaAvailabilityProvider) *AvailabilityConfiguration { + s.LambdaProvider = v + return s +} + +// SetProviderType sets the ProviderType field's value. +func (s *AvailabilityConfiguration) SetProviderType(v string) *AvailabilityConfiguration { + s.ProviderType = &v + return s +} + // At least one delegate must be associated to the resource to disable automatic // replies from the resource. type BookingOptions struct { @@ -7682,6 +8275,137 @@ func (s CreateAliasOutput) GoString() string { return s.String() } +type CreateAvailabilityConfigurationInput struct { + _ struct{} `type:"structure"` + + // An idempotent token that ensures that an API request is executed only once. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The domain to which the provider applies. + // + // DomainName is a required field + DomainName *string `min:"3" type:"string" required:"true"` + + // Exchange Web Services (EWS) availability provider definition. The request + // must contain exactly one provider definition, either EwsProvider or LambdaProvider. + EwsProvider *EwsAvailabilityProvider `type:"structure"` + + // Lambda availability provider definition. The request must contain exactly + // one provider definition, either EwsProvider or LambdaProvider. + LambdaProvider *LambdaAvailabilityProvider `type:"structure"` + + // The Amazon WorkMail organization for which the AvailabilityConfiguration + // will be created. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAvailabilityConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAvailabilityConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAvailabilityConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAvailabilityConfigurationInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + if s.EwsProvider != nil { + if err := s.EwsProvider.Validate(); err != nil { + invalidParams.AddNested("EwsProvider", err.(request.ErrInvalidParams)) + } + } + if s.LambdaProvider != nil { + if err := s.LambdaProvider.Validate(); err != nil { + invalidParams.AddNested("LambdaProvider", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateAvailabilityConfigurationInput) SetClientToken(v string) *CreateAvailabilityConfigurationInput { + s.ClientToken = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *CreateAvailabilityConfigurationInput) SetDomainName(v string) *CreateAvailabilityConfigurationInput { + s.DomainName = &v + return s +} + +// SetEwsProvider sets the EwsProvider field's value. +func (s *CreateAvailabilityConfigurationInput) SetEwsProvider(v *EwsAvailabilityProvider) *CreateAvailabilityConfigurationInput { + s.EwsProvider = v + return s +} + +// SetLambdaProvider sets the LambdaProvider field's value. +func (s *CreateAvailabilityConfigurationInput) SetLambdaProvider(v *LambdaAvailabilityProvider) *CreateAvailabilityConfigurationInput { + s.LambdaProvider = v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *CreateAvailabilityConfigurationInput) SetOrganizationId(v string) *CreateAvailabilityConfigurationInput { + s.OrganizationId = &v + return s +} + +type CreateAvailabilityConfigurationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAvailabilityConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateAvailabilityConfigurationOutput) GoString() string { + return s.String() +} + type CreateGroupInput struct { _ struct{} `type:"structure"` @@ -8546,13 +9270,114 @@ type DeleteAliasInput struct { // Alias is a required field Alias *string `min:"1" type:"string" required:"true"` - // The identifier for the member (user or group) from which to have the aliases - // removed. + // The identifier for the member (user or group) from which to have the aliases + // removed. + // + // EntityId is a required field + EntityId *string `min:"12" type:"string" required:"true"` + + // The identifier for the organization under which the user exists. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAliasInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAliasInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAliasInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAliasInput"} + if s.Alias == nil { + invalidParams.Add(request.NewErrParamRequired("Alias")) + } + if s.Alias != nil && len(*s.Alias) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) + } + if s.EntityId == nil { + invalidParams.Add(request.NewErrParamRequired("EntityId")) + } + if s.EntityId != nil && len(*s.EntityId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("EntityId", 12)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAlias sets the Alias field's value. +func (s *DeleteAliasInput) SetAlias(v string) *DeleteAliasInput { + s.Alias = &v + return s +} + +// SetEntityId sets the EntityId field's value. +func (s *DeleteAliasInput) SetEntityId(v string) *DeleteAliasInput { + s.EntityId = &v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *DeleteAliasInput) SetOrganizationId(v string) *DeleteAliasInput { + s.OrganizationId = &v + return s +} + +type DeleteAliasOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAliasOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteAliasOutput) GoString() string { + return s.String() +} + +type DeleteAvailabilityConfigurationInput struct { + _ struct{} `type:"structure"` + + // The domain for which the AvailabilityConfiguration will be deleted. // - // EntityId is a required field - EntityId *string `min:"12" type:"string" required:"true"` + // DomainName is a required field + DomainName *string `min:"3" type:"string" required:"true"` - // The identifier for the organization under which the user exists. + // The Amazon WorkMail organization for which the AvailabilityConfiguration + // will be deleted. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` @@ -8563,7 +9388,7 @@ type DeleteAliasInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteAliasInput) String() string { +func (s DeleteAvailabilityConfigurationInput) String() string { return awsutil.Prettify(s) } @@ -8572,24 +9397,18 @@ func (s DeleteAliasInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteAliasInput) GoString() string { +func (s DeleteAvailabilityConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteAliasInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteAliasInput"} - if s.Alias == nil { - invalidParams.Add(request.NewErrParamRequired("Alias")) - } - if s.Alias != nil && len(*s.Alias) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Alias", 1)) - } - if s.EntityId == nil { - invalidParams.Add(request.NewErrParamRequired("EntityId")) +func (s *DeleteAvailabilityConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAvailabilityConfigurationInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) } - if s.EntityId != nil && len(*s.EntityId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("EntityId", 12)) + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) } if s.OrganizationId == nil { invalidParams.Add(request.NewErrParamRequired("OrganizationId")) @@ -8604,25 +9423,19 @@ func (s *DeleteAliasInput) Validate() error { return nil } -// SetAlias sets the Alias field's value. -func (s *DeleteAliasInput) SetAlias(v string) *DeleteAliasInput { - s.Alias = &v - return s -} - -// SetEntityId sets the EntityId field's value. -func (s *DeleteAliasInput) SetEntityId(v string) *DeleteAliasInput { - s.EntityId = &v +// SetDomainName sets the DomainName field's value. +func (s *DeleteAvailabilityConfigurationInput) SetDomainName(v string) *DeleteAvailabilityConfigurationInput { + s.DomainName = &v return s } // SetOrganizationId sets the OrganizationId field's value. -func (s *DeleteAliasInput) SetOrganizationId(v string) *DeleteAliasInput { +func (s *DeleteAvailabilityConfigurationInput) SetOrganizationId(v string) *DeleteAvailabilityConfigurationInput { s.OrganizationId = &v return s } -type DeleteAliasOutput struct { +type DeleteAvailabilityConfigurationOutput struct { _ struct{} `type:"structure"` } @@ -8631,7 +9444,7 @@ type DeleteAliasOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteAliasOutput) String() string { +func (s DeleteAvailabilityConfigurationOutput) String() string { return awsutil.Prettify(s) } @@ -8640,7 +9453,7 @@ func (s DeleteAliasOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteAliasOutput) GoString() string { +func (s DeleteAvailabilityConfigurationOutput) GoString() string { return s.String() } @@ -11447,6 +12260,86 @@ func (s *EntityStateException) RequestID() string { return s.RespMetadata.RequestID } +// Describes an EWS based availability provider. This is only used as input +// to the service. +type EwsAvailabilityProvider struct { + _ struct{} `type:"structure"` + + // The endpoint of the remote EWS server. + // + // EwsEndpoint is a required field + EwsEndpoint *string `type:"string" required:"true"` + + // The password used to authenticate the remote EWS server. + // + // EwsPassword is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by EwsAvailabilityProvider's + // String and GoString methods. + // + // EwsPassword is a required field + EwsPassword *string `type:"string" required:"true" sensitive:"true"` + + // The username used to authenticate the remote EWS server. + // + // EwsUsername is a required field + EwsUsername *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EwsAvailabilityProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EwsAvailabilityProvider) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EwsAvailabilityProvider) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EwsAvailabilityProvider"} + if s.EwsEndpoint == nil { + invalidParams.Add(request.NewErrParamRequired("EwsEndpoint")) + } + if s.EwsPassword == nil { + invalidParams.Add(request.NewErrParamRequired("EwsPassword")) + } + if s.EwsUsername == nil { + invalidParams.Add(request.NewErrParamRequired("EwsUsername")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEwsEndpoint sets the EwsEndpoint field's value. +func (s *EwsAvailabilityProvider) SetEwsEndpoint(v string) *EwsAvailabilityProvider { + s.EwsEndpoint = &v + return s +} + +// SetEwsPassword sets the EwsPassword field's value. +func (s *EwsAvailabilityProvider) SetEwsPassword(v string) *EwsAvailabilityProvider { + s.EwsPassword = &v + return s +} + +// SetEwsUsername sets the EwsUsername field's value. +func (s *EwsAvailabilityProvider) SetEwsUsername(v string) *EwsAvailabilityProvider { + s.EwsUsername = &v + return s +} + // The configuration applied to an organization's folders by its retention policy. type FolderConfiguration struct { _ struct{} `type:"structure"` @@ -12657,6 +13550,57 @@ func (s *InvalidPasswordException) RequestID() string { return s.RespMetadata.RequestID } +// Describes a Lambda based availability provider. +type LambdaAvailabilityProvider struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the Lambda that acts as the availability + // provider. + // + // LambdaArn is a required field + LambdaArn *string `min:"49" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LambdaAvailabilityProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LambdaAvailabilityProvider) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *LambdaAvailabilityProvider) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "LambdaAvailabilityProvider"} + if s.LambdaArn == nil { + invalidParams.Add(request.NewErrParamRequired("LambdaArn")) + } + if s.LambdaArn != nil && len(*s.LambdaArn) < 49 { + invalidParams.Add(request.NewErrParamMinLen("LambdaArn", 49)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLambdaArn sets the LambdaArn field's value. +func (s *LambdaAvailabilityProvider) SetLambdaArn(v string) *LambdaAvailabilityProvider { + s.LambdaArn = &v + return s +} + // The request exceeds the limit of the resource. type LimitExceededException struct { _ struct{} `type:"structure"` @@ -12801,22 +13745,150 @@ func (s *ListAccessControlRulesOutput) SetRules(v []*AccessControlRule) *ListAcc return s } -type ListAliasesInput struct { +type ListAliasesInput struct { + _ struct{} `type:"structure"` + + // The identifier for the entity for which to list the aliases. + // + // EntityId is a required field + EntityId *string `min:"12" type:"string" required:"true"` + + // The maximum number of results to return in a single call. + MaxResults *int64 `min:"1" type:"integer"` + + // The token to use to retrieve the next page of results. The first call does + // not contain any tokens. + NextToken *string `min:"1" type:"string"` + + // The identifier for the organization under which the entity exists. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAliasesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAliasesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAliasesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAliasesInput"} + if s.EntityId == nil { + invalidParams.Add(request.NewErrParamRequired("EntityId")) + } + if s.EntityId != nil && len(*s.EntityId) < 12 { + invalidParams.Add(request.NewErrParamMinLen("EntityId", 12)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEntityId sets the EntityId field's value. +func (s *ListAliasesInput) SetEntityId(v string) *ListAliasesInput { + s.EntityId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAliasesInput) SetMaxResults(v int64) *ListAliasesInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput { + s.NextToken = &v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *ListAliasesInput) SetOrganizationId(v string) *ListAliasesInput { + s.OrganizationId = &v + return s +} + +type ListAliasesOutput struct { + _ struct{} `type:"structure"` + + // The entity's paginated aliases. + Aliases []*string `type:"list"` + + // The token to use to retrieve the next page of results. The value is "null" + // when there are no more results to return. + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAliasesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListAliasesOutput) GoString() string { + return s.String() +} + +// SetAliases sets the Aliases field's value. +func (s *ListAliasesOutput) SetAliases(v []*string) *ListAliasesOutput { + s.Aliases = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput { + s.NextToken = &v + return s +} + +type ListAvailabilityConfigurationsInput struct { _ struct{} `type:"structure"` - // The identifier for the entity for which to list the aliases. - // - // EntityId is a required field - EntityId *string `min:"12" type:"string" required:"true"` - // The maximum number of results to return in a single call. MaxResults *int64 `min:"1" type:"integer"` // The token to use to retrieve the next page of results. The first call does - // not contain any tokens. + // not require a token. NextToken *string `min:"1" type:"string"` - // The identifier for the organization under which the entity exists. + // The Amazon WorkMail organization for which the AvailabilityConfiguration's + // will be listed. // // OrganizationId is a required field OrganizationId *string `min:"34" type:"string" required:"true"` @@ -12827,7 +13899,7 @@ type ListAliasesInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAliasesInput) String() string { +func (s ListAvailabilityConfigurationsInput) String() string { return awsutil.Prettify(s) } @@ -12836,19 +13908,13 @@ func (s ListAliasesInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAliasesInput) GoString() string { +func (s ListAvailabilityConfigurationsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListAliasesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAliasesInput"} - if s.EntityId == nil { - invalidParams.Add(request.NewErrParamRequired("EntityId")) - } - if s.EntityId != nil && len(*s.EntityId) < 12 { - invalidParams.Add(request.NewErrParamMinLen("EntityId", 12)) - } +func (s *ListAvailabilityConfigurationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAvailabilityConfigurationsInput"} if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -12868,38 +13934,33 @@ func (s *ListAliasesInput) Validate() error { return nil } -// SetEntityId sets the EntityId field's value. -func (s *ListAliasesInput) SetEntityId(v string) *ListAliasesInput { - s.EntityId = &v - return s -} - // SetMaxResults sets the MaxResults field's value. -func (s *ListAliasesInput) SetMaxResults(v int64) *ListAliasesInput { +func (s *ListAvailabilityConfigurationsInput) SetMaxResults(v int64) *ListAvailabilityConfigurationsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAliasesInput) SetNextToken(v string) *ListAliasesInput { +func (s *ListAvailabilityConfigurationsInput) SetNextToken(v string) *ListAvailabilityConfigurationsInput { s.NextToken = &v return s } // SetOrganizationId sets the OrganizationId field's value. -func (s *ListAliasesInput) SetOrganizationId(v string) *ListAliasesInput { +func (s *ListAvailabilityConfigurationsInput) SetOrganizationId(v string) *ListAvailabilityConfigurationsInput { s.OrganizationId = &v return s } -type ListAliasesOutput struct { +type ListAvailabilityConfigurationsOutput struct { _ struct{} `type:"structure"` - // The entity's paginated aliases. - Aliases []*string `type:"list"` + // The list of AvailabilityConfiguration's that exist for the specified Amazon + // WorkMail organization. + AvailabilityConfigurations []*AvailabilityConfiguration `type:"list"` - // The token to use to retrieve the next page of results. The value is "null" - // when there are no more results to return. + // The token to use to retrieve the next page of results. The value is null + // when there are no further results to return. NextToken *string `min:"1" type:"string"` } @@ -12908,7 +13969,7 @@ type ListAliasesOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAliasesOutput) String() string { +func (s ListAvailabilityConfigurationsOutput) String() string { return awsutil.Prettify(s) } @@ -12917,18 +13978,18 @@ func (s ListAliasesOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListAliasesOutput) GoString() string { +func (s ListAvailabilityConfigurationsOutput) GoString() string { return s.String() } -// SetAliases sets the Aliases field's value. -func (s *ListAliasesOutput) SetAliases(v []*string) *ListAliasesOutput { - s.Aliases = v +// SetAvailabilityConfigurations sets the AvailabilityConfigurations field's value. +func (s *ListAvailabilityConfigurationsOutput) SetAvailabilityConfigurations(v []*AvailabilityConfiguration) *ListAvailabilityConfigurationsOutput { + s.AvailabilityConfigurations = v return s } // SetNextToken sets the NextToken field's value. -func (s *ListAliasesOutput) SetNextToken(v string) *ListAliasesOutput { +func (s *ListAvailabilityConfigurationsOutput) SetNextToken(v string) *ListAvailabilityConfigurationsOutput { s.NextToken = &v return s } @@ -16095,6 +17156,48 @@ func (s PutRetentionPolicyOutput) GoString() string { return s.String() } +// Describes an EWS based availability provider when returned from the service. +// It does not contain the password of the endpoint. +type RedactedEwsAvailabilityProvider struct { + _ struct{} `type:"structure"` + + // The endpoint of the remote EWS server. + EwsEndpoint *string `type:"string"` + + // The username used to authenticate the remote EWS server. + EwsUsername *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RedactedEwsAvailabilityProvider) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s RedactedEwsAvailabilityProvider) GoString() string { + return s.String() +} + +// SetEwsEndpoint sets the EwsEndpoint field's value. +func (s *RedactedEwsAvailabilityProvider) SetEwsEndpoint(v string) *RedactedEwsAvailabilityProvider { + s.EwsEndpoint = &v + return s +} + +// SetEwsUsername sets the EwsUsername field's value. +func (s *RedactedEwsAvailabilityProvider) SetEwsUsername(v string) *RedactedEwsAvailabilityProvider { + s.EwsUsername = &v + return s +} + type RegisterMailDomainInput struct { _ struct{} `type:"structure"` @@ -16969,6 +18072,138 @@ func (s TagResourceOutput) GoString() string { return s.String() } +type TestAvailabilityConfigurationInput struct { + _ struct{} `type:"structure"` + + // The domain to which the provider applies. If this field is provided, a stored + // availability provider associated to this domain name will be tested. + DomainName *string `min:"3" type:"string"` + + // Describes an EWS based availability provider. This is only used as input + // to the service. + EwsProvider *EwsAvailabilityProvider `type:"structure"` + + // Describes a Lambda based availability provider. + LambdaProvider *LambdaAvailabilityProvider `type:"structure"` + + // The Amazon WorkMail organization where the availability provider will be + // tested. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestAvailabilityConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestAvailabilityConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TestAvailabilityConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TestAvailabilityConfigurationInput"} + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + if s.EwsProvider != nil { + if err := s.EwsProvider.Validate(); err != nil { + invalidParams.AddNested("EwsProvider", err.(request.ErrInvalidParams)) + } + } + if s.LambdaProvider != nil { + if err := s.LambdaProvider.Validate(); err != nil { + invalidParams.AddNested("LambdaProvider", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *TestAvailabilityConfigurationInput) SetDomainName(v string) *TestAvailabilityConfigurationInput { + s.DomainName = &v + return s +} + +// SetEwsProvider sets the EwsProvider field's value. +func (s *TestAvailabilityConfigurationInput) SetEwsProvider(v *EwsAvailabilityProvider) *TestAvailabilityConfigurationInput { + s.EwsProvider = v + return s +} + +// SetLambdaProvider sets the LambdaProvider field's value. +func (s *TestAvailabilityConfigurationInput) SetLambdaProvider(v *LambdaAvailabilityProvider) *TestAvailabilityConfigurationInput { + s.LambdaProvider = v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *TestAvailabilityConfigurationInput) SetOrganizationId(v string) *TestAvailabilityConfigurationInput { + s.OrganizationId = &v + return s +} + +type TestAvailabilityConfigurationOutput struct { + _ struct{} `type:"structure"` + + // String containing the reason for a failed test if TestPassed is false. + FailureReason *string `type:"string"` + + // Boolean indicating whether the test passed or failed. + TestPassed *bool `type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestAvailabilityConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TestAvailabilityConfigurationOutput) GoString() string { + return s.String() +} + +// SetFailureReason sets the FailureReason field's value. +func (s *TestAvailabilityConfigurationOutput) SetFailureReason(v string) *TestAvailabilityConfigurationOutput { + s.FailureReason = &v + return s +} + +// SetTestPassed sets the TestPassed field's value. +func (s *TestAvailabilityConfigurationOutput) SetTestPassed(v bool) *TestAvailabilityConfigurationOutput { + s.TestPassed = &v + return s +} + // The resource can have up to 50 user-applied tags. type TooManyTagsException struct { _ struct{} `type:"structure"` @@ -17182,6 +18417,127 @@ func (s UntagResourceOutput) GoString() string { return s.String() } +type UpdateAvailabilityConfigurationInput struct { + _ struct{} `type:"structure"` + + // The domain to which the provider applies the availability configuration. + // + // DomainName is a required field + DomainName *string `min:"3" type:"string" required:"true"` + + // The EWS availability provider definition. The request must contain exactly + // one provider definition, either EwsProvider or LambdaProvider. The previously + // stored provider will be overridden by the one provided. + EwsProvider *EwsAvailabilityProvider `type:"structure"` + + // The Lambda availability provider definition. The request must contain exactly + // one provider definition, either EwsProvider or LambdaProvider. The previously + // stored provider will be overridden by the one provided. + LambdaProvider *LambdaAvailabilityProvider `type:"structure"` + + // The Amazon WorkMail organization for which the AvailabilityConfiguration + // will be updated. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAvailabilityConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAvailabilityConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateAvailabilityConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateAvailabilityConfigurationInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.DomainName != nil && len(*s.DomainName) < 3 { + invalidParams.Add(request.NewErrParamMinLen("DomainName", 3)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + if s.EwsProvider != nil { + if err := s.EwsProvider.Validate(); err != nil { + invalidParams.AddNested("EwsProvider", err.(request.ErrInvalidParams)) + } + } + if s.LambdaProvider != nil { + if err := s.LambdaProvider.Validate(); err != nil { + invalidParams.AddNested("LambdaProvider", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *UpdateAvailabilityConfigurationInput) SetDomainName(v string) *UpdateAvailabilityConfigurationInput { + s.DomainName = &v + return s +} + +// SetEwsProvider sets the EwsProvider field's value. +func (s *UpdateAvailabilityConfigurationInput) SetEwsProvider(v *EwsAvailabilityProvider) *UpdateAvailabilityConfigurationInput { + s.EwsProvider = v + return s +} + +// SetLambdaProvider sets the LambdaProvider field's value. +func (s *UpdateAvailabilityConfigurationInput) SetLambdaProvider(v *LambdaAvailabilityProvider) *UpdateAvailabilityConfigurationInput { + s.LambdaProvider = v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *UpdateAvailabilityConfigurationInput) SetOrganizationId(v string) *UpdateAvailabilityConfigurationInput { + s.OrganizationId = &v + return s +} + +type UpdateAvailabilityConfigurationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAvailabilityConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateAvailabilityConfigurationOutput) GoString() string { + return s.String() +} + type UpdateDefaultMailDomainInput struct { _ struct{} `type:"structure"` @@ -17933,6 +19289,22 @@ func AccessControlRuleEffect_Values() []string { } } +const ( + // AvailabilityProviderTypeEws is a AvailabilityProviderType enum value + AvailabilityProviderTypeEws = "EWS" + + // AvailabilityProviderTypeLambda is a AvailabilityProviderType enum value + AvailabilityProviderTypeLambda = "LAMBDA" +) + +// AvailabilityProviderType_Values returns all elements of the AvailabilityProviderType enum +func AvailabilityProviderType_Values() []string { + return []string{ + AvailabilityProviderTypeEws, + AvailabilityProviderTypeLambda, + } +} + const ( // DnsRecordVerificationStatusPending is a DnsRecordVerificationStatus enum value DnsRecordVerificationStatusPending = "PENDING" diff --git a/service/workmail/workmailiface/interface.go b/service/workmail/workmailiface/interface.go index 05cd644fcdd..17ad8ecc3c7 100644 --- a/service/workmail/workmailiface/interface.go +++ b/service/workmail/workmailiface/interface.go @@ -76,6 +76,10 @@ type WorkMailAPI interface { CreateAliasWithContext(aws.Context, *workmail.CreateAliasInput, ...request.Option) (*workmail.CreateAliasOutput, error) CreateAliasRequest(*workmail.CreateAliasInput) (*request.Request, *workmail.CreateAliasOutput) + CreateAvailabilityConfiguration(*workmail.CreateAvailabilityConfigurationInput) (*workmail.CreateAvailabilityConfigurationOutput, error) + CreateAvailabilityConfigurationWithContext(aws.Context, *workmail.CreateAvailabilityConfigurationInput, ...request.Option) (*workmail.CreateAvailabilityConfigurationOutput, error) + CreateAvailabilityConfigurationRequest(*workmail.CreateAvailabilityConfigurationInput) (*request.Request, *workmail.CreateAvailabilityConfigurationOutput) + CreateGroup(*workmail.CreateGroupInput) (*workmail.CreateGroupOutput, error) CreateGroupWithContext(aws.Context, *workmail.CreateGroupInput, ...request.Option) (*workmail.CreateGroupOutput, error) CreateGroupRequest(*workmail.CreateGroupInput) (*request.Request, *workmail.CreateGroupOutput) @@ -104,6 +108,10 @@ type WorkMailAPI interface { DeleteAliasWithContext(aws.Context, *workmail.DeleteAliasInput, ...request.Option) (*workmail.DeleteAliasOutput, error) DeleteAliasRequest(*workmail.DeleteAliasInput) (*request.Request, *workmail.DeleteAliasOutput) + DeleteAvailabilityConfiguration(*workmail.DeleteAvailabilityConfigurationInput) (*workmail.DeleteAvailabilityConfigurationOutput, error) + DeleteAvailabilityConfigurationWithContext(aws.Context, *workmail.DeleteAvailabilityConfigurationInput, ...request.Option) (*workmail.DeleteAvailabilityConfigurationOutput, error) + DeleteAvailabilityConfigurationRequest(*workmail.DeleteAvailabilityConfigurationInput) (*request.Request, *workmail.DeleteAvailabilityConfigurationOutput) + DeleteEmailMonitoringConfiguration(*workmail.DeleteEmailMonitoringConfigurationInput) (*workmail.DeleteEmailMonitoringConfigurationOutput, error) DeleteEmailMonitoringConfigurationWithContext(aws.Context, *workmail.DeleteEmailMonitoringConfigurationInput, ...request.Option) (*workmail.DeleteEmailMonitoringConfigurationOutput, error) DeleteEmailMonitoringConfigurationRequest(*workmail.DeleteEmailMonitoringConfigurationInput) (*request.Request, *workmail.DeleteEmailMonitoringConfigurationOutput) @@ -219,6 +227,13 @@ type WorkMailAPI interface { ListAliasesPages(*workmail.ListAliasesInput, func(*workmail.ListAliasesOutput, bool) bool) error ListAliasesPagesWithContext(aws.Context, *workmail.ListAliasesInput, func(*workmail.ListAliasesOutput, bool) bool, ...request.Option) error + ListAvailabilityConfigurations(*workmail.ListAvailabilityConfigurationsInput) (*workmail.ListAvailabilityConfigurationsOutput, error) + ListAvailabilityConfigurationsWithContext(aws.Context, *workmail.ListAvailabilityConfigurationsInput, ...request.Option) (*workmail.ListAvailabilityConfigurationsOutput, error) + ListAvailabilityConfigurationsRequest(*workmail.ListAvailabilityConfigurationsInput) (*request.Request, *workmail.ListAvailabilityConfigurationsOutput) + + ListAvailabilityConfigurationsPages(*workmail.ListAvailabilityConfigurationsInput, func(*workmail.ListAvailabilityConfigurationsOutput, bool) bool) error + ListAvailabilityConfigurationsPagesWithContext(aws.Context, *workmail.ListAvailabilityConfigurationsInput, func(*workmail.ListAvailabilityConfigurationsOutput, bool) bool, ...request.Option) error + ListGroupMembers(*workmail.ListGroupMembersInput) (*workmail.ListGroupMembersOutput, error) ListGroupMembersWithContext(aws.Context, *workmail.ListGroupMembersInput, ...request.Option) (*workmail.ListGroupMembersOutput, error) ListGroupMembersRequest(*workmail.ListGroupMembersInput) (*request.Request, *workmail.ListGroupMembersOutput) @@ -341,10 +356,18 @@ type WorkMailAPI interface { TagResourceWithContext(aws.Context, *workmail.TagResourceInput, ...request.Option) (*workmail.TagResourceOutput, error) TagResourceRequest(*workmail.TagResourceInput) (*request.Request, *workmail.TagResourceOutput) + TestAvailabilityConfiguration(*workmail.TestAvailabilityConfigurationInput) (*workmail.TestAvailabilityConfigurationOutput, error) + TestAvailabilityConfigurationWithContext(aws.Context, *workmail.TestAvailabilityConfigurationInput, ...request.Option) (*workmail.TestAvailabilityConfigurationOutput, error) + TestAvailabilityConfigurationRequest(*workmail.TestAvailabilityConfigurationInput) (*request.Request, *workmail.TestAvailabilityConfigurationOutput) + UntagResource(*workmail.UntagResourceInput) (*workmail.UntagResourceOutput, error) UntagResourceWithContext(aws.Context, *workmail.UntagResourceInput, ...request.Option) (*workmail.UntagResourceOutput, error) UntagResourceRequest(*workmail.UntagResourceInput) (*request.Request, *workmail.UntagResourceOutput) + UpdateAvailabilityConfiguration(*workmail.UpdateAvailabilityConfigurationInput) (*workmail.UpdateAvailabilityConfigurationOutput, error) + UpdateAvailabilityConfigurationWithContext(aws.Context, *workmail.UpdateAvailabilityConfigurationInput, ...request.Option) (*workmail.UpdateAvailabilityConfigurationOutput, error) + UpdateAvailabilityConfigurationRequest(*workmail.UpdateAvailabilityConfigurationInput) (*request.Request, *workmail.UpdateAvailabilityConfigurationOutput) + UpdateDefaultMailDomain(*workmail.UpdateDefaultMailDomainInput) (*workmail.UpdateDefaultMailDomainOutput, error) UpdateDefaultMailDomainWithContext(aws.Context, *workmail.UpdateDefaultMailDomainInput, ...request.Option) (*workmail.UpdateDefaultMailDomainOutput, error) UpdateDefaultMailDomainRequest(*workmail.UpdateDefaultMailDomainInput) (*request.Request, *workmail.UpdateDefaultMailDomainOutput)