aws-sdk-appstream 1.5.0 → 1.6.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
  SHA1:
3
- metadata.gz: abe23b6a19a4b7d999b4fb1fc3fa2cb2692253af
4
- data.tar.gz: 6574d8e51a85a422f02a3c0e6ae5a686d73db775
3
+ metadata.gz: 9d43ca13e4917d1db3af49a7a80892b351108371
4
+ data.tar.gz: 5572450b828c920c3383a37d1499e415f0160643
5
5
  SHA512:
6
- metadata.gz: 79b2d227e64c6254b6c260fdacc3ceb25de151be0a49579e215af0ab03d1d960fc9630d19d08bfaaf96f1e81f6da5f598ab75d89800d597d22f7ab34b442c15b
7
- data.tar.gz: 720630ecb63cf52713b4d40af78cb4f7e5886a698a66bbe77f963445f7afb19f6faad3813a93cfb553c5460a80b046de8f0ee9849d00c1140ff4c38eb18d72e0
6
+ metadata.gz: 2fbe596a80e77fe43d421a20bef46a765c44a7c5f37bad0b56e2d2413ffd74d2e2ee24ed0c714530bb9c17fdb3773a43d1316041eef928ed8dce8273a4bb91c0
7
+ data.tar.gz: 882e7bc2c8e3ee7fcba424c4f6e1c28eb20f41a0685674266def686e693219ea3413d15999c3b5b3a20e3e4be8e85b703f5db135db0e1ccc7e3966d6e3ce4276
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-appstream/customizations'
43
43
  # @service
44
44
  module Aws::AppStream
45
45
 
46
- GEM_VERSION = '1.5.0'
46
+ GEM_VERSION = '1.6.0'
47
47
 
48
48
  end
@@ -181,6 +181,52 @@ module Aws::AppStream
181
181
  req.send_request(options)
182
182
  end
183
183
 
184
+ # Copies the image within the same region or to a new region within the
185
+ # same AWS account. Note that any tags you added to the image will not
186
+ # be copied.
187
+ #
188
+ # @option params [required, String] :source_image_name
189
+ # The name of the image to copy.
190
+ #
191
+ # @option params [required, String] :destination_image_name
192
+ # The name that the image will have when it is copied to the
193
+ # destination.
194
+ #
195
+ # @option params [required, String] :destination_region
196
+ # The destination region to which the image will be copied. This
197
+ # parameter is required, even if you are copying an image within the
198
+ # same region.
199
+ #
200
+ # @option params [String] :destination_image_description
201
+ # The description that the image will have when it is copied to the
202
+ # destination.
203
+ #
204
+ # @return [Types::CopyImageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
205
+ #
206
+ # * {Types::CopyImageResponse#destination_image_name #destination_image_name} => String
207
+ #
208
+ # @example Request syntax with placeholder values
209
+ #
210
+ # resp = client.copy_image({
211
+ # source_image_name: "Name", # required
212
+ # destination_image_name: "Name", # required
213
+ # destination_region: "RegionName", # required
214
+ # destination_image_description: "Description",
215
+ # })
216
+ #
217
+ # @example Response structure
218
+ #
219
+ # resp.destination_image_name #=> String
220
+ #
221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage AWS API Documentation
222
+ #
223
+ # @overload copy_image(params = {})
224
+ # @param [Hash] params ({})
225
+ def copy_image(params = {}, options = {})
226
+ req = build_request(:copy_image, params)
227
+ req.send_request(options)
228
+ end
229
+
184
230
  # Creates a directory configuration.
185
231
  #
186
232
  # @option params [required, String] :directory_name
@@ -703,12 +749,12 @@ module Aws::AppStream
703
749
  # resp.image.arn #=> String
704
750
  # resp.image.base_image_arn #=> String
705
751
  # resp.image.display_name #=> String
706
- # resp.image.state #=> String, one of "PENDING", "AVAILABLE", "FAILED", "DELETING"
752
+ # resp.image.state #=> String, one of "PENDING", "AVAILABLE", "FAILED", "COPYING", "DELETING"
707
753
  # resp.image.visibility #=> String, one of "PUBLIC", "PRIVATE"
708
754
  # resp.image.image_builder_supported #=> Boolean
709
755
  # resp.image.platform #=> String, one of "WINDOWS"
710
756
  # resp.image.description #=> String
711
- # resp.image.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE"
757
+ # resp.image.state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE", "IMAGE_COPY_FAILURE"
712
758
  # resp.image.state_change_reason.message #=> String
713
759
  # resp.image.applications #=> Array
