aws-sdk-mediapackage 1.3.0 → 1.4.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: ce4927ae283a5a05ee1f3573c4b8a1771d4ab301
4
- data.tar.gz: 38a1bb624008be7d72f5ef63e1e7de899e413c31
3
+ metadata.gz: 6d1d6e950eca97b9197861af9c3ba9669c063694
4
+ data.tar.gz: 2d2378aeae6e4de2a75abb2c48a14c7dffcb6de8
5
5
  SHA512:
6
- metadata.gz: f63eed2833b11eced490d2016cb67b17b6305cfcdd7c5dc6e0cec67e343d455e3274df4223f9f26f6dcba2a8ee5f6ef1e47acb54a0628b7b926855adc2e614ee
7
- data.tar.gz: 47e191a5e165386639e12ac335a393b182768637c1fb95597a075cb48b0c4a6aec7a0146a4e00bd641521cedc42b678f1e217e7ff386ea87cee1513efa3c026b
6
+ metadata.gz: d1f61a92cc935104bd9221972f3f2cbb62d870472d392210f7bc4db432197aa0a3f0f3fa13932ce192ba9306d7f611e599f06524b261c53ffe3c2e5d1941b421
7
+ data.tar.gz: 00ecdb9c09105e3270c96d785a91f67e82f8d8912db7b4b6069972ca7c3838b26475c029db71dc277c30b96d1503e942c700cfacaffff0aea7ec5265ba5b6e6c
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mediapackage/customizations'
42
42
  # @service
43
43
  module Aws::MediaPackage
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -181,6 +181,7 @@ module Aws::MediaPackage
181
181
  # resp.arn #=> String
182
182
  # resp.description #=> String
183
183
  # resp.hls_ingest.ingest_endpoints #=> Array
184
+ # resp.hls_ingest.ingest_endpoints[0].id #=> String
184
185
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
185
186
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
186
187
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
@@ -498,6 +499,7 @@ module Aws::MediaPackage
498
499
  # resp.arn #=> String
499
500
  # resp.description #=> String
500
501
  # resp.hls_ingest.ingest_endpoints #=> Array
502
+ # resp.hls_ingest.ingest_endpoints[0].id #=> String
501
503
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
502
504
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
503
505
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
@@ -650,6 +652,7 @@ module Aws::MediaPackage
650
652
  # resp.channels[0].arn #=> String
651
653
  # resp.channels[0].description #=> String
652
654
  # resp.channels[0].hls_ingest.ingest_endpoints #=> Array
655
+ # resp.channels[0].hls_ingest.ingest_endpoints[0].id #=> String
653
656
  # resp.channels[0].hls_ingest.ingest_endpoints[0].password #=> String
654
657
  # resp.channels[0].hls_ingest.ingest_endpoints[0].url #=> String
655
658
  # resp.channels[0].hls_ingest.ingest_endpoints[0].username #=> String
@@ -776,7 +779,9 @@ module Aws::MediaPackage
776
779
  req.send_request(options)
777
780
  end
778
781
 
779
- # Changes the Channel ingest username and password.
782
+ # Changes the Channel's first IngestEndpoint's username and password.
783
+ # WARNING - This API is deprecated. Please use
784
+ # RotateIngestEndpointCredentials instead
780
785
  #
781
786
  # @option params [required, String] :id
782
787
  #
@@ -798,6 +803,7 @@ module Aws::MediaPackage
798
803
  # resp.arn #=> String
799
804
  # resp.description #=> String
800
805
  # resp.hls_ingest.ingest_endpoints #=> Array
806
+ # resp.hls_ingest.ingest_endpoints[0].id #=> String
801
807
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
802
808
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
803
809
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
@@ -812,6 +818,47 @@ module Aws::MediaPackage
812
818
  req.send_request(options)
813
819
  end
814
820
 
