aws-sdk-iot 1.100.0 → 1.102.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +71 -49
- data/lib/aws-sdk-iot/client_api.rb +21 -0
- data/lib/aws-sdk-iot/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-iot/endpoint_provider.rb +33 -21
- data/lib/aws-sdk-iot/types.rb +98 -33
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5d50a278b0ec97aad3b7e11e0d3f6ca6939172658872ed4e31f8fda2021b35c
|
4
|
+
data.tar.gz: 8122d5baee86061f26e427a9a26601eee87ee1935791c8e6c5d9c0c933b014a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9460aa002a1d9da33447807ab9ea4d4802150632b602422e9e20c66bc528fc7ff2d3b09381d459c874b1bed9eaffb014ba7509249df830962a2cee72149afbd3
|
7
|
+
data.tar.gz: b9b85144668e74a2211e8f2e77e1a28f87c495606e8f3d3209891af857724e7d1c647497262be4ebf54bd8222f377060616c15ec3de6ab0d19fa0f3d2243b1fc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.102.0 (2023-04-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Re-release to remove unexpected API changes
|
8
|
+
|
9
|
+
1.101.0 (2023-03-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - A recurring maintenance window is an optional configuration used for rolling out the job document to all devices in the target group observing a predetermined start time, duration, and frequency that the maintenance window occurs.
|
13
|
+
|
4
14
|
1.100.0 (2023-01-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.102.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1201,61 +1201,63 @@ module Aws::IoT
|
|
1201
1201
|
# Creates an X.509 certificate using the specified certificate signing
|
1202
1202
|
# request.
|
1203
1203
|
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# NIST P-384, or NIST P-512 curves. For supported certificates, consult
|
1207
|
-
# [ Certificate signing algorithms supported by IoT][1].
|
1204
|
+
# Requires permission to access the [CreateCertificateFromCsr][1]
|
1205
|
+
# action.
|
1208
1206
|
#
|
1209
|
-
#
|
1210
|
-
#
|
1207
|
+
# <note markdown="1"> The CSR must include a public key that is either an RSA key with a
|
1208
|
+
# length of at least 2048 bits or an ECC key from NIST P-25 or NIST
|
1209
|
+
# P-384 curves. For supported certificates, consult [ Certificate
|
1210
|
+
# signing algorithms supported by IoT][2].
|
1211
1211
|
#
|
1212
|
-
#
|
1213
|
-
#
|
1212
|
+
# </note>
|
1213
|
+
#
|
1214
|
+
# <note markdown="1"> Reusing the same certificate signing request (CSR) results in a
|
1215
|
+
# distinct certificate.
|
1216
|
+
#
|
1217
|
+
# </note>
|
1214
1218
|
#
|
1215
1219
|
# You can create multiple certificates in a batch by creating a
|
1216
|
-
# directory, copying multiple
|
1220
|
+
# directory, copying multiple `.csr` files into that directory, and then
|
1217
1221
|
# specifying that directory on the command line. The following commands
|
1218
|
-
# show how to create a batch of certificates given a batch of CSRs.
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
# my-csr-directory:
|
1222
|
+
# show how to create a batch of certificates given a batch of CSRs. In
|
1223
|
+
# the following commands, we assume that a set of CSRs are located
|
1224
|
+
# inside of the directory my-csr-directory:
|
1222
1225
|
#
|
1223
1226
|
# On Linux and OS X, the command is:
|
1224
1227
|
#
|
1225
|
-
#
|
1228
|
+
# `$ ls my-csr-directory/ | xargs -I \{\} aws iot
|
1226
1229
|
# create-certificate-from-csr --certificate-signing-request
|
1227
|
-
# file://my-csr-directory
|
1230
|
+
# file://my-csr-directory/\{\}`
|
1228
1231
|
#
|
1229
1232
|
# This command lists all of the CSRs in my-csr-directory and pipes each
|
1230
|
-
# CSR file name to the aws iot create-certificate-from-csr Amazon Web
|
1233
|
+
# CSR file name to the `aws iot create-certificate-from-csr` Amazon Web
|
1231
1234
|
# Services CLI command to create a certificate for the corresponding
|
1232
1235
|
# CSR.
|
1233
1236
|
#
|
1234
|
-
#
|
1235
|
-
#
|
1237
|
+
# You can also run the `aws iot create-certificate-from-csr` part of the
|
1238
|
+
# command in parallel to speed up the certificate creation process:
|
1236
1239
|
#
|
1237
|
-
#
|
1240
|
+
# `$ ls my-csr-directory/ | xargs -P 10 -I \{\} aws iot
|
1238
1241
|
# create-certificate-from-csr --certificate-signing-request
|
1239
|
-
# file://my-csr-directory
|
1242
|
+
# file://my-csr-directory/\{\} `
|
1240
1243
|
#
|
1241
1244
|
# On Windows PowerShell, the command to create certificates for all CSRs
|
1242
1245
|
# in my-csr-directory is:
|
1243
1246
|
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
# file://my-csr-directory/$\_\\}
|
1247
|
+
# `> ls -Name my-csr-directory | %\{aws iot create-certificate-from-csr
|
1248
|
+
# --certificate-signing-request file://my-csr-directory/$_\} `
|
1247
1249
|
#
|
1248
1250
|
# On a Windows command prompt, the command to create certificates for
|
1249
1251
|
# all CSRs in my-csr-directory is:
|
1250
1252
|
#
|
1251
|
-
#
|
1253
|
+
# `> forfiles /p my-csr-directory /c "cmd /c aws iot
|
1252
1254
|
# create-certificate-from-csr --certificate-signing-request
|
1253
|
-
# file://@path"
|
1255
|
+
# file://@path" `
|
1254
1256
|
#
|
1255
1257
|
#
|
1256
1258
|
#
|
1257
|
-
# [1]: https://docs.aws.amazon.com/
|
1258
|
-
# [2]: https://docs.aws.amazon.com/
|
1259
|
+
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
1260
|
+
# [2]: https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms
|
1259
1261
|
#
|
1260
1262
|
# @option params [required, String] :certificate_signing_request
|
1261
1263
|
# The certificate signing request (CSR).
|
@@ -1646,7 +1648,7 @@ module Aws::IoT
|
|
1646
1648
|
#
|
1647
1649
|
#
|
1648
1650
|
#
|
1649
|
-
# [1]: https://docs.aws.amazon.com/
|
1651
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
1650
1652
|
#
|
1651
1653
|
# @option params [Array<Types::Tag>] :tags
|
1652
1654
|
# Metadata, which can be used to manage the fleet metric.
|
@@ -1864,6 +1866,12 @@ module Aws::IoT
|
|
1864
1866
|
# start_time: "StringDateTime",
|
1865
1867
|
# end_time: "StringDateTime",
|
1866
1868
|
# end_behavior: "STOP_ROLLOUT", # accepts STOP_ROLLOUT, CANCEL, FORCE_CANCEL
|
1869
|
+
# maintenance_windows: [
|
1870
|
+
# {
|
1871
|
+
# start_time: "CronExpression", # required
|
1872
|
+
# duration_in_minutes: 1, # required
|
1873
|
+
# },
|
1874
|
+
# ],
|
1867
1875
|
# },
|
1868
1876
|
# })
|
1869
1877
|
#
|
@@ -1940,6 +1948,10 @@ module Aws::IoT
|
|
1940
1948
|
# @option params [Types::JobExecutionsRetryConfig] :job_executions_retry_config
|
1941
1949
|
# Allows you to create the criteria to retry a job.
|
1942
1950
|
#
|
1951
|
+
# @option params [Array<Types::MaintenanceWindow>] :maintenance_windows
|
1952
|
+
# Allows you to configure an optional maintenance window for the rollout
|
1953
|
+
# of a job document to all devices in the target group for a job.
|
1954
|
+
#
|
1943
1955
|
# @return [Types::CreateJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1944
1956
|
#
|
1945
1957
|
# * {Types::CreateJobTemplateResponse#job_template_arn #job_template_arn} => String
|
@@ -1995,6 +2007,12 @@ module Aws::IoT
|
|
1995
2007
|
# },
|
1996
2008
|
# ],
|
1997
2009
|
# },
|
2010
|
+
# maintenance_windows: [
|
2011
|
+
# {
|
2012
|
+
# start_time: "CronExpression", # required
|
2013
|
+
# duration_in_minutes: 1, # required
|
2014
|
+
# },
|
2015
|
+
# ],
|
1998
2016
|
# })
|
1999
2017
|
#
|
2000
2018
|
# @example Response structure
|
@@ -5672,6 +5690,11 @@ module Aws::IoT
|
|
5672
5690
|
# resp.job.scheduling_config.start_time #=> String
|
5673
5691
|
# resp.job.scheduling_config.end_time #=> String
|
5674
5692
|
# resp.job.scheduling_config.end_behavior #=> String, one of "STOP_ROLLOUT", "CANCEL", "FORCE_CANCEL"
|
5693
|
+
# resp.job.scheduling_config.maintenance_windows #=> Array
|
5694
|
+
# resp.job.scheduling_config.maintenance_windows[0].start_time #=> String
|
5695
|
+
# resp.job.scheduling_config.maintenance_windows[0].duration_in_minutes #=> Integer
|
5696
|
+
# resp.job.scheduled_job_rollouts #=> Array
|
5697
|
+
# resp.job.scheduled_job_rollouts[0].start_time #=> String
|
5675
5698
|
#
|
5676
5699
|
# @overload describe_job(params = {})
|
5677
5700
|
# @param [Hash] params ({})
|
@@ -5750,6 +5773,7 @@ module Aws::IoT
|
|
5750
5773
|
# * {Types::DescribeJobTemplateResponse#abort_config #abort_config} => Types::AbortConfig
|
5751
5774
|
# * {Types::DescribeJobTemplateResponse#timeout_config #timeout_config} => Types::TimeoutConfig
|
5752
5775
|
# * {Types::DescribeJobTemplateResponse#job_executions_retry_config #job_executions_retry_config} => Types::JobExecutionsRetryConfig
|
5776
|
+
# * {Types::DescribeJobTemplateResponse#maintenance_windows #maintenance_windows} => Array<Types::MaintenanceWindow>
|
5753
5777
|
#
|
5754
5778
|
# @example Request syntax with placeholder values
|
5755
5779
|
#
|
@@ -5781,6 +5805,9 @@ module Aws::IoT
|
|
5781
5805
|
# resp.job_executions_retry_config.criteria_list #=> Array
|
5782
5806
|
# resp.job_executions_retry_config.criteria_list[0].failure_type #=> String, one of "FAILED", "TIMED_OUT", "ALL"
|
5783
5807
|
# resp.job_executions_retry_config.criteria_list[0].number_of_retries #=> Integer
|
5808
|
+
# resp.maintenance_windows #=> Array
|
5809
|
+
# resp.maintenance_windows[0].start_time #=> String
|
5810
|
+
# resp.maintenance_windows[0].duration_in_minutes #=> Integer
|
5784
5811
|
#
|
5785
5812
|
# @overload describe_job_template(params = {})
|
5786
5813
|
# @param [Hash] params ({})
|
@@ -6449,10 +6476,9 @@ module Aws::IoT
|
|
6449
6476
|
# The principal.
|
6450
6477
|
#
|
6451
6478
|
# Valid principals are CertificateArn
|
6452
|
-
# (arn:aws:iot:*region
|
6453
|
-
#
|
6454
|
-
# (
|
6455
|
-
# CognitoId (*region*\:*id*).
|
6479
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
|
6480
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
6481
|
+
# CognitoId (*region*:*id*).
|
6456
6482
|
#
|
6457
6483
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6458
6484
|
#
|
@@ -6760,10 +6786,9 @@ module Aws::IoT
|
|
6760
6786
|
#
|
6761
6787
|
# @option params [String] :principal
|
6762
6788
|
# The principal. Valid principals are CertificateArn
|
6763
|
-
# (arn:aws:iot:*region
|
6764
|
-
#
|
6765
|
-
# (
|
6766
|
-
# CognitoId (*region*\:*id*).
|
6789
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
|
6790
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
6791
|
+
# CognitoId (*region*:*id*).
|
6767
6792
|
#
|
6768
6793
|
# @option params [String] :cognito_identity_pool_id
|
6769
6794
|
# The Cognito identity pool ID.
|
@@ -7673,10 +7698,9 @@ module Aws::IoT
|
|
7673
7698
|
# @option params [required, String] :target
|
7674
7699
|
# The group or principal for which the policies will be listed. Valid
|
7675
7700
|
# principals are CertificateArn
|
7676
|
-
# (arn:aws:iot:*region
|
7677
|
-
#
|
7678
|
-
# (
|
7679
|
-
# CognitoId (*region*\:*id*).
|
7701
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
|
7702
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
7703
|
+
# CognitoId (*region*:*id*).
|
7680
7704
|
#
|
7681
7705
|
# @option params [Boolean] :recursive
|
7682
7706
|
# When true, recursively list attached policies.
|
@@ -9472,10 +9496,9 @@ module Aws::IoT
|
|
9472
9496
|
#
|
9473
9497
|
# @option params [required, String] :principal
|
9474
9498
|
# The principal. Valid principals are CertificateArn
|
9475
|
-
# (arn:aws:iot:*region
|
9476
|
-
#
|
9477
|
-
# (
|
9478
|
-
# CognitoId (*region*\:*id*).
|
9499
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
|
9500
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
9501
|
+
# CognitoId (*region*:*id*).
|
9479
9502
|
#
|
9480
9503
|
# @option params [String] :marker
|
9481
9504
|
# The marker for the next set of results.
|
@@ -12274,10 +12297,9 @@ module Aws::IoT
|
|
12274
12297
|
#
|
12275
12298
|
# @option params [String] :principal
|
12276
12299
|
# The principal. Valid principals are CertificateArn
|
12277
|
-
# (arn:aws:iot:*region
|
12278
|
-
#
|
12279
|
-
# (
|
12280
|
-
# CognitoId (*region*\:*id*).
|
12300
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*), thingGroupArn
|
12301
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
12302
|
+
# CognitoId (*region*:*id*).
|
12281
12303
|
#
|
12282
12304
|
# @option params [String] :cognito_identity_pool_id
|
12283
12305
|
# The Cognito identity pool ID.
|
@@ -14067,7 +14089,7 @@ module Aws::IoT
|
|
14067
14089
|
params: params,
|
14068
14090
|
config: config)
|
14069
14091
|
context[:gem_name] = 'aws-sdk-iot'
|
14070
|
-
context[:gem_version] = '1.
|
14092
|
+
context[:gem_version] = '1.102.0'
|
14071
14093
|
Seahorse::Client::Request.new(handlers, context)
|
14072
14094
|
end
|
14073
14095
|
|
@@ -293,6 +293,7 @@ module Aws::IoT
|
|
293
293
|
CreatedAtDate = Shapes::TimestampShape.new(name: 'CreatedAtDate')
|
294
294
|
CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
|
295
295
|
CredentialDurationSeconds = Shapes::IntegerShape.new(name: 'CredentialDurationSeconds')
|
296
|
+
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
296
297
|
CustomCodeSigning = Shapes::StructureShape.new(name: 'CustomCodeSigning')
|
297
298
|
CustomMetricArn = Shapes::StringShape.new(name: 'CustomMetricArn')
|
298
299
|
CustomMetricDisplayName = Shapes::StringShape.new(name: 'CustomMetricDisplayName')
|
@@ -475,6 +476,7 @@ module Aws::IoT
|
|
475
476
|
DomainConfigurations = Shapes::ListShape.new(name: 'DomainConfigurations')
|
476
477
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
477
478
|
DomainType = Shapes::StringShape.new(name: 'DomainType')
|
479
|
+
DurationInMinutes = Shapes::IntegerShape.new(name: 'DurationInMinutes')
|
478
480
|
DurationSeconds = Shapes::IntegerShape.new(name: 'DurationSeconds')
|
479
481
|
DynamicGroupStatus = Shapes::StringShape.new(name: 'DynamicGroupStatus')
|
480
482
|
DynamoDBAction = Shapes::StructureShape.new(name: 'DynamoDBAction')
|
@@ -788,6 +790,8 @@ module Aws::IoT
|
|
788
790
|
LogTargetType = Shapes::StringShape.new(name: 'LogTargetType')
|
789
791
|
LoggingOptionsPayload = Shapes::StructureShape.new(name: 'LoggingOptionsPayload')
|
790
792
|
MachineLearningDetectionConfig = Shapes::StructureShape.new(name: 'MachineLearningDetectionConfig')
|
793
|
+
MaintenanceWindow = Shapes::StructureShape.new(name: 'MaintenanceWindow')
|
794
|
+
MaintenanceWindows = Shapes::ListShape.new(name: 'MaintenanceWindows')
|
791
795
|
MalformedPolicyException = Shapes::StructureShape.new(name: 'MalformedPolicyException')
|
792
796
|
ManagedJobTemplateName = Shapes::StringShape.new(name: 'ManagedJobTemplateName')
|
793
797
|
ManagedJobTemplateSummary = Shapes::StructureShape.new(name: 'ManagedJobTemplateSummary')
|
@@ -1006,6 +1010,8 @@ module Aws::IoT
|
|
1006
1010
|
ScheduledAuditMetadata = Shapes::StructureShape.new(name: 'ScheduledAuditMetadata')
|
1007
1011
|
ScheduledAuditMetadataList = Shapes::ListShape.new(name: 'ScheduledAuditMetadataList')
|
1008
1012
|
ScheduledAuditName = Shapes::StringShape.new(name: 'ScheduledAuditName')
|
1013
|
+
ScheduledJobRollout = Shapes::StructureShape.new(name: 'ScheduledJobRollout')
|
1014
|
+
ScheduledJobRolloutList = Shapes::ListShape.new(name: 'ScheduledJobRolloutList')
|
1009
1015
|
SchedulingConfig = Shapes::StructureShape.new(name: 'SchedulingConfig')
|
1010
1016
|
SearchIndexRequest = Shapes::StructureShape.new(name: 'SearchIndexRequest')
|
1011
1017
|
SearchIndexResponse = Shapes::StructureShape.new(name: 'SearchIndexResponse')
|
@@ -1944,6 +1950,7 @@ module Aws::IoT
|
|
1944
1950
|
CreateJobTemplateRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
1945
1951
|
CreateJobTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1946
1952
|
CreateJobTemplateRequest.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
|
1953
|
+
CreateJobTemplateRequest.add_member(:maintenance_windows, Shapes::ShapeRef.new(shape: MaintenanceWindows, location_name: "maintenanceWindows"))
|
1947
1954
|
CreateJobTemplateRequest.struct_class = Types::CreateJobTemplateRequest
|
1948
1955
|
|
1949
1956
|
CreateJobTemplateResponse.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
@@ -2506,6 +2513,7 @@ module Aws::IoT
|
|
2506
2513
|
DescribeJobTemplateResponse.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
2507
2514
|
DescribeJobTemplateResponse.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2508
2515
|
DescribeJobTemplateResponse.add_member(:job_executions_retry_config, Shapes::ShapeRef.new(shape: JobExecutionsRetryConfig, location_name: "jobExecutionsRetryConfig"))
|
2516
|
+
DescribeJobTemplateResponse.add_member(:maintenance_windows, Shapes::ShapeRef.new(shape: MaintenanceWindows, location_name: "maintenanceWindows"))
|
2509
2517
|
DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
|
2510
2518
|
|
2511
2519
|
DescribeManagedJobTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, required: true, location: "uri", location_name: "templateName"))
|
@@ -3064,6 +3072,7 @@ module Aws::IoT
|
|
3064
3072
|
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
3065
3073
|
Job.add_member(:is_concurrent, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "isConcurrent"))
|
3066
3074
|
Job.add_member(:scheduling_config, Shapes::ShapeRef.new(shape: SchedulingConfig, location_name: "schedulingConfig"))
|
3075
|
+
Job.add_member(:scheduled_job_rollouts, Shapes::ShapeRef.new(shape: ScheduledJobRolloutList, location_name: "scheduledJobRollouts"))
|
3067
3076
|
Job.struct_class = Types::Job
|
3068
3077
|
|
3069
3078
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -3756,6 +3765,12 @@ module Aws::IoT
|
|
3756
3765
|
MachineLearningDetectionConfig.add_member(:confidence_level, Shapes::ShapeRef.new(shape: ConfidenceLevel, required: true, location_name: "confidenceLevel"))
|
3757
3766
|
MachineLearningDetectionConfig.struct_class = Types::MachineLearningDetectionConfig
|
3758
3767
|
|
3768
|
+
MaintenanceWindow.add_member(:start_time, Shapes::ShapeRef.new(shape: CronExpression, required: true, location_name: "startTime"))
|
3769
|
+
MaintenanceWindow.add_member(:duration_in_minutes, Shapes::ShapeRef.new(shape: DurationInMinutes, required: true, location_name: "durationInMinutes"))
|
3770
|
+
MaintenanceWindow.struct_class = Types::MaintenanceWindow
|
3771
|
+
|
3772
|
+
MaintenanceWindows.member = Shapes::ShapeRef.new(shape: MaintenanceWindow)
|
3773
|
+
|
3759
3774
|
MalformedPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
3760
3775
|
MalformedPolicyException.struct_class = Types::MalformedPolicyException
|
3761
3776
|
|
@@ -4162,9 +4177,15 @@ module Aws::IoT
|
|
4162
4177
|
|
4163
4178
|
ScheduledAuditMetadataList.member = Shapes::ShapeRef.new(shape: ScheduledAuditMetadata)
|
4164
4179
|
|
4180
|
+
ScheduledJobRollout.add_member(:start_time, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "startTime"))
|
4181
|
+
ScheduledJobRollout.struct_class = Types::ScheduledJobRollout
|
4182
|
+
|
4183
|
+
ScheduledJobRolloutList.member = Shapes::ShapeRef.new(shape: ScheduledJobRollout)
|
4184
|
+
|
4165
4185
|
SchedulingConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "startTime"))
|
4166
4186
|
SchedulingConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "endTime"))
|
4167
4187
|
SchedulingConfig.add_member(:end_behavior, Shapes::ShapeRef.new(shape: JobEndBehavior, location_name: "endBehavior"))
|
4188
|
+
SchedulingConfig.add_member(:maintenance_windows, Shapes::ShapeRef.new(shape: MaintenanceWindows, location_name: "maintenanceWindows"))
|
4168
4189
|
SchedulingConfig.struct_class = Types::SchedulingConfig
|
4169
4190
|
|
4170
4191
|
SearchIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
@@ -50,9 +50,6 @@ module Aws::IoT
|
|
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
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,48 @@ module Aws::IoT
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
20
|
+
end
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
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://iot-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
|
19
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
21
39
|
end
|
22
40
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iot.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
24
45
|
end
|
25
|
-
|
26
|
-
|
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://iot-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
46
|
+
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iot.#{region}.amazonaws.com", headers: {}, properties: {})
|
30
48
|
end
|
31
|
-
|
32
|
-
|
33
|
-
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://iot-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
49
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
50
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iot.#{region}.amazonaws.com.cn", headers: {}, properties: {})
|
36
51
|
end
|
37
|
-
|
38
|
-
|
39
|
-
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://iot.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
52
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
53
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iot.#{region}.amazonaws.com", headers: {}, properties: {})
|
42
54
|
end
|
43
|
-
|
55
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iot.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
56
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iot.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
57
|
end
|
58
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
59
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
60
|
|
49
61
|
end
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -1311,13 +1311,13 @@ module Aws::IoT
|
|
1311
1311
|
# criteria (containing a `value` or `statisticalThreshold`). Valid
|
1312
1312
|
# operators include:
|
1313
1313
|
#
|
1314
|
-
# * `string-list
|
1314
|
+
# * `string-list`: `in-set` and `not-in-set`
|
1315
1315
|
#
|
1316
|
-
# * `number-list
|
1316
|
+
# * `number-list`: `in-set` and `not-in-set`
|
1317
1317
|
#
|
1318
|
-
# * `ip-address-list
|
1318
|
+
# * `ip-address-list`: `in-cidr-set` and `not-in-cidr-set`
|
1319
1319
|
#
|
1320
|
-
# * `number
|
1320
|
+
# * `number`: `less-than`, `less-than-equals`, `greater-than`, and
|
1321
1321
|
# `greater-than-equals`
|
1322
1322
|
# @return [String]
|
1323
1323
|
#
|
@@ -1742,7 +1742,7 @@ module Aws::IoT
|
|
1742
1742
|
# @!attribute [rw] certificate_mode
|
1743
1743
|
# The mode of the certificate.
|
1744
1744
|
#
|
1745
|
-
# `DEFAULT
|
1745
|
+
# `DEFAULT`: A certificate in `DEFAULT` mode is either generated by
|
1746
1746
|
# Amazon Web Services IoT Core or registered with an issuer
|
1747
1747
|
# certificate authority (CA) in `DEFAULT` mode. Devices with
|
1748
1748
|
# certificates in `DEFAULT` mode aren't required to send the Server
|
@@ -1751,7 +1751,7 @@ module Aws::IoT
|
|
1751
1751
|
# and VPC endpoints, we recommend that you use the SNI extension when
|
1752
1752
|
# connecting to Amazon Web Services IoT Core.
|
1753
1753
|
#
|
1754
|
-
# `SNI_ONLY
|
1754
|
+
# `SNI_ONLY`: A certificate in `SNI_ONLY` mode is registered without
|
1755
1755
|
# an issuer CA. Devices with certificates in `SNI_ONLY` mode must send
|
1756
1756
|
# the SNI extension when connecting to Amazon Web Services IoT Core.
|
1757
1757
|
# @return [String]
|
@@ -1844,7 +1844,7 @@ module Aws::IoT
|
|
1844
1844
|
# @!attribute [rw] certificate_mode
|
1845
1845
|
# The mode of the certificate.
|
1846
1846
|
#
|
1847
|
-
# `DEFAULT
|
1847
|
+
# `DEFAULT`: A certificate in `DEFAULT` mode is either generated by
|
1848
1848
|
# Amazon Web Services IoT Core or registered with an issuer
|
1849
1849
|
# certificate authority (CA) in `DEFAULT` mode. Devices with
|
1850
1850
|
# certificates in `DEFAULT` mode aren't required to send the Server
|
@@ -1853,7 +1853,7 @@ module Aws::IoT
|
|
1853
1853
|
# and VPC endpoints, we recommend that you use the SNI extension when
|
1854
1854
|
# connecting to Amazon Web Services IoT Core.
|
1855
1855
|
#
|
1856
|
-
# `SNI_ONLY
|
1856
|
+
# `SNI_ONLY`: A certificate in `SNI_ONLY` mode is registered without
|
1857
1857
|
# an issuer CA. Devices with certificates in `SNI_ONLY` mode must send
|
1858
1858
|
# the SNI extension when connecting to Amazon Web Services IoT Core.
|
1859
1859
|
#
|
@@ -2659,7 +2659,7 @@ module Aws::IoT
|
|
2659
2659
|
#
|
2660
2660
|
#
|
2661
2661
|
#
|
2662
|
-
# [1]: https://docs.aws.amazon.com/
|
2662
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
2663
2663
|
# @return [String]
|
2664
2664
|
#
|
2665
2665
|
# @!attribute [rw] tags
|
@@ -2915,6 +2915,12 @@ module Aws::IoT
|
|
2915
2915
|
# Allows you to create the criteria to retry a job.
|
2916
2916
|
# @return [Types::JobExecutionsRetryConfig]
|
2917
2917
|
#
|
2918
|
+
# @!attribute [rw] maintenance_windows
|
2919
|
+
# Allows you to configure an optional maintenance window for the
|
2920
|
+
# rollout of a job document to all devices in the target group for a
|
2921
|
+
# job.
|
2922
|
+
# @return [Array<Types::MaintenanceWindow>]
|
2923
|
+
#
|
2918
2924
|
class CreateJobTemplateRequest < Struct.new(
|
2919
2925
|
:job_template_id,
|
2920
2926
|
:job_arn,
|
@@ -2926,7 +2932,8 @@ module Aws::IoT
|
|
2926
2932
|
:abort_config,
|
2927
2933
|
:timeout_config,
|
2928
2934
|
:tags,
|
2929
|
-
:job_executions_retry_config
|
2935
|
+
:job_executions_retry_config,
|
2936
|
+
:maintenance_windows)
|
2930
2937
|
SENSITIVE = []
|
2931
2938
|
include Aws::Structure
|
2932
2939
|
end
|
@@ -5159,7 +5166,7 @@ module Aws::IoT
|
|
5159
5166
|
#
|
5160
5167
|
#
|
5161
5168
|
#
|
5162
|
-
# [1]: https://docs.aws.amazon.com/
|
5169
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
5163
5170
|
# @return [String]
|
5164
5171
|
#
|
5165
5172
|
# @!attribute [rw] version
|
@@ -5354,6 +5361,12 @@ module Aws::IoT
|
|
5354
5361
|
# each failure type for a job.
|
5355
5362
|
# @return [Types::JobExecutionsRetryConfig]
|
5356
5363
|
#
|
5364
|
+
# @!attribute [rw] maintenance_windows
|
5365
|
+
# Allows you to configure an optional maintenance window for the
|
5366
|
+
# rollout of a job document to all devices in the target group for a
|
5367
|
+
# job.
|
5368
|
+
# @return [Array<Types::MaintenanceWindow>]
|
5369
|
+
#
|
5357
5370
|
class DescribeJobTemplateResponse < Struct.new(
|
5358
5371
|
:job_template_arn,
|
5359
5372
|
:job_template_id,
|
@@ -5365,7 +5378,8 @@ module Aws::IoT
|
|
5365
5378
|
:job_executions_rollout_config,
|
5366
5379
|
:abort_config,
|
5367
5380
|
:timeout_config,
|
5368
|
-
:job_executions_retry_config
|
5381
|
+
:job_executions_retry_config,
|
5382
|
+
:maintenance_windows)
|
5369
5383
|
SENSITIVE = []
|
5370
5384
|
include Aws::Structure
|
5371
5385
|
end
|
@@ -6082,10 +6096,10 @@ module Aws::IoT
|
|
6082
6096
|
# The principal.
|
6083
6097
|
#
|
6084
6098
|
# Valid principals are CertificateArn
|
6085
|
-
# (arn:aws:iot:*region
|
6099
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
|
6086
6100
|
# thingGroupArn
|
6087
|
-
# (arn:aws:iot:*region
|
6088
|
-
# CognitoId (*region
|
6101
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
6102
|
+
# CognitoId (*region*:*id*).
|
6089
6103
|
# @return [String]
|
6090
6104
|
#
|
6091
6105
|
class DetachPrincipalPolicyRequest < Struct.new(
|
@@ -6806,10 +6820,10 @@ module Aws::IoT
|
|
6806
6820
|
# The main part of the response with a list of buckets. Each bucket
|
6807
6821
|
# contains a `keyValue` and a `count`.
|
6808
6822
|
#
|
6809
|
-
# `keyValue
|
6823
|
+
# `keyValue`: The aggregation field value counted for the particular
|
6810
6824
|
# bucket.
|
6811
6825
|
#
|
6812
|
-
# `count
|
6826
|
+
# `count`: The number of documents that have that value.
|
6813
6827
|
# @return [Array<Types::Bucket>]
|
6814
6828
|
#
|
6815
6829
|
class GetBucketsAggregationResponse < Struct.new(
|
@@ -6856,10 +6870,10 @@ module Aws::IoT
|
|
6856
6870
|
|
6857
6871
|
# @!attribute [rw] principal
|
6858
6872
|
# The principal. Valid principals are CertificateArn
|
6859
|
-
# (arn:aws:iot:*region
|
6873
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
|
6860
6874
|
# thingGroupArn
|
6861
|
-
# (arn:aws:iot:*region
|
6862
|
-
# CognitoId (*region
|
6875
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
6876
|
+
# CognitoId (*region*:*id*).
|
6863
6877
|
# @return [String]
|
6864
6878
|
#
|
6865
6879
|
# @!attribute [rw] cognito_identity_pool_id
|
@@ -7816,6 +7830,11 @@ module Aws::IoT
|
|
7816
7830
|
# job execution.
|
7817
7831
|
# @return [Types::SchedulingConfig]
|
7818
7832
|
#
|
7833
|
+
# @!attribute [rw] scheduled_job_rollouts
|
7834
|
+
# Displays the next seven maintenance window occurrences and their
|
7835
|
+
# start times.
|
7836
|
+
# @return [Array<Types::ScheduledJobRollout>]
|
7837
|
+
#
|
7819
7838
|
class Job < Struct.new(
|
7820
7839
|
:job_arn,
|
7821
7840
|
:job_id,
|
@@ -7839,7 +7858,8 @@ module Aws::IoT
|
|
7839
7858
|
:job_executions_retry_config,
|
7840
7859
|
:document_parameters,
|
7841
7860
|
:is_concurrent,
|
7842
|
-
:scheduling_config
|
7861
|
+
:scheduling_config,
|
7862
|
+
:scheduled_job_rollouts)
|
7843
7863
|
SENSITIVE = []
|
7844
7864
|
include Aws::Structure
|
7845
7865
|
end
|
@@ -8353,10 +8373,10 @@ module Aws::IoT
|
|
8353
8373
|
# @!attribute [rw] target
|
8354
8374
|
# The group or principal for which the policies will be listed. Valid
|
8355
8375
|
# principals are CertificateArn
|
8356
|
-
# (arn:aws:iot:*region
|
8376
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
|
8357
8377
|
# thingGroupArn
|
8358
|
-
# (arn:aws:iot:*region
|
8359
|
-
# CognitoId (*region
|
8378
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
8379
|
+
# CognitoId (*region*:*id*).
|
8360
8380
|
# @return [String]
|
8361
8381
|
#
|
8362
8382
|
# @!attribute [rw] recursive
|
@@ -9717,10 +9737,10 @@ module Aws::IoT
|
|
9717
9737
|
#
|
9718
9738
|
# @!attribute [rw] principal
|
9719
9739
|
# The principal. Valid principals are CertificateArn
|
9720
|
-
# (arn:aws:iot:*region
|
9740
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
|
9721
9741
|
# thingGroupArn
|
9722
|
-
# (arn:aws:iot:*region
|
9723
|
-
# CognitoId (*region
|
9742
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
9743
|
+
# CognitoId (*region*:*id*).
|
9724
9744
|
# @return [String]
|
9725
9745
|
#
|
9726
9746
|
# @!attribute [rw] marker
|
@@ -10917,6 +10937,26 @@ module Aws::IoT
|
|
10917
10937
|
include Aws::Structure
|
10918
10938
|
end
|
10919
10939
|
|
10940
|
+
# An optional configuration within the `SchedulingConfig` to setup a
|
10941
|
+
# recurring maintenance window with a predetermined start time and
|
10942
|
+
# duration for the rollout of a job document to all devices in a target
|
10943
|
+
# group for a job.
|
10944
|
+
#
|
10945
|
+
# @!attribute [rw] start_time
|
10946
|
+
# Displays the start time of the next maintenance window.
|
10947
|
+
# @return [String]
|
10948
|
+
#
|
10949
|
+
# @!attribute [rw] duration_in_minutes
|
10950
|
+
# Displays the duration of the next maintenance window.
|
10951
|
+
# @return [Integer]
|
10952
|
+
#
|
10953
|
+
class MaintenanceWindow < Struct.new(
|
10954
|
+
:start_time,
|
10955
|
+
:duration_in_minutes)
|
10956
|
+
SENSITIVE = []
|
10957
|
+
include Aws::Structure
|
10958
|
+
end
|
10959
|
+
|
10920
10960
|
# The policy documentation is not valid.
|
10921
10961
|
#
|
10922
10962
|
# @!attribute [rw] message
|
@@ -12556,6 +12596,20 @@ module Aws::IoT
|
|
12556
12596
|
include Aws::Structure
|
12557
12597
|
end
|
12558
12598
|
|
12599
|
+
# Displays the next seven maintenance window occurrences and their start
|
12600
|
+
# times.
|
12601
|
+
#
|
12602
|
+
# @!attribute [rw] start_time
|
12603
|
+
# Displays the start times of the next seven maintenance window
|
12604
|
+
# occurrences.
|
12605
|
+
# @return [String]
|
12606
|
+
#
|
12607
|
+
class ScheduledJobRollout < Struct.new(
|
12608
|
+
:start_time)
|
12609
|
+
SENSITIVE = []
|
12610
|
+
include Aws::Structure
|
12611
|
+
end
|
12612
|
+
|
12559
12613
|
# Specifies the date and time that a job will begin the rollout of the
|
12560
12614
|
# job document to all devices in the target group. Additionally, you can
|
12561
12615
|
# specify the end behavior for each job execution when it reaches the
|
@@ -12565,7 +12619,8 @@ module Aws::IoT
|
|
12565
12619
|
# The time a job will begin rollout of the job document to all devices
|
12566
12620
|
# in the target group for a job. The `startTime` can be scheduled up
|
12567
12621
|
# to a year in advance and must be scheduled a minimum of thirty
|
12568
|
-
# minutes from the current time.
|
12622
|
+
# minutes from the current time. The date and time format for the
|
12623
|
+
# `startTime` is YYYY-MM-DD for the date and HH:MM for the time.
|
12569
12624
|
# @return [String]
|
12570
12625
|
#
|
12571
12626
|
# @!attribute [rw] end_time
|
@@ -12574,7 +12629,9 @@ module Aws::IoT
|
|
12574
12629
|
# later than two years from the current time and be scheduled a
|
12575
12630
|
# minimum of thirty minutes from the current time. The minimum
|
12576
12631
|
# duration between `startTime` and `endTime` is thirty minutes. The
|
12577
|
-
# maximum duration between `startTime` and `endTime` is two years.
|
12632
|
+
# maximum duration between `startTime` and `endTime` is two years. The
|
12633
|
+
# date and time format for the `endTime` is YYYY-MM-DD for the date
|
12634
|
+
# and HH:MM for the time.
|
12578
12635
|
# @return [String]
|
12579
12636
|
#
|
12580
12637
|
# @!attribute [rw] end_behavior
|
@@ -12583,10 +12640,18 @@ module Aws::IoT
|
|
12583
12640
|
# creating the job, then `endBehavior` does not apply.
|
12584
12641
|
# @return [String]
|
12585
12642
|
#
|
12643
|
+
# @!attribute [rw] maintenance_windows
|
12644
|
+
# An optional configuration within the `SchedulingConfig` to setup a
|
12645
|
+
# recurring maintenance window with a predetermined start time and
|
12646
|
+
# duration for the rollout of a job document to all devices in a
|
12647
|
+
# target group for a job.
|
12648
|
+
# @return [Array<Types::MaintenanceWindow>]
|
12649
|
+
#
|
12586
12650
|
class SchedulingConfig < Struct.new(
|
12587
12651
|
:start_time,
|
12588
12652
|
:end_time,
|
12589
|
-
:end_behavior
|
12653
|
+
:end_behavior,
|
12654
|
+
:maintenance_windows)
|
12590
12655
|
SENSITIVE = []
|
12591
12656
|
include Aws::Structure
|
12592
12657
|
end
|
@@ -13489,10 +13554,10 @@ module Aws::IoT
|
|
13489
13554
|
|
13490
13555
|
# @!attribute [rw] principal
|
13491
13556
|
# The principal. Valid principals are CertificateArn
|
13492
|
-
# (arn:aws:iot:*region
|
13557
|
+
# (arn:aws:iot:*region*:*accountId*:cert/*certificateId*),
|
13493
13558
|
# thingGroupArn
|
13494
|
-
# (arn:aws:iot:*region
|
13495
|
-
# CognitoId (*region
|
13559
|
+
# (arn:aws:iot:*region*:*accountId*:thinggroup/*groupName*) and
|
13560
|
+
# CognitoId (*region*:*id*).
|
13496
13561
|
# @return [String]
|
13497
13562
|
#
|
13498
13563
|
# @!attribute [rw] cognito_identity_pool_id
|
data/lib/aws-sdk-iot.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.102.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-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|