mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-31 04:30:44 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+9357
-973
File diff suppressed because it is too large
Load Diff
+2
-1
@@ -15,7 +15,8 @@
|
||||
// (http://docs.aws.amazon.com/systems-manager/latest/userguide/).
|
||||
//
|
||||
// To get started, verify prerequisites and configure managed instances. For
|
||||
// more information, see Systems Manager Prerequisites (http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html).
|
||||
// more information, see Setting Up AWS Systems Manager (http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up.html)
|
||||
// in the AWS Systems Manager User Guide.
|
||||
//
|
||||
// For information about other API actions you can perform on Amazon EC2 instances,
|
||||
// see the Amazon EC2 API Reference (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/).
|
||||
|
||||
+155
-9
@@ -30,6 +30,12 @@ const (
|
||||
// The specified association does not exist.
|
||||
ErrCodeAssociationDoesNotExist = "AssociationDoesNotExist"
|
||||
|
||||
// ErrCodeAssociationExecutionDoesNotExist for service response error code
|
||||
// "AssociationExecutionDoesNotExist".
|
||||
//
|
||||
// The specified execution ID does not exist. Verify the ID number and try again.
|
||||
ErrCodeAssociationExecutionDoesNotExist = "AssociationExecutionDoesNotExist"
|
||||
|
||||
// ErrCodeAssociationLimitExceeded for service response error code
|
||||
// "AssociationLimitExceeded".
|
||||
//
|
||||
@@ -120,8 +126,8 @@ const (
|
||||
// ErrCodeDoesNotExistException for service response error code
|
||||
// "DoesNotExistException".
|
||||
//
|
||||
// Error returned when the ID specified for a resource, such as a Maintenance
|
||||
// Window or Patch baseline, doesn't exist.
|
||||
// Error returned when the ID specified for a resource, such as a maintenance
|
||||
// window or Patch baseline, doesn't exist.
|
||||
//
|
||||
// For information about resource limits in Systems Manager, see AWS Systems
|
||||
// Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
|
||||
@@ -134,6 +140,13 @@ const (
|
||||
// the content of the document and try again.
|
||||
ErrCodeDuplicateDocumentContent = "DuplicateDocumentContent"
|
||||
|
||||
// ErrCodeDuplicateDocumentVersionName for service response error code
|
||||
// "DuplicateDocumentVersionName".
|
||||
//
|
||||
// The version name has already been used in this document. Specify a different
|
||||
// version name, and then try again.
|
||||
ErrCodeDuplicateDocumentVersionName = "DuplicateDocumentVersionName"
|
||||
|
||||
// ErrCodeDuplicateInstanceId for service response error code
|
||||
// "DuplicateInstanceId".
|
||||
//
|
||||
@@ -150,8 +163,9 @@ const (
|
||||
// ErrCodeHierarchyLevelLimitExceededException for service response error code
|
||||
// "HierarchyLevelLimitExceededException".
|
||||
//
|
||||
// A hierarchy can have a maximum of 15 levels. For more information, see Working
|
||||
// with Systems Manager Parameters (http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-working.html).
|
||||
// A hierarchy can have a maximum of 15 levels. For more information, see Requirements
|
||||
// and Constraints for Parameter Names (http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html)
|
||||
// in the AWS Systems Manager User Guide.
|
||||
ErrCodeHierarchyLevelLimitExceededException = "HierarchyLevelLimitExceededException"
|
||||
|
||||
// ErrCodeHierarchyTypeMismatchException for service response error code
|
||||
@@ -169,6 +183,14 @@ const (
|
||||
// don't match the original call to the API with the same idempotency token.
|
||||
ErrCodeIdempotentParameterMismatch = "IdempotentParameterMismatch"
|
||||
|
||||
// ErrCodeIncompatiblePolicyException for service response error code
|
||||
// "IncompatiblePolicyException".
|
||||
//
|
||||
// There is a conflict in the policies specified for this parameter. You can't,
|
||||
// for example, specify two Expiration policies for a parameter. Review your
|
||||
// policies, and try again.
|
||||
ErrCodeIncompatiblePolicyException = "IncompatiblePolicyException"
|
||||
|
||||
// ErrCodeInternalServerError for service response error code
|
||||
// "InternalServerError".
|
||||
//
|
||||
@@ -189,12 +211,25 @@ const (
|
||||
// or ActivationCode and try again.
|
||||
ErrCodeInvalidActivationId = "InvalidActivationId"
|
||||
|
||||
// ErrCodeInvalidAggregatorException for service response error code
|
||||
// "InvalidAggregatorException".
|
||||
//
|
||||
// The specified aggregator is not valid for inventory groups. Verify that the
|
||||
// aggregator uses a valid inventory type such as AWS:Application or AWS:InstanceInformation.
|
||||
ErrCodeInvalidAggregatorException = "InvalidAggregatorException"
|
||||
|
||||
// ErrCodeInvalidAllowedPatternException for service response error code
|
||||
// "InvalidAllowedPatternException".
|
||||
//
|
||||
// The request does not meet the regular expression requirement.
|
||||
ErrCodeInvalidAllowedPatternException = "InvalidAllowedPatternException"
|
||||
|
||||
// ErrCodeInvalidAssociation for service response error code
|
||||
// "InvalidAssociation".
|
||||
//
|
||||
// The association is not valid or does not exist.
|
||||
ErrCodeInvalidAssociation = "InvalidAssociation"
|
||||
|
||||
// ErrCodeInvalidAssociationVersion for service response error code
|
||||
// "InvalidAssociationVersion".
|
||||
//
|
||||
@@ -227,6 +262,20 @@ const (
|
||||
// "InvalidCommandId".
|
||||
ErrCodeInvalidCommandId = "InvalidCommandId"
|
||||
|
||||
// ErrCodeInvalidDeleteInventoryParametersException for service response error code
|
||||
// "InvalidDeleteInventoryParametersException".
|
||||
//
|
||||
// One or more of the parameters specified for the delete operation is not valid.
|
||||
// Verify all parameters and try again.
|
||||
ErrCodeInvalidDeleteInventoryParametersException = "InvalidDeleteInventoryParametersException"
|
||||
|
||||
// ErrCodeInvalidDeletionIdException for service response error code
|
||||
// "InvalidDeletionIdException".
|
||||
//
|
||||
// The ID specified for the delete operation does not exist or is not valid.
|
||||
// Verify the ID and try again.
|
||||
ErrCodeInvalidDeletionIdException = "InvalidDeletionIdException"
|
||||
|
||||
// ErrCodeInvalidDocument for service response error code
|
||||
// "InvalidDocument".
|
||||
//
|
||||
@@ -291,12 +340,12 @@ const (
|
||||
//
|
||||
// You do not have permission to access the instance.
|
||||
//
|
||||
// The SSM Agent is not running. On managed instances and Linux instances, verify
|
||||
// SSM Agent is not running. On managed instances and Linux instances, verify
|
||||
// that the SSM Agent is running. On EC2 Windows instances, verify that the
|
||||
// EC2Config service is running.
|
||||
//
|
||||
// The SSM Agent or EC2Config service is not registered to the SSM endpoint.
|
||||
// Try reinstalling the SSM Agent or EC2Config service.
|
||||
// SSM Agent or EC2Config service is not registered to the SSM endpoint. Try
|
||||
// reinstalling SSM Agent or EC2Config service.
|
||||
//
|
||||
// The instance is not in valid state. Valid states are: Running, Pending, Stopped,
|
||||
// Stopping. Invalid states are: Shutting-down and Terminated.
|
||||
@@ -308,6 +357,12 @@ const (
|
||||
// The specified filter value is not valid.
|
||||
ErrCodeInvalidInstanceInformationFilterValue = "InvalidInstanceInformationFilterValue"
|
||||
|
||||
// ErrCodeInvalidInventoryGroupException for service response error code
|
||||
// "InvalidInventoryGroupException".
|
||||
//
|
||||
// The specified inventory group is not valid.
|
||||
ErrCodeInvalidInventoryGroupException = "InvalidInventoryGroupException"
|
||||
|
||||
// ErrCodeInvalidInventoryItemContextException for service response error code
|
||||
// "InvalidInventoryItemContextException".
|
||||
//
|
||||
@@ -315,6 +370,12 @@ const (
|
||||
// Verify the keys and values, and try again.
|
||||
ErrCodeInvalidInventoryItemContextException = "InvalidInventoryItemContextException"
|
||||
|
||||
// ErrCodeInvalidInventoryRequestException for service response error code
|
||||
// "InvalidInventoryRequestException".
|
||||
//
|
||||
// The request is not valid.
|
||||
ErrCodeInvalidInventoryRequestException = "InvalidInventoryRequestException"
|
||||
|
||||
// ErrCodeInvalidItemContentException for service response error code
|
||||
// "InvalidItemContentException".
|
||||
//
|
||||
@@ -340,6 +401,13 @@ const (
|
||||
// Resource Name (ARN) was provided for an Amazon SNS topic.
|
||||
ErrCodeInvalidNotificationConfig = "InvalidNotificationConfig"
|
||||
|
||||
// ErrCodeInvalidOptionException for service response error code
|
||||
// "InvalidOptionException".
|
||||
//
|
||||
// The delete inventory option specified is not valid. Verify the option and
|
||||
// try again.
|
||||
ErrCodeInvalidOptionException = "InvalidOptionException"
|
||||
|
||||
// ErrCodeInvalidOutputFolder for service response error code
|
||||
// "InvalidOutputFolder".
|
||||
//
|
||||
@@ -373,6 +441,19 @@ const (
|
||||
// The plugin name is not valid.
|
||||
ErrCodeInvalidPluginName = "InvalidPluginName"
|
||||
|
||||
// ErrCodeInvalidPolicyAttributeException for service response error code
|
||||
// "InvalidPolicyAttributeException".
|
||||
//
|
||||
// A policy attribute or its value is invalid.
|
||||
ErrCodeInvalidPolicyAttributeException = "InvalidPolicyAttributeException"
|
||||
|
||||
// ErrCodeInvalidPolicyTypeException for service response error code
|
||||
// "InvalidPolicyTypeException".
|
||||
//
|
||||
// The policy type is not supported. Parameter Store supports the following
|
||||
// policy types: Expiration, ExpirationNotification, and NoChangeNotification.
|
||||
ErrCodeInvalidPolicyTypeException = "InvalidPolicyTypeException"
|
||||
|
||||
// ErrCodeInvalidResourceId for service response error code
|
||||
// "InvalidResourceId".
|
||||
//
|
||||
@@ -432,7 +513,7 @@ const (
|
||||
// "InvocationDoesNotExist".
|
||||
//
|
||||
// The command ID and instance ID you specified did not match any invocations.
|
||||
// Verify the command ID adn the instance ID and try again.
|
||||
// Verify the command ID and the instance ID and try again.
|
||||
ErrCodeInvocationDoesNotExist = "InvocationDoesNotExist"
|
||||
|
||||
// ErrCodeItemContentMismatchException for service response error code
|
||||
@@ -453,6 +534,32 @@ const (
|
||||
// The size limit of a document is 64 KB.
|
||||
ErrCodeMaxDocumentSizeExceeded = "MaxDocumentSizeExceeded"
|
||||
|
||||
// ErrCodeOpsItemAlreadyExistsException for service response error code
|
||||
// "OpsItemAlreadyExistsException".
|
||||
//
|
||||
// The OpsItem already exists.
|
||||
ErrCodeOpsItemAlreadyExistsException = "OpsItemAlreadyExistsException"
|
||||
|
||||
// ErrCodeOpsItemInvalidParameterException for service response error code
|
||||
// "OpsItemInvalidParameterException".
|
||||
//
|
||||
// A specified parameter argument isn't valid. Verify the available arguments
|
||||
// and try again.
|
||||
ErrCodeOpsItemInvalidParameterException = "OpsItemInvalidParameterException"
|
||||
|
||||
// ErrCodeOpsItemLimitExceededException for service response error code
|
||||
// "OpsItemLimitExceededException".
|
||||
//
|
||||
// The request caused OpsItems to exceed one or more limits. For information
|
||||
// about OpsItem limits, see What are the resource limits for OpsCenter? (http://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits).
|
||||
ErrCodeOpsItemLimitExceededException = "OpsItemLimitExceededException"
|
||||
|
||||
// ErrCodeOpsItemNotFoundException for service response error code
|
||||
// "OpsItemNotFoundException".
|
||||
//
|
||||
// The specified OpsItem ID doesn't exist. Verify the ID and try again.
|
||||
ErrCodeOpsItemNotFoundException = "OpsItemNotFoundException"
|
||||
|
||||
// ErrCodeParameterAlreadyExists for service response error code
|
||||
// "ParameterAlreadyExists".
|
||||
//
|
||||
@@ -484,6 +591,12 @@ const (
|
||||
// The parameter name is not valid.
|
||||
ErrCodeParameterPatternMismatchException = "ParameterPatternMismatchException"
|
||||
|
||||
// ErrCodeParameterVersionLabelLimitExceeded for service response error code
|
||||
// "ParameterVersionLabelLimitExceeded".
|
||||
//
|
||||
// A parameter version can have a maximum of ten labels.
|
||||
ErrCodeParameterVersionLabelLimitExceeded = "ParameterVersionLabelLimitExceeded"
|
||||
|
||||
// ErrCodeParameterVersionNotFound for service response error code
|
||||
// "ParameterVersionNotFound".
|
||||
//
|
||||
@@ -491,6 +604,13 @@ const (
|
||||
// and version, and try again.
|
||||
ErrCodeParameterVersionNotFound = "ParameterVersionNotFound"
|
||||
|
||||
// ErrCodePoliciesLimitExceededException for service response error code
|
||||
// "PoliciesLimitExceededException".
|
||||
//
|
||||
// You specified more than the maximum number of allowed policies for the parameter.
|
||||
// The maximum is 10.
|
||||
ErrCodePoliciesLimitExceededException = "PoliciesLimitExceededException"
|
||||
|
||||
// ErrCodeResourceDataSyncAlreadyExistsException for service response error code
|
||||
// "ResourceDataSyncAlreadyExistsException".
|
||||
//
|
||||
@@ -526,12 +646,19 @@ const (
|
||||
// "ResourceLimitExceededException".
|
||||
//
|
||||
// Error returned when the caller has exceeded the default resource limits.
|
||||
// For example, too many Maintenance Windows or Patch baselines have been created.
|
||||
// For example, too many maintenance windows or patch baselines have been created.
|
||||
//
|
||||
// For information about resource limits in Systems Manager, see AWS Systems
|
||||
// Manager Limits (http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits_ssm).
|
||||
ErrCodeResourceLimitExceededException = "ResourceLimitExceededException"
|
||||
|
||||
// ErrCodeServiceSettingNotFound for service response error code
|
||||
// "ServiceSettingNotFound".
|
||||
//
|
||||
// The specified service setting was not found. Either the service name or the
|
||||
// setting has not been provisioned by the AWS service team.
|
||||
ErrCodeServiceSettingNotFound = "ServiceSettingNotFound"
|
||||
|
||||
// ErrCodeStatusUnchanged for service response error code
|
||||
// "StatusUnchanged".
|
||||
//
|
||||
@@ -551,6 +678,15 @@ const (
|
||||
// operation, but the target is still referenced in a task.
|
||||
ErrCodeTargetInUseException = "TargetInUseException"
|
||||
|
||||
// ErrCodeTargetNotConnected for service response error code
|
||||
// "TargetNotConnected".
|
||||
//
|
||||
// The specified target instance for the session is not fully configured for
|
||||
// use with Session Manager. For more information, see Getting Started with
|
||||
// Session Manager (http://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html)
|
||||
// in the AWS Systems Manager User Guide.
|
||||
ErrCodeTargetNotConnected = "TargetNotConnected"
|
||||
|
||||
// ErrCodeTooManyTagsError for service response error code
|
||||
// "TooManyTagsError".
|
||||
//
|
||||
@@ -571,6 +707,16 @@ const (
|
||||
// The size of inventory data has exceeded the total size limit for the resource.
|
||||
ErrCodeTotalSizeLimitExceededException = "TotalSizeLimitExceededException"
|
||||
|
||||
// ErrCodeUnsupportedFeatureRequiredException for service response error code
|
||||
// "UnsupportedFeatureRequiredException".
|
||||
//
|
||||
// Microsoft application patching is only available on EC2 instances and Advanced
|
||||
// Instances. To patch Microsoft applications on on-premises servers and VMs,
|
||||
// you must enable Advanced Instances. For more information, see Using the Advanced-Instances
|
||||
// Tier (http://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances-advanced.html)
|
||||
// in the AWS Systems Manager User Guide.
|
||||
ErrCodeUnsupportedFeatureRequiredException = "UnsupportedFeatureRequiredException"
|
||||
|
||||
// ErrCodeUnsupportedInventoryItemContextException for service response error code
|
||||
// "UnsupportedInventoryItemContextException".
|
||||
//
|
||||
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
|
||||
|
||||
// +build go1.10,integration
|
||||
|
||||
package ssm_test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/aws/request"
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration"
|
||||
"github.com/aws/aws-sdk-go/service/ssm"
|
||||
)
|
||||
|
||||
var _ aws.Config
|
||||
var _ awserr.Error
|
||||
var _ request.Request
|
||||
|
||||
func TestInteg_00_ListDocuments(t *testing.T) {
|
||||
ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
defer cancelFn()
|
||||
|
||||
sess := integration.SessionWithDefaultRegion("us-west-2")
|
||||
svc := ssm.New(sess)
|
||||
params := &ssm.ListDocumentsInput{}
|
||||
_, err := svc.ListDocumentsWithContext(ctx, params)
|
||||
if err != nil {
|
||||
t.Errorf("expect no error, got %v", err)
|
||||
}
|
||||
}
|
||||
func TestInteg_01_GetDocument(t *testing.T) {
|
||||
ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
defer cancelFn()
|
||||
|
||||
sess := integration.SessionWithDefaultRegion("us-west-2")
|
||||
svc := ssm.New(sess)
|
||||
params := &ssm.GetDocumentInput{
|
||||
Name: aws.String("'fake-name'"),
|
||||
}
|
||||
_, err := svc.GetDocumentWithContext(ctx, params)
|
||||
if err == nil {
|
||||
t.Fatalf("expect request to fail")
|
||||
}
|
||||
aerr, ok := err.(awserr.RequestFailure)
|
||||
if !ok {
|
||||
t.Fatalf("expect awserr, was %T", err)
|
||||
}
|
||||
if len(aerr.Code()) == 0 {
|
||||
t.Errorf("expect non-empty error code")
|
||||
}
|
||||
if v := aerr.Code(); v == request.ErrCodeSerialization {
|
||||
t.Errorf("expect API error code got serialization failure")
|
||||
}
|
||||
}
|
||||
+4
-2
@@ -29,8 +29,9 @@ var initRequest func(*request.Request)
|
||||
|
||||
// Service information constants
|
||||
const (
|
||||
ServiceName = "ssm" // Service endpoint prefix API calls made to.
|
||||
EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
|
||||
ServiceName = "ssm" // Name of service.
|
||||
EndpointsID = ServiceName // ID to lookup a service endpoint with.
|
||||
ServiceID = "SSM" // ServiceID is a unique identifer of a specific service.
|
||||
)
|
||||
|
||||
// New creates a new instance of the SSM client with a session.
|
||||
@@ -55,6 +56,7 @@ func newClient(cfg aws.Config, handlers request.Handlers, endpoint, signingRegio
|
||||
cfg,
|
||||
metadata.ClientInfo{
|
||||
ServiceName: ServiceName,
|
||||
ServiceID: ServiceID,
|
||||
SigningName: signingName,
|
||||
SigningRegion: signingRegion,
|
||||
Endpoint: endpoint,
|
||||
|
||||
+92
@@ -68,6 +68,10 @@ type SSMAPI interface {
|
||||
CancelCommandWithContext(aws.Context, *ssm.CancelCommandInput, ...request.Option) (*ssm.CancelCommandOutput, error)
|
||||
CancelCommandRequest(*ssm.CancelCommandInput) (*request.Request, *ssm.CancelCommandOutput)
|
||||
|
||||
CancelMaintenanceWindowExecution(*ssm.CancelMaintenanceWindowExecutionInput) (*ssm.CancelMaintenanceWindowExecutionOutput, error)
|
||||
CancelMaintenanceWindowExecutionWithContext(aws.Context, *ssm.CancelMaintenanceWindowExecutionInput, ...request.Option) (*ssm.CancelMaintenanceWindowExecutionOutput, error)
|
||||
CancelMaintenanceWindowExecutionRequest(*ssm.CancelMaintenanceWindowExecutionInput) (*request.Request, *ssm.CancelMaintenanceWindowExecutionOutput)
|
||||
|
||||
CreateActivation(*ssm.CreateActivationInput) (*ssm.CreateActivationOutput, error)
|
||||
CreateActivationWithContext(aws.Context, *ssm.CreateActivationInput, ...request.Option) (*ssm.CreateActivationOutput, error)
|
||||
CreateActivationRequest(*ssm.CreateActivationInput) (*request.Request, *ssm.CreateActivationOutput)
|
||||
@@ -88,6 +92,10 @@ type SSMAPI interface {
|
||||
CreateMaintenanceWindowWithContext(aws.Context, *ssm.CreateMaintenanceWindowInput, ...request.Option) (*ssm.CreateMaintenanceWindowOutput, error)
|
||||
CreateMaintenanceWindowRequest(*ssm.CreateMaintenanceWindowInput) (*request.Request, *ssm.CreateMaintenanceWindowOutput)
|
||||
|
||||
CreateOpsItem(*ssm.CreateOpsItemInput) (*ssm.CreateOpsItemOutput, error)
|
||||
CreateOpsItemWithContext(aws.Context, *ssm.CreateOpsItemInput, ...request.Option) (*ssm.CreateOpsItemOutput, error)
|
||||
CreateOpsItemRequest(*ssm.CreateOpsItemInput) (*request.Request, *ssm.CreateOpsItemOutput)
|
||||
|
||||
CreatePatchBaseline(*ssm.CreatePatchBaselineInput) (*ssm.CreatePatchBaselineOutput, error)
|
||||
CreatePatchBaselineWithContext(aws.Context, *ssm.CreatePatchBaselineInput, ...request.Option) (*ssm.CreatePatchBaselineOutput, error)
|
||||
CreatePatchBaselineRequest(*ssm.CreatePatchBaselineInput) (*request.Request, *ssm.CreatePatchBaselineOutput)
|
||||
@@ -108,6 +116,10 @@ type SSMAPI interface {
|
||||
DeleteDocumentWithContext(aws.Context, *ssm.DeleteDocumentInput, ...request.Option) (*ssm.DeleteDocumentOutput, error)
|
||||
DeleteDocumentRequest(*ssm.DeleteDocumentInput) (*request.Request, *ssm.DeleteDocumentOutput)
|
||||
|
||||
DeleteInventory(*ssm.DeleteInventoryInput) (*ssm.DeleteInventoryOutput, error)
|
||||
DeleteInventoryWithContext(aws.Context, *ssm.DeleteInventoryInput, ...request.Option) (*ssm.DeleteInventoryOutput, error)
|
||||
DeleteInventoryRequest(*ssm.DeleteInventoryInput) (*request.Request, *ssm.DeleteInventoryOutput)
|
||||
|
||||
DeleteMaintenanceWindow(*ssm.DeleteMaintenanceWindowInput) (*ssm.DeleteMaintenanceWindowOutput, error)
|
||||
DeleteMaintenanceWindowWithContext(aws.Context, *ssm.DeleteMaintenanceWindowInput, ...request.Option) (*ssm.DeleteMaintenanceWindowOutput, error)
|
||||
DeleteMaintenanceWindowRequest(*ssm.DeleteMaintenanceWindowInput) (*request.Request, *ssm.DeleteMaintenanceWindowOutput)
|
||||
@@ -155,6 +167,14 @@ type SSMAPI interface {
|
||||
DescribeAssociationWithContext(aws.Context, *ssm.DescribeAssociationInput, ...request.Option) (*ssm.DescribeAssociationOutput, error)
|
||||
DescribeAssociationRequest(*ssm.DescribeAssociationInput) (*request.Request, *ssm.DescribeAssociationOutput)
|
||||
|
||||
DescribeAssociationExecutionTargets(*ssm.DescribeAssociationExecutionTargetsInput) (*ssm.DescribeAssociationExecutionTargetsOutput, error)
|
||||
DescribeAssociationExecutionTargetsWithContext(aws.Context, *ssm.DescribeAssociationExecutionTargetsInput, ...request.Option) (*ssm.DescribeAssociationExecutionTargetsOutput, error)
|
||||
DescribeAssociationExecutionTargetsRequest(*ssm.DescribeAssociationExecutionTargetsInput) (*request.Request, *ssm.DescribeAssociationExecutionTargetsOutput)
|
||||
|
||||
DescribeAssociationExecutions(*ssm.DescribeAssociationExecutionsInput) (*ssm.DescribeAssociationExecutionsOutput, error)
|
||||
DescribeAssociationExecutionsWithContext(aws.Context, *ssm.DescribeAssociationExecutionsInput, ...request.Option) (*ssm.DescribeAssociationExecutionsOutput, error)
|
||||
DescribeAssociationExecutionsRequest(*ssm.DescribeAssociationExecutionsInput) (*request.Request, *ssm.DescribeAssociationExecutionsOutput)
|
||||
|
||||
DescribeAutomationExecutions(*ssm.DescribeAutomationExecutionsInput) (*ssm.DescribeAutomationExecutionsOutput, error)
|
||||
DescribeAutomationExecutionsWithContext(aws.Context, *ssm.DescribeAutomationExecutionsInput, ...request.Option) (*ssm.DescribeAutomationExecutionsOutput, error)
|
||||
DescribeAutomationExecutionsRequest(*ssm.DescribeAutomationExecutionsInput) (*request.Request, *ssm.DescribeAutomationExecutionsOutput)
|
||||
@@ -206,6 +226,10 @@ type SSMAPI interface {
|
||||
DescribeInstancePatchesWithContext(aws.Context, *ssm.DescribeInstancePatchesInput, ...request.Option) (*ssm.DescribeInstancePatchesOutput, error)
|
||||
DescribeInstancePatchesRequest(*ssm.DescribeInstancePatchesInput) (*request.Request, *ssm.DescribeInstancePatchesOutput)
|
||||
|
||||
DescribeInventoryDeletions(*ssm.DescribeInventoryDeletionsInput) (*ssm.DescribeInventoryDeletionsOutput, error)
|
||||
DescribeInventoryDeletionsWithContext(aws.Context, *ssm.DescribeInventoryDeletionsInput, ...request.Option) (*ssm.DescribeInventoryDeletionsOutput, error)
|
||||
DescribeInventoryDeletionsRequest(*ssm.DescribeInventoryDeletionsInput) (*request.Request, *ssm.DescribeInventoryDeletionsOutput)
|
||||
|
||||
DescribeMaintenanceWindowExecutionTaskInvocations(*ssm.DescribeMaintenanceWindowExecutionTaskInvocationsInput) (*ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error)
|
||||
DescribeMaintenanceWindowExecutionTaskInvocationsWithContext(aws.Context, *ssm.DescribeMaintenanceWindowExecutionTaskInvocationsInput, ...request.Option) (*ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error)
|
||||
DescribeMaintenanceWindowExecutionTaskInvocationsRequest(*ssm.DescribeMaintenanceWindowExecutionTaskInvocationsInput) (*request.Request, *ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput)
|
||||
@@ -218,6 +242,10 @@ type SSMAPI interface {
|
||||
DescribeMaintenanceWindowExecutionsWithContext(aws.Context, *ssm.DescribeMaintenanceWindowExecutionsInput, ...request.Option) (*ssm.DescribeMaintenanceWindowExecutionsOutput, error)
|
||||
DescribeMaintenanceWindowExecutionsRequest(*ssm.DescribeMaintenanceWindowExecutionsInput) (*request.Request, *ssm.DescribeMaintenanceWindowExecutionsOutput)
|
||||
|
||||
DescribeMaintenanceWindowSchedule(*ssm.DescribeMaintenanceWindowScheduleInput) (*ssm.DescribeMaintenanceWindowScheduleOutput, error)
|
||||
DescribeMaintenanceWindowScheduleWithContext(aws.Context, *ssm.DescribeMaintenanceWindowScheduleInput, ...request.Option) (*ssm.DescribeMaintenanceWindowScheduleOutput, error)
|
||||
DescribeMaintenanceWindowScheduleRequest(*ssm.DescribeMaintenanceWindowScheduleInput) (*request.Request, *ssm.DescribeMaintenanceWindowScheduleOutput)
|
||||
|
||||
DescribeMaintenanceWindowTargets(*ssm.DescribeMaintenanceWindowTargetsInput) (*ssm.DescribeMaintenanceWindowTargetsOutput, error)
|
||||
DescribeMaintenanceWindowTargetsWithContext(aws.Context, *ssm.DescribeMaintenanceWindowTargetsInput, ...request.Option) (*ssm.DescribeMaintenanceWindowTargetsOutput, error)
|
||||
DescribeMaintenanceWindowTargetsRequest(*ssm.DescribeMaintenanceWindowTargetsInput) (*request.Request, *ssm.DescribeMaintenanceWindowTargetsOutput)
|
||||
@@ -230,6 +258,14 @@ type SSMAPI interface {
|
||||
DescribeMaintenanceWindowsWithContext(aws.Context, *ssm.DescribeMaintenanceWindowsInput, ...request.Option) (*ssm.DescribeMaintenanceWindowsOutput, error)
|
||||
DescribeMaintenanceWindowsRequest(*ssm.DescribeMaintenanceWindowsInput) (*request.Request, *ssm.DescribeMaintenanceWindowsOutput)
|
||||
|
||||
DescribeMaintenanceWindowsForTarget(*ssm.DescribeMaintenanceWindowsForTargetInput) (*ssm.DescribeMaintenanceWindowsForTargetOutput, error)
|
||||
DescribeMaintenanceWindowsForTargetWithContext(aws.Context, *ssm.DescribeMaintenanceWindowsForTargetInput, ...request.Option) (*ssm.DescribeMaintenanceWindowsForTargetOutput, error)
|
||||
DescribeMaintenanceWindowsForTargetRequest(*ssm.DescribeMaintenanceWindowsForTargetInput) (*request.Request, *ssm.DescribeMaintenanceWindowsForTargetOutput)
|
||||
|
||||
DescribeOpsItems(*ssm.DescribeOpsItemsInput) (*ssm.DescribeOpsItemsOutput, error)
|
||||
DescribeOpsItemsWithContext(aws.Context, *ssm.DescribeOpsItemsInput, ...request.Option) (*ssm.DescribeOpsItemsOutput, error)
|
||||
DescribeOpsItemsRequest(*ssm.DescribeOpsItemsInput) (*request.Request, *ssm.DescribeOpsItemsOutput)
|
||||
|
||||
DescribeParameters(*ssm.DescribeParametersInput) (*ssm.DescribeParametersOutput, error)
|
||||
DescribeParametersWithContext(aws.Context, *ssm.DescribeParametersInput, ...request.Option) (*ssm.DescribeParametersOutput, error)
|
||||
DescribeParametersRequest(*ssm.DescribeParametersInput) (*request.Request, *ssm.DescribeParametersOutput)
|
||||
@@ -249,6 +285,14 @@ type SSMAPI interface {
|
||||
DescribePatchGroupsWithContext(aws.Context, *ssm.DescribePatchGroupsInput, ...request.Option) (*ssm.DescribePatchGroupsOutput, error)
|
||||
DescribePatchGroupsRequest(*ssm.DescribePatchGroupsInput) (*request.Request, *ssm.DescribePatchGroupsOutput)
|
||||
|
||||
DescribePatchProperties(*ssm.DescribePatchPropertiesInput) (*ssm.DescribePatchPropertiesOutput, error)
|
||||
DescribePatchPropertiesWithContext(aws.Context, *ssm.DescribePatchPropertiesInput, ...request.Option) (*ssm.DescribePatchPropertiesOutput, error)
|
||||
DescribePatchPropertiesRequest(*ssm.DescribePatchPropertiesInput) (*request.Request, *ssm.DescribePatchPropertiesOutput)
|
||||
|
||||
DescribeSessions(*ssm.DescribeSessionsInput) (*ssm.DescribeSessionsOutput, error)
|
||||
DescribeSessionsWithContext(aws.Context, *ssm.DescribeSessionsInput, ...request.Option) (*ssm.DescribeSessionsOutput, error)
|
||||
DescribeSessionsRequest(*ssm.DescribeSessionsInput) (*request.Request, *ssm.DescribeSessionsOutput)
|
||||
|
||||
GetAutomationExecution(*ssm.GetAutomationExecutionInput) (*ssm.GetAutomationExecutionOutput, error)
|
||||
GetAutomationExecutionWithContext(aws.Context, *ssm.GetAutomationExecutionInput, ...request.Option) (*ssm.GetAutomationExecutionOutput, error)
|
||||
GetAutomationExecutionRequest(*ssm.GetAutomationExecutionInput) (*request.Request, *ssm.GetAutomationExecutionOutput)
|
||||
@@ -257,6 +301,10 @@ type SSMAPI interface {
|
||||
GetCommandInvocationWithContext(aws.Context, *ssm.GetCommandInvocationInput, ...request.Option) (*ssm.GetCommandInvocationOutput, error)
|
||||
GetCommandInvocationRequest(*ssm.GetCommandInvocationInput) (*request.Request, *ssm.GetCommandInvocationOutput)
|
||||
|
||||
GetConnectionStatus(*ssm.GetConnectionStatusInput) (*ssm.GetConnectionStatusOutput, error)
|
||||
GetConnectionStatusWithContext(aws.Context, *ssm.GetConnectionStatusInput, ...request.Option) (*ssm.GetConnectionStatusOutput, error)
|
||||
GetConnectionStatusRequest(*ssm.GetConnectionStatusInput) (*request.Request, *ssm.GetConnectionStatusOutput)
|
||||
|
||||
GetDefaultPatchBaseline(*ssm.GetDefaultPatchBaselineInput) (*ssm.GetDefaultPatchBaselineOutput, error)
|
||||
GetDefaultPatchBaselineWithContext(aws.Context, *ssm.GetDefaultPatchBaselineInput, ...request.Option) (*ssm.GetDefaultPatchBaselineOutput, error)
|
||||
GetDefaultPatchBaselineRequest(*ssm.GetDefaultPatchBaselineInput) (*request.Request, *ssm.GetDefaultPatchBaselineOutput)
|
||||
@@ -297,6 +345,14 @@ type SSMAPI interface {
|
||||
GetMaintenanceWindowTaskWithContext(aws.Context, *ssm.GetMaintenanceWindowTaskInput, ...request.Option) (*ssm.GetMaintenanceWindowTaskOutput, error)
|
||||
GetMaintenanceWindowTaskRequest(*ssm.GetMaintenanceWindowTaskInput) (*request.Request, *ssm.GetMaintenanceWindowTaskOutput)
|
||||
|
||||
GetOpsItem(*ssm.GetOpsItemInput) (*ssm.GetOpsItemOutput, error)
|
||||
GetOpsItemWithContext(aws.Context, *ssm.GetOpsItemInput, ...request.Option) (*ssm.GetOpsItemOutput, error)
|
||||
GetOpsItemRequest(*ssm.GetOpsItemInput) (*request.Request, *ssm.GetOpsItemOutput)
|
||||
|
||||
GetOpsSummary(*ssm.GetOpsSummaryInput) (*ssm.GetOpsSummaryOutput, error)
|
||||
GetOpsSummaryWithContext(aws.Context, *ssm.GetOpsSummaryInput, ...request.Option) (*ssm.GetOpsSummaryOutput, error)
|
||||
GetOpsSummaryRequest(*ssm.GetOpsSummaryInput) (*request.Request, *ssm.GetOpsSummaryOutput)
|
||||
|
||||
GetParameter(*ssm.GetParameterInput) (*ssm.GetParameterOutput, error)
|
||||
GetParameterWithContext(aws.Context, *ssm.GetParameterInput, ...request.Option) (*ssm.GetParameterOutput, error)
|
||||
GetParameterRequest(*ssm.GetParameterInput) (*request.Request, *ssm.GetParameterOutput)
|
||||
@@ -327,6 +383,14 @@ type SSMAPI interface {
|
||||
GetPatchBaselineForPatchGroupWithContext(aws.Context, *ssm.GetPatchBaselineForPatchGroupInput, ...request.Option) (*ssm.GetPatchBaselineForPatchGroupOutput, error)
|
||||
GetPatchBaselineForPatchGroupRequest(*ssm.GetPatchBaselineForPatchGroupInput) (*request.Request, *ssm.GetPatchBaselineForPatchGroupOutput)
|
||||
|
||||
GetServiceSetting(*ssm.GetServiceSettingInput) (*ssm.GetServiceSettingOutput, error)
|
||||
GetServiceSettingWithContext(aws.Context, *ssm.GetServiceSettingInput, ...request.Option) (*ssm.GetServiceSettingOutput, error)
|
||||
GetServiceSettingRequest(*ssm.GetServiceSettingInput) (*request.Request, *ssm.GetServiceSettingOutput)
|
||||
|
||||
LabelParameterVersion(*ssm.LabelParameterVersionInput) (*ssm.LabelParameterVersionOutput, error)
|
||||
LabelParameterVersionWithContext(aws.Context, *ssm.LabelParameterVersionInput, ...request.Option) (*ssm.LabelParameterVersionOutput, error)
|
||||
LabelParameterVersionRequest(*ssm.LabelParameterVersionInput) (*request.Request, *ssm.LabelParameterVersionOutput)
|
||||
|
||||
ListAssociationVersions(*ssm.ListAssociationVersionsInput) (*ssm.ListAssociationVersionsOutput, error)
|
||||
ListAssociationVersionsWithContext(aws.Context, *ssm.ListAssociationVersionsInput, ...request.Option) (*ssm.ListAssociationVersionsOutput, error)
|
||||
ListAssociationVersionsRequest(*ssm.ListAssociationVersionsInput) (*request.Request, *ssm.ListAssociationVersionsOutput)
|
||||
@@ -423,6 +487,14 @@ type SSMAPI interface {
|
||||
RemoveTagsFromResourceWithContext(aws.Context, *ssm.RemoveTagsFromResourceInput, ...request.Option) (*ssm.RemoveTagsFromResourceOutput, error)
|
||||
RemoveTagsFromResourceRequest(*ssm.RemoveTagsFromResourceInput) (*request.Request, *ssm.RemoveTagsFromResourceOutput)
|
||||
|
||||
ResetServiceSetting(*ssm.ResetServiceSettingInput) (*ssm.ResetServiceSettingOutput, error)
|
||||
ResetServiceSettingWithContext(aws.Context, *ssm.ResetServiceSettingInput, ...request.Option) (*ssm.ResetServiceSettingOutput, error)
|
||||
ResetServiceSettingRequest(*ssm.ResetServiceSettingInput) (*request.Request, *ssm.ResetServiceSettingOutput)
|
||||
|
||||
ResumeSession(*ssm.ResumeSessionInput) (*ssm.ResumeSessionOutput, error)
|
||||
ResumeSessionWithContext(aws.Context, *ssm.ResumeSessionInput, ...request.Option) (*ssm.ResumeSessionOutput, error)
|
||||
ResumeSessionRequest(*ssm.ResumeSessionInput) (*request.Request, *ssm.ResumeSessionOutput)
|
||||
|
||||
SendAutomationSignal(*ssm.SendAutomationSignalInput) (*ssm.SendAutomationSignalOutput, error)
|
||||
SendAutomationSignalWithContext(aws.Context, *ssm.SendAutomationSignalInput, ...request.Option) (*ssm.SendAutomationSignalOutput, error)
|
||||
SendAutomationSignalRequest(*ssm.SendAutomationSignalInput) (*request.Request, *ssm.SendAutomationSignalOutput)
|
||||
@@ -431,14 +503,26 @@ type SSMAPI interface {
|
||||
SendCommandWithContext(aws.Context, *ssm.SendCommandInput, ...request.Option) (*ssm.SendCommandOutput, error)
|
||||
SendCommandRequest(*ssm.SendCommandInput) (*request.Request, *ssm.SendCommandOutput)
|
||||
|
||||
StartAssociationsOnce(*ssm.StartAssociationsOnceInput) (*ssm.StartAssociationsOnceOutput, error)
|
||||
StartAssociationsOnceWithContext(aws.Context, *ssm.StartAssociationsOnceInput, ...request.Option) (*ssm.StartAssociationsOnceOutput, error)
|
||||
StartAssociationsOnceRequest(*ssm.StartAssociationsOnceInput) (*request.Request, *ssm.StartAssociationsOnceOutput)
|
||||
|
||||
StartAutomationExecution(*ssm.StartAutomationExecutionInput) (*ssm.StartAutomationExecutionOutput, error)
|
||||
StartAutomationExecutionWithContext(aws.Context, *ssm.StartAutomationExecutionInput, ...request.Option) (*ssm.StartAutomationExecutionOutput, error)
|
||||
StartAutomationExecutionRequest(*ssm.StartAutomationExecutionInput) (*request.Request, *ssm.StartAutomationExecutionOutput)
|
||||
|
||||
StartSession(*ssm.StartSessionInput) (*ssm.StartSessionOutput, error)
|
||||
StartSessionWithContext(aws.Context, *ssm.StartSessionInput, ...request.Option) (*ssm.StartSessionOutput, error)
|
||||
StartSessionRequest(*ssm.StartSessionInput) (*request.Request, *ssm.StartSessionOutput)
|
||||
|
||||
StopAutomationExecution(*ssm.StopAutomationExecutionInput) (*ssm.StopAutomationExecutionOutput, error)
|
||||
StopAutomationExecutionWithContext(aws.Context, *ssm.StopAutomationExecutionInput, ...request.Option) (*ssm.StopAutomationExecutionOutput, error)
|
||||
StopAutomationExecutionRequest(*ssm.StopAutomationExecutionInput) (*request.Request, *ssm.StopAutomationExecutionOutput)
|
||||
|
||||
TerminateSession(*ssm.TerminateSessionInput) (*ssm.TerminateSessionOutput, error)
|
||||
TerminateSessionWithContext(aws.Context, *ssm.TerminateSessionInput, ...request.Option) (*ssm.TerminateSessionOutput, error)
|
||||
TerminateSessionRequest(*ssm.TerminateSessionInput) (*request.Request, *ssm.TerminateSessionOutput)
|
||||
|
||||
UpdateAssociation(*ssm.UpdateAssociationInput) (*ssm.UpdateAssociationOutput, error)
|
||||
UpdateAssociationWithContext(aws.Context, *ssm.UpdateAssociationInput, ...request.Option) (*ssm.UpdateAssociationOutput, error)
|
||||
UpdateAssociationRequest(*ssm.UpdateAssociationInput) (*request.Request, *ssm.UpdateAssociationOutput)
|
||||
@@ -471,9 +555,17 @@ type SSMAPI interface {
|
||||
UpdateManagedInstanceRoleWithContext(aws.Context, *ssm.UpdateManagedInstanceRoleInput, ...request.Option) (*ssm.UpdateManagedInstanceRoleOutput, error)
|
||||
UpdateManagedInstanceRoleRequest(*ssm.UpdateManagedInstanceRoleInput) (*request.Request, *ssm.UpdateManagedInstanceRoleOutput)
|
||||
|
||||
UpdateOpsItem(*ssm.UpdateOpsItemInput) (*ssm.UpdateOpsItemOutput, error)
|
||||
UpdateOpsItemWithContext(aws.Context, *ssm.UpdateOpsItemInput, ...request.Option) (*ssm.UpdateOpsItemOutput, error)
|
||||
UpdateOpsItemRequest(*ssm.UpdateOpsItemInput) (*request.Request, *ssm.UpdateOpsItemOutput)
|
||||
|
||||
UpdatePatchBaseline(*ssm.UpdatePatchBaselineInput) (*ssm.UpdatePatchBaselineOutput, error)
|
||||
UpdatePatchBaselineWithContext(aws.Context, *ssm.UpdatePatchBaselineInput, ...request.Option) (*ssm.UpdatePatchBaselineOutput, error)
|
||||
UpdatePatchBaselineRequest(*ssm.UpdatePatchBaselineInput) (*request.Request, *ssm.UpdatePatchBaselineOutput)
|
||||
|
||||
UpdateServiceSetting(*ssm.UpdateServiceSettingInput) (*ssm.UpdateServiceSettingOutput, error)
|
||||
UpdateServiceSettingWithContext(aws.Context, *ssm.UpdateServiceSettingInput, ...request.Option) (*ssm.UpdateServiceSettingOutput, error)
|
||||
UpdateServiceSettingRequest(*ssm.UpdateServiceSettingInput) (*request.Request, *ssm.UpdateServiceSettingOutput)
|
||||
}
|
||||
|
||||
var _ SSMAPI = (*ssm.SSM)(nil)
|
||||
|
||||
Reference in New Issue
Block a user