821
+ # Rotate the IngestEndpoint's username and password, as specified by
822
+ # the IngestEndpoint's id.
823
+ #
824
+ # @option params [required, String] :id
825
+ #
826
+ # @option params [required, String] :ingest_endpoint_id
827
+ #
828
+ # @return [Types::RotateIngestEndpointCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
829
+ #
830
+ # * {Types::RotateIngestEndpointCredentialsResponse#arn #arn} => String
831
+ # * {Types::RotateIngestEndpointCredentialsResponse#description #description} => String
832
+ # * {Types::RotateIngestEndpointCredentialsResponse#hls_ingest #hls_ingest} => Types::HlsIngest
833
+ # * {Types::RotateIngestEndpointCredentialsResponse#id #id} => String
834
+ #
835
+ # @example Request syntax with placeholder values
836
+ #
837
+ # resp = client.rotate_ingest_endpoint_credentials({
838
+ # id: "__string", # required
839
+ # ingest_endpoint_id: "__string", # required
840
+ # })
841
+ #
842
+ # @example Response structure
843
+ #
844
+ # resp.arn #=> String
845
+ # resp.description #=> String
846
+ # resp.hls_ingest.ingest_endpoints #=> Array
847
+ # resp.hls_ingest.ingest_endpoints[0].id #=> String
848
+ # resp.hls_ingest.ingest_endpoints[0].password #=> String
849
+ # resp.hls_ingest.ingest_endpoints[0].url #=> String
850
+ # resp.hls_ingest.ingest_endpoints[0].username #=> String
851
+ # resp.id #=> String
852
+ #
853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials AWS API Documentation
854
+ #
855
+ # @overload rotate_ingest_endpoint_credentials(params = {})
856
+ # @param [Hash] params ({})
857
+ def rotate_ingest_endpoint_credentials(params = {}, options = {})
858
+ req = build_request(:rotate_ingest_endpoint_credentials, params)
859
+ req.send_request(options)
860
+ end
861
+
815
862
  # Updates an existing Channel.
816
863
  #
817
864
  # @option params [String] :description
@@ -837,6 +884,7 @@ module Aws::MediaPackage
837
884
  # resp.arn #=> String
838
885
  # resp.description #=> String
839
886
  # resp.hls_ingest.ingest_endpoints #=> Array
887
+ # resp.hls_ingest.ingest_endpoints[0].id #=> String
840
888
  # resp.hls_ingest.ingest_endpoints[0].password #=> String
841
889
  # resp.hls_ingest.ingest_endpoints[0].url #=> String
842
890
  # resp.hls_ingest.ingest_endpoints[0].username #=> String
@@ -1100,7 +1148,7 @@ module Aws::MediaPackage
1100
1148
  params: params,
1101
1149
  config: config)
1102
1150
  context[:gem_name] = 'aws-sdk-mediapackage'
1103
- context[:gem_version] = '1.3.0'
1151
+ context[:gem_version] = '1.4.0'
1104
1152
  Seahorse::Client::Request.new(handlers, context)
1105
1153
  end
1106
1154
 
@@ -58,6 +58,8 @@ module Aws::MediaPackage
58
58
  Profile = Shapes::StringShape.new(name: 'Profile')
59
59
  RotateChannelCredentialsRequest = Shapes::StructureShape.new(name: 'RotateChannelCredentialsRequest')
60
60
  RotateChannelCredentialsResponse = Shapes::StructureShape.new(name: 'RotateChannelCredentialsResponse')
61
+ RotateIngestEndpointCredentialsRequest = Shapes::StructureShape.new(name: 'RotateIngestEndpointCredentialsRequest')
62
+ RotateIngestEndpointCredentialsResponse = Shapes::StructureShape.new(name: 'RotateIngestEndpointCredentialsResponse')
61
63
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
62
64
  SpekeKeyProvider = Shapes::StructureShape.new(name: 'SpekeKeyProvider')
63
65
  StreamOrder = Shapes::StringShape.new(name: 'StreamOrder')
@@ -247,6 +249,7 @@ module Aws::MediaPackage
247
249
  HlsPackage.add_member(:use_audio_rendition_group, Shapes::ShapeRef.new(shape: __boolean, location_name: "useAudioRenditionGroup"))
248
250
  HlsPackage.struct_class = Types::HlsPackage
249
251
 
252
+ IngestEndpoint.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
250
253
  IngestEndpoint.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
251
254
  IngestEndpoint.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
252
255
  IngestEndpoint.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
@@ -330,6 +333,16 @@ module Aws::MediaPackage
330
333
  RotateChannelCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
331
334
  RotateChannelCredentialsResponse.struct_class = Types::RotateChannelCredentialsResponse
332
335
 
336
+ RotateIngestEndpointCredentialsRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
337
+ RotateIngestEndpointCredentialsRequest.add_member(:ingest_endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ingest_endpoint_id"))
338
+ RotateIngestEndpointCredentialsRequest.struct_class = Types::RotateIngestEndpointCredentialsRequest
339
+
340
+ RotateIngestEndpointCredentialsResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
341
+ RotateIngestEndpointCredentialsResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
342
+ RotateIngestEndpointCredentialsResponse.add_member(:hls_ingest, Shapes::ShapeRef.new(shape: HlsIngest, location_name: "hlsIngest"))
343
+ RotateIngestEndpointCredentialsResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
344
+ RotateIngestEndpointCredentialsResponse.struct_class = Types::RotateIngestEndpointCredentialsResponse
345
+
333
346
  SpekeKeyProvider.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceId"))
334
347
  SpekeKeyProvider.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "roleArn"))
