class Amazonite::Ssm::ModifyDocumentPermissionRequest

Included Modules

Defined in:

ssm/modify_document_permission_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, permission_type : DocumentPermissionType, account_ids_to_add : Array(String) | Nil = nil, account_ids_to_remove : Array(String) | Nil = nil, shared_document_version : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def account_ids_to_add : Array(String) | Nil #

The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All. You must specify a value for this parameter or the AccountIdsToRemove parameter.


[View source]
def account_ids_to_add=(account_ids_to_add : Array(String) | Nil) #

The Amazon Web Services users that should have access to the document. The account IDs can either be a group of account IDs or All. You must specify a value for this parameter or the AccountIdsToRemove parameter.


[View source]
def account_ids_to_remove : Array(String) | Nil #

The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system removes access to the document. You must specify a value for this parameter or the AccountIdsToAdd parameter.


[View source]
def account_ids_to_remove=(account_ids_to_remove : Array(String) | Nil) #

The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user can either be a group of account IDs or All. This action has a higher priority than AccountIdsToAdd. If you specify an ID to add and the same ID to remove, the system removes access to the document. You must specify a value for this parameter or the AccountIdsToAdd parameter.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

The name of the document that you want to share.


[View source]
def name=(name : String) #

The name of the document that you want to share.


[View source]
def permission_type : DocumentPermissionType #

The permission type for the document. The permission type can be Share.


[View source]
def permission_type=(permission_type : DocumentPermissionType) #

The permission type for the document. The permission type can be Share.


[View source]
def shared_document_version : String | Nil #

(Optional) The version of the document to share. If it isn't specified, the system choose the Default version to share.


[View source]
def shared_document_version=(shared_document_version : String | Nil) #

(Optional) The version of the document to share. If it isn't specified, the system choose the Default version to share.


[View source]
def validate! : Nil #

[View source]