NAME
Paws::SSM - Perl Interface to AWS Amazon Simple Systems Management Service
SYNOPSIS
use Paws;
my $obj = Paws->service('SSM')->new;
my $res = $obj->Method(
Arg1 => $val1,
Arg2 => [ 'V1', 'V2' ],
# if Arg3 is an object, the HashRef will be used as arguments to the constructor
# of the arguments type
Arg3 => { Att1 => 'Val1' },
# if Arg4 is an array of objects, the HashRefs will be passed as arguments to
# the constructor of the arguments type
Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
);
DESCRIPTION
AWS Simple Systems Management enables you to configure and manage your EC2 instances. You can create a configuration document and then associate it with one or more running instances.
You can use a configuration document to automate the following tasks for your Windows instances:
Install, repair, or uninstall software using an MSI package
Run PowerShell scripts
Join an AWS Directory
Configure CloudWatch Logs to monitor applications and systems
Note that configuration documents are not supported on Linux instances.
METHODS
CreateAssociation(InstanceId => Str, Name => Str)
Each argument is described in detail in: Paws::SSM::CreateAssociation
Returns: a Paws::SSM::CreateAssociationResult instance
Associates the specified configuration document with the specified instance.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
CreateAssociationBatch(Entries => ArrayRef[Paws::SSM::CreateAssociationBatchRequestEntry])
Each argument is described in detail in: Paws::SSM::CreateAssociationBatch
Returns: a Paws::SSM::CreateAssociationBatchResult instance
Associates the specified configuration documents with the specified instances.
When you associate a configuration document with an instance, the configuration agent on the instance processes the configuration document and configures the instance as specified.
If you associate a configuration document with an instance that already has an associated configuration document, we replace the current configuration document with the new configuration document.
CreateDocument(Content => Str, Name => Str)
Each argument is described in detail in: Paws::SSM::CreateDocument
Returns: a Paws::SSM::CreateDocumentResult instance
Creates a configuration document.
After you create a configuration document, you can use CreateAssociation to associate it with one or more running instances.
DeleteAssociation(InstanceId => Str, Name => Str)
Each argument is described in detail in: Paws::SSM::DeleteAssociation
Returns: a Paws::SSM::DeleteAssociationResult instance
Disassociates the specified configuration document from the specified instance.
When you disassociate a configuration document from an instance, it does not change the configuration of the instance. To change the configuration state of an instance after you disassociate a configuration document, you must create a new configuration document with the desired configuration and associate it with the instance.
DeleteDocument(Name => Str)
Each argument is described in detail in: Paws::SSM::DeleteDocument
Returns: a Paws::SSM::DeleteDocumentResult instance
Deletes the specified configuration document.
You must use DeleteAssociation to disassociate all instances that are associated with the configuration document before you can delete it.
DescribeAssociation(InstanceId => Str, Name => Str)
Each argument is described in detail in: Paws::SSM::DescribeAssociation
Returns: a Paws::SSM::DescribeAssociationResult instance
Describes the associations for the specified configuration document or instance.
DescribeDocument(Name => Str)
Each argument is described in detail in: Paws::SSM::DescribeDocument
Returns: a Paws::SSM::DescribeDocumentResult instance
Describes the specified configuration document.
GetDocument(Name => Str)
Each argument is described in detail in: Paws::SSM::GetDocument
Returns: a Paws::SSM::GetDocumentResult instance
Gets the contents of the specified configuration document.
ListAssociations(AssociationFilterList => ArrayRef[Paws::SSM::AssociationFilter], [MaxResults => Int, NextToken => Str])
Each argument is described in detail in: Paws::SSM::ListAssociations
Returns: a Paws::SSM::ListAssociationsResult instance
Lists the associations for the specified configuration document or instance.
ListDocuments([DocumentFilterList => ArrayRef[Paws::SSM::DocumentFilter], MaxResults => Int, NextToken => Str])
Each argument is described in detail in: Paws::SSM::ListDocuments
Returns: a Paws::SSM::ListDocumentsResult instance
Describes one or more of your configuration documents.
UpdateAssociationStatus(AssociationStatus => Paws::SSM::AssociationStatus, InstanceId => Str, Name => Str)
Each argument is described in detail in: Paws::SSM::UpdateAssociationStatus
Returns: a Paws::SSM::UpdateAssociationStatusResult instance
Updates the status of the configuration document associated with the specified instance.
SEE ALSO
This service class forms part of Paws
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues