aws-sdk-appstream 1.104.0 → 1.106.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea596eeafd2a43adb7f792cb6bb767e5a3c8cdf5fc0b9975b419a16c737644fb
4
- data.tar.gz: b629f38600ce1b165e191a6a1eaadcdacfeb23d99e6e0caf3762b14c6ba21d0f
3
+ metadata.gz: 9a179e30dfd9c69602c4c9f41c8b8237d77da8987907e91f58818f0ee496bfbc
4
+ data.tar.gz: 1f910b8c73efc5ff979a6e762112c6e1f1d39ef5002b54458d9acf2c0934f7a9
5
5
  SHA512:
6
- metadata.gz: '08b4813bdc58021ed94df75866fed93425a64e5b7d264bd5ed37c062f7374894a7aea285a6654969183787e6e7874cdda96b966f73b1b7f173d7beae38a52fac'
7
- data.tar.gz: 2aba7b4fc54a5c73ec2ea3cb4f66ee640cc931ca798334c5e694a88c425a5b959268d99ce0820161ff594e6e74918e6de7cd80d35d84ec0afe141771037e19a3
6
+ metadata.gz: 024c777fcac26fdd16972805a92d6c689bc97a2677d9e91152aff2cdb7c6dc08e3cc6c0020f7863c76ae7ba29c94c3ff65e981521228aff19faca8b9a94c5031
7
+ data.tar.gz: 933364e21de868e4772d4518dac444c9923def04293de53b5f2d2d4e0ab42c068bfd822e7432adf7fd3fc588693b5b925c57c962efd20006fab4ce90a46e1aba
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2025-02-06)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.105.0 (2025-01-30)
10
+ ------------------
11
+
12
+ * Feature - Add support for managing admin consent requirement on selected domains for OneDrive Storage Connectors in AppStream2.0.
13
+
4
14
  1.104.0 (2025-01-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.104.0
1
+ 1.106.0
@@ -1955,6 +1955,7 @@ module Aws::AppStream
1955
1955
  # connector_type: "HOMEFOLDERS", # required, accepts HOMEFOLDERS, GOOGLE_DRIVE, ONE_DRIVE
1956
1956
  # resource_identifier: "ResourceIdentifier",
1957
1957
  # domains: ["Domain"],
1958
+ # domains_require_admin_consent: ["Domain"],
1958
1959
  # },
1959
1960
  # ],
1960
1961
  # redirect_url: "RedirectURL",
@@ -1997,6 +1998,8 @@ module Aws::AppStream
1997
1998
  # resp.stack.storage_connectors[0].resource_identifier #=> String
1998
1999
  # resp.stack.storage_connectors[0].domains #=> Array
1999
2000
  # resp.stack.storage_connectors[0].domains[0] #=> String
2001
+ # resp.stack.storage_connectors[0].domains_require_admin_consent #=> Array
2002
+ # resp.stack.storage_connectors[0].domains_require_admin_consent[0] #=> String
2000
2003
  # resp.stack.redirect_url #=> String
2001
2004
  # resp.stack.feedback_url #=> String
2002
2005
  # resp.stack.stack_errors #=> Array
@@ -3561,6 +3564,8 @@ module Aws::AppStream
3561
3564
  # resp.stacks[0].storage_connectors[0].resource_identifier #=> String
3562
3565
  # resp.stacks[0].storage_connectors[0].domains #=> Array
3563
3566
  # resp.stacks[0].storage_connectors[0].domains[0] #=> String
3567
+ # resp.stacks[0].storage_connectors[0].domains_require_admin_consent #=> Array
3568
+ # resp.stacks[0].storage_connectors[0].domains_require_admin_consent[0] #=> String
3564
3569
  # resp.stacks[0].redirect_url #=> String
3565
3570
  # resp.stacks[0].feedback_url #=> String
3566
3571
  # resp.stacks[0].stack_errors #=> Array
@@ -5269,6 +5274,7 @@ module Aws::AppStream
5269
5274
  # connector_type: "HOMEFOLDERS", # required, accepts HOMEFOLDERS, GOOGLE_DRIVE, ONE_DRIVE
5270
5275
  # resource_identifier: "ResourceIdentifier",
5271
5276
  # domains: ["Domain"],
5277
+ # domains_require_admin_consent: ["Domain"],
5272
5278
  # },
5273
5279
  # ],
5274
5280
  # delete_storage_connectors: false,
@@ -5310,6 +5316,8 @@ module Aws::AppStream
5310
5316
  # resp.stack.storage_connectors[0].resource_identifier #=> String
5311
5317
  # resp.stack.storage_connectors[0].domains #=> Array
5312
5318
  # resp.stack.storage_connectors[0].domains[0] #=> String
5319
+ # resp.stack.storage_connectors[0].domains_require_admin_consent #=> Array
5320
+ # resp.stack.storage_connectors[0].domains_require_admin_consent[0] #=> String
5313
5321
  # resp.stack.redirect_url #=> String
5314
5322
  # resp.stack.feedback_url #=> String
5315
5323
  # resp.stack.stack_errors #=> Array
@@ -5443,7 +5451,7 @@ module Aws::AppStream
5443
5451
  tracer: tracer
5444
5452
  )
5445
5453
  context[:gem_name] = 'aws-sdk-appstream'