714
760
  # resp.image.applications[0].name #=> String
@@ -998,12 +1044,12 @@ module Aws::AppStream
998
1044
  # resp.images[0].arn #=> String
999
1045
  # resp.images[0].base_image_arn #=> String
1000
1046
  # resp.images[0].display_name #=> String
1001
- # resp.images[0].state #=> String, one of "PENDING", "AVAILABLE", "FAILED", "DELETING"
1047
+ # resp.images[0].state #=> String, one of "PENDING", "AVAILABLE", "FAILED", "COPYING", "DELETING"
1002
1048
  # resp.images[0].visibility #=> String, one of "PUBLIC", "PRIVATE"
1003
1049
  # resp.images[0].image_builder_supported #=> Boolean
1004
1050
  # resp.images[0].platform #=> String, one of "WINDOWS"
1005
1051
  # resp.images[0].description #=> String
1006
- # resp.images[0].state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE"
1052
+ # resp.images[0].state_change_reason.code #=> String, one of "INTERNAL_ERROR", "IMAGE_BUILDER_NOT_AVAILABLE", "IMAGE_COPY_FAILURE"
1007
1053
  # resp.images[0].state_change_reason.message #=> String
1008
1054
  # resp.images[0].applications #=> Array
1009
1055
  # resp.images[0].applications[0].name #=> String
@@ -1033,10 +1079,10 @@ module Aws::AppStream
1033
1079
  # is to authenticate users using a streaming URL.
1034
1080
  #
1035
1081
  # @option params [required, String] :stack_name
1036
- # The name of the stack.
1082
+ # The name of the stack. This value is case-sensitive.
1037
1083
  #
1038
1084
  # @option params [required, String] :fleet_name
1039
- # The name of the fleet.
1085
+ # The name of the fleet. This value is case-sensitive.
1040
1086
  #
1041
1087
  # @option params [String] :user_id
1042
1088
  # The user ID.
@@ -1812,7 +1858,7 @@ module Aws::AppStream
1812
1858
  params: params,
1813
1859
  config: config)
1814
1860
  context[:gem_name] = 'aws-sdk-appstream'
1815
- context[:gem_version] = '1.5.0'
1861
+ context[:gem_version] = '1.6.0'
1816
1862
  Seahorse::Client::Request.new(handlers, context)
1817
1863
  end
1818
1864
 
@@ -25,6 +25,8 @@ module Aws::AppStream
25
25
  ComputeCapacity = Shapes::StructureShape.new(name: 'ComputeCapacity')
26
26
  ComputeCapacityStatus = Shapes::StructureShape.new(name: 'ComputeCapacityStatus')
27
27
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
28
+ CopyImageRequest = Shapes::StructureShape.new(name: 'CopyImageRequest')
29
+ CopyImageResponse = Shapes::StructureShape.new(name: 'CopyImageResponse')
28
30
  CreateDirectoryConfigRequest = Shapes::StructureShape.new(name: 'CreateDirectoryConfigRequest')
29
31
  CreateDirectoryConfigResult = Shapes::StructureShape.new(name: 'CreateDirectoryConfigResult')
30
32
  CreateFleetRequest = Shapes::StructureShape.new(name: 'CreateFleetRequest')
@@ -109,6 +111,7 @@ module Aws::AppStream
109
111
  OrganizationalUnitDistinguishedNamesList = Shapes::ListShape.new(name: 'OrganizationalUnitDistinguishedNamesList')
110
112
  PlatformType = Shapes::StringShape.new(name: 'PlatformType')
111
113
  RedirectURL = Shapes::StringShape.new(name: 'RedirectURL')
114
+ RegionName = Shapes::StringShape.new(name: 'RegionName')
112
115
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
113
116
  ResourceError = Shapes::StructureShape.new(name: 'ResourceError')
114
117
  ResourceErrors = Shapes::ListShape.new(name: 'ResourceErrors')
@@ -188,6 +191,15 @@ module Aws::AppStream
188
191
  ComputeCapacityStatus.add_member(:available, Shapes::ShapeRef.new(shape: Integer, location_name: "Available"))
189
192
  ComputeCapacityStatus.struct_class = Types::ComputeCapacityStatus
190
193
 
