diff --git a/CHANGELOG.md b/CHANGELOG.md index 645b1e2920..28b9f6ccb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +Release v1.44.38 (2022-06-20) +=== + +### Service Client Updates +* `service/ds`: Updates service API and documentation + * This release adds support for describing and updating AWS Managed Microsoft AD settings +* `service/kafka`: Updates service documentation +* `service/outposts`: Updates service API and documentation + Release v1.44.37 (2022-06-17) === diff --git a/aws/version.go b/aws/version.go index 3bf33f8de1..587a4d8b76 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.37" +const SDKVersion = "1.44.38" diff --git a/models/apis/ds/2015-04-16/api-2.json b/models/apis/ds/2015-04-16/api-2.json index eaa84695ca..e9bd08031e 100644 --- a/models/apis/ds/2015-04-16/api-2.json +++ b/models/apis/ds/2015-04-16/api-2.json @@ -492,6 +492,23 @@ {"shape":"ServiceException"} ] }, + "DescribeSettings":{ + "name":"DescribeSettings", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeSettingsRequest"}, + "output":{"shape":"DescribeSettingsResult"}, + "errors":[ + {"shape":"DirectoryDoesNotExistException"}, + {"shape":"UnsupportedOperationException"}, + {"shape":"InvalidParameterException"}, + {"shape":"InvalidNextTokenException"}, + {"shape":"ClientException"}, + {"shape":"ServiceException"} + ] + }, "DescribeSharedDirectories":{ "name":"DescribeSharedDirectories", "http":{ @@ -1019,6 +1036,25 @@ {"shape":"ServiceException"} ] }, + "UpdateSettings":{ + "name":"UpdateSettings", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateSettingsRequest"}, + "output":{"shape":"UpdateSettingsResult"}, + "errors":[ + {"shape":"DirectoryDoesNotExistException"}, + {"shape":"UnsupportedOperationException"}, + {"shape":"DirectoryUnavailableException"}, + {"shape":"IncompatibleSettingsException"}, + {"shape":"UnsupportedSettingsException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ClientException"}, + {"shape":"ServiceException"} + ] + }, "UpdateTrust":{ "name":"UpdateTrust", "http":{ @@ -1304,7 +1340,10 @@ }, "ClientAuthenticationType":{ "type":"string", - "enum":["SmartCard"] + "enum":[ + "SmartCard", + "SmartCardOrPassword" + ] }, "ClientCertAuthSettings":{ "type":"structure", @@ -1780,6 +1819,23 @@ "NextToken":{"shape":"NextToken"} } }, + "DescribeSettingsRequest":{ + "type":"structure", + "required":["DirectoryId"], + "members":{ + "DirectoryId":{"shape":"DirectoryId"}, + "Status":{"shape":"DirectoryConfigurationStatus"}, + "NextToken":{"shape":"NextToken"} + } + }, + "DescribeSettingsResult":{ + "type":"structure", + "members":{ + "DirectoryId":{"shape":"DirectoryId"}, + "SettingEntries":{"shape":"SettingEntries"}, + "NextToken":{"shape":"NextToken"} + } + }, "DescribeSharedDirectoriesRequest":{ "type":"structure", "required":["OwnerDirectoryId"], @@ -1855,6 +1911,38 @@ }, "exception":true }, + "DirectoryConfigurationSettingAllowedValues":{"type":"string"}, + "DirectoryConfigurationSettingLastRequestedDateTime":{"type":"timestamp"}, + "DirectoryConfigurationSettingLastUpdatedDateTime":{"type":"timestamp"}, + "DirectoryConfigurationSettingName":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^[a-zA-Z0-9-/. _]*$" + }, + "DirectoryConfigurationSettingRequestDetailedStatus":{ + "type":"map", + "key":{"shape":"RegionName"}, + "value":{"shape":"DirectoryConfigurationStatus"} + }, + "DirectoryConfigurationSettingRequestStatusMessage":{"type":"string"}, + "DirectoryConfigurationSettingType":{"type":"string"}, + "DirectoryConfigurationSettingValue":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^[a-zA-Z0-9]*$" + }, + "DirectoryConfigurationStatus":{ + "type":"string", + "enum":[ + "Requested", + "Updating", + "Updated", + "Failed", + "Default" + ] + }, "DirectoryConnectSettings":{ "type":"structure", "required":[ @@ -2264,6 +2352,14 @@ "SnapshotLimits":{"shape":"SnapshotLimits"} } }, + "IncompatibleSettingsException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ExceptionMessage"}, + "RequestId":{"shape":"RequestId"} + }, + "exception":true + }, "InsufficientPermissionsException":{ "type":"structure", "members":{ @@ -2885,6 +2981,40 @@ "exception":true, "fault":true }, + "Setting":{ + "type":"structure", + "required":[ + "Name", + "Value" + ], + "members":{ + "Name":{"shape":"DirectoryConfigurationSettingName"}, + "Value":{"shape":"DirectoryConfigurationSettingValue"} + } + }, + "SettingEntries":{ + "type":"list", + "member":{"shape":"SettingEntry"} + }, + "SettingEntry":{ + "type":"structure", + "members":{ + "Type":{"shape":"DirectoryConfigurationSettingType"}, + "Name":{"shape":"DirectoryConfigurationSettingName"}, + "AllowedValues":{"shape":"DirectoryConfigurationSettingAllowedValues"}, + "AppliedValue":{"shape":"DirectoryConfigurationSettingValue"}, + "RequestedValue":{"shape":"DirectoryConfigurationSettingValue"}, + "RequestStatus":{"shape":"DirectoryConfigurationStatus"}, + "RequestDetailedStatus":{"shape":"DirectoryConfigurationSettingRequestDetailedStatus"}, + "RequestStatusMessage":{"shape":"DirectoryConfigurationSettingRequestStatusMessage"}, + "LastUpdatedDateTime":{"shape":"DirectoryConfigurationSettingLastUpdatedDateTime"}, + "LastRequestedDateTime":{"shape":"DirectoryConfigurationSettingLastRequestedDateTime"} + } + }, + "Settings":{ + "type":"list", + "member":{"shape":"Setting"} + }, "ShareDirectoryRequest":{ "type":"structure", "required":[ @@ -3162,7 +3292,7 @@ "type":"string", "max":128, "min":1, - "pattern":"(.|\\s)*\\S(.|\\s)*", + "pattern":"^(\\p{LD}|\\p{Punct}| )+$", "sensitive":true }, "TrustState":{ @@ -3229,6 +3359,14 @@ }, "exception":true }, + "UnsupportedSettingsException":{ + "type":"structure", + "members":{ + "Message":{"shape":"ExceptionMessage"}, + "RequestId":{"shape":"RequestId"} + }, + "exception":true + }, "UpdateConditionalForwarderRequest":{ "type":"structure", "required":[ @@ -3280,6 +3418,23 @@ } }, "UpdateSecurityGroupForDirectoryControllers":{"type":"boolean"}, + "UpdateSettingsRequest":{ + "type":"structure", + "required":[ + "DirectoryId", + "Settings" + ], + "members":{ + "DirectoryId":{"shape":"DirectoryId"}, + "Settings":{"shape":"Settings"} + } + }, + "UpdateSettingsResult":{ + "type":"structure", + "members":{ + "DirectoryId":{"shape":"DirectoryId"} + } + }, "UpdateTrustRequest":{ "type":"structure", "required":["TrustId"], diff --git a/models/apis/ds/2015-04-16/docs-2.json b/models/apis/ds/2015-04-16/docs-2.json index 6dac6ca57f..e6c1c75392 100644 --- a/models/apis/ds/2015-04-16/docs-2.json +++ b/models/apis/ds/2015-04-16/docs-2.json @@ -31,6 +31,7 @@ "DescribeEventTopics": "

