aws-sdk-ssm 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +21 -9
- data/lib/aws-sdk-ssm/client_api.rb +14 -0
- data/lib/aws-sdk-ssm/types.rb +87 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 075b9a4198a359b34dbc4fdd447021b4b9124992
|
4
|
+
data.tar.gz: cb1668daeb5a21828a632fb03a9623a316b654c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b79229e05658be31042060c27aa764af432ab808027a5eea8f6a26e4730289d881f4a610e0d94a9a522a50cd5535ebbd15af4c4336f461d89ded87edfd0247ef
|
7
|
+
data.tar.gz: f2dfbffaa693a2e21f24a67f56b527181c0c37ffce73479ee0aa268c01cfd1168aa2282da27c9b4eb64db32984c56ef99e3be4df3ccd198d02d1b3f579484ee2
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -353,8 +353,8 @@ module Aws::SSM
|
|
353
353
|
# instances or targets.
|
354
354
|
#
|
355
355
|
# When you associate a document with one or more instances using
|
356
|
-
# instance IDs or tags,
|
357
|
-
#
|
356
|
+
# instance IDs or tags, SSM Agent running on the instance processes the
|
357
|
+
# document and configures the instance as specified.
|
358
358
|
#
|
359
359
|
# If you associate a document with an instance that already has an
|
360
360
|
# associated document, the system throws the AssociationAlreadyExists
|
@@ -462,8 +462,8 @@ module Aws::SSM
|
|
462
462
|
# instances or targets.
|
463
463
|
#
|
464
464
|
# When you associate a document with one or more instances using
|
465
|
-
# instance IDs or tags,
|
466
|
-
#
|
465
|
+
# instance IDs or tags, SSM Agent running on the instance processes the
|
466
|
+
# document and configures the instance as specified.
|
467
467
|
#
|
468
468
|
# If you associate a document with an instance that already has an
|
469
469
|
# associated document, the system throws the AssociationAlreadyExists
|
@@ -3340,7 +3340,7 @@ module Aws::SSM
|
|
3340
3340
|
# {
|
3341
3341
|
# key: "InventoryFilterKey", # required
|
3342
3342
|
# values: ["InventoryFilterValue"], # required
|
3343
|
-
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
3343
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
3344
3344
|
# },
|
3345
3345
|
# ],
|
3346
3346
|
# aggregators: [
|
@@ -3349,6 +3349,18 @@ module Aws::SSM
|
|
3349
3349
|
# aggregators: {
|
3350
3350
|
# # recursive InventoryAggregatorList
|
3351
3351
|
# },
|
3352
|
+
# groups: [
|
3353
|
+
# {
|
3354
|
+
# name: "InventoryGroupName", # required
|
3355
|
+
# filters: [ # required
|
3356
|
+
# {
|
3357
|
+
# key: "InventoryFilterKey", # required
|
3358
|
+
# values: ["InventoryFilterValue"], # required
|
3359
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
3360
|
+
# },
|
3361
|
+
# ],
|
3362
|
+
# },
|
3363
|
+
# ],
|
3352
3364
|
# },
|
3353
3365
|
# ],
|
3354
3366
|
# result_attributes: [
|
@@ -4327,7 +4339,7 @@ module Aws::SSM
|
|
4327
4339
|
# next_token: "NextToken",
|
4328
4340
|
# filters: [
|
4329
4341
|
# {
|
4330
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
|
4342
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
|
4331
4343
|
# value: "CommandFilterValue", # required
|
4332
4344
|
# },
|
4333
4345
|
# ],
|
@@ -4415,7 +4427,7 @@ module Aws::SSM
|
|
4415
4427
|
# next_token: "NextToken",
|
4416
4428
|
# filters: [
|
4417
4429
|
# {
|
4418
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
|
4430
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
|
4419
4431
|
# value: "CommandFilterValue", # required
|
4420
4432
|
# },
|
4421
4433
|
# ],
|
@@ -4761,7 +4773,7 @@ module Aws::SSM
|
|
4761
4773
|
# {
|
4762
4774
|
# key: "InventoryFilterKey", # required
|
4763
4775
|
# values: ["InventoryFilterValue"], # required
|
4764
|
-
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
4776
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
4765
4777
|
# },
|
4766
4778
|
# ],
|
4767
4779
|
# next_token: "NextToken",
|
@@ -6938,7 +6950,7 @@ module Aws::SSM
|
|
6938
6950
|
params: params,
|
6939
6951
|
config: config)
|
6940
6952
|
context[:gem_name] = 'aws-sdk-ssm'
|
6941
|
-
context[:gem_version] = '1.
|
6953
|
+
context[:gem_version] = '1.23.0'
|
6942
6954
|
Seahorse::Client::Request.new(handlers, context)
|
6943
6955
|
end
|
6944
6956
|
|
@@ -387,6 +387,7 @@ module Aws::SSM
|
|
387
387
|
InternalServerError = Shapes::StructureShape.new(name: 'InternalServerError')
|
388
388
|
InvalidActivation = Shapes::StructureShape.new(name: 'InvalidActivation')
|
389
389
|
InvalidActivationId = Shapes::StructureShape.new(name: 'InvalidActivationId')
|
390
|
+
InvalidAggregatorException = Shapes::StructureShape.new(name: 'InvalidAggregatorException')
|
390
391
|
InvalidAllowedPatternException = Shapes::StructureShape.new(name: 'InvalidAllowedPatternException')
|
391
392
|
InvalidAssociation = Shapes::StructureShape.new(name: 'InvalidAssociation')
|
392
393
|
InvalidAssociationVersion = Shapes::StructureShape.new(name: 'InvalidAssociationVersion')
|
@@ -407,6 +408,7 @@ module Aws::SSM
|
|
407
408
|
InvalidFilterValue = Shapes::StructureShape.new(name: 'InvalidFilterValue')
|
408
409
|
InvalidInstanceId = Shapes::StructureShape.new(name: 'InvalidInstanceId')
|
409
410
|
InvalidInstanceInformationFilterValue = Shapes::StructureShape.new(name: 'InvalidInstanceInformationFilterValue')
|
411
|
+
InvalidInventoryGroupException = Shapes::StructureShape.new(name: 'InvalidInventoryGroupException')
|
410
412
|
InvalidInventoryItemContextException = Shapes::StructureShape.new(name: 'InvalidInventoryItemContextException')
|
411
413
|
InvalidInventoryRequestException = Shapes::StructureShape.new(name: 'InvalidInventoryRequestException')
|
412
414
|
InvalidItemContentException = Shapes::StructureShape.new(name: 'InvalidItemContentException')
|
@@ -446,6 +448,9 @@ module Aws::SSM
|
|
446
448
|
InventoryFilterList = Shapes::ListShape.new(name: 'InventoryFilterList')
|
447
449
|
InventoryFilterValue = Shapes::StringShape.new(name: 'InventoryFilterValue')
|
448
450
|
InventoryFilterValueList = Shapes::ListShape.new(name: 'InventoryFilterValueList')
|
451
|
+
InventoryGroup = Shapes::StructureShape.new(name: 'InventoryGroup')
|
452
|
+
InventoryGroupList = Shapes::ListShape.new(name: 'InventoryGroupList')
|
453
|
+
InventoryGroupName = Shapes::StringShape.new(name: 'InventoryGroupName')
|
449
454
|
InventoryItem = Shapes::StructureShape.new(name: 'InventoryItem')
|
450
455
|
InventoryItemAttribute = Shapes::StructureShape.new(name: 'InventoryItemAttribute')
|
451
456
|
InventoryItemAttributeList = Shapes::ListShape.new(name: 'InventoryItemAttributeList')
|
@@ -2006,6 +2011,7 @@ module Aws::SSM
|
|
2006
2011
|
|
2007
2012
|
InventoryAggregator.add_member(:expression, Shapes::ShapeRef.new(shape: InventoryAggregatorExpression, location_name: "Expression"))
|
2008
2013
|
InventoryAggregator.add_member(:aggregators, Shapes::ShapeRef.new(shape: InventoryAggregatorList, location_name: "Aggregators"))
|
2014
|
+
InventoryAggregator.add_member(:groups, Shapes::ShapeRef.new(shape: InventoryGroupList, location_name: "Groups"))
|
2009
2015
|
InventoryAggregator.struct_class = Types::InventoryAggregator
|
2010
2016
|
|
2011
2017
|
InventoryAggregatorList.member = Shapes::ShapeRef.new(shape: InventoryAggregator)
|
@@ -2042,6 +2048,12 @@ module Aws::SSM
|
|
2042
2048
|
|
2043
2049
|
InventoryFilterValueList.member = Shapes::ShapeRef.new(shape: InventoryFilterValue)
|
2044
2050
|
|
2051
|
+
InventoryGroup.add_member(:name, Shapes::ShapeRef.new(shape: InventoryGroupName, required: true, location_name: "Name"))
|
2052
|
+
InventoryGroup.add_member(:filters, Shapes::ShapeRef.new(shape: InventoryFilterList, required: true, location_name: "Filters"))
|
2053
|
+
InventoryGroup.struct_class = Types::InventoryGroup
|
2054
|
+
|
2055
|
+
InventoryGroupList.member = Shapes::ShapeRef.new(shape: InventoryGroup)
|
2056
|
+
|
2045
2057
|
InventoryItem.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
|
2046
2058
|
InventoryItem.add_member(:schema_version, Shapes::ShapeRef.new(shape: InventoryItemSchemaVersion, required: true, location_name: "SchemaVersion"))
|
2047
2059
|
InventoryItem.add_member(:capture_time, Shapes::ShapeRef.new(shape: InventoryItemCaptureTime, required: true, location_name: "CaptureTime"))
|
@@ -3570,8 +3582,10 @@ module Aws::SSM
|
|
3570
3582
|
o.output = Shapes::ShapeRef.new(shape: GetInventoryResult)
|
3571
3583
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
3572
3584
|
o.errors << Shapes::ShapeRef.new(shape: InvalidFilter)
|
3585
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInventoryGroupException)
|
3573
3586
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextToken)
|
3574
3587
|
o.errors << Shapes::ShapeRef.new(shape: InvalidTypeNameException)
|
3588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAggregatorException)
|
3575
3589
|
o.errors << Shapes::ShapeRef.new(shape: InvalidResultAttributeException)
|
3576
3590
|
end)
|
3577
3591
|
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1158,7 +1158,7 @@ module Aws::SSM
|
|
1158
1158
|
# data as a hash:
|
1159
1159
|
#
|
1160
1160
|
# {
|
1161
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
|
1161
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
|
1162
1162
|
# value: "CommandFilterValue", # required
|
1163
1163
|
# }
|
1164
1164
|
#
|
@@ -5241,7 +5241,7 @@ module Aws::SSM
|
|
5241
5241
|
# {
|
5242
5242
|
# key: "InventoryFilterKey", # required
|
5243
5243
|
# values: ["InventoryFilterValue"], # required
|
5244
|
-
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
5244
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
5245
5245
|
# },
|
5246
5246
|
# ],
|
5247
5247
|
# aggregators: [
|
@@ -5250,6 +5250,18 @@ module Aws::SSM
|
|
5250
5250
|
# aggregators: {
|
5251
5251
|
# # recursive InventoryAggregatorList
|
5252
5252
|
# },
|
5253
|
+
# groups: [
|
5254
|
+
# {
|
5255
|
+
# name: "InventoryGroupName", # required
|
5256
|
+
# filters: [ # required
|
5257
|
+
# {
|
5258
|
+
# key: "InventoryFilterKey", # required
|
5259
|
+
# values: ["InventoryFilterValue"], # required
|
5260
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
5261
|
+
# },
|
5262
|
+
# ],
|
5263
|
+
# },
|
5264
|
+
# ],
|
5253
5265
|
# },
|
5254
5266
|
# ],
|
5255
5267
|
# result_attributes: [
|
@@ -6691,6 +6703,30 @@ module Aws::SSM
|
|
6691
6703
|
# aggregators: {
|
6692
6704
|
# # recursive InventoryAggregatorList
|
6693
6705
|
# },
|
6706
|
+
# groups: [
|
6707
|
+
# {
|
6708
|
+
# name: "InventoryGroupName", # required
|
6709
|
+
# filters: [ # required
|
6710
|
+
# {
|
6711
|
+
# key: "InventoryFilterKey", # required
|
6712
|
+
# values: ["InventoryFilterValue"], # required
|
6713
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
6714
|
+
# },
|
6715
|
+
# ],
|
6716
|
+
# },
|
6717
|
+
# ],
|
6718
|
+
# },
|
6719
|
+
# ],
|
6720
|
+
# groups: [
|
6721
|
+
# {
|
6722
|
+
# name: "InventoryGroupName", # required
|
6723
|
+
# filters: [ # required
|
6724
|
+
# {
|
6725
|
+
# key: "InventoryFilterKey", # required
|
6726
|
+
# values: ["InventoryFilterValue"], # required
|
6727
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
6728
|
+
# },
|
6729
|
+
# ],
|
6694
6730
|
# },
|
6695
6731
|
# ],
|
6696
6732
|
# }
|
@@ -6704,11 +6740,18 @@ module Aws::SSM
|
|
6704
6740
|
# type.
|
6705
6741
|
# @return [Array<Types::InventoryAggregator>]
|
6706
6742
|
#
|
6743
|
+
# @!attribute [rw] groups
|
6744
|
+
# A user-defined set of one or more filters on which to aggregate
|
6745
|
+
# inventory data. Groups return a count of resources that match and
|
6746
|
+
# don't match the specified criteria.
|
6747
|
+
# @return [Array<Types::InventoryGroup>]
|
6748
|
+
#
|
6707
6749
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryAggregator AWS API Documentation
|
6708
6750
|
#
|
6709
6751
|
class InventoryAggregator < Struct.new(
|
6710
6752
|
:expression,
|
6711
|
-
:aggregators
|
6753
|
+
:aggregators,
|
6754
|
+
:groups)
|
6712
6755
|
include Aws::Structure
|
6713
6756
|
end
|
6714
6757
|
|
@@ -6819,7 +6862,7 @@ module Aws::SSM
|
|
6819
6862
|
# {
|
6820
6863
|
# key: "InventoryFilterKey", # required
|
6821
6864
|
# values: ["InventoryFilterValue"], # required
|
6822
|
-
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
6865
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
6823
6866
|
# }
|
6824
6867
|
#
|
6825
6868
|
# @!attribute [rw] key
|
@@ -6847,6 +6890,43 @@ module Aws::SSM
|
|
6847
6890
|
include Aws::Structure
|
6848
6891
|
end
|
6849
6892
|
|
6893
|
+
# A user-defined set of one or more filters on which to aggregate
|
6894
|
+
# inventory data. Groups return a count of resources that match and
|
6895
|
+
# don't match the specified criteria.
|
6896
|
+
#
|
6897
|
+
# @note When making an API call, you may pass InventoryGroup
|
6898
|
+
# data as a hash:
|
6899
|
+
#
|
6900
|
+
# {
|
6901
|
+
# name: "InventoryGroupName", # required
|
6902
|
+
# filters: [ # required
|
6903
|
+
# {
|
6904
|
+
# key: "InventoryFilterKey", # required
|
6905
|
+
# values: ["InventoryFilterValue"], # required
|
6906
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
6907
|
+
# },
|
6908
|
+
# ],
|
6909
|
+
# }
|
6910
|
+
#
|
6911
|
+
# @!attribute [rw] name
|
6912
|
+
# The name of the group.
|
6913
|
+
# @return [String]
|
6914
|
+
#
|
6915
|
+
# @!attribute [rw] filters
|
6916
|
+
# Filters define the criteria for the group. The `matchingCount` field
|
6917
|
+
# displays the number of resources that match the criteria. The
|
6918
|
+
# `notMatchingCount` field displays the number of resources that
|
6919
|
+
# don't match the criteria.
|
6920
|
+
# @return [Array<Types::InventoryFilter>]
|
6921
|
+
#
|
6922
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryGroup AWS API Documentation
|
6923
|
+
#
|
6924
|
+
class InventoryGroup < Struct.new(
|
6925
|
+
:name,
|
6926
|
+
:filters)
|
6927
|
+
include Aws::Structure
|
6928
|
+
end
|
6929
|
+
|
6850
6930
|
# Information collected from managed instances based on your inventory
|
6851
6931
|
# policy document
|
6852
6932
|
#
|
@@ -7191,7 +7271,7 @@ module Aws::SSM
|
|
7191
7271
|
# next_token: "NextToken",
|
7192
7272
|
# filters: [
|
7193
7273
|
# {
|
7194
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
|
7274
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
|
7195
7275
|
# value: "CommandFilterValue", # required
|
7196
7276
|
# },
|
7197
7277
|
# ],
|
@@ -7266,7 +7346,7 @@ module Aws::SSM
|
|
7266
7346
|
# next_token: "NextToken",
|
7267
7347
|
# filters: [
|
7268
7348
|
# {
|
7269
|
-
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status
|
7349
|
+
# key: "InvokedAfter", # required, accepts InvokedAfter, InvokedBefore, Status, ExecutionStage, DocumentName
|
7270
7350
|
# value: "CommandFilterValue", # required
|
7271
7351
|
# },
|
7272
7352
|
# ],
|
@@ -7583,7 +7663,7 @@ module Aws::SSM
|
|
7583
7663
|
# {
|
7584
7664
|
# key: "InventoryFilterKey", # required
|
7585
7665
|
# values: ["InventoryFilterValue"], # required
|
7586
|
-
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
7666
|
+
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan, Exists
|
7587
7667
|
# },
|
7588
7668
|
# ],
|
7589
7669
|
# next_token: "NextToken",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ssm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.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-08-
|
11
|
+
date: 2018-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|