aws-sdk-ssm 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ssm.rb +1 -1
- data/lib/aws-sdk-ssm/client.rb +46 -13
- data/lib/aws-sdk-ssm/client_api.rb +39 -25
- data/lib/aws-sdk-ssm/types.rb +86 -12
- 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: a2ed1c4e807dedc62a888b00b49660ef8b8a2c38
|
4
|
+
data.tar.gz: b9d935e609fdc3ccf2f3384b0a90024290ff8e1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179867e1d18bb0bfd7098a7834494c2c4db20db8945c41c36dede0880a2325da17dbe924d57f0796d84311cf05500ddfc7ec069bd85b7a9a86fcda0019a83535
|
7
|
+
data.tar.gz: 8282907867f37f5897126401a0044ad1aeaffd0e0abce695d0dea5854f014c364aafd2ceda30ecb6b2f7f801d18b2b79199ec589996d9c19ed4c8c9d77e2c960
|
data/lib/aws-sdk-ssm.rb
CHANGED
data/lib/aws-sdk-ssm/client.rb
CHANGED
@@ -663,9 +663,8 @@ module Aws::SSM
|
|
663
663
|
# Creates a patch baseline.
|
664
664
|
#
|
665
665
|
# @option params [String] :operating_system
|
666
|
-
# Defines the operating system the patch baseline applies to.
|
667
|
-
#
|
668
|
-
# REDHAT\_ENTERPRISE\_LINUX. The Default value is WINDOWS.
|
666
|
+
# Defines the operating system the patch baseline applies to. The
|
667
|
+
# Default value is WINDOWS.
|
669
668
|
#
|
670
669
|
# @option params [required, String] :name
|
671
670
|
# The name of the patch baseline.
|
@@ -755,8 +754,7 @@ module Aws::SSM
|
|
755
754
|
# Amazon S3. This is an asynchronous operation that returns immediately.
|
756
755
|
# After a successful initial sync is completed, the system continuously
|
757
756
|
# syncs data to the Amazon S3 bucket. To check the status of the sync,
|
758
|
-
# use the
|
759
|
-
# operation.
|
757
|
+
# use the ListResourceDataSync.
|
760
758
|
#
|
761
759
|
# By default, data is not encrypted in Amazon S3. We strongly recommend
|
762
760
|
# that you enable encryption in Amazon S3 to ensure secure data storage.
|
@@ -1218,8 +1216,12 @@ module Aws::SSM
|
|
1218
1216
|
req.send_request(options)
|
1219
1217
|
end
|
1220
1218
|
|
1221
|
-
# Describes the
|
1222
|
-
#
|
1219
|
+
# Describes the association for the specified target or instance. If you
|
1220
|
+
# created the association by using the `Targets` parameter, then you
|
1221
|
+
# must retrieve the association by using the association ID. If you
|
1222
|
+
# created the association by specifying an instance ID and a Systems
|
1223
|
+
# Manager document, then you retrieve the association by specifying the
|
1224
|
+
# document name and the instance ID.
|
1223
1225
|
#
|
1224
1226
|
# @option params [String] :name
|
1225
1227
|
# The name of the Systems Manager document.
|
@@ -2771,6 +2773,12 @@ module Aws::SSM
|
|
2771
2773
|
# One or more filters. Use a filter to return a more specific list of
|
2772
2774
|
# results.
|
2773
2775
|
#
|
2776
|
+
# @option params [Array<Types::InventoryAggregator>] :aggregators
|
2777
|
+
# Returns counts of inventory types based on one or more expressions.
|
2778
|
+
# For example, if you aggregate by using an expression that uses the
|
2779
|
+
# `AWS:InstanceInformation.PlatformType` type, you can see a count of
|
2780
|
+
# how many Windows and Linux instances exist in your inventoried fleet.
|
2781
|
+
#
|
2774
2782
|
# @option params [Array<Types::ResultAttribute>] :result_attributes
|
2775
2783
|
# The list of inventory item types to return.
|
2776
2784
|
#
|
@@ -2798,6 +2806,14 @@ module Aws::SSM
|
|
2798
2806
|
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
2799
2807
|
# },
|
2800
2808
|
# ],
|
2809
|
+
# aggregators: [
|
2810
|
+
# {
|
2811
|
+
# expression: "InventoryAggregatorExpression",
|
2812
|
+
# aggregators: {
|
2813
|
+
# # recursive InventoryAggregatorList
|
2814
|
+
# },
|
2815
|
+
# },
|
2816
|
+
# ],
|
2801
2817
|
# result_attributes: [
|
2802
2818
|
# {
|
2803
2819
|
# type_name: "InventoryItemTypeName", # required
|
@@ -2845,6 +2861,12 @@ module Aws::SSM
|
|
2845
2861
|
# returns a token that you can specify in a subsequent call to get the
|
2846
2862
|
# next set of results.
|
2847
2863
|
#
|
2864
|
+
# @option params [Boolean] :aggregator
|
2865
|
+
# Returns inventory schemas that support aggregation. For example, this
|
2866
|
+
# call returns the `AWS:InstanceInformation` type, because it supports
|
2867
|
+
# aggregation based on the `PlatformName`, `PlatformType`, and
|
2868
|
+
# `PlatformVersion` attributes.
|
2869
|
+
#
|
2848
2870
|
# @option params [Boolean] :sub_type
|
2849
2871
|
# Returns the sub-type schema for a specified inventory type.
|
2850
2872
|
#
|
@@ -2859,6 +2881,7 @@ module Aws::SSM
|
|
2859
2881
|
# type_name: "InventoryItemTypeNameFilter",
|
2860
2882
|
# next_token: "NextToken",
|
2861
2883
|
# max_results: 1,
|
2884
|
+
# aggregator: false,
|
2862
2885
|
# sub_type: false,
|
2863
2886
|
# })
|
2864
2887
|
#
|
@@ -2870,6 +2893,7 @@ module Aws::SSM
|
|
2870
2893
|
# resp.schemas[0].attributes #=> Array
|
2871
2894
|
# resp.schemas[0].attributes[0].name #=> String
|
2872
2895
|
# resp.schemas[0].attributes[0].data_type #=> String, one of "string", "number"
|
2896
|
+
# resp.schemas[0].display_name #=> String
|
2873
2897
|
# resp.next_token #=> String
|
2874
2898
|
#
|
2875
2899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema AWS API Documentation
|
@@ -3328,9 +3352,8 @@ module Aws::SSM
|
|
3328
3352
|
# @option params [required, String] :path
|
3329
3353
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
3330
3354
|
# slash (/) and end with the parameter name. A hierarchy can have a
|
3331
|
-
# maximum of five levels.
|
3332
|
-
#
|
3333
|
-
# /Finance/Prod/IAD/OS/WinServ2016/license15
|
3355
|
+
# maximum of five levels. For example:
|
3356
|
+
# `/Finance/Prod/IAD/WinServ2016/license15`
|
3334
3357
|
#
|
3335
3358
|
# @option params [Boolean] :recursive
|
3336
3359
|
# Retrieve all parameters within a hierarchy.
|
@@ -4433,10 +4456,20 @@ module Aws::SSM
|
|
4433
4456
|
# Add one or more parameters to the system.
|
4434
4457
|
#
|
4435
4458
|
# @option params [required, String] :name
|
4436
|
-
# The name of the parameter that you want to add to the
|
4459
|
+
# The fully qualified name of the parameter that you want to add to the
|
4460
|
+
# system. The fully qualified name includes the complete hierarchy of
|
4461
|
+
# the parameter path and name. For example:
|
4462
|
+
# `/Dev/DBServer/MySQL/db-string13`
|
4463
|
+
#
|
4464
|
+
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
4465
|
+
# additional system attributes that are not part of the name. The
|
4466
|
+
# maximum length for the fully qualified parameter name is 1011
|
4467
|
+
# characters.
|
4468
|
+
#
|
4469
|
+
# </note>
|
4437
4470
|
#
|
4438
4471
|
# @option params [String] :description
|
4439
|
-
# Information about the parameter that you want to add to the system
|
4472
|
+
# Information about the parameter that you want to add to the system.
|
4440
4473
|
#
|
4441
4474
|
# @option params [required, String] :value
|
4442
4475
|
# The parameter value that you want to add to the system.
|
@@ -5865,7 +5898,7 @@ module Aws::SSM
|
|
5865
5898
|
params: params,
|
5866
5899
|
config: config)
|
5867
5900
|
context[:gem_name] = 'aws-sdk-ssm'
|
5868
|
-
context[:gem_version] = '1.
|
5901
|
+
context[:gem_version] = '1.4.0'
|
5869
5902
|
Seahorse::Client::Request.new(handlers, context)
|
5870
5903
|
end
|
5871
5904
|
|
@@ -21,6 +21,7 @@ module Aws::SSM
|
|
21
21
|
AddTagsToResourceRequest = Shapes::StructureShape.new(name: 'AddTagsToResourceRequest')
|
22
22
|
AddTagsToResourceResult = Shapes::StructureShape.new(name: 'AddTagsToResourceResult')
|
23
23
|
AgentErrorCode = Shapes::StringShape.new(name: 'AgentErrorCode')
|
24
|
+
AggregatorSchemaOnly = Shapes::BooleanShape.new(name: 'AggregatorSchemaOnly')
|
24
25
|
AllowedPattern = Shapes::StringShape.new(name: 'AllowedPattern')
|
25
26
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
26
27
|
ApproveAfterDays = Shapes::IntegerShape.new(name: 'ApproveAfterDays')
|
@@ -384,6 +385,9 @@ module Aws::SSM
|
|
384
385
|
InvalidTarget = Shapes::StructureShape.new(name: 'InvalidTarget')
|
385
386
|
InvalidTypeNameException = Shapes::StructureShape.new(name: 'InvalidTypeNameException')
|
386
387
|
InvalidUpdate = Shapes::StructureShape.new(name: 'InvalidUpdate')
|
388
|
+
InventoryAggregator = Shapes::StructureShape.new(name: 'InventoryAggregator')
|
389
|
+
InventoryAggregatorExpression = Shapes::StringShape.new(name: 'InventoryAggregatorExpression')
|
390
|
+
InventoryAggregatorList = Shapes::ListShape.new(name: 'InventoryAggregatorList')
|
387
391
|
InventoryAttributeDataType = Shapes::StringShape.new(name: 'InventoryAttributeDataType')
|
388
392
|
InventoryFilter = Shapes::StructureShape.new(name: 'InventoryFilter')
|
389
393
|
InventoryFilterKey = Shapes::StringShape.new(name: 'InventoryFilterKey')
|
@@ -412,6 +416,7 @@ module Aws::SSM
|
|
412
416
|
InventoryResultItem = Shapes::StructureShape.new(name: 'InventoryResultItem')
|
413
417
|
InventoryResultItemKey = Shapes::StringShape.new(name: 'InventoryResultItemKey')
|
414
418
|
InventoryResultItemMap = Shapes::MapShape.new(name: 'InventoryResultItemMap')
|
419
|
+
InventoryTypeDisplayName = Shapes::StringShape.new(name: 'InventoryTypeDisplayName')
|
415
420
|
InvocationDoesNotExist = Shapes::StructureShape.new(name: 'InvocationDoesNotExist')
|
416
421
|
InvocationTraceOutput = Shapes::StringShape.new(name: 'InvocationTraceOutput')
|
417
422
|
IsSubTypeSchema = Shapes::BooleanShape.new(name: 'IsSubTypeSchema')
|
@@ -724,7 +729,7 @@ module Aws::SSM
|
|
724
729
|
Url = Shapes::StringShape.new(name: 'Url')
|
725
730
|
Version = Shapes::StringShape.new(name: 'Version')
|
726
731
|
|
727
|
-
AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId
|
732
|
+
AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
|
728
733
|
|
729
734
|
Activation.add_member(:activation_id, Shapes::ShapeRef.new(shape: ActivationId, location_name: "ActivationId"))
|
730
735
|
Activation.add_member(:description, Shapes::ShapeRef.new(shape: ActivationDescription, location_name: "Description"))
|
@@ -776,15 +781,15 @@ module Aws::SSM
|
|
776
781
|
AssociationDescription.add_member(:association_name, Shapes::ShapeRef.new(shape: AssociationName, location_name: "AssociationName"))
|
777
782
|
AssociationDescription.struct_class = Types::AssociationDescription
|
778
783
|
|
779
|
-
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription
|
784
|
+
AssociationDescriptionList.member = Shapes::ShapeRef.new(shape: AssociationDescription)
|
780
785
|
|
781
786
|
AssociationFilter.add_member(:key, Shapes::ShapeRef.new(shape: AssociationFilterKey, required: true, location_name: "key"))
|
782
787
|
AssociationFilter.add_member(:value, Shapes::ShapeRef.new(shape: AssociationFilterValue, required: true, location_name: "value"))
|
783
788
|
AssociationFilter.struct_class = Types::AssociationFilter
|
784
789
|
|
785
|
-
AssociationFilterList.member = Shapes::ShapeRef.new(shape: AssociationFilter
|
790
|
+
AssociationFilterList.member = Shapes::ShapeRef.new(shape: AssociationFilter)
|
786
791
|
|
787
|
-
AssociationList.member = Shapes::ShapeRef.new(shape: Association
|
792
|
+
AssociationList.member = Shapes::ShapeRef.new(shape: Association)
|
788
793
|
|
789
794
|
AssociationOverview.add_member(:status, Shapes::ShapeRef.new(shape: StatusName, location_name: "Status"))
|
790
795
|
AssociationOverview.add_member(:detailed_status, Shapes::ShapeRef.new(shape: StatusName, location_name: "DetailedStatus"))
|
@@ -950,7 +955,7 @@ module Aws::SSM
|
|
950
955
|
|
951
956
|
ComplianceItemEntryList.member = Shapes::ShapeRef.new(shape: ComplianceItemEntry)
|
952
957
|
|
953
|
-
ComplianceItemList.member = Shapes::ShapeRef.new(shape: ComplianceItem
|
958
|
+
ComplianceItemList.member = Shapes::ShapeRef.new(shape: ComplianceItem)
|
954
959
|
|
955
960
|
ComplianceResourceIdList.member = Shapes::ShapeRef.new(shape: ComplianceResourceId)
|
956
961
|
|
@@ -961,16 +966,16 @@ module Aws::SSM
|
|
961
966
|
ComplianceStringFilter.add_member(:type, Shapes::ShapeRef.new(shape: ComplianceQueryOperatorType, location_name: "Type"))
|
962
967
|
ComplianceStringFilter.struct_class = Types::ComplianceStringFilter
|
963
968
|
|
964
|
-
ComplianceStringFilterList.member = Shapes::ShapeRef.new(shape: ComplianceStringFilter
|
969
|
+
ComplianceStringFilterList.member = Shapes::ShapeRef.new(shape: ComplianceStringFilter)
|
965
970
|
|
966
|
-
ComplianceStringFilterValueList.member = Shapes::ShapeRef.new(shape: ComplianceFilterValue
|
971
|
+
ComplianceStringFilterValueList.member = Shapes::ShapeRef.new(shape: ComplianceFilterValue)
|
967
972
|
|
968
973
|
ComplianceSummaryItem.add_member(:compliance_type, Shapes::ShapeRef.new(shape: ComplianceTypeName, location_name: "ComplianceType"))
|
969
974
|
ComplianceSummaryItem.add_member(:compliant_summary, Shapes::ShapeRef.new(shape: CompliantSummary, location_name: "CompliantSummary"))
|
970
975
|
ComplianceSummaryItem.add_member(:non_compliant_summary, Shapes::ShapeRef.new(shape: NonCompliantSummary, location_name: "NonCompliantSummary"))
|
971
976
|
ComplianceSummaryItem.struct_class = Types::ComplianceSummaryItem
|
972
977
|
|
973
|
-
ComplianceSummaryItemList.member = Shapes::ShapeRef.new(shape: ComplianceSummaryItem
|
978
|
+
ComplianceSummaryItemList.member = Shapes::ShapeRef.new(shape: ComplianceSummaryItem)
|
974
979
|
|
975
980
|
CompliantSummary.add_member(:compliant_count, Shapes::ShapeRef.new(shape: ComplianceSummaryCount, location_name: "CompliantCount"))
|
976
981
|
CompliantSummary.add_member(:severity_summary, Shapes::ShapeRef.new(shape: SeveritySummary, location_name: "SeveritySummary"))
|
@@ -990,7 +995,7 @@ module Aws::SSM
|
|
990
995
|
CreateAssociationBatchRequest.add_member(:entries, Shapes::ShapeRef.new(shape: CreateAssociationBatchRequestEntries, required: true, location_name: "Entries"))
|
991
996
|
CreateAssociationBatchRequest.struct_class = Types::CreateAssociationBatchRequest
|
992
997
|
|
993
|
-
CreateAssociationBatchRequestEntries.member = Shapes::ShapeRef.new(shape: CreateAssociationBatchRequestEntry
|
998
|
+
CreateAssociationBatchRequestEntries.member = Shapes::ShapeRef.new(shape: CreateAssociationBatchRequestEntry)
|
994
999
|
|
995
1000
|
CreateAssociationBatchRequestEntry.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, required: true, location_name: "Name"))
|
996
1001
|
CreateAssociationBatchRequestEntry.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "InstanceId"))
|
@@ -1382,7 +1387,7 @@ module Aws::SSM
|
|
1382
1387
|
DocumentFilter.add_member(:value, Shapes::ShapeRef.new(shape: DocumentFilterValue, required: true, location_name: "value"))
|
1383
1388
|
DocumentFilter.struct_class = Types::DocumentFilter
|
1384
1389
|
|
1385
|
-
DocumentFilterList.member = Shapes::ShapeRef.new(shape: DocumentFilter
|
1390
|
+
DocumentFilterList.member = Shapes::ShapeRef.new(shape: DocumentFilter)
|
1386
1391
|
|
1387
1392
|
DocumentIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: DocumentARN, location_name: "Name"))
|
1388
1393
|
DocumentIdentifier.add_member(:owner, Shapes::ShapeRef.new(shape: DocumentOwner, location_name: "Owner"))
|
@@ -1393,7 +1398,7 @@ module Aws::SSM
|
|
1393
1398
|
DocumentIdentifier.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
1394
1399
|
DocumentIdentifier.struct_class = Types::DocumentIdentifier
|
1395
1400
|
|
1396
|
-
DocumentIdentifierList.member = Shapes::ShapeRef.new(shape: DocumentIdentifier
|
1401
|
+
DocumentIdentifierList.member = Shapes::ShapeRef.new(shape: DocumentIdentifier)
|
1397
1402
|
|
1398
1403
|
DocumentKeyValuesFilter.add_member(:key, Shapes::ShapeRef.new(shape: DocumentKeyValuesFilterKey, location_name: "Key"))
|
1399
1404
|
DocumentKeyValuesFilter.add_member(:values, Shapes::ShapeRef.new(shape: DocumentKeyValuesFilterValues, location_name: "Values"))
|
@@ -1409,7 +1414,7 @@ module Aws::SSM
|
|
1409
1414
|
DocumentParameter.add_member(:default_value, Shapes::ShapeRef.new(shape: DocumentParameterDefaultValue, location_name: "DefaultValue"))
|
1410
1415
|
DocumentParameter.struct_class = Types::DocumentParameter
|
1411
1416
|
|
1412
|
-
DocumentParameterList.member = Shapes::ShapeRef.new(shape: DocumentParameter
|
1417
|
+
DocumentParameterList.member = Shapes::ShapeRef.new(shape: DocumentParameter)
|
1413
1418
|
|
1414
1419
|
DocumentVersionInfo.add_member(:name, Shapes::ShapeRef.new(shape: DocumentName, location_name: "Name"))
|
1415
1420
|
DocumentVersionInfo.add_member(:document_version, Shapes::ShapeRef.new(shape: DocumentVersion, location_name: "DocumentVersion"))
|
@@ -1430,7 +1435,7 @@ module Aws::SSM
|
|
1430
1435
|
FailedCreateAssociation.add_member(:fault, Shapes::ShapeRef.new(shape: Fault, location_name: "Fault"))
|
1431
1436
|
FailedCreateAssociation.struct_class = Types::FailedCreateAssociation
|
1432
1437
|
|
1433
|
-
FailedCreateAssociationList.member = Shapes::ShapeRef.new(shape: FailedCreateAssociation
|
1438
|
+
FailedCreateAssociationList.member = Shapes::ShapeRef.new(shape: FailedCreateAssociation)
|
1434
1439
|
|
1435
1440
|
FailureDetails.add_member(:failure_stage, Shapes::ShapeRef.new(shape: String, location_name: "FailureStage"))
|
1436
1441
|
FailureDetails.add_member(:failure_type, Shapes::ShapeRef.new(shape: String, location_name: "FailureType"))
|
@@ -1493,6 +1498,7 @@ module Aws::SSM
|
|
1493
1498
|
GetDocumentResult.struct_class = Types::GetDocumentResult
|
1494
1499
|
|
1495
1500
|
GetInventoryRequest.add_member(:filters, Shapes::ShapeRef.new(shape: InventoryFilterList, location_name: "Filters"))
|
1501
|
+
GetInventoryRequest.add_member(:aggregators, Shapes::ShapeRef.new(shape: InventoryAggregatorList, location_name: "Aggregators"))
|
1496
1502
|
GetInventoryRequest.add_member(:result_attributes, Shapes::ShapeRef.new(shape: ResultAttributeList, location_name: "ResultAttributes"))
|
1497
1503
|
GetInventoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1498
1504
|
GetInventoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
@@ -1505,6 +1511,7 @@ module Aws::SSM
|
|
1505
1511
|
GetInventorySchemaRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeNameFilter, location_name: "TypeName"))
|
1506
1512
|
GetInventorySchemaRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1507
1513
|
GetInventorySchemaRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetInventorySchemaMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
1514
|
+
GetInventorySchemaRequest.add_member(:aggregator, Shapes::ShapeRef.new(shape: AggregatorSchemaOnly, location_name: "Aggregator"))
|
1508
1515
|
GetInventorySchemaRequest.add_member(:sub_type, Shapes::ShapeRef.new(shape: IsSubTypeSchema, location_name: "SubType", metadata: {"box"=>true}))
|
1509
1516
|
GetInventorySchemaRequest.struct_class = Types::GetInventorySchemaRequest
|
1510
1517
|
|
@@ -1723,17 +1730,17 @@ module Aws::SSM
|
|
1723
1730
|
InstanceInformationFilter.add_member(:value_set, Shapes::ShapeRef.new(shape: InstanceInformationFilterValueSet, required: true, location_name: "valueSet"))
|
1724
1731
|
InstanceInformationFilter.struct_class = Types::InstanceInformationFilter
|
1725
1732
|
|
1726
|
-
InstanceInformationFilterList.member = Shapes::ShapeRef.new(shape: InstanceInformationFilter
|
1733
|
+
InstanceInformationFilterList.member = Shapes::ShapeRef.new(shape: InstanceInformationFilter)
|
1727
1734
|
|
1728
|
-
InstanceInformationFilterValueSet.member = Shapes::ShapeRef.new(shape: InstanceInformationFilterValue
|
1735
|
+
InstanceInformationFilterValueSet.member = Shapes::ShapeRef.new(shape: InstanceInformationFilterValue)
|
1729
1736
|
|
1730
|
-
InstanceInformationList.member = Shapes::ShapeRef.new(shape: InstanceInformation
|
1737
|
+
InstanceInformationList.member = Shapes::ShapeRef.new(shape: InstanceInformation)
|
1731
1738
|
|
1732
1739
|
InstanceInformationStringFilter.add_member(:key, Shapes::ShapeRef.new(shape: InstanceInformationStringFilterKey, required: true, location_name: "Key"))
|
1733
1740
|
InstanceInformationStringFilter.add_member(:values, Shapes::ShapeRef.new(shape: InstanceInformationFilterValueSet, required: true, location_name: "Values"))
|
1734
1741
|
InstanceInformationStringFilter.struct_class = Types::InstanceInformationStringFilter
|
1735
1742
|
|
1736
|
-
InstanceInformationStringFilterList.member = Shapes::ShapeRef.new(shape: InstanceInformationStringFilter
|
1743
|
+
InstanceInformationStringFilterList.member = Shapes::ShapeRef.new(shape: InstanceInformationStringFilter)
|
1737
1744
|
|
1738
1745
|
InstancePatchState.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
1739
1746
|
InstancePatchState.add_member(:patch_group, Shapes::ShapeRef.new(shape: PatchGroup, required: true, location_name: "PatchGroup"))
|
@@ -1763,14 +1770,20 @@ module Aws::SSM
|
|
1763
1770
|
|
1764
1771
|
InstancePatchStatesList.member = Shapes::ShapeRef.new(shape: InstancePatchState)
|
1765
1772
|
|
1773
|
+
InventoryAggregator.add_member(:expression, Shapes::ShapeRef.new(shape: InventoryAggregatorExpression, location_name: "Expression"))
|
1774
|
+
InventoryAggregator.add_member(:aggregators, Shapes::ShapeRef.new(shape: InventoryAggregatorList, location_name: "Aggregators"))
|
1775
|
+
InventoryAggregator.struct_class = Types::InventoryAggregator
|
1776
|
+
|
1777
|
+
InventoryAggregatorList.member = Shapes::ShapeRef.new(shape: InventoryAggregator)
|
1778
|
+
|
1766
1779
|
InventoryFilter.add_member(:key, Shapes::ShapeRef.new(shape: InventoryFilterKey, required: true, location_name: "Key"))
|
1767
1780
|
InventoryFilter.add_member(:values, Shapes::ShapeRef.new(shape: InventoryFilterValueList, required: true, location_name: "Values"))
|
1768
1781
|
InventoryFilter.add_member(:type, Shapes::ShapeRef.new(shape: InventoryQueryOperatorType, location_name: "Type"))
|
1769
1782
|
InventoryFilter.struct_class = Types::InventoryFilter
|
1770
1783
|
|
1771
|
-
InventoryFilterList.member = Shapes::ShapeRef.new(shape: InventoryFilter
|
1784
|
+
InventoryFilterList.member = Shapes::ShapeRef.new(shape: InventoryFilter)
|
1772
1785
|
|
1773
|
-
InventoryFilterValueList.member = Shapes::ShapeRef.new(shape: InventoryFilterValue
|
1786
|
+
InventoryFilterValueList.member = Shapes::ShapeRef.new(shape: InventoryFilterValue)
|
1774
1787
|
|
1775
1788
|
InventoryItem.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
|
1776
1789
|
InventoryItem.add_member(:schema_version, Shapes::ShapeRef.new(shape: InventoryItemSchemaVersion, required: true, location_name: "SchemaVersion"))
|
@@ -1784,7 +1797,7 @@ module Aws::SSM
|
|
1784
1797
|
InventoryItemAttribute.add_member(:data_type, Shapes::ShapeRef.new(shape: InventoryAttributeDataType, required: true, location_name: "DataType"))
|
1785
1798
|
InventoryItemAttribute.struct_class = Types::InventoryItemAttribute
|
1786
1799
|
|
1787
|
-
InventoryItemAttributeList.member = Shapes::ShapeRef.new(shape: InventoryItemAttribute
|
1800
|
+
InventoryItemAttributeList.member = Shapes::ShapeRef.new(shape: InventoryItemAttribute)
|
1788
1801
|
|
1789
1802
|
InventoryItemContentContext.key = Shapes::ShapeRef.new(shape: AttributeName)
|
1790
1803
|
InventoryItemContentContext.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
@@ -1794,11 +1807,12 @@ module Aws::SSM
|
|
1794
1807
|
|
1795
1808
|
InventoryItemEntryList.member = Shapes::ShapeRef.new(shape: InventoryItemEntry)
|
1796
1809
|
|
1797
|
-
InventoryItemList.member = Shapes::ShapeRef.new(shape: InventoryItem
|
1810
|
+
InventoryItemList.member = Shapes::ShapeRef.new(shape: InventoryItem)
|
1798
1811
|
|
1799
1812
|
InventoryItemSchema.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
|
1800
1813
|
InventoryItemSchema.add_member(:version, Shapes::ShapeRef.new(shape: InventoryItemSchemaVersion, location_name: "Version"))
|
1801
1814
|
InventoryItemSchema.add_member(:attributes, Shapes::ShapeRef.new(shape: InventoryItemAttributeList, required: true, location_name: "Attributes"))
|
1815
|
+
InventoryItemSchema.add_member(:display_name, Shapes::ShapeRef.new(shape: InventoryTypeDisplayName, location_name: "DisplayName"))
|
1802
1816
|
InventoryItemSchema.struct_class = Types::InventoryItemSchema
|
1803
1817
|
|
1804
1818
|
InventoryItemSchemaResultList.member = Shapes::ShapeRef.new(shape: InventoryItemSchema)
|
@@ -1807,7 +1821,7 @@ module Aws::SSM
|
|
1807
1821
|
InventoryResultEntity.add_member(:data, Shapes::ShapeRef.new(shape: InventoryResultItemMap, location_name: "Data"))
|
1808
1822
|
InventoryResultEntity.struct_class = Types::InventoryResultEntity
|
1809
1823
|
|
1810
|
-
InventoryResultEntityList.member = Shapes::ShapeRef.new(shape: InventoryResultEntity
|
1824
|
+
InventoryResultEntityList.member = Shapes::ShapeRef.new(shape: InventoryResultEntity)
|
1811
1825
|
|
1812
1826
|
InventoryResultItem.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
|
1813
1827
|
InventoryResultItem.add_member(:schema_version, Shapes::ShapeRef.new(shape: InventoryItemSchemaVersion, required: true, location_name: "SchemaVersion"))
|
@@ -2230,7 +2244,7 @@ module Aws::SSM
|
|
2230
2244
|
PatchStatus.add_member(:approval_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "ApprovalDate"))
|
2231
2245
|
PatchStatus.struct_class = Types::PatchStatus
|
2232
2246
|
|
2233
|
-
PlatformTypeList.member = Shapes::ShapeRef.new(shape: PlatformType
|
2247
|
+
PlatformTypeList.member = Shapes::ShapeRef.new(shape: PlatformType)
|
2234
2248
|
|
2235
2249
|
PutComplianceItemsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ComplianceResourceId, required: true, location_name: "ResourceId"))
|
2236
2250
|
PutComplianceItemsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ComplianceResourceType, required: true, location_name: "ResourceType"))
|
@@ -2322,7 +2336,7 @@ module Aws::SSM
|
|
2322
2336
|
ResourceComplianceSummaryItem.add_member(:non_compliant_summary, Shapes::ShapeRef.new(shape: NonCompliantSummary, location_name: "NonCompliantSummary"))
|
2323
2337
|
ResourceComplianceSummaryItem.struct_class = Types::ResourceComplianceSummaryItem
|
2324
2338
|
|
2325
|
-
ResourceComplianceSummaryItemList.member = Shapes::ShapeRef.new(shape: ResourceComplianceSummaryItem
|
2339
|
+
ResourceComplianceSummaryItemList.member = Shapes::ShapeRef.new(shape: ResourceComplianceSummaryItem)
|
2326
2340
|
|
2327
2341
|
ResourceDataSyncItem.add_member(:sync_name, Shapes::ShapeRef.new(shape: ResourceDataSyncName, location_name: "SyncName"))
|
2328
2342
|
ResourceDataSyncItem.add_member(:s3_destination, Shapes::ShapeRef.new(shape: ResourceDataSyncS3Destination, location_name: "S3Destination"))
|
@@ -2344,7 +2358,7 @@ module Aws::SSM
|
|
2344
2358
|
ResultAttribute.add_member(:type_name, Shapes::ShapeRef.new(shape: InventoryItemTypeName, required: true, location_name: "TypeName"))
|
2345
2359
|
ResultAttribute.struct_class = Types::ResultAttribute
|
2346
2360
|
|
2347
|
-
ResultAttributeList.member = Shapes::ShapeRef.new(shape: ResultAttribute
|
2361
|
+
ResultAttributeList.member = Shapes::ShapeRef.new(shape: ResultAttribute)
|
2348
2362
|
|
2349
2363
|
S3OutputLocation.add_member(:output_s3_region, Shapes::ShapeRef.new(shape: S3Region, location_name: "OutputS3Region"))
|
2350
2364
|
S3OutputLocation.add_member(:output_s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "OutputS3BucketName"))
|
data/lib/aws-sdk-ssm/types.rb
CHANGED
@@ -1792,9 +1792,8 @@ module Aws::SSM
|
|
1792
1792
|
# }
|
1793
1793
|
#
|
1794
1794
|
# @!attribute [rw] operating_system
|
1795
|
-
# Defines the operating system the patch baseline applies to.
|
1796
|
-
#
|
1797
|
-
# and REDHAT\_ENTERPRISE\_LINUX. The Default value is WINDOWS.
|
1795
|
+
# Defines the operating system the patch baseline applies to. The
|
1796
|
+
# Default value is WINDOWS.
|
1798
1797
|
# @return [String]
|
1799
1798
|
#
|
1800
1799
|
# @!attribute [rw] name
|
@@ -4376,6 +4375,14 @@ module Aws::SSM
|
|
4376
4375
|
# type: "Equal", # accepts Equal, NotEqual, BeginWith, LessThan, GreaterThan
|
4377
4376
|
# },
|
4378
4377
|
# ],
|
4378
|
+
# aggregators: [
|
4379
|
+
# {
|
4380
|
+
# expression: "InventoryAggregatorExpression",
|
4381
|
+
# aggregators: {
|
4382
|
+
# # recursive InventoryAggregatorList
|
4383
|
+
# },
|
4384
|
+
# },
|
4385
|
+
# ],
|
4379
4386
|
# result_attributes: [
|
4380
4387
|
# {
|
4381
4388
|
# type_name: "InventoryItemTypeName", # required
|
@@ -4390,6 +4397,14 @@ module Aws::SSM
|
|
4390
4397
|
# results.
|
4391
4398
|
# @return [Array<Types::InventoryFilter>]
|
4392
4399
|
#
|
4400
|
+
# @!attribute [rw] aggregators
|
4401
|
+
# Returns counts of inventory types based on one or more expressions.
|
4402
|
+
# For example, if you aggregate by using an expression that uses the
|
4403
|
+
# `AWS:InstanceInformation.PlatformType` type, you can see a count of
|
4404
|
+
# how many Windows and Linux instances exist in your inventoried
|
4405
|
+
# fleet.
|
4406
|
+
# @return [Array<Types::InventoryAggregator>]
|
4407
|
+
#
|
4393
4408
|
# @!attribute [rw] result_attributes
|
4394
4409
|
# The list of inventory item types to return.
|
4395
4410
|
# @return [Array<Types::ResultAttribute>]
|
@@ -4409,6 +4424,7 @@ module Aws::SSM
|
|
4409
4424
|
#
|
4410
4425
|
class GetInventoryRequest < Struct.new(
|
4411
4426
|
:filters,
|
4427
|
+
:aggregators,
|
4412
4428
|
:result_attributes,
|
4413
4429
|
:next_token,
|
4414
4430
|
:max_results)
|
@@ -4440,6 +4456,7 @@ module Aws::SSM
|
|
4440
4456
|
# type_name: "InventoryItemTypeNameFilter",
|
4441
4457
|
# next_token: "NextToken",
|
4442
4458
|
# max_results: 1,
|
4459
|
+
# aggregator: false,
|
4443
4460
|
# sub_type: false,
|
4444
4461
|
# }
|
4445
4462
|
#
|
@@ -4458,6 +4475,13 @@ module Aws::SSM
|
|
4458
4475
|
# next set of results.
|
4459
4476
|
# @return [Integer]
|
4460
4477
|
#
|
4478
|
+
# @!attribute [rw] aggregator
|
4479
|
+
# Returns inventory schemas that support aggregation. For example,
|
4480
|
+
# this call returns the `AWS:InstanceInformation` type, because it
|
4481
|
+
# supports aggregation based on the `PlatformName`, `PlatformType`,
|
4482
|
+
# and `PlatformVersion` attributes.
|
4483
|
+
# @return [Boolean]
|
4484
|
+
#
|
4461
4485
|
# @!attribute [rw] sub_type
|
4462
4486
|
# Returns the sub-type schema for a specified inventory type.
|
4463
4487
|
# @return [Boolean]
|
@@ -4468,6 +4492,7 @@ module Aws::SSM
|
|
4468
4492
|
:type_name,
|
4469
4493
|
:next_token,
|
4470
4494
|
:max_results,
|
4495
|
+
:aggregator,
|
4471
4496
|
:sub_type)
|
4472
4497
|
include Aws::Structure
|
4473
4498
|
end
|
@@ -5049,9 +5074,8 @@ module Aws::SSM
|
|
5049
5074
|
# @!attribute [rw] path
|
5050
5075
|
# The hierarchy for the parameter. Hierarchies start with a forward
|
5051
5076
|
# slash (/) and end with the parameter name. A hierarchy can have a
|
5052
|
-
# maximum of five levels.
|
5053
|
-
#
|
5054
|
-
# /Finance/Prod/IAD/OS/WinServ2016/license15
|
5077
|
+
# maximum of five levels. For example:
|
5078
|
+
# `/Finance/Prod/IAD/WinServ2016/license15`
|
5055
5079
|
# @return [String]
|
5056
5080
|
#
|
5057
5081
|
# @!attribute [rw] recursive
|
@@ -5729,6 +5753,41 @@ module Aws::SSM
|
|
5729
5753
|
include Aws::Structure
|
5730
5754
|
end
|
5731
5755
|
|
5756
|
+
# Specifies the inventory type and attribute for the aggregation
|
5757
|
+
# execution.
|
5758
|
+
#
|
5759
|
+
# @note When making an API call, you may pass InventoryAggregator
|
5760
|
+
# data as a hash:
|
5761
|
+
#
|
5762
|
+
# {
|
5763
|
+
# expression: "InventoryAggregatorExpression",
|
5764
|
+
# aggregators: [
|
5765
|
+
# {
|
5766
|
+
# expression: "InventoryAggregatorExpression",
|
5767
|
+
# aggregators: {
|
5768
|
+
# # recursive InventoryAggregatorList
|
5769
|
+
# },
|
5770
|
+
# },
|
5771
|
+
# ],
|
5772
|
+
# }
|
5773
|
+
#
|
5774
|
+
# @!attribute [rw] expression
|
5775
|
+
# The inventory type and attribute name for aggregation.
|
5776
|
+
# @return [String]
|
5777
|
+
#
|
5778
|
+
# @!attribute [rw] aggregators
|
5779
|
+
# Nested aggregators to further refine aggregation for an inventory
|
5780
|
+
# type.
|
5781
|
+
# @return [Array<Types::InventoryAggregator>]
|
5782
|
+
#
|
5783
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryAggregator AWS API Documentation
|
5784
|
+
#
|
5785
|
+
class InventoryAggregator < Struct.new(
|
5786
|
+
:expression,
|
5787
|
+
:aggregators)
|
5788
|
+
include Aws::Structure
|
5789
|
+
end
|
5790
|
+
|
5732
5791
|
# One or more filters. Use a filter to return a more specific list of
|
5733
5792
|
# results.
|
5734
5793
|
#
|
@@ -5872,12 +5931,18 @@ module Aws::SSM
|
|
5872
5931
|
# attribute name.
|
5873
5932
|
# @return [Array<Types::InventoryItemAttribute>]
|
5874
5933
|
#
|
5934
|
+
# @!attribute [rw] display_name
|
5935
|
+
# The alias name of the inventory type. The alias name is used for
|
5936
|
+
# display purposes.
|
5937
|
+
# @return [String]
|
5938
|
+
#
|
5875
5939
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryItemSchema AWS API Documentation
|
5876
5940
|
#
|
5877
5941
|
class InventoryItemSchema < Struct.new(
|
5878
5942
|
:type_name,
|
5879
5943
|
:version,
|
5880
|
-
:attributes
|
5944
|
+
:attributes,
|
5945
|
+
:display_name)
|
5881
5946
|
include Aws::Structure
|
5882
5947
|
end
|
5883
5948
|
|
@@ -7719,9 +7784,8 @@ module Aws::SSM
|
|
7719
7784
|
# @return [String]
|
7720
7785
|
#
|
7721
7786
|
# @!attribute [rw] operating_system
|
7722
|
-
# Defines the operating system the patch baseline applies to.
|
7723
|
-
#
|
7724
|
-
# and REDHAT\_ENTERPRISE\_LINUX. The Default value is WINDOWS.
|
7787
|
+
# Defines the operating system the patch baseline applies to. The
|
7788
|
+
# Default value is WINDOWS.
|
7725
7789
|
# @return [String]
|
7726
7790
|
#
|
7727
7791
|
# @!attribute [rw] baseline_description
|
@@ -8120,11 +8184,21 @@ module Aws::SSM
|
|
8120
8184
|
# }
|
8121
8185
|
#
|
8122
8186
|
# @!attribute [rw] name
|
8123
|
-
# The name of the parameter that you want to add to
|
8187
|
+
# The fully qualified name of the parameter that you want to add to
|
8188
|
+
# the system. The fully qualified name includes the complete hierarchy
|
8189
|
+
# of the parameter path and name. For example:
|
8190
|
+
# `/Dev/DBServer/MySQL/db-string13`
|
8191
|
+
#
|
8192
|
+
# <note markdown="1"> The maximum length constraint listed below includes capacity for
|
8193
|
+
# additional system attributes that are not part of the name. The
|
8194
|
+
# maximum length for the fully qualified parameter name is 1011
|
8195
|
+
# characters.
|
8196
|
+
#
|
8197
|
+
# </note>
|
8124
8198
|
# @return [String]
|
8125
8199
|
#
|
8126
8200
|
# @!attribute [rw] description
|
8127
|
-
# Information about the parameter that you want to add to the system
|
8201
|
+
# Information about the parameter that you want to add to the system.
|
8128
8202
|
# @return [String]
|
8129
8203
|
#
|
8130
8204
|
# @!attribute [rw] value
|
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.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: 2017-
|
11
|
+
date: 2017-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|