194
+ CopyImageRequest.add_member(:source_image_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "SourceImageName"))
195
+ CopyImageRequest.add_member(:destination_image_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "DestinationImageName"))
196
+ CopyImageRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "DestinationRegion"))
197
+ CopyImageRequest.add_member(:destination_image_description, Shapes::ShapeRef.new(shape: Description, location_name: "DestinationImageDescription"))
198
+ CopyImageRequest.struct_class = Types::CopyImageRequest
199
+
200
+ CopyImageResponse.add_member(:destination_image_name, Shapes::ShapeRef.new(shape: Name, location_name: "DestinationImageName"))
201
+ CopyImageResponse.struct_class = Types::CopyImageResponse
202
+
191
203
  CreateDirectoryConfigRequest.add_member(:directory_name, Shapes::ShapeRef.new(shape: DirectoryName, required: true, location_name: "DirectoryName"))
192
204
  CreateDirectoryConfigRequest.add_member(:organizational_unit_distinguished_names, Shapes::ShapeRef.new(shape: OrganizationalUnitDistinguishedNamesList, required: true, location_name: "OrganizationalUnitDistinguishedNames"))
193
205
  CreateDirectoryConfigRequest.add_member(:service_account_credentials, Shapes::ShapeRef.new(shape: ServiceAccountCredentials, required: true, location_name: "ServiceAccountCredentials"))
@@ -625,6 +637,19 @@ module Aws::AppStream
625
637
  o.errors << Shapes::ShapeRef.new(shape: OperationNotPermittedException)
626
638
  end)
627
639
 
640
+ api.add_operation(:copy_image, Seahorse::Model::Operation.new.tap do |o|
641
+ o.name = "CopyImage"
642
+ o.http_method = "POST"
643
+ o.http_request_uri = "/"
644
+ o.input = Shapes::ShapeRef.new(shape: CopyImageRequest)
645
+ o.output = Shapes::ShapeRef.new(shape: CopyImageResponse)
646
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
647
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotAvailableException)
649
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
650
+ o.errors << Shapes::ShapeRef.new(shape: IncompatibleImageException)
651
+ end)
652
+
628
653
  api.add_operation(:create_directory_config, Seahorse::Model::Operation.new.tap do |o|
629
654
  o.name = "CreateDirectoryConfig"
630
655
  o.http_method = "POST"
@@ -130,6 +130,57 @@ module Aws::AppStream
130
130
  include Aws::Structure
131
131
  end
132
132
 
133
+ # @note When making an API call, you may pass CopyImageRequest
134
+ # data as a hash:
135
+ #
136
+ # {
137
+ # source_image_name: "Name", # required
138
+ # destination_image_name: "Name", # required
139
+ # destination_region: "RegionName", # required
140
+ # destination_image_description: "Description",
141
+ # }
142
+ #
143
+ # @!attribute [rw] source_image_name
144
+ # The name of the image to copy.
145
+ # @return [String]
146
+ #
147
+ # @!attribute [rw] destination_image_name
148
+ # The name that the image will have when it is copied to the
149
+ # destination.
150
+ # @return [String]
151
+ #
152
+ # @!attribute [rw] destination_region
153
+ # The destination region to which the image will be copied. This
154
+ # parameter is required, even if you are copying an image within the
155
+ # same region.
156
+ # @return [String]
157
+ #
158
+ # @!attribute [rw] destination_image_description
159
+ # The description that the image will have when it is copied to the
160
+ # destination.
161
+ # @return [String]
162
+ #
163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImageRequest AWS API Documentation
164
+ #
165
+ class CopyImageRequest < Struct.new(
166
+ :source_image_name,
167
+ :destination_image_name,
168
+ :destination_region,
169
+ :destination_image_description)
170
+ include Aws::Structure
171
+ end
172
+
173
+ # @!attribute [rw] destination_image_name
174
+ # The name of the destination image.
175
+ # @return [String]
176
+ #
177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImageResponse AWS API Documentation
178
+ #
179
+ class CopyImageResponse < Struct.new(
180
+ :destination_image_name)
181
+ include Aws::Structure
182
+ end
183
+
133
184
  # @note When making an API call, you may pass CreateDirectoryConfigRequest
134
185
  # data as a hash:
135
186
  #
@@ -902,11 +953,11 @@ module Aws::AppStream
902
953
  # }
903
954
  #
904
955
  # @!attribute [rw] stack_name
905
- # The name of the stack.
956
+ # The name of the stack. This value is case-sensitive.
906
957
  # @return [String]
907
958
  #
908
959
  # @!attribute [rw] fleet_name
909
- # The name of the fleet.
960
+ # The name of the fleet. This value is case-sensitive.
910
961
  # @return [String]
911
962
  #
912
963
  # @!attribute [rw] user_id
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.5.0
4
+ version: 1.6.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: 2018-02-08 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core