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

Class: Aws::WorkMail::Types::UpdateResourceRequest

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

Overview

Note:

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

{
  organization_id: "OrganizationId", # required
  resource_id: "ResourceId", # required
  name: "ResourceName",
  booking_options: {
    auto_accept_requests: false,
    auto_decline_recurring_requests: false,
    auto_decline_conflicting_requests: false,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#booking_optionsTypes::BookingOptions

The resource's booking options to be updated.



1443
1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1443

class UpdateResourceRequest < Struct.new(
  :organization_id,
  :resource_id,
  :name,
  :booking_options)
  include Aws::Structure
end

#nameString

The name of the resource to be updated.

Returns:

  • (String)


1443
1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1443

class UpdateResourceRequest < Struct.new(
  :organization_id,
  :resource_id,
  :name,
  :booking_options)
  include Aws::Structure
end

#organization_idString

The identifier associated with the organization for which the resource is updated.

Returns:

  • (String)


1443
1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1443

class UpdateResourceRequest < Struct.new(
  :organization_id,
  :resource_id,
  :name,
  :booking_options)
  include Aws::Structure
end

#resource_idString

The identifier of the resource to be updated.

Returns:

  • (String)


1443
1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 1443

class UpdateResourceRequest < Struct.new(
  :organization_id,
  :resource_id,
  :name,
  :booking_options)
  include Aws::Structure
end