Class: Aws::WorkMailMessageFlow::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WorkMailMessageFlow::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb
Overview
An API client for WorkMailMessageFlow. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::WorkMailMessageFlow::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#get_raw_message_content(params = {}) ⇒ Types::GetRawMessageContentResponse
Retrieves the raw content of an in-transit email message, in MIME format.
-
#put_raw_message_content(params = {}) ⇒ Struct
Updates the raw content of an in-transit email message, in MIME format.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
365 366 367 |
# File 'gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb', line 365 def initialize(*args) super end |
Instance Method Details
#get_raw_message_content(params = {}) ⇒ Types::GetRawMessageContentResponse
Retrieves the raw content of an in-transit email message, in MIME format.
395 396 397 398 |
# File 'gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb', line 395 def (params = {}, = {}, &block) req = build_request(:get_raw_message_content, params) req.send_request(, &block) end |
#put_raw_message_content(params = {}) ⇒ Struct
Updates the raw content of an in-transit email message, in MIME format.
This example describes how to update in-transit email message. For more information and examples for using this API, see Updating message content with AWS Lambda.
PutRawMessageContent
from an AWS Lambda function configured with a
synchronous Run Lambda rule. If you call PutRawMessageContent
on a delivered or sent message, the message remains unchanged, even
though GetRawMessageContent returns an updated message.
446 447 448 449 |
# File 'gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb', line 446 def (params = {}, = {}) req = build_request(:put_raw_message_content, params) req.send_request() end |