Obtains information about which Amazon SNS topics receive status messages from the specified directory.

If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.

", "DescribeLDAPSSettings": "

Describes the status of LDAP security for the specified directory.

", "DescribeRegions": "

Provides information about the Regions that are configured for multi-Region replication.

", + "DescribeSettings": "

Retrieves information about the configurable settings for the specified directory.

", "DescribeSharedDirectories": "

Returns the shared directories in your account.

", "DescribeSnapshots": "

Obtains information about the directory snapshots that belong to this account.

This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the DescribeSnapshots.NextToken member contains a token that you pass in the next call to DescribeSnapshots to retrieve the next set of items.

You can also specify a maximum number of return results with the Limit parameter.

", "DescribeTrusts": "

Obtains information about the trust relationships for this account.

If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.

", @@ -63,6 +64,7 @@ "UpdateConditionalForwarder": "

Updates a conditional forwarder that has been set up for your Amazon Web Services directory.

", "UpdateNumberOfDomainControllers": "

Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.

", "UpdateRadius": "

Updates the Remote Authentication Dial In User Service (RADIUS) server information for an AD Connector or Microsoft AD directory.

", + "UpdateSettings": "

Updates the configurable settings for the specified directory.

", "UpdateTrust": "

Updates the trust that has been set up between your Managed Microsoft AD directory and an self-managed Active Directory.

", "VerifyTrust": "

Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.

This action verifies a trust relationship between your Managed Microsoft AD directory and an external domain.

" }, @@ -666,6 +668,16 @@ "refs": { } }, + "DescribeSettingsRequest": { + "base": null, + "refs": { + } + }, + "DescribeSettingsResult": { + "base": null, + "refs": { + } + }, "DescribeSharedDirectoriesRequest": { "base": null, "refs": { @@ -727,6 +739,65 @@ "refs": { } }, + "DirectoryConfigurationSettingAllowedValues": { + "base": null, + "refs": { + "SettingEntry$AllowedValues": "

The valid range of values for the directory setting.

" + } + }, + "DirectoryConfigurationSettingLastRequestedDateTime": { + "base": null, + "refs": { + "SettingEntry$LastRequestedDateTime": "

The date and time when the request to update a directory setting was last submitted.

" + } + }, + "DirectoryConfigurationSettingLastUpdatedDateTime": { + "base": null, + "refs": { + "SettingEntry$LastUpdatedDateTime": "

The date and time when the directory setting was last updated.

" + } + }, + "DirectoryConfigurationSettingName": { + "base": null, + "refs": { + "Setting$Name": "

The name of the directory setting. For example:

TLS_1_0

", + "SettingEntry$Name": "

The name of the directory setting. For example:

TLS_1_0

" + } + }, + "DirectoryConfigurationSettingRequestDetailedStatus": { + "base": null, + "refs": { + "SettingEntry$RequestDetailedStatus": "

Details about the status of the request to update the directory setting. If the directory setting is deployed in more than one region, status is returned for the request in each region where the setting is deployed.

" + } + }, + "DirectoryConfigurationSettingRequestStatusMessage": { + "base": null, + "refs": { + "SettingEntry$RequestStatusMessage": "

The last status message for the directory status request.

" + } + }, + "DirectoryConfigurationSettingType": { + "base": null, + "refs": { + "SettingEntry$Type": "

The type of directory setting. For example, Protocol or Cipher.

" + } + }, + "DirectoryConfigurationSettingValue": { + "base": null, + "refs": { + "Setting$Value": "

The value of the directory setting for which to retrieve information. For example, for TLS_1_0, the valid values are: Enable and Disable.

", + "SettingEntry$AppliedValue": "

The value of the directory setting that is applied to the directory.

", + "SettingEntry$RequestedValue": "

The value that was last requested for the directory setting.

" + } + }, + "DirectoryConfigurationStatus": { + "base": null, + "refs": { + "DescribeSettingsRequest$Status": "

