aws-sdk-panorama 1.11.0 → 1.12.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: 844ab4df786a5ae99470982ee6a9efa0662ce3b1b31f53e01fcf985ef177c8da
4
- data.tar.gz: d52409d2cc8784a8fee8385e0bb5ba810f8190e049ff7110546972bdb3a6ff8d
3
+ metadata.gz: 73542f75707aa79bccf29181aaaaddfdd3555a4257695bd353c0aad920b9b7fa
4
+ data.tar.gz: 38bc2f0d23d3177f7bdd34a2ec04fa205227037549c2644db9b978d7872b10f1
5
5
  SHA512:
6
- metadata.gz: 2ee5758a11ece889d408630334268d6ff0aac874ad0d5fd9793ec66863aab7c6da19f691c53dedcca38829c83deb3b735c282b821654cf07f47407e10cf8f533
7
- data.tar.gz: fa76b3e442be9952d81c04b7d960006a53c4a5026527aa80dae0817a9a61eee1ae084f9e172b6a9654cf3b58ce6a6cb41a4ae204b3f9f7f36c3516b14d90612c
6
+ metadata.gz: 1ebbd3ce65565011c70dfaef88c410fd12b4341ed439e281f0ee2163984a0aa1e8bf97ee57369a536c29009bef90bfa5753ff42b80a1ea5064a05876db96a00b
7
+ data.tar.gz: 3d862eea6810f6a2621e96e658ae6f05e18fc78e74dee309f34665c88de78e10830ee46302c16fd7c00e12f15d6ff4a8ffc150c51a3a741cc78acb9f03358782
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - Added AllowMajorVersionUpdate option to OTAJobConfig to make appliance software major version updates opt-in.
8
+
4
9
  1.11.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -430,11 +430,11 @@ module Aws::Panorama
430
430
  req.send_request(options)
431
431
  end
432
432
 
433
- # Creates a job to run on one or more devices. A job can update a
434
- # device's software or reboot it.
433
+ # Creates a job to run on a device. A job can update a device's
434
+ # software or reboot it.
435
435
  #
436
436
  # @option params [required, Array<String>] :device_ids
437
- # IDs of target devices.
437
+ # ID of target device.
438
438
  #
439
439
  # @option params [Types::DeviceJobConfig] :device_job_config
440
440
  # Configuration settings for a software update job.
@@ -452,6 +452,7 @@ module Aws::Panorama
452
452
  # device_ids: ["DeviceId"], # required
453
453
  # device_job_config: {
454
454
  # ota_job_config: {
455
+ # allow_major_version_update: false,
455
456
  # image_version: "ImageVersion", # required
456
457
  # },
457
458
  # },
@@ -2040,7 +2041,7 @@ module Aws::Panorama
2040
2041
  params: params,
2041
2042
  config: config)
2042
2043
  context[:gem_name] = 'aws-sdk-panorama'
2043
- context[:gem_version] = '1.11.0'
2044
+ context[:gem_version] = '1.12.0'
2044
2045
  Seahorse::Client::Request.new(handlers, context)
2045
2046
  end
2046
2047
 
@@ -765,6 +765,7 @@ module Aws::Panorama
765
765
  NtpStatus.add_member(:ntp_server_name, Shapes::ShapeRef.new(shape: NtpServerName, location_name: "NtpServerName"))
766
766
  NtpStatus.struct_class = Types::NtpStatus
767
767
 
768
+ OTAJobConfig.add_member(:allow_major_version_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllowMajorVersionUpdate"))
768
769
  OTAJobConfig.add_member(:image_version, Shapes::ShapeRef.new(shape: ImageVersion, required: true, location_name: "ImageVersion"))
769
770
  OTAJobConfig.struct_class = Types::OTAJobConfig
770
771
 
@@ -50,6 +50,9 @@ module Aws::Panorama
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::Panorama
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -219,7 +219,7 @@ module Aws::Panorama
219
219
  end
220
220
 
221
221
  # @!attribute [rw] device_ids
222
- # IDs of target devices.
222
+ # ID of target device.
223
223
  # @return [Array<String>]
224
224
  #
225
225
  # @!attribute [rw] device_job_config
@@ -2253,6 +2253,10 @@ module Aws::Panorama
2253
2253
 
2254
2254
  # An over-the-air update (OTA) job configuration.
2255
2255
  #
2256
+ # @!attribute [rw] allow_major_version_update
2257
+ # Whether to apply the update if it is a major version change.
2258
+ # @return [Boolean]
2259
+ #
2256
2260
  # @!attribute [rw] image_version
2257
2261
  # The target version of the device software.
2258
2262
  # @return [String]
@@ -2260,6 +2264,7 @@ module Aws::Panorama
2260
2264
  # @see http://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/OTAJobConfig AWS API Documentation
2261
2265
  #
2262
2266
  class OTAJobConfig < Struct.new(
2267
+ :allow_major_version_update,
2263
2268
  :image_version)
2264
2269
  SENSITIVE = []
2265
2270
  include Aws::Structure
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-panorama/customizations'
52
52
  # @!group service
53
53
  module Aws::Panorama
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.12.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-panorama
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core