You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SSM::Types::DescribeDocumentPermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass DescribeDocumentPermissionRequest data as a hash:

{
  name: "DocumentName", # required
  permission_type: "Share", # required, accepts Share
}

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the document for which you are the owner.

Returns:

  • (String)


2519
2520
2521
2522
2523
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 2519

class DescribeDocumentPermissionRequest < Struct.new(
  :name,
  :permission_type)
  include Aws::Structure
end

#permission_typeString

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

Returns:

  • (String)


2519
2520
2521
2522
2523
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 2519

class DescribeDocumentPermissionRequest < Struct.new(
  :name,
  :permission_type)
  include Aws::Structure
end