The status of the directory settings for which to retrieve information.

", + "DirectoryConfigurationSettingRequestDetailedStatus$value": null, + "SettingEntry$RequestStatus": "

The overall status of the request to update the directory setting request. If the directory setting is deployed in more than one region, and the request fails in any region, the overall status is Failed.

" + } + }, "DirectoryConnectSettings": { "base": "

Contains information for the ConnectDirectory operation when an AD Connector directory is being created.

", "refs": { @@ -793,6 +864,8 @@ "DescribeEventTopicsRequest$DirectoryId": "

The Directory ID for which to get the list of associated Amazon SNS topics. If this member is null, associations for all Directory IDs are returned.

", "DescribeLDAPSSettingsRequest$DirectoryId": "

The identifier of the directory.

", "DescribeRegionsRequest$DirectoryId": "

The identifier of the directory.

", + "DescribeSettingsRequest$DirectoryId": "

The identifier of the directory for which to retrieve information.

", + "DescribeSettingsResult$DirectoryId": "

The identifier of the directory.

", "DescribeSharedDirectoriesRequest$OwnerDirectoryId": "

Returns the identifier of the directory in the directory owner account.

", "DescribeSnapshotsRequest$DirectoryId": "

The identifier of the directory for which to retrieve snapshot information.

", "DescribeTrustsRequest$DirectoryId": "

The Directory ID of the Amazon Web Services directory that is a part of the requested trust relationship.

", @@ -836,7 +909,9 @@ "UnshareDirectoryResult$SharedDirectoryId": "

Identifier of the directory stored in the directory consumer account that is to be unshared from the specified directory (DirectoryId).

", "UpdateConditionalForwarderRequest$DirectoryId": "

The directory ID of the Amazon Web Services directory for which to update the conditional forwarder.

", "UpdateNumberOfDomainControllersRequest$DirectoryId": "

Identifier of the directory to which the domain controllers will be added or removed.

", - "UpdateRadiusRequest$DirectoryId": "

The identifier of the directory for which to update the RADIUS server information.

" + "UpdateRadiusRequest$DirectoryId": "

The identifier of the directory for which to update the RADIUS server information.

", + "UpdateSettingsRequest$DirectoryId": "

The identifier of the directory for which to update settings.

", + "UpdateSettingsResult$DirectoryId": "

The identifier of the directory.

" } }, "DirectoryIds": { @@ -1103,6 +1178,7 @@ "DomainControllerLimitExceededException$Message": null, "EntityAlreadyExistsException$Message": null, "EntityDoesNotExistException$Message": null, + "IncompatibleSettingsException$Message": null, "InsufficientPermissionsException$Message": null, "InvalidCertificateException$Message": null, "InvalidClientAuthStatusException$Message": null, @@ -1120,6 +1196,7 @@ "SnapshotLimitExceededException$Message": null, "TagLimitExceededException$Message": null, "UnsupportedOperationException$Message": null, + "UnsupportedSettingsException$Message": null, "UserDoesNotExistException$Message": null } }, @@ -1143,6 +1220,11 @@ "refs": { } }, + "IncompatibleSettingsException": { + "base": "

The specified directory setting is not compatible with other settings.

", + "refs": { + } + }, "InsufficientPermissionsException": { "base": "

The account does not have sufficient permission to perform the operation.

", "refs": { @@ -1406,6 +1488,8 @@ "DescribeLDAPSSettingsResult$NextToken": "

The next token used to retrieve the LDAPS settings if the number of setting types exceeds page limit and there is another page.

", "DescribeRegionsRequest$NextToken": "

The DescribeRegionsResult.NextToken value from a previous call to DescribeRegions. Pass null if this is the first call.

", "DescribeRegionsResult$NextToken": "

If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeRegions to retrieve the next set of items.

", + "DescribeSettingsRequest$NextToken": "

The DescribeSettingsResult.NextToken value from a previous call to DescribeSettings. Pass null if this is the first call.

", + "DescribeSettingsResult$NextToken": "

If not null, token that indicates that more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeSettings to retrieve the next set of items.

", "DescribeSharedDirectoriesRequest$NextToken": "

The DescribeSharedDirectoriesResult.NextToken value from a previous call to DescribeSharedDirectories. Pass null if this is the first call.

", "DescribeSharedDirectoriesResult$NextToken": "

If not null, token that indicates that more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeSharedDirectories to retrieve the next set of items.

", "DescribeSnapshotsRequest$NextToken": "

The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call.

", @@ -1544,6 +1628,7 @@ "AddRegionRequest$RegionName": "

The name of the Region where you want to add domain controllers for replication. For example, us-east-1.

", "AdditionalRegions$member": null, "DescribeRegionsRequest$RegionName": "

The name of the Region. For example, us-east-1.

", + "DirectoryConfigurationSettingRequestDetailedStatus$key": null, "RegionDescription$RegionName": "

The name of the Region. For example, us-east-1.

", "RegionsInfo$PrimaryRegion": "

The Region where the Managed Microsoft AD directory was originally created.

" } @@ -1669,6 +1754,7 @@ "DomainControllerLimitExceededException$RequestId": null, "EntityAlreadyExistsException$RequestId": null, "EntityDoesNotExistException$RequestId": null, + "IncompatibleSettingsException$RequestId": null, "InsufficientPermissionsException$RequestId": null, "InvalidCertificateException$RequestId": null, "InvalidClientAuthStatusException$RequestId": null, @@ -1686,6 +1772,7 @@ "SnapshotLimitExceededException$RequestId": null, "TagLimitExceededException$RequestId": null, "UnsupportedOperationException$RequestId": null, + "UnsupportedSettingsException$RequestId": null, "UpdateTrustResult$RequestId": null, "UserDoesNotExistException$RequestId": null } @@ -1788,6 +1875,30 @@ "refs": { } }, + "Setting": { + "base": "

Contains information about the configurable settings for a directory.

", + "refs": { + "Settings$member": null + } + }, + "SettingEntries": { + "base": null, + "refs": { + "DescribeSettingsResult$SettingEntries": "

The list of SettingEntry objects that were retrieved.

It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.

" + } + }, + "SettingEntry": { + "base": "

Contains information about the specified configurable setting for a directory.

", + "refs": { + "SettingEntries$member": null + } + }, + "Settings": { + "base": null, + "refs": { + "UpdateSettingsRequest$Settings": "

The list of Setting objects.

" + } + }, "ShareDirectoryRequest": { "base": null, "refs": { @@ -2125,6 +2236,11 @@ "refs": { } }, + "UnsupportedSettingsException": { + "base": "

The specified directory setting is not supported.

", + "refs": { + } + }, "UpdateConditionalForwarderRequest": { "base": "

Updates a conditional forwarder.

", "refs": { @@ -2161,6 +2277,16 @@ "AddIpRoutesRequest$UpdateSecurityGroupForDirectoryControllers": "

If set to true, updates the inbound and outbound rules of the security group that has the description: \"Amazon Web Services created security group for directory ID directory controllers.\" Following are the new rules:

Inbound:

Outbound:

These security rules impact an internal network interface that is not exposed publicly.

" } }, + "UpdateSettingsRequest": { + "base": null, + "refs": { + } + }, + "UpdateSettingsResult": { + "base": null, + "refs": { + } + }, "UpdateTrustRequest": { "base": null, "refs": { diff --git a/models/apis/kafka/2018-11-14/docs-2.json b/models/apis/kafka/2018-11-14/docs-2.json index 0990fa44ce..f400f9fb68 100644 --- a/models/apis/kafka/2018-11-14/docs-2.json +++ b/models/apis/kafka/2018-11-14/docs-2.json @@ -791,7 +791,7 @@ "base" : null, "refs" : { "BatchAssociateScramSecretRequest$SecretArnList" : "

List of AWS Secrets Manager secret ARNs.

", - "BrokerNodeGroupInfo$ClientSubnets" : "

The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.

", + "BrokerNodeGroupInfo$ClientSubnets" : "

The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.

", "BrokerNodeGroupInfo$SecurityGroups" : "

The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC. If you specify security groups that were shared with you, you must ensure that you have permissions to them. Specifically, you need the ec2:DescribeSecurityGroups permission.

", "BrokerNodeInfo$Endpoints" : "

Endpoints for accessing the broker.

", "Configuration$KafkaVersions" : "

An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.

", diff --git a/models/apis/outposts/2019-12-03/api-2.json b/models/apis/outposts/2019-12-03/api-2.json index 59886bea64..585c5b2b6d 100644 --- a/models/apis/outposts/2019-12-03/api-2.json +++ b/models/apis/outposts/2019-12-03/api-2.json @@ -488,13 +488,20 @@ "AssetId":{"shape":"AssetId"}, "RackId":{"shape":"RackId"}, "AssetType":{"shape":"AssetType"}, - "ComputeAttributes":{"shape":"ComputeAttributes"} + "ComputeAttributes":{"shape":"ComputeAttributes"}, + "AssetLocation":{"shape":"AssetLocation"} } }, "AssetListDefinition":{ "type":"list", "member":{"shape":"AssetInfo"} }, + "AssetLocation":{ + "type":"structure", + "members":{ + "RackElevation":{"shape":"RackElevation"} + } + }, "AssetType":{ "type":"string", "enum":["COMPUTE"] @@ -1441,6 +1448,12 @@ ] }, "Quantity":{"type":"string"}, + "RackElevation":{ + "type":"float", + "box":true, + "max":99, + "min":0 + }, "RackId":{ "type":"string", "max":20, diff --git a/models/apis/outposts/2019-12-03/docs-2.json b/models/apis/outposts/2019-12-03/docs-2.json index 80e6e14010..3889e661d9 100644 --- a/models/apis/outposts/2019-12-03/docs-2.json +++ b/models/apis/outposts/2019-12-03/docs-2.json @@ -105,6 +105,12 @@ "ListAssetsOutput$Assets": "

Information about hardware assets.

" } }, + "AssetLocation": { + "base": "

Information about the position of the asset in a rack.

", + "refs": { + "AssetInfo$AssetLocation": "

The position of an asset in a rack.

" + } + }, "AssetType": { "base": null, "refs": { @@ -821,6 +827,12 @@ "EC2Capacity$Quantity": "

The quantity of the EC2 capacity.

" } }, + "RackElevation": { + "base": null, + "refs": { + "AssetLocation$RackElevation": "

The position of an asset in a rack measured in rack units.

" + } + }, "RackId": { "base": null, "refs": { diff --git a/service/directoryservice/api.go b/service/directoryservice/api.go index 485749c9c8..504d407d9a 100644 --- a/service/directoryservice/api.go +++ b/service/directoryservice/api.go @@ -2866,6 +2866,100 @@ func (c *DirectoryService) DescribeRegionsWithContext(ctx aws.Context, input *De return out, req.Send() } +const opDescribeSettings = "DescribeSettings" + +// DescribeSettingsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeSettings 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 DescribeSettings for more information on using the DescribeSettings +// 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 DescribeSettingsRequest method. +// req, resp := client.DescribeSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettings +func (c *DirectoryService) DescribeSettingsRequest(input *DescribeSettingsInput) (req *request.Request, output *DescribeSettingsOutput) { + op := &request.Operation{ + Name: opDescribeSettings, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeSettingsInput{} + } + + output = &DescribeSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeSettings API operation for AWS Directory Service. +// +// Retrieves information about the configurable settings for the specified directory. +// +// 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 Directory Service's +// API operation DescribeSettings for usage and error information. +// +// Returned Error Types: +// * DirectoryDoesNotExistException +// The specified directory does not exist in the system. +// +// * UnsupportedOperationException +// The operation is not supported. +// +// * InvalidParameterException +// One or more parameters are not valid. +// +// * InvalidNextTokenException +// The NextToken value is not valid. +// +// * ClientException +// A client exception has occurred. +// +// * ServiceException +// An exception has occurred in Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettings +func (c *DirectoryService) DescribeSettings(input *DescribeSettingsInput) (*DescribeSettingsOutput, error) { + req, out := c.DescribeSettingsRequest(input) + return out, req.Send() +} + +// DescribeSettingsWithContext is the same as DescribeSettings with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeSettings 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 *DirectoryService) DescribeSettingsWithContext(ctx aws.Context, input *DescribeSettingsInput, opts ...request.Option) (*DescribeSettingsOutput, error) { + req, out := c.DescribeSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeSharedDirectories = "DescribeSharedDirectories" // DescribeSharedDirectoriesRequest generates a "aws/request.Request" representing the @@ -5928,6 +6022,106 @@ func (c *DirectoryService) UpdateRadiusWithContext(ctx aws.Context, input *Updat return out, req.Send() } +const opUpdateSettings = "UpdateSettings" + +// UpdateSettingsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateSettings 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 UpdateSettings for more information on using the UpdateSettings +// 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 UpdateSettingsRequest method. +// req, resp := client.UpdateSettingsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateSettings +func (c *DirectoryService) UpdateSettingsRequest(input *UpdateSettingsInput) (req *request.Request, output *UpdateSettingsOutput) { + op := &request.Operation{ + Name: opUpdateSettings, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateSettingsInput{} + } + + output = &UpdateSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateSettings API operation for AWS Directory Service. +// +// Updates the configurable settings for the specified directory. +// +// 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 Directory Service's +// API operation UpdateSettings for usage and error information. +// +// Returned Error Types: +// * DirectoryDoesNotExistException +// The specified directory does not exist in the system. +// +// * UnsupportedOperationException +// The operation is not supported. +// +// * DirectoryUnavailableException +// The specified directory is unavailable or could not be found. +// +// * IncompatibleSettingsException +// The specified directory setting is not compatible with other settings. +// +// * UnsupportedSettingsException +// The specified directory setting is not supported. +// +// * InvalidParameterException +// One or more parameters are not valid. +// +// * ClientException +// A client exception has occurred. +// +// * ServiceException +// An exception has occurred in Directory Service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateSettings +func (c *DirectoryService) UpdateSettings(input *UpdateSettingsInput) (*UpdateSettingsOutput, error) { + req, out := c.UpdateSettingsRequest(input) + return out, req.Send() +} + +// UpdateSettingsWithContext is the same as UpdateSettings with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateSettings 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 *DirectoryService) UpdateSettingsWithContext(ctx aws.Context, input *UpdateSettingsInput, opts ...request.Option) (*UpdateSettingsOutput, error) { + req, out := c.UpdateSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateTrust = "UpdateTrust" // UpdateTrustRequest generates a "aws/request.Request" representing the @@ -10152,6 +10346,127 @@ func (s *DescribeRegionsOutput) SetRegionsDescription(v []*RegionDescription) *D return s } +type DescribeSettingsInput struct { + _ struct{} `type:"structure"` + + // The identifier of the directory for which to retrieve information. + // + // DirectoryId is a required field + DirectoryId *string `type:"string" required:"true"` + + // The DescribeSettingsResult.NextToken value from a previous call to DescribeSettings. + // Pass null if this is the first call. + NextToken *string `type:"string"` + + // The status of the directory settings for which to retrieve information. + Status *string `type:"string" enum:"DirectoryConfigurationStatus"` +} + +// 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 DescribeSettingsInput) 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 DescribeSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeSettingsInput"} + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *DescribeSettingsInput) SetDirectoryId(v string) *DescribeSettingsInput { + s.DirectoryId = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeSettingsInput) SetNextToken(v string) *DescribeSettingsInput { + s.NextToken = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeSettingsInput) SetStatus(v string) *DescribeSettingsInput { + s.Status = &v + return s +} + +type DescribeSettingsOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the directory. + DirectoryId *string `type:"string"` + + // If not null, token that indicates that more results are available. Pass this + // value for the NextToken parameter in a subsequent call to DescribeSettings + // to retrieve the next set of items. + NextToken *string `type:"string"` + + // The list of SettingEntry objects that were retrieved. + // + // It is possible that this list contains less than the number of items specified + // in the Limit member of the request. This occurs if there are less than the + // requested number of items left to retrieve, or if the limitations of the + // operation have been exceeded. + SettingEntries []*SettingEntry `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 DescribeSettingsOutput) 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 DescribeSettingsOutput) GoString() string { + return s.String() +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *DescribeSettingsOutput) SetDirectoryId(v string) *DescribeSettingsOutput { + s.DirectoryId = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeSettingsOutput) SetNextToken(v string) *DescribeSettingsOutput { + s.NextToken = &v + return s +} + +// SetSettingEntries sets the SettingEntries field's value. +func (s *DescribeSettingsOutput) SetSettingEntries(v []*SettingEntry) *DescribeSettingsOutput { + s.SettingEntries = v + return s +} + type DescribeSharedDirectoriesInput struct { _ struct{} `type:"structure"` @@ -12811,8 +13126,8 @@ func (s *GetSnapshotLimitsOutput) SetSnapshotLimits(v *SnapshotLimits) *GetSnaps return s } -// The account does not have sufficient permission to perform the operation. -type InsufficientPermissionsException struct { +// The specified directory setting is not compatible with other settings. +type IncompatibleSettingsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -12828,7 +13143,7 @@ type InsufficientPermissionsException 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 InsufficientPermissionsException) String() string { +func (s IncompatibleSettingsException) String() string { return awsutil.Prettify(s) } @@ -12837,23 +13152,91 @@ func (s InsufficientPermissionsException) 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 InsufficientPermissionsException) GoString() string { +func (s IncompatibleSettingsException) GoString() string { return s.String() } -func newErrorInsufficientPermissionsException(v protocol.ResponseMetadata) error { - return &InsufficientPermissionsException{ +func newErrorIncompatibleSettingsException(v protocol.ResponseMetadata) error { + return &IncompatibleSettingsException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *InsufficientPermissionsException) Code() string { - return "InsufficientPermissionsException" +func (s *IncompatibleSettingsException) Code() string { + return "IncompatibleSettingsException" } // Message returns the exception's message. -func (s *InsufficientPermissionsException) Message() string { +func (s *IncompatibleSettingsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *IncompatibleSettingsException) OrigErr() error { + return nil +} + +func (s *IncompatibleSettingsException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *IncompatibleSettingsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *IncompatibleSettingsException) RequestID() string { + return s.RespMetadata.RequestID +} + +// The account does not have sufficient permission to perform the operation. +type InsufficientPermissionsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The descriptive message for the exception. + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request identifier. + RequestId *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 InsufficientPermissionsException) 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 InsufficientPermissionsException) GoString() string { + return s.String() +} + +func newErrorInsufficientPermissionsException(v protocol.ResponseMetadata) error { + return &InsufficientPermissionsException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *InsufficientPermissionsException) Code() string { + return "InsufficientPermissionsException" +} + +// Message returns the exception's message. +func (s *InsufficientPermissionsException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -15584,6 +15967,196 @@ func (s *ServiceException) RequestID() string { return s.RespMetadata.RequestID } +// Contains information about the configurable settings for a directory. +type Setting struct { + _ struct{} `type:"structure"` + + // The name of the directory setting. For example: + // + // TLS_1_0 + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // The value of the directory setting for which to retrieve information. For + // example, for TLS_1_0, the valid values are: Enable and Disable. + // + // Value is a required field + Value *string `min:"1" 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 Setting) 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 Setting) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Setting) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Setting"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + if s.Value != nil && len(*s.Value) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Value", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *Setting) SetName(v string) *Setting { + s.Name = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Setting) SetValue(v string) *Setting { + s.Value = &v + return s +} + +// Contains information about the specified configurable setting for a directory. +type SettingEntry struct { + _ struct{} `type:"structure"` + + // The valid range of values for the directory setting. + AllowedValues *string `type:"string"` + + // The value of the directory setting that is applied to the directory. + AppliedValue *string `min:"1" type:"string"` + + // The date and time when the request to update a directory setting was last + // submitted. + LastRequestedDateTime *time.Time `type:"timestamp"` + + // The date and time when the directory setting was last updated. + LastUpdatedDateTime *time.Time `type:"timestamp"` + + // The name of the directory setting. For example: + // + // TLS_1_0 + Name *string `min:"1" type:"string"` + + // Details about the status of the request to update the directory setting. + // If the directory setting is deployed in more than one region, status is returned + // for the request in each region where the setting is deployed. + RequestDetailedStatus map[string]*string `type:"map"` + + // The overall status of the request to update the directory setting request. + // If the directory setting is deployed in more than one region, and the request + // fails in any region, the overall status is Failed. + RequestStatus *string `type:"string" enum:"DirectoryConfigurationStatus"` + + // The last status message for the directory status request. + RequestStatusMessage *string `type:"string"` + + // The value that was last requested for the directory setting. + RequestedValue *string `min:"1" type:"string"` + + // The type of directory setting. For example, Protocol or Cipher. + Type *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 SettingEntry) 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 SettingEntry) GoString() string { + return s.String() +} + +// SetAllowedValues sets the AllowedValues field's value. +func (s *SettingEntry) SetAllowedValues(v string) *SettingEntry { + s.AllowedValues = &v + return s +} + +// SetAppliedValue sets the AppliedValue field's value. +func (s *SettingEntry) SetAppliedValue(v string) *SettingEntry { + s.AppliedValue = &v + return s +} + +// SetLastRequestedDateTime sets the LastRequestedDateTime field's value. +func (s *SettingEntry) SetLastRequestedDateTime(v time.Time) *SettingEntry { + s.LastRequestedDateTime = &v + return s +} + +// SetLastUpdatedDateTime sets the LastUpdatedDateTime field's value. +func (s *SettingEntry) SetLastUpdatedDateTime(v time.Time) *SettingEntry { + s.LastUpdatedDateTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *SettingEntry) SetName(v string) *SettingEntry { + s.Name = &v + return s +} + +// SetRequestDetailedStatus sets the RequestDetailedStatus field's value. +func (s *SettingEntry) SetRequestDetailedStatus(v map[string]*string) *SettingEntry { + s.RequestDetailedStatus = v + return s +} + +// SetRequestStatus sets the RequestStatus field's value. +func (s *SettingEntry) SetRequestStatus(v string) *SettingEntry { + s.RequestStatus = &v + return s +} + +// SetRequestStatusMessage sets the RequestStatusMessage field's value. +func (s *SettingEntry) SetRequestStatusMessage(v string) *SettingEntry { + s.RequestStatusMessage = &v + return s +} + +// SetRequestedValue sets the RequestedValue field's value. +func (s *SettingEntry) SetRequestedValue(v string) *SettingEntry { + s.RequestedValue = &v + return s +} + +// SetType sets the Type field's value. +func (s *SettingEntry) SetType(v string) *SettingEntry { + s.Type = &v + return s +} + type ShareDirectoryInput struct { _ struct{} `type:"structure"` @@ -16781,6 +17354,74 @@ func (s *UnsupportedOperationException) RequestID() string { return s.RespMetadata.RequestID } +// The specified directory setting is not supported. +type UnsupportedSettingsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + // The descriptive message for the exception. + Message_ *string `locationName:"Message" type:"string"` + + // The Amazon Web Services request identifier. + RequestId *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 UnsupportedSettingsException) 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 UnsupportedSettingsException) GoString() string { + return s.String() +} + +func newErrorUnsupportedSettingsException(v protocol.ResponseMetadata) error { + return &UnsupportedSettingsException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *UnsupportedSettingsException) Code() string { + return "UnsupportedSettingsException" +} + +// Message returns the exception's message. +func (s *UnsupportedSettingsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *UnsupportedSettingsException) OrigErr() error { + return nil +} + +func (s *UnsupportedSettingsException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *UnsupportedSettingsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *UnsupportedSettingsException) RequestID() string { + return s.RespMetadata.RequestID +} + // Updates a conditional forwarder. type UpdateConditionalForwarderInput struct { _ struct{} `type:"structure"` @@ -17057,6 +17698,107 @@ func (s UpdateRadiusOutput) GoString() string { return s.String() } +type UpdateSettingsInput struct { + _ struct{} `type:"structure"` + + // The identifier of the directory for which to update settings. + // + // DirectoryId is a required field + DirectoryId *string `type:"string" required:"true"` + + // The list of Setting objects. + // + // Settings is a required field + Settings []*Setting `type:"list" 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 UpdateSettingsInput) 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 UpdateSettingsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateSettingsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateSettingsInput"} + if s.DirectoryId == nil { + invalidParams.Add(request.NewErrParamRequired("DirectoryId")) + } + if s.Settings == nil { + invalidParams.Add(request.NewErrParamRequired("Settings")) + } + if s.Settings != nil { + for i, v := range s.Settings { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Settings", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *UpdateSettingsInput) SetDirectoryId(v string) *UpdateSettingsInput { + s.DirectoryId = &v + return s +} + +// SetSettings sets the Settings field's value. +func (s *UpdateSettingsInput) SetSettings(v []*Setting) *UpdateSettingsInput { + s.Settings = v + return s +} + +type UpdateSettingsOutput struct { + _ struct{} `type:"structure"` + + // The identifier of the directory. + DirectoryId *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 UpdateSettingsOutput) 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 UpdateSettingsOutput) GoString() string { + return s.String() +} + +// SetDirectoryId sets the DirectoryId field's value. +func (s *UpdateSettingsOutput) SetDirectoryId(v string) *UpdateSettingsOutput { + s.DirectoryId = &v + return s +} + type UpdateTrustInput struct { _ struct{} `type:"structure"` @@ -17367,12 +18109,44 @@ func ClientAuthenticationStatus_Values() []string { const ( // ClientAuthenticationTypeSmartCard is a ClientAuthenticationType enum value ClientAuthenticationTypeSmartCard = "SmartCard" + + // ClientAuthenticationTypeSmartCardOrPassword is a ClientAuthenticationType enum value + ClientAuthenticationTypeSmartCardOrPassword = "SmartCardOrPassword" ) // ClientAuthenticationType_Values returns all elements of the ClientAuthenticationType enum func ClientAuthenticationType_Values() []string { return []string{ ClientAuthenticationTypeSmartCard, + ClientAuthenticationTypeSmartCardOrPassword, + } +} + +const ( + // DirectoryConfigurationStatusRequested is a DirectoryConfigurationStatus enum value + DirectoryConfigurationStatusRequested = "Requested" + + // DirectoryConfigurationStatusUpdating is a DirectoryConfigurationStatus enum value + DirectoryConfigurationStatusUpdating = "Updating" + + // DirectoryConfigurationStatusUpdated is a DirectoryConfigurationStatus enum value + DirectoryConfigurationStatusUpdated = "Updated" + + // DirectoryConfigurationStatusFailed is a DirectoryConfigurationStatus enum value + DirectoryConfigurationStatusFailed = "Failed" + + // DirectoryConfigurationStatusDefault is a DirectoryConfigurationStatus enum value + DirectoryConfigurationStatusDefault = "Default" +) + +// DirectoryConfigurationStatus_Values returns all elements of the DirectoryConfigurationStatus enum +func DirectoryConfigurationStatus_Values() []string { + return []string{ + DirectoryConfigurationStatusRequested, + DirectoryConfigurationStatusUpdating, + DirectoryConfigurationStatusUpdated, + DirectoryConfigurationStatusFailed, + DirectoryConfigurationStatusDefault, } } diff --git a/service/directoryservice/directoryserviceiface/interface.go b/service/directoryservice/directoryserviceiface/interface.go index d37f822622..9191e6c48f 100644 --- a/service/directoryservice/directoryserviceiface/interface.go +++ b/service/directoryservice/directoryserviceiface/interface.go @@ -179,6 +179,10 @@ type DirectoryServiceAPI interface { DescribeRegionsWithContext(aws.Context, *directoryservice.DescribeRegionsInput, ...request.Option) (*directoryservice.DescribeRegionsOutput, error) DescribeRegionsRequest(*directoryservice.DescribeRegionsInput) (*request.Request, *directoryservice.DescribeRegionsOutput) + DescribeSettings(*directoryservice.DescribeSettingsInput) (*directoryservice.DescribeSettingsOutput, error) + DescribeSettingsWithContext(aws.Context, *directoryservice.DescribeSettingsInput, ...request.Option) (*directoryservice.DescribeSettingsOutput, error) + DescribeSettingsRequest(*directoryservice.DescribeSettingsInput) (*request.Request, *directoryservice.DescribeSettingsOutput) + DescribeSharedDirectories(*directoryservice.DescribeSharedDirectoriesInput) (*directoryservice.DescribeSharedDirectoriesOutput, error) DescribeSharedDirectoriesWithContext(aws.Context, *directoryservice.DescribeSharedDirectoriesInput, ...request.Option) (*directoryservice.DescribeSharedDirectoriesOutput, error) DescribeSharedDirectoriesRequest(*directoryservice.DescribeSharedDirectoriesInput) (*request.Request, *directoryservice.DescribeSharedDirectoriesOutput) @@ -307,6 +311,10 @@ type DirectoryServiceAPI interface { UpdateRadiusWithContext(aws.Context, *directoryservice.UpdateRadiusInput, ...request.Option) (*directoryservice.UpdateRadiusOutput, error) UpdateRadiusRequest(*directoryservice.UpdateRadiusInput) (*request.Request, *directoryservice.UpdateRadiusOutput) + UpdateSettings(*directoryservice.UpdateSettingsInput) (*directoryservice.UpdateSettingsOutput, error) + UpdateSettingsWithContext(aws.Context, *directoryservice.UpdateSettingsInput, ...request.Option) (*directoryservice.UpdateSettingsOutput, error) + UpdateSettingsRequest(*directoryservice.UpdateSettingsInput) (*request.Request, *directoryservice.UpdateSettingsOutput) + UpdateTrust(*directoryservice.UpdateTrustInput) (*directoryservice.UpdateTrustOutput, error) UpdateTrustWithContext(aws.Context, *directoryservice.UpdateTrustInput, ...request.Option) (*directoryservice.UpdateTrustOutput, error) UpdateTrustRequest(*directoryservice.UpdateTrustInput) (*request.Request, *directoryservice.UpdateTrustOutput) diff --git a/service/directoryservice/errors.go b/service/directoryservice/errors.go index ed8dc0146a..15df8ea061 100644 --- a/service/directoryservice/errors.go +++ b/service/directoryservice/errors.go @@ -112,6 +112,12 @@ const ( // The specified entity could not be found. ErrCodeEntityDoesNotExistException = "EntityDoesNotExistException" + // ErrCodeIncompatibleSettingsException for service response error code + // "IncompatibleSettingsException". + // + // The specified directory setting is not compatible with other settings. + ErrCodeIncompatibleSettingsException = "IncompatibleSettingsException" + // ErrCodeInsufficientPermissionsException for service response error code // "InsufficientPermissionsException". // @@ -222,6 +228,12 @@ const ( // The operation is not supported. ErrCodeUnsupportedOperationException = "UnsupportedOperationException" + // ErrCodeUnsupportedSettingsException for service response error code + // "UnsupportedSettingsException". + // + // The specified directory setting is not supported. + ErrCodeUnsupportedSettingsException = "UnsupportedSettingsException" + // ErrCodeUserDoesNotExistException for service response error code // "UserDoesNotExistException". // @@ -246,6 +258,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "DomainControllerLimitExceededException": newErrorDomainControllerLimitExceededException, "EntityAlreadyExistsException": newErrorEntityAlreadyExistsException, "EntityDoesNotExistException": newErrorEntityDoesNotExistException, + "IncompatibleSettingsException": newErrorIncompatibleSettingsException, "InsufficientPermissionsException": newErrorInsufficientPermissionsException, "InvalidCertificateException": newErrorInvalidCertificateException, "InvalidClientAuthStatusException": newErrorInvalidClientAuthStatusException, @@ -263,5 +276,6 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "SnapshotLimitExceededException": newErrorSnapshotLimitExceededException, "TagLimitExceededException": newErrorTagLimitExceededException, "UnsupportedOperationException": newErrorUnsupportedOperationException, + "UnsupportedSettingsException": newErrorUnsupportedSettingsException, "UserDoesNotExistException": newErrorUserDoesNotExistException, } diff --git a/service/kafka/api.go b/service/kafka/api.go index 1c7e295379..4768799fcc 100644 --- a/service/kafka/api.go +++ b/service/kafka/api.go @@ -4147,7 +4147,7 @@ type BrokerNodeGroupInfo struct { // The list of subnets to connect to in the client virtual private cloud (VPC). // AWS creates elastic network interfaces inside these subnets. Client applications // use elastic network interfaces to produce and consume data. Client subnets - // can't be in Availability Zone us-east-1e. + // can't occupy the Availability Zone with ID use use1-az3. // // ClientSubnets is a required field ClientSubnets []*string `locationName:"clientSubnets" type:"list" required:"true"` diff --git a/service/outposts/api.go b/service/outposts/api.go index da50dae73c..6e4685ab0a 100644 --- a/service/outposts/api.go +++ b/service/outposts/api.go @@ -2971,6 +2971,9 @@ type AssetInfo struct { // The ID of the asset. AssetId *string `min:"1" type:"string"` + // The position of an asset in a rack. + AssetLocation *AssetLocation `type:"structure"` + // The type of the asset. AssetType *string `type:"string" enum:"AssetType"` @@ -3005,6 +3008,12 @@ func (s *AssetInfo) SetAssetId(v string) *AssetInfo { return s } +// SetAssetLocation sets the AssetLocation field's value. +func (s *AssetInfo) SetAssetLocation(v *AssetLocation) *AssetInfo { + s.AssetLocation = v + return s +} + // SetAssetType sets the AssetType field's value. func (s *AssetInfo) SetAssetType(v string) *AssetInfo { s.AssetType = &v @@ -3023,6 +3032,38 @@ func (s *AssetInfo) SetRackId(v string) *AssetInfo { return s } +// Information about the position of the asset in a rack. +type AssetLocation struct { + _ struct{} `type:"structure"` + + // The position of an asset in a rack measured in rack units. + RackElevation *float64 `type:"float"` +} + +// 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 AssetLocation) 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 AssetLocation) GoString() string { + return s.String() +} + +// SetRackElevation sets the RackElevation field's value. +func (s *AssetLocation) SetRackElevation(v float64) *AssetLocation { + s.RackElevation = &v + return s +} + type CancelOrderInput struct { _ struct{} `type:"structure" nopayload:"true"`