5446
- context[:gem_version] = '1.104.0'
5454
+ context[:gem_version] = '1.106.0'
5447
5455
  Seahorse::Client::Request.new(handlers, context)
5448
5456
  end
5449
5457
 
@@ -1319,6 +1319,7 @@ module Aws::AppStream
1319
1319
  StorageConnector.add_member(:connector_type, Shapes::ShapeRef.new(shape: StorageConnectorType, required: true, location_name: "ConnectorType"))
1320
1320
  StorageConnector.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "ResourceIdentifier"))
1321
1321
  StorageConnector.add_member(:domains, Shapes::ShapeRef.new(shape: DomainList, location_name: "Domains"))
1322
+ StorageConnector.add_member(:domains_require_admin_consent, Shapes::ShapeRef.new(shape: DomainList, location_name: "DomainsRequireAdminConsent"))
1322
1323
  StorageConnector.struct_class = Types::StorageConnector
1323
1324
 
1324
1325
  StorageConnectorList.member = Shapes::ShapeRef.new(shape: StorageConnector)
@@ -10,46 +10,42 @@
10
10
  module Aws::AppStream
11
11
  class EndpointProvider
12
12
  def resolve_endpoint(parameters)
13
- region = parameters.region
14
- use_dual_stack = parameters.use_dual_stack
15
- use_fips = parameters.use_fips
16
- endpoint = parameters.endpoint
17
- if Aws::Endpoints::Matchers.set?(endpoint)
18
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
13
+ if Aws::Endpoints::Matchers.set?(parameters.endpoint)
14
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
19
15
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
16
  end
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
17
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
22
18
  raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
19
  end
24
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
20
+ return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
25
21
  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)
22
+ if Aws::Endpoints::Matchers.set?(parameters.region)
23
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
29
25
  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://appstream2-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
26
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
27
  end
32
28
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
29
  end
34
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
30
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
35
31
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
33
  end
38
34
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
35
  end
40
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
37
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
39
  end
44
40
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
41
  end
46
42
  if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
47
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.amazonaws.com", headers: {}, properties: {})
43
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
48
44
  end
49
45
  if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
50
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.amazonaws.com", headers: {}, properties: {})
46
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{parameters.region}.amazonaws.com", headers: {}, properties: {})
51
47
  end
52
- return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
48
+ return Aws::Endpoints::Endpoint.new(url: "https://appstream2.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
53
49
  end
54
50
  end
55
51
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -4919,12 +4919,19 @@ module Aws::AppStream
4919
4919
  # The names of the domains for the account.
4920
4920
  # @return [Array<String>]
4921
4921
  #
4922
+ # @!attribute [rw] domains_require_admin_consent
4923
+ # The OneDrive for Business domains where you require admin consent
4924
+ # when users try to link their OneDrive account to AppStream 2.0. The
4925
+ # attribute can only be specified when ConnectorType=ONE\_DRIVE.
4926
+ # @return [Array<String>]
4927
+ #
4922
4928
  # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StorageConnector AWS API Documentation
4923
4929
  #
4924
4930
  class StorageConnector < Struct.new(
4925
4931
  :connector_type,
4926
4932
  :resource_identifier,
4927
- :domains)
4933
+ :domains,
4934
+ :domains_require_admin_consent)
4928
4935
  SENSITIVE = []
4929
4936
  include Aws::Structure
4930
4937
  end
@@ -55,7 +55,7 @@ module Aws::AppStream
55
55
  autoload :EndpointProvider, 'aws-sdk-appstream/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-appstream/endpoints'
57
57
 
58
- GEM_VERSION = '1.104.0'
58
+ GEM_VERSION = '1.106.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -405,7 +405,8 @@ module Aws
405
405
  {
406
406
  connector_type: ("HOMEFOLDERS" | "GOOGLE_DRIVE" | "ONE_DRIVE"),
407
407
  resource_identifier: ::String?,
408
- domains: Array[::String]?
408
+ domains: Array[::String]?,
409
+ domains_require_admin_consent: Array[::String]?
409
410
  },
410
411
  ],
411
412
  ?redirect_url: ::String,
@@ -1218,7 +1219,8 @@ module Aws
1218
1219
  {
1219
1220
  connector_type: ("HOMEFOLDERS" | "GOOGLE_DRIVE" | "ONE_DRIVE"),
1220
1221
  resource_identifier: ::String?,
1221
- domains: Array[::String]?
1222
+ domains: Array[::String]?,
1223
+ domains_require_admin_consent: Array[::String]?
1222
1224
  },
1223
1225
  ],
1224
1226
  ?delete_storage_connectors: bool,
data/sig/types.rbs CHANGED
@@ -1251,6 +1251,7 @@ module Aws::AppStream
1251
1251
  attr_accessor connector_type: ("HOMEFOLDERS" | "GOOGLE_DRIVE" | "ONE_DRIVE")
1252
1252
  attr_accessor resource_identifier: ::String
1253
1253
  attr_accessor domains: ::Array[::String]
1254
+ attr_accessor domains_require_admin_consent: ::Array[::String]
1254
1255
  SENSITIVE: []
1255
1256
  end
1256
1257
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appstream
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.104.0
4
+ version: 1.106.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: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core