335
348
  SpekeKeyProvider.add_member(:system_ids, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "systemIds"))
@@ -535,6 +548,7 @@ module Aws::MediaPackage
535
548
  o.name = "RotateChannelCredentials"
536
549
  o.http_method = "PUT"
537
550
  o.http_request_uri = "/channels/{id}/credentials"
551
+ o.deprecated = true
538
552
  o.input = Shapes::ShapeRef.new(shape: RotateChannelCredentialsRequest)
539
553
  o.output = Shapes::ShapeRef.new(shape: RotateChannelCredentialsResponse)
540
554
  o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
@@ -545,6 +559,20 @@ module Aws::MediaPackage
545
559
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
546
560
  end)
547
561
 
562
+ api.add_operation(:rotate_ingest_endpoint_credentials, Seahorse::Model::Operation.new.tap do |o|
563
+ o.name = "RotateIngestEndpointCredentials"
564
+ o.http_method = "PUT"
565
+ o.http_request_uri = "/channels/{id}/ingest_endpoints/{ingest_endpoint_id}/credentials"
566
+ o.input = Shapes::ShapeRef.new(shape: RotateIngestEndpointCredentialsRequest)
567
+ o.output = Shapes::ShapeRef.new(shape: RotateIngestEndpointCredentialsResponse)
568
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
569
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
571
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
572
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
573
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
574
+ end)
575
+
548
576
  api.add_operation(:update_channel, Seahorse::Model::Operation.new.tap do |o|
549
577
  o.name = "UpdateChannel"
550
578
  o.http_method = "PUT"
@@ -1092,6 +1092,10 @@ module Aws::MediaPackage
1092
1092
 
1093
1093
  # An endpoint for ingesting source content for a Channel.
1094
1094
  #
1095
+ # @!attribute [rw] id
1096
+ # The system generated unique identifier for the IngestEndpoint
1097
+ # @return [String]
1098
+ #
1095
1099
  # @!attribute [rw] password
1096
1100
  # The system generated password for ingest authentication.
1097
1101
  # @return [String]
@@ -1107,6 +1111,7 @@ module Aws::MediaPackage
1107
1111
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/IngestEndpoint AWS API Documentation
1108
1112
  #
1109
1113
  class IngestEndpoint < Struct.new(
1114
+ :id,
1110
1115
  :password,
1111
1116
  :url,
1112
1117
  :username)
@@ -1535,6 +1540,51 @@ module Aws::MediaPackage
1535
1540
  include Aws::Structure
1536
1541
  end
1537
1542
 
1543
+ # @note When making an API call, you may pass RotateIngestEndpointCredentialsRequest
1544
+ # data as a hash:
1545
+ #
1546
+ # {
1547
+ # id: "__string", # required
1548
+ # ingest_endpoint_id: "__string", # required
1549
+ # }
1550
+ #
1551
+ # @!attribute [rw] id
1552
+ # @return [String]
1553
+ #
1554
+ # @!attribute [rw] ingest_endpoint_id
1555
+ # @return [String]
1556
+ #
1557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentialsRequest AWS API Documentation
1558
+ #
1559
+ class RotateIngestEndpointCredentialsRequest < Struct.new(
1560
+ :id,
1561
+ :ingest_endpoint_id)
1562
+ include Aws::Structure
1563
+ end
1564
+
1565
+ # @!attribute [rw] arn
1566
+ # @return [String]
1567
+ #
1568
+ # @!attribute [rw] description
1569
+ # @return [String]
1570
+ #
1571
+ # @!attribute [rw] hls_ingest
1572
+ # An HTTP Live Streaming (HLS) ingest resource configuration.
1573
+ # @return [Types::HlsIngest]
1574
+ #
1575
+ # @!attribute [rw] id
1576
+ # @return [String]
1577
+ #
1578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentialsResponse AWS API Documentation
1579
+ #
1580
+ class RotateIngestEndpointCredentialsResponse < Struct.new(
1581
+ :arn,
1582
+ :description,
1583
+ :hls_ingest,
1584
+ :id)
1585
+ include Aws::Structure
1586
+ end
1587
+
1538
1588
  # A configuration for accessing an external Secure Packager and Encoder
1539
1589
  # Key Exchange (SPEKE) service that will provide encryption keys.
1540
1590
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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-07-19 00:00:00.000000000 Z
11
+ date: 2018-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core