// Generates an activation code and activation ID you can use to register your
// on-premises server or virtual machine (VM) with Systems Manager. Registering
// these machines with Systems Manager makes it possible to manage them using
// Systems Manager capabilities. You use the activation code and ID when installing
// SSM Agent on machines in your hybrid environment. For more information about
// requirements for managing on-premises instances and VMs using Systems Manager,
// see Setting up AWS Systems Manager for hybrid environments
// (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances.html)
// in the AWS Systems Manager User Guide. On-premises servers or VMs that are
// registered with Systems Manager and EC2 instances that you manage with Systems
// Manager are all called managed instances.
Generates an activation code and activation ID you can use to register your
on-premises server or virtual machine (VM) with Systems Manager. Registering
these machines with Systems Manager makes it possible to manage them using
Systems Manager capabilities. You use the activation code and ID when installing
SSM Agent on machines in your hybrid environment. For more information about
requirements for managing on-premises instances and VMs using Systems Manager,
see Setting up AWS Systems Manager for hybrid environments

in the AWS Systems Manager User Guide. On-premises servers or VMs that are
registered with Systems Manager and EC2 instances that you manage with Systems
Manager are all called managed instances.
// Generates an activation code and activation ID you can use to register your // on - premises server or virtual machine ( VM ) with Systems Manager . Registering // these machines with Systems Manager makes it possible to manage them using // Systems Manager capabilities . You use the activation code and ID when installing // SSM Agent on machines in your hybrid environment . For more information about // requirements for managing on - premises instances and VMs using Systems Manager // see Setting up AWS Systems Manager for hybrid environments // ( https : // docs . aws . amazon . com / systems - manager / latest / userguide / systems - manager - managedinstances . html ) // in the AWS Systems Manager User Guide . On - premises servers or VMs that are // registered with Systems Manager and EC2 instances that you manage with Systems // Manager are all called managed instances .
func (c *Client) CreateActivation(ctx context.Context, params *CreateActivationInput, optFns ...func(*Options)) (*CreateActivationOutput, error) {
	if params == nil {
		params = &CreateActivationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateActivation", params, optFns, addOperationCreateActivationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateActivationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateActivation ( ctx context . Context , params * CreateActivationInput , optFns ... func ( * Options ) ) ( * CreateActivationOutput , error ) { if params == nil { params = & CreateActivationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateActivationMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateActivationOutput ) out . ResultMetadata = metadata return out , nil }
Generates an activation code and activation ID you can use to register your
on-premises server or virtual machine (VM) with Systems Manager.
Generates an activation code and activation ID you can use to register your on - premises server or virtual machine ( VM ) with Systems Manager .