aws-sdk-directoryservice 1.53.0 → 1.54.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 015c1bc911be6ece66e1ddb9c9ecdf3a6dd2c3c90ef1671f4033c45ba5814436
4
- data.tar.gz: abe1b0548e075970e6548dcaf62f4e38490b1f245854e98adcfdf948e1ded3c2
3
+ metadata.gz: 13e927365e9486a309f88f9069bf9db1e1c463d5713174f3946f220dbbded6a5
4
+ data.tar.gz: 17496cdb7aa6d1dfce5c040638655bfe7fa0c36a2d6c08d985f059c234bc4c1e
5
5
  SHA512:
6
- metadata.gz: 4eb5b71d966d96dbca0c82bb9ecc38b447680c5b28c9779c2380750098644c87edf101a3bdfb82ad3694baf3ef10ebb48fe0d46e87bc2bd13877ba44b293007c
7
- data.tar.gz: 4c7f5936b9a52c37b944777cc5072311ac25f36881e821c6235de238adf8814205e7c08b8790d018a5e1097f45cff288d5292ec6a52fc13feba0a16109667fb4
6
+ metadata.gz: af57b20091e8c790521e170175c1d97e60efdadb51e06080363ac31a67e7c5a31bf32e5c296bc33ec99368d280953d7d481519a52c58182a42fe8a5111bfa788
7
+ data.tar.gz: 7cd63fb21a8bdf7d2bd7158c46a74b0d29e5c09287ba8b93ee2f12be529308034b3a6419e42713392f11d55a337fa27736d01fc386707332243f6aba9c0b31c1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2023-04-25)
5
+ ------------------
6
+
7
+ * Feature - New field added in AWS Managed Microsoft AD DescribeSettings response and regex pattern update for UpdateSettings value. Added length validation to RemoteDomainName.
8
+
4
9
  1.53.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -1882,6 +1882,7 @@ module Aws::DirectoryService
1882
1882
  # resp.setting_entries[0].request_status_message #=> String
1883
1883
  # resp.setting_entries[0].last_updated_date_time #=> Time
1884
1884
  # resp.setting_entries[0].last_requested_date_time #=> Time
1885
+ # resp.setting_entries[0].data_type #=> String
1885
1886
  # resp.next_token #=> String
1886
1887
  #
1887
1888
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSettings AWS API Documentation
@@ -3366,7 +3367,7 @@ module Aws::DirectoryService
3366
3367
  params: params,
3367
3368
  config: config)
3368
3369
  context[:gem_name] = 'aws-sdk-directoryservice'
3369
- context[:gem_version] = '1.53.0'
3370
+ context[:gem_version] = '1.54.0'
3370
3371
  Seahorse::Client::Request.new(handlers, context)
3371
3372
  end
3372
3373
 
@@ -135,6 +135,7 @@ module Aws::DirectoryService
135
135
  DirectoryAlreadyInRegionException = Shapes::StructureShape.new(name: 'DirectoryAlreadyInRegionException')
136
136
  DirectoryAlreadySharedException = Shapes::StructureShape.new(name: 'DirectoryAlreadySharedException')
137
137
  DirectoryConfigurationSettingAllowedValues = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingAllowedValues')
138
+ DirectoryConfigurationSettingDataType = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingDataType')
138
139
  DirectoryConfigurationSettingLastRequestedDateTime = Shapes::TimestampShape.new(name: 'DirectoryConfigurationSettingLastRequestedDateTime')
139
140
  DirectoryConfigurationSettingLastUpdatedDateTime = Shapes::TimestampShape.new(name: 'DirectoryConfigurationSettingLastUpdatedDateTime')
140
141
  DirectoryConfigurationSettingName = Shapes::StringShape.new(name: 'DirectoryConfigurationSettingName')
@@ -1189,6 +1190,7 @@ module Aws::DirectoryService
1189
1190
  SettingEntry.add_member(:request_status_message, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingRequestStatusMessage, location_name: "RequestStatusMessage"))
1190
1191
  SettingEntry.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingLastUpdatedDateTime, location_name: "LastUpdatedDateTime"))
1191
1192
  SettingEntry.add_member(:last_requested_date_time, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingLastRequestedDateTime, location_name: "LastRequestedDateTime"))
1193
+ SettingEntry.add_member(:data_type, Shapes::ShapeRef.new(shape: DirectoryConfigurationSettingDataType, location_name: "DataType"))
1192
1194
  SettingEntry.struct_class = Types::SettingEntry
1193
1195
 
1194
1196
  Settings.member = Shapes::ShapeRef.new(shape: Setting)
@@ -14,36 +14,39 @@ module Aws::DirectoryService
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://ds-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://ds-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://ds.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ds-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ds-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ds.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://ds.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://ds.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -3832,7 +3832,9 @@ module Aws::DirectoryService
3832
3832
  # directory.
3833
3833
  #
3834
3834
  # @!attribute [rw] type
3835
- # The type of directory setting. For example, `Protocol` or `Cipher`.
3835
+ # The type, or category, of a directory setting. Similar settings have
3836
+ # the same type. For example, `Protocol`, `Cipher`, or
3837
+ # `Certificate-Based Authentication`.
3836
3838
  # @return [String]
3837
3839
  #
3838
3840
  # @!attribute [rw] name
@@ -3842,7 +3844,8 @@ module Aws::DirectoryService
3842
3844
  # @return [String]
3843
3845
  #
3844
3846
  # @!attribute [rw] allowed_values
3845
- # The valid range of values for the directory setting.
3847
+ # The valid range of values for the directory setting. These values
3848
+ # depend on the `DataType` of your directory.
3846
3849
  # @return [String]
3847
3850
  #
3848
3851
  # @!attribute [rw] applied_value
@@ -3880,6 +3883,12 @@ module Aws::DirectoryService
3880
3883
  # last submitted.
3881
3884
  # @return [Time]
3882
3885
  #
3886
+ # @!attribute [rw] data_type
3887
+ # The data type of a directory setting. This is used to define the
3888
+ # `AllowedValues` of a setting. For example a data type can be
3889
+ # `Boolean`, `DurationInSeconds`, or `Enum`.
3890
+ # @return [String]
3891
+ #
3883
3892
  # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/SettingEntry AWS API Documentation
3884
3893
  #
3885
3894
  class SettingEntry < Struct.new(
@@ -3892,7 +3901,8 @@ module Aws::DirectoryService
3892
3901
  :request_detailed_status,
3893
3902
  :request_status_message,
3894
3903
  :last_updated_date_time,
3895
- :last_requested_date_time)
3904
+ :last_requested_date_time,
3905
+ :data_type)
3896
3906
  SENSITIVE = []
3897
3907
  include Aws::Structure
3898
3908
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-directoryservice/customizations'
52
52
  # @!group service
53
53
  module Aws::DirectoryService
54
54
 
55
- GEM_VERSION = '1.53.0'
55
+ GEM_VERSION = '1.54.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-